From 7ae7b018ccf7760013f368fcb83aad9ecd8982a8 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Mon, 20 Jun 2016 16:23:28 +0000 Subject: 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 --- irc/psybnc/Makefile | 2 ++ irc/psybnc/files/patch-Makefile | 10 ++++----- irc/psybnc/files/patch-lang_english.lng | 6 ++--- irc/psybnc/files/patch-lang_german.lng | 6 ++--- irc/psybnc/files/patch-lang_italiano.lng | 6 ++--- irc/psybnc/files/patch-src_match.c | 5 ++--- irc/psybnc/files/patch-src_p__blowfish.c | 38 ++++++++++++++++++++++++++++++++ irc/psybnc/files/patch-src_p__global.h | 22 ++++++++++++++++++ irc/psybnc/files/patch-src_p__idea.c | 21 ++++++++++++++++++ irc/psybnc/files/patch-src_p__memory.c | 34 ++++++++++++++++++++++++++++ irc/psybnc/files/patch-src_p__string.c | 11 +++++++++ irc/psybnc/files/patch-src_p_blowfish.c | 38 -------------------------------- irc/psybnc/files/patch-src_p_global.h | 36 ------------------------------ irc/psybnc/files/patch-src_p_idea.c | 22 ------------------ irc/psybnc/files/patch-src_p_memory.c | 34 ---------------------------- irc/psybnc/files/patch-src_p_string.c | 12 ---------- irc/psybnc/files/patch-src_psybnc.c | 12 +++++----- irc/psybnc/files/patch-tools_autoconf.c | 8 +++---- 18 files changed, 154 insertions(+), 169 deletions(-) create mode 100644 irc/psybnc/files/patch-src_p__blowfish.c create mode 100644 irc/psybnc/files/patch-src_p__global.h create mode 100644 irc/psybnc/files/patch-src_p__idea.c create mode 100644 irc/psybnc/files/patch-src_p__memory.c create mode 100644 irc/psybnc/files/patch-src_p__string.c delete mode 100644 irc/psybnc/files/patch-src_p_blowfish.c delete mode 100644 irc/psybnc/files/patch-src_p_global.h delete mode 100644 irc/psybnc/files/patch-src_p_idea.c delete mode 100644 irc/psybnc/files/patch-src_p_memory.c delete mode 100644 irc/psybnc/files/patch-src_p_string.c (limited to 'irc/psybnc') diff --git a/irc/psybnc/Makefile b/irc/psybnc/Makefile index fb7ca0d9ecd8..f58d571a6fe9 100644 --- a/irc/psybnc/Makefile +++ b/irc/psybnc/Makefile @@ -16,6 +16,8 @@ LICENSE= GPLv1+ # though COPYING is GPLv2 BROKEN_powerpc64= Does not build USE_OPENSSL= yes +USES= dos2unix +DOS2UNIX_GLOB= *.c *.h WRKSRC= ${WRKDIR}/psybnc PSYBASE?= ${PREFIX}/psybnc MAKE_ARGS= PSYBASE=${PSYBASE} diff --git a/irc/psybnc/files/patch-Makefile b/irc/psybnc/files/patch-Makefile index 85e3a71c6aed..013844412a81 100644 --- a/irc/psybnc/files/patch-Makefile +++ b/irc/psybnc/files/patch-Makefile @@ -1,6 +1,6 @@ ---- ./Makefile Sun Jul 7 18:09:25 2002 -+++ ../../psybnc.mina/Makefile Sun Nov 24 19:41:57 2002 -@@ -7,7 +7,7 @@ +--- Makefile.orig 2007-03-20 14:02:50 UTC ++++ Makefile +@@ -7,7 +7,7 @@ all: $(OBJS) @$(CC) tools/convconf.c -o tools/convconf @tools/convconf @echo [*] Running Autoconfig. @@ -9,7 +9,7 @@ @tools/autoconf @echo [*] Compiling MakeSalt for Encryption.. @$(CC) -I. -o makesalt tools/makesalt.c -@@ -23,7 +23,7 @@ +@@ -23,7 +23,7 @@ menuconfig: @$(CC) tools/convconf.c -o tools/convconf @tools/convconf @echo [*] Running Autoconfig. @@ -18,7 +18,7 @@ @tools/autoconf @echo [*] Creating Menu, please wait. @echo This needs the 'ncurses' library. If it is not available, menuconf wont work. If you are using 'curses', use make menuconfig-curses instead. -@@ -39,7 +39,7 @@ +@@ -39,7 +39,7 @@ menuconfig-curses: @$(CC) tools/convconf.c -o tools/convconf @tools/convconf @echo [*] Running Autoconfig. diff --git a/irc/psybnc/files/patch-lang_english.lng b/irc/psybnc/files/patch-lang_english.lng index 67225e322250..48c65f706605 100644 --- a/irc/psybnc/files/patch-lang_english.lng +++ b/irc/psybnc/files/patch-lang_english.lng @@ -1,6 +1,6 @@ ---- ./lang/english.lng Sat Jun 1 18:07:47 2002 -+++ ../../psybnc.mina/lang/english.lng Sun Nov 24 19:14:01 2002 -@@ -1998,7 +1998,7 @@ +--- lang/english.lng.orig 2008-10-22 19:09:46 UTC ++++ lang/english.lng +@@ -1999,7 +1999,7 @@ msg0994=SYSTEM ; psybnc.c line 201: msg0995=PORT1 ; psybnc.c line 203: diff --git a/irc/psybnc/files/patch-lang_german.lng b/irc/psybnc/files/patch-lang_german.lng index 8f19c8cb4808..ef291091da49 100644 --- a/irc/psybnc/files/patch-lang_german.lng +++ b/irc/psybnc/files/patch-lang_german.lng @@ -1,6 +1,6 @@ ---- ./lang/german.lng Sat Jun 1 18:08:01 2002 -+++ ../../psybnc.mina/lang/german.lng Sun Nov 24 19:14:22 2002 -@@ -2003,7 +2003,7 @@ +--- lang/german.lng.orig 2008-10-22 19:10:34 UTC ++++ lang/german.lng +@@ -2004,7 +2004,7 @@ msg0994=SYSTEM ; psybnc.c line 201: msg0995=PORT1 ; psybnc.c line 203: diff --git a/irc/psybnc/files/patch-lang_italiano.lng b/irc/psybnc/files/patch-lang_italiano.lng index 8b26de115606..e08978a9e5d2 100644 --- a/irc/psybnc/files/patch-lang_italiano.lng +++ b/irc/psybnc/files/patch-lang_italiano.lng @@ -1,6 +1,6 @@ ---- ./lang/italiano.lng Sat Jun 1 18:08:25 2002 -+++ ../../psybnc.mina/lang/italiano.lng Sun Nov 24 19:14:44 2002 -@@ -1998,7 +1998,7 @@ +--- lang/italiano.lng.orig 2008-10-22 19:10:54 UTC ++++ lang/italiano.lng +@@ -1999,7 +1999,7 @@ msg0994=SYSTEM ; psybnc.c line 201: msg0995=PORT1 ; psybnc.c line 203: diff --git a/irc/psybnc/files/patch-src_match.c b/irc/psybnc/files/patch-src_match.c index 74e6063319ea..de4407673c75 100644 --- a/irc/psybnc/files/patch-src_match.c +++ b/irc/psybnc/files/patch-src_match.c @@ -1,6 +1,5 @@ -diff -Naurp src/match.c src/match.c ---- src/match.c 2007-02-26 12:26:10.000000000 +0000 -+++ src/match.c 2007-02-26 12:26:17.000000000 +0000 +--- src/match.c.orig 2016-06-20 14:41:27 UTC ++++ src/match.c @@ -36,6 +36,7 @@ /* Remove the next line to use this in IrcII */ #define EGGDROP diff --git a/irc/psybnc/files/patch-src_p__blowfish.c b/irc/psybnc/files/patch-src_p__blowfish.c new file mode 100644 index 000000000000..610f3a2cd4c0 --- /dev/null +++ b/irc/psybnc/files/patch-src_p__blowfish.c @@ -0,0 +1,38 @@ +--- src/p_blowfish.c.orig 2016-06-20 14:41:27 UTC ++++ src/p_blowfish.c +@@ -27,16 +27,21 @@ + static char rcsid[] = "@(#)$Id: p_blowfish.c,v 1.3 2005/06/04 18:00:14 hisi Exp $"; + #endif + ++#include ++/* + #include + #include + #include + + char *strmncpy(char *dest, char *source, size_t len); + char *lngtxt(int msgnum); ++*/ + ++/* + #define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt));strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } + #define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__) + #define free(n) _pfree(n,__FILE__,__FUNCTION__,__LINE__) ++*/ + + unsigned char *hashstring(unsigned char *str,int len); + unsigned char *unhashstring(unsigned char *str); +@@ -478,10 +483,11 @@ char * BLOWencrypt(unsigned char *str) + char *p, *s, *dest, *d, *pt; + char rim[5],ep[5],rep[5]; + int i; +- dest = (char *) pmalloc((strlen(str) + 9) * 2); ++ dest = __pmalloc((strlen(str) + 9) * 2, "p_blowfish.c", "BLOWencrypt", 481); ++ dest = pmalloc((strlen(str) + 9) * 2); + *dest=0; + /* pad fake string with 8 bytes to make sure there's enough */ +- s = (char *) pmalloc(strlen(str) + 9); ++ s = pmalloc(strlen(str) + 9); + strcpy(s, str); + p = s; + while (*p) diff --git a/irc/psybnc/files/patch-src_p__global.h b/irc/psybnc/files/patch-src_p__global.h new file mode 100644 index 000000000000..71b50ff458d8 --- /dev/null +++ b/irc/psybnc/files/patch-src_p__global.h @@ -0,0 +1,22 @@ +--- src/p_global.h.orig 2016-06-20 14:41:27 UTC ++++ src/p_global.h +@@ -972,7 +972,7 @@ int checklogging(int usern); + #endif + + #ifndef P_MEMORY +-unsigned long *__pmalloc(unsigned long size,char *module,char *function,int line); ++char *__pmalloc(unsigned long size,char *module,char *function,int line); + void _pfree(void * pointer,char *module, char *function, int line); + struct usert *user(int usern); + struct newpeert *newpeer(int usern); +@@ -1267,8 +1267,8 @@ extern char * BLOW_stringdecrypt(unsigne + + #endif + +-#define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt)); strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } +-#define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__) ++#define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt)); strmncpy(cfunc,(char*)__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } ++#define pmalloc(n) __pmalloc((n),__FILE__,(char*)__FUNCTION__,(int)__LINE__) + + #define SSLCERT "key/psybnc.cert.pem" + #define SSLKEY "key/psybnc.key.pem" 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..4191c9a44231 --- /dev/null +++ b/irc/psybnc/files/patch-src_p__idea.c @@ -0,0 +1,21 @@ +--- 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 ++/* + #include + #include + #include +@@ -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 diff --git a/irc/psybnc/files/patch-src_p__memory.c b/irc/psybnc/files/patch-src_p__memory.c new file mode 100644 index 000000000000..3d29fb64f9c5 --- /dev/null +++ b/irc/psybnc/files/patch-src_p__memory.c @@ -0,0 +1,34 @@ +--- src/p_memory.c.orig 2016-06-20 14:41:27 UTC ++++ src/p_memory.c +@@ -32,10 +32,10 @@ FILE *logm=NULL; + + /* malloc-wrapper. No memory will log an error entry and kill the bouncer */ + +-unsigned long *__pmalloc(unsigned long size,char *module,char *function, int line) ++char *__pmalloc(unsigned long size,char *module,char *function, int line) + { +- unsigned long *rc; +- if (!(rc=(unsigned long *)malloc(size))) ++ char *rc; ++ if (!(rc=(char *)malloc(size))) + { + p_log(LOG_ERROR,-1,lngtxt(602),module,function,line); + exit(0x0); +@@ -53,7 +53,7 @@ unsigned long *__pmalloc(unsigned long s + return rc; + } + +-void _pfree(unsigned long *pointer, char *module, char *function, int line) ++void _pfree(char *pointer, char *module, char *function, int line) + { + #ifdef LOGALLOC + if(logm==NULL) +@@ -67,7 +67,7 @@ void _pfree(unsigned long *pointer, char + free(pointer); + } + +-#define free(a) _pfree((void *)a,__FILE__,__FUNCTION__,__LINE__) ++#define free(a) _pfree((void *)a,__FILE__,(char*)__FUNCTION__,__LINE__) + + /* struct wrappers. Those alloc, delete and return the needed structures */ + diff --git a/irc/psybnc/files/patch-src_p__string.c b/irc/psybnc/files/patch-src_p__string.c new file mode 100644 index 000000000000..deaa2623baa7 --- /dev/null +++ b/irc/psybnc/files/patch-src_p__string.c @@ -0,0 +1,11 @@ +--- src/p_string.c.orig 2016-06-20 14:41:27 UTC ++++ src/p_string.c +@@ -616,7 +616,7 @@ int loadlanguage(char *langf) + int msg; + pcontext; + clearlanguage(); +- ap_snprintf(lfname,sizeof(lfname),"lang/%s.lng",langf); ++ ap_snprintf(lfname,sizeof(lfname),"%s/lang/%s.lng",PSYBASE, langf); + maxindex=0; + langname[0]=0; + lfile=fopen(lfname,"r"); diff --git a/irc/psybnc/files/patch-src_p_blowfish.c b/irc/psybnc/files/patch-src_p_blowfish.c deleted file mode 100644 index 1f56e326b397..000000000000 --- a/irc/psybnc/files/patch-src_p_blowfish.c +++ /dev/null @@ -1,38 +0,0 @@ ---- src/p_blowfish.c 2005-06-04 22:22:45.000000000 +0400 -+++ src/p_blowfish.c 2008-02-25 23:42:07.000000000 +0300 -@@ -27,16 +27,21 @@ - static char rcsid[] = "@(#)$Id: p_blowfish.c,v 1.3 2005/06/04 18:00:14 hisi Exp $"; - #endif - -+#include -+/* - #include - #include - #include - - char *strmncpy(char *dest, char *source, size_t len); - char *lngtxt(int msgnum); -+*/ - -+/* - #define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt));strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } - #define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__) - #define free(n) _pfree(n,__FILE__,__FUNCTION__,__LINE__) -+*/ - - unsigned char *hashstring(unsigned char *str,int len); - unsigned char *unhashstring(unsigned char *str); -@@ -478,10 +483,11 @@ - char *p, *s, *dest, *d, *pt; - char rim[5],ep[5],rep[5]; - int i; -- dest = (char *) pmalloc((strlen(str) + 9) * 2); -+ dest = __pmalloc((strlen(str) + 9) * 2, "p_blowfish.c", "BLOWencrypt", 481); -+ dest = pmalloc((strlen(str) + 9) * 2); - *dest=0; - /* pad fake string with 8 bytes to make sure there's enough */ -- s = (char *) pmalloc(strlen(str) + 9); -+ s = pmalloc(strlen(str) + 9); - strcpy(s, str); - p = s; - while (*p) diff --git a/irc/psybnc/files/patch-src_p_global.h b/irc/psybnc/files/patch-src_p_global.h deleted file mode 100644 index 67a4f7e3f9f3..000000000000 --- a/irc/psybnc/files/patch-src_p_global.h +++ /dev/null @@ -1,36 +0,0 @@ ---- ./src/p_global.h Sun Jul 7 08:07:23 2002 -+++ ../../psybnc.mina/src/p_global.h Sun Nov 24 18:20:55 2002 -@@ -1264,8 +1264,8 @@ - #define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt)); strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } - #define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__) - --#define SSLCERT "key/psybnc.cert.pem" --#define SSLKEY "key/psybnc.key.pem" -+#define SSLCERT PSYBASE "/key/psybnc.cert.pem" -+#define SSLKEY PSYBASE "/key/psybnc.key.pem" - - #ifdef HAVE_SSL - #ifndef SSLSEC -diff -urN src/p_global.h psybnc.new/src/p_global.h ---- src/p_global.h 2005-06-04 22:22:45.000000000 +0400 -+++ src/p_global.h 2008-02-25 23:36:21.000000000 +0300 -@@ -972,7 +972,7 @@ - #endif - - #ifndef P_MEMORY --unsigned long *__pmalloc(unsigned long size,char *module,char *function,int line); -+char *__pmalloc(unsigned long size,char *module,char *function,int line); - void _pfree(void * pointer,char *module, char *function, int line); - struct usert *user(int usern); - struct newpeert *newpeer(int usern); -@@ -1267,8 +1267,8 @@ - - #endif - --#define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt)); strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } --#define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__) -+#define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt)); strmncpy(cfunc,(char*)__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } -+#define pmalloc(n) __pmalloc((n),__FILE__,(char*)__FUNCTION__,(int)__LINE__) - - #define SSLCERT "key/psybnc.cert.pem" - #define SSLKEY "key/psybnc.key.pem" diff --git a/irc/psybnc/files/patch-src_p_idea.c b/irc/psybnc/files/patch-src_p_idea.c deleted file mode 100644 index fd271dbd5366..000000000000 --- a/irc/psybnc/files/patch-src_p_idea.c +++ /dev/null @@ -1,22 +0,0 @@ -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 -+/* - #include - #include - #include -@@ -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 diff --git a/irc/psybnc/files/patch-src_p_memory.c b/irc/psybnc/files/patch-src_p_memory.c deleted file mode 100644 index 092a5a73147a..000000000000 --- a/irc/psybnc/files/patch-src_p_memory.c +++ /dev/null @@ -1,34 +0,0 @@ -diff -urN src/p_memory.c psybnc.new/src/p_memory.c ---- src/p_memory.c 2005-06-04 22:22:45.000000000 +0400 -+++ src/p_memory.c 2008-02-25 23:31:29.000000000 +0300 -@@ -32,10 +32,10 @@ - - /* malloc-wrapper. No memory will log an error entry and kill the bouncer */ - --unsigned long *__pmalloc(unsigned long size,char *module,char *function, int line) -+char *__pmalloc(unsigned long size,char *module,char *function, int line) - { -- unsigned long *rc; -- if (!(rc=(unsigned long *)malloc(size))) -+ char *rc; -+ if (!(rc=(char *)malloc(size))) - { - p_log(LOG_ERROR,-1,lngtxt(602),module,function,line); - exit(0x0); -@@ -53,7 +53,7 @@ - return rc; - } - --void _pfree(unsigned long *pointer, char *module, char *function, int line) -+void _pfree(char *pointer, char *module, char *function, int line) - { - #ifdef LOGALLOC - if(logm==NULL) -@@ -67,7 +67,7 @@ - free(pointer); - } - --#define free(a) _pfree((void *)a,__FILE__,__FUNCTION__,__LINE__) -+#define free(a) _pfree((void *)a,__FILE__,(char*)__FUNCTION__,__LINE__) - - /* struct wrappers. Those alloc, delete and return the needed structures */ diff --git a/irc/psybnc/files/patch-src_p_string.c b/irc/psybnc/files/patch-src_p_string.c deleted file mode 100644 index 94851f48e29a..000000000000 --- a/irc/psybnc/files/patch-src_p_string.c +++ /dev/null @@ -1,12 +0,0 @@ - #ifndef SSLSEC ---- ./src/p_string.c Fri Jul 19 09:01:52 2002 -+++ ../../psybnc.mina/src/p_string.c Sun Nov 24 17:58:56 2002 -@@ -613,7 +613,7 @@ - int msg; - pcontext; - clearlanguage(); -- ap_snprintf(lfname,sizeof(lfname),"lang/%s.lng",langf); -+ ap_snprintf(lfname,sizeof(lfname),"%s/lang/%s.lng",PSYBASE, langf); - maxindex=0; - langname[0]=0; - lfile=fopen(lfname,"r"); diff --git a/irc/psybnc/files/patch-src_psybnc.c b/irc/psybnc/files/patch-src_psybnc.c index 07c3209c5d86..a4c2ef801b3d 100644 --- a/irc/psybnc/files/patch-src_psybnc.c +++ b/irc/psybnc/files/patch-src_psybnc.c @@ -1,6 +1,6 @@ ---- ./src/psybnc.c Wed Jul 24 17:19:05 2002 -+++ ../../psybnc.mina/src/psybnc.c Sun Nov 24 19:54:52 2002 -@@ -43,6 +43,8 @@ +--- src/psybnc.c.orig 2016-06-20 14:41:27 UTC ++++ src/psybnc.c +@@ -44,6 +44,8 @@ int slice=0; #ifdef HAVE_SSL @@ -9,7 +9,7 @@ void initSSL() { SSL_load_error_strings(); -@@ -170,13 +172,17 @@ +@@ -171,13 +173,17 @@ main (int argc, char **argv) if(argc==2) { strmncpy(configfile,argv[1],sizeof(configfile)); @@ -29,9 +29,9 @@ exit (0x0); } fclose(conffile); -@@ -301,3 +307,15 @@ +@@ -302,3 +308,15 @@ main (int argc, char **argv) bncmain(); - } + } +int fexists(char *fname) +{ diff --git a/irc/psybnc/files/patch-tools_autoconf.c b/irc/psybnc/files/patch-tools_autoconf.c index 9e281d82e0ef..bbb25ca3c206 100644 --- a/irc/psybnc/files/patch-tools_autoconf.c +++ b/irc/psybnc/files/patch-tools_autoconf.c @@ -1,6 +1,6 @@ ---- tools/autoconf.c.orig 2006-11-16 00:27:04.000000000 +0000 -+++ tools/autoconf.c 2013-01-18 13:55:10.102047624 +0000 -@@ -443,9 +443,9 @@ +--- tools/autoconf.c.orig 2016-06-20 14:41:27 UTC ++++ tools/autoconf.c +@@ -443,9 +443,9 @@ int main() fprintf(makefile,"INCLUDE = -I./src/ -I.\n"); fprintf(makefile,"OBJS = src/psybnc.o src/match.o src/p_client.o src/p_crypt.o src/p_dcc.o src/p_hash.o src/p_idea.o src/p_inifunc.o src/p_link.o src/p_log.o src/p_memory.o src/p_network.o src/p_parse.o src/p_peer.o src/p_server.o src/p_socket.o src/p_string.o src/p_sysmsg.o src/p_userfile.o src/p_uchannel.o src/p_script.o src/p_topology.o src/p_intnet.o src/p_blowfish.o src/p_translate.o src/p_coredns.o src/snprintf.o %s\n",env); if(provi==0) @@ -12,7 +12,7 @@ fprintf(makefile,"TARGET = psybnc\n"); fprintf(makefile,"\n"); fprintf(makefile,"all: $(OBJS)\n"); -@@ -453,7 +453,8 @@ +@@ -453,7 +453,8 @@ int main() fprintf(makefile," @strip $(TARGET)\n"); if(ssl==0) { -- cgit v1.2.3