diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2024-05-13 18:53:17 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2024-05-13 21:42:10 +0300 |
commit | 4de3ffd2f7fea876a35d5fabd6105c92d004a84b (patch) | |
tree | 171b2cf7803711d104d38f83a40c73955bc220c1 /net-irc/psybnc | |
parent | dev-lisp/sbcl: remove unused patch (diff) | |
download | gentoo-4de3ffd2f7fea876a35d5fabd6105c92d004a84b.tar.gz gentoo-4de3ffd2f7fea876a35d5fabd6105c92d004a84b.tar.bz2 gentoo-4de3ffd2f7fea876a35d5fabd6105c92d004a84b.zip |
net-irc/psybnc: remove unused patches
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-irc/psybnc')
-rw-r--r-- | net-irc/psybnc/files/psybnc-2.3.2.9-compile.patch | 79 | ||||
-rw-r--r-- | net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch | 12 |
2 files changed, 0 insertions, 91 deletions
diff --git a/net-irc/psybnc/files/psybnc-2.3.2.9-compile.patch b/net-irc/psybnc/files/psybnc-2.3.2.9-compile.patch deleted file mode 100644 index 99e55b6d8cdc..000000000000 --- a/net-irc/psybnc/files/psybnc-2.3.2.9-compile.patch +++ /dev/null @@ -1,79 +0,0 @@ -diff -Naurp a/src/p_blowfish.c b/src/p_blowfish.c ---- a/src/p_blowfish.c 2007-02-26 12:16:53.000000000 +0000 -+++ b/src/p_blowfish.c 2007-02-26 12:17:11.000000000 +0000 -@@ -31,7 +31,7 @@ static char rcsid[] = "@(#)# $Id$ - #include <string.h> - #include <config.h> - --char *strmncpy(char *dest, char *source, size_t len); -+char *strmncpy(char *dest, const char *source, size_t len); - char *lngtxt(int msgnum); - - #define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt));strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } -diff -Naurp a/src/p_global.h b/src/p_global.h ---- a/src/p_global.h 2007-02-26 12:16:53.000000000 +0000 -+++ b/src/p_global.h 2007-02-26 12:17:11.000000000 +0000 -@@ -972,8 +972,8 @@ int checklogging(int usern); - #endif - - #ifndef P_MEMORY --unsigned long *__pmalloc(unsigned long size,char *module,char *function,int line); --void _pfree(void * pointer,char *module, char *function, int line); -+unsigned long *__pmalloc(unsigned long size,const char *module,const char *function,int line); -+void _pfree(void * pointer,char *module, const char *function, int line); - struct usert *user(int usern); - struct newpeert *newpeer(int usern); - struct datalinkt *datalink(int usern); -@@ -1092,7 +1092,7 @@ int replace(char *rps, char whatc, char - char *nobreak(char *tobreak); - char *randstring(int length); - char *strmcat(char *first,char *second); --char *strmncpy(char *dest, char *source, unsigned int len); -+char *strmncpy(char *dest, const char *source, unsigned int len); - int strmncasecmp(char *one, char *two); - int strmcmp(char *one, char *two); - int strmwildcmp(char *line, char *wildcard); -diff -Naurp a/src/p_memory.c b/src/p_memory.c ---- a/src/p_memory.c 2007-02-26 12:16:53.000000000 +0000 -+++ b/src/p_memory.c 2007-02-26 12:17:11.000000000 +0000 -@@ -32,7 +32,7 @@ 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) -+unsigned long *__pmalloc(unsigned long size,const char *module,const char *function, int line) - { - unsigned long *rc; - if (!(rc=(unsigned long *)malloc(size))) -@@ -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(unsigned long *pointer, char *module, const char *function, int line) - { - #ifdef LOGALLOC - if(logm==NULL) -diff -Naurp a/src/p_string.c b/src/p_string.c ---- a/src/p_string.c 2007-02-26 12:16:53.000000000 +0000 -+++ b/src/p_string.c 2007-02-26 12:17:11.000000000 +0000 -@@ -51,7 +51,7 @@ char *lngtxt(unsigned int msgnum) - - /* string copy with len and zero delimit */ - --char *strmncpy(char *dest, char *source, unsigned int len) -+char *strmncpy(char *dest, const char *source, unsigned int len) - { - char bf[strlen(source)+2]; - char *pt; -diff -Naurp a/src/match.c b/src/match.c ---- a/src/match.c 2007-02-26 12:26:10.000000000 +0000 -+++ b/src/match.c 2007-02-26 12:26:17.000000000 +0000 -@@ -36,6 +36,7 @@ - /* Remove the next line to use this in IrcII */ - #define EGGDROP - -+#include <p_global.h> - - /* =================================================================== - * Best to leave stuff after this point alone, but go on and change diff --git a/net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch b/net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch deleted file mode 100644 index f5bc776b1e6b..000000000000 --- a/net-irc/psybnc/files/psybnc-2.3.2.9-ldflags-fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -aurp a/tools/autoconf.c b/tools/autoconf.c ---- a/tools/autoconf.c 2010-10-10 20:25:29.295001235 +0000 -+++ b/tools/autoconf.c 2010-10-10 20:26:02.738999569 +0000 -@@ -449,7 +449,7 @@ int main() - fprintf(makefile,"TARGET = psybnc\n"); - fprintf(makefile,"\n"); - fprintf(makefile,"all: $(OBJS)\n"); -- fprintf(makefile," $(CC) -o $(TARGET) $(CFLAGS) $(OBJS) $(LIBS)\n"); -+ fprintf(makefile," $(CC) -o $(TARGET) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)\n"); - fprintf(makefile," @strip $(TARGET)\n"); - if(ssl==0) - { |