ports/irc/psybnc/files/patch-src_p__idea.c
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00:00

21 lines
520 B
C

--- src/p_idea.c.orig 2016-06-20 14:41:27 UTC
+++ src/p_idea.c
@@ -50,6 +50,9 @@ static char rcsid[] = "@(#)$Id: p_idea.c
* string encryption by psychoid
*/
+
+#include <p_global.h>
+/*
#include <time.h>
#include <string.h>
#include <stdlib.h>
@@ -62,7 +65,7 @@ extern int cline;
#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