summaryrefslogtreecommitdiff
path: root/irc/psybnc/files/patch-src_p_idea.c
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-02-27 20:21:21 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-02-27 20:21:21 +0000
commita56de83a657b5c7bc41e4380fbd6e714059d5106 (patch)
treec037644ee5d00e582dcf39c6d65a437f5bc56e17 /irc/psybnc/files/patch-src_p_idea.c
parent- Update to 0.97 (diff)
- Fix with amd64
- Bump portrevision PR: ports/121097 Submitted by: Alexander Chernikov <melifaro@bol.megaon.ru>
Diffstat (limited to '')
-rw-r--r--irc/psybnc/files/patch-src_p_idea.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/irc/psybnc/files/patch-src_p_idea.c b/irc/psybnc/files/patch-src_p_idea.c
new file mode 100644
index 000000000000..fd271dbd5366
--- /dev/null
+++ b/irc/psybnc/files/patch-src_p_idea.c
@@ -0,0 +1,22 @@
+diff -urN src/p_idea.c psybnc.new/src/p_idea.c
+--- src/p_idea.c 2005-06-04 22:22:45.000000000 +0400
++++ src/p_idea.c 2008-02-25 23:44:12.000000000 +0300
+@@ -50,6 +50,9 @@
+ * string encryption by psychoid
+ */
+
++
++#include <p_global.h>
++/*
+ #include <time.h>
+ #include <string.h>
+ #include <stdlib.h>
+@@ -62,7 +65,7 @@
+
+ #define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt));strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; }
+ #define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__)
+-
++*/
+ #ifdef CRYPT
+
+ #define IDEAROUNDS 8