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@ +