From d4751b66879aa918d2d134dfd7a32dd306b45714de9f74d068a5a06a0b898872 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 7 Apr 2007 21:01:59 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/server:irc/atheme?expand=0&rev=19 --- atheme-2.1.1_restart.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 atheme-2.1.1_restart.patch diff --git a/atheme-2.1.1_restart.patch b/atheme-2.1.1_restart.patch new file mode 100644 index 0000000..03e98b4 --- /dev/null +++ b/atheme-2.1.1_restart.patch @@ -0,0 +1,26 @@ +Index: src/atheme.c +=================================================================== +--- src/atheme.c.orig ++++ src/atheme.c +@@ -348,7 +348,7 @@ + slog(LG_INFO, "main(): restarting"); + + #ifndef _WIN32 +- execve("bin/atheme", argv, environ); ++ execve(BINDIR "/atheme", argv, environ); + #endif + } + +Index: src/Makefile.in +=================================================================== +--- src/Makefile.in.orig ++++ src/Makefile.in +@@ -27,7 +27,7 @@ + SHAREDIR = @SHAREDIR@ + BIN = atheme@EXEEXT@ + MKDEP = @MKDEP@ +-CFLAGS = @CFLAGS@ -I../include -I../libatheme @PGINC@ ++CFLAGS = @CFLAGS@ -I../include -I../libatheme @PGINC@ -DBINDIR=\"$(bindir)\" + + VERSION = @PACKAGE_VERSION@ +