summaryrefslogtreecommitdiff
path: root/community/unrealircd/arch-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/unrealircd/arch-fixes.patch')
-rw-r--r--community/unrealircd/arch-fixes.patch89
1 files changed, 0 insertions, 89 deletions
diff --git a/community/unrealircd/arch-fixes.patch b/community/unrealircd/arch-fixes.patch
deleted file mode 100644
index a1741968d..000000000
--- a/community/unrealircd/arch-fixes.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-diff -wbBur Unreal3.2.org/doc/example.conf Unreal3.2/doc/example.conf
---- Unreal3.2.org/doc/example.conf 2009-04-13 15:03:55.000000000 +0400
-+++ Unreal3.2/doc/example.conf 2011-08-29 13:39:25.000000000 +0400
-@@ -33,8 +33,8 @@
- */
-
- /* FOR *NIX, uncomment the following 2lines: */
--//loadmodule "src/modules/commands.so";
--//loadmodule "src/modules/cloak.so";
-+loadmodule "modules/commands.so";
-+loadmodule "modules/cloak.so";
-
- /* FOR Windows, uncomment the following 2 lines: */
- //loadmodule "modules/commands.dll";
-diff -wbBur Unreal3.2.org/src/ircd.c Unreal3.2/src/ircd.c
---- Unreal3.2.org/src/ircd.c 2009-03-01 21:37:58.000000000 +0300
-+++ Unreal3.2/src/ircd.c 2011-08-29 13:39:25.000000000 +0400
-@@ -844,7 +844,7 @@
- const char *compiledfor, *runtime;
- int error = 0;
-
--#ifdef USE_SSL
-+#if 0
- compiledfor = OPENSSL_VERSION_TEXT;
- runtime = SSLeay_version(SSLEAY_VERSION);
- if (strcasecmp(compiledfor, runtime))
-@@ -854,7 +854,7 @@
- error=1;
- }
- #endif
--#ifdef ZIP_LINKS
-+#if 0
- runtime = zlibVersion();
- compiledfor = ZLIB_VERSION;
- if (*compiledfor != *runtime)
-@@ -864,7 +864,7 @@
- error = 1;
- }
- #endif
--#ifdef USE_LIBCURL
-+#if 0
- /* Perhaps someone should tell them to do this a bit more easy ;)
- * problem is runtime output is like: 'libcurl/7.11.1 zlib/1.2.1 c-ares/1.2.0'
- * while header output is like: '7.11.1'.
-diff -wbBur Unreal3.2.org/unreal.in Unreal3.2/unreal.in
---- Unreal3.2.org/unreal.in 2009-03-01 21:37:55.000000000 +0300
-+++ Unreal3.2/unreal.in 2011-08-29 13:39:37.000000000 +0400
-@@ -7,7 +7,7 @@
- if [ -r $PID_FILE ] ; then
- mv -f $PID_FILE $PID_BACKUP
- fi
-- @BINDIR@
-+ @BINDIR@/ircd
- sleep 1
- if [ ! -r $PID_FILE ] ; then
- echo "Possible error encountered (IRCd seemingly not started)"
-@@ -31,11 +31,11 @@
- echo "Restarting UnrealIRCd"
- kill -2 `cat $PID_FILE`
- elif [ "$1" = "mkpasswd" ] ; then
-- @BINDIR@ -P $2 $3
-+ @BINDIR@/ircd -P $2 $3
- elif [ "$1" = "version" ] ; then
-- @BINDIR@ -v
-+ @BINDIR@/ircd -v
- elif [ "$1" = "gencloak" ] ; then
-- @BINDIR@ -k
-+ @BINDIR@/ircd -k
- elif [ "$1" = "backtrace" ] ; then
- cd @IRCDDIR@
-
-@@ -90,7 +90,7 @@
- fi
-
- # Some ugly prepare work -- ignore errors
-- (echo quit|gdb @BINDIR@ $corefile 2>&1)|\
-+ (echo quit|gdb @BINDIR@/ircd $corefile 2>&1)|\
- grep -i 'no such file'|\
- awk -F ':' '{ print $1 }'|sort|uniq|\
- awk -F '.' "{ system(\"ln -s ../$modpath/\" \$2 \".so \" \$0) }"
-@@ -110,7 +110,7 @@
- quit
- __EOF__
-
-- gdb -batch -x gdb.commands @BINDIR@ $corefile
-+ gdb -batch -x gdb.commands @BINDIR@/ircd $corefile
- rm -f gdb.commands
- echo "GCC: `gcc -v 2>&1|tail -n 1`"
- echo "UNAME: `uname -a`"