Gentoo Archives: gentoo-commits

From: Louis Sautier <sbraz@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/eggdrop/files/
Date: Fri, 26 Oct 2018 08:40:31
Message-Id: 1540543220.1882e55b3775787ddd42301d6bdd400d25427491.sbraz@gentoo
1 commit: 1882e55b3775787ddd42301d6bdd400d25427491
2 Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 26 08:40:04 2018 +0000
4 Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 26 08:40:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1882e55b
7
8 net-irc/eggdrop: remove unused patches
9
10 Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 .../eggdrop-1.6.21-fix-gcc5-remove-inline.patch | 52 ----------------------
14 .../eggdrop/files/eggdrop-1.6.21-fix-memset.patch | 11 -----
15 2 files changed, 63 deletions(-)
16
17 diff --git a/net-irc/eggdrop/files/eggdrop-1.6.21-fix-gcc5-remove-inline.patch b/net-irc/eggdrop/files/eggdrop-1.6.21-fix-gcc5-remove-inline.patch
18 deleted file mode 100644
19 index f7bcd8b80bc..00000000000
20 --- a/net-irc/eggdrop/files/eggdrop-1.6.21-fix-gcc5-remove-inline.patch
21 +++ /dev/null
22 @@ -1,52 +0,0 @@
23 -diff --git a/src/net.c b/src/net.c
24 -index 68c245c..e48fb76 100644
25 ---- a/src/net.c
26 -+++ b/src/net.c
27 -@@ -564,7 +564,7 @@ int open_address_listen(IP addr, int *port)
28 - /* Returns a socket number for a listening socket that will accept any
29 - * connection -- port # is returned in port
30 - */
31 --inline int open_listen(int *port)
32 -+int open_listen(int *port)
33 - {
34 - return open_address_listen(myip[0] ? getmyip() : INADDR_ANY, port);
35 - }
36 -diff --git a/src/proto.h b/src/proto.h
37 -index 117347e..e80e30b 100644
38 ---- a/src/proto.h
39 -+++ b/src/proto.h
40 -@@ -271,7 +271,7 @@ int getsock(int);
41 - void killsock(int);
42 - void killtclsock(int);
43 - int answer(int, char *, unsigned long *, unsigned short *, int);
44 --inline int open_listen(int *);
45 -+int open_listen(int *);
46 - int open_address_listen(IP addr, int *);
47 - int open_telnet(char *, int);
48 - int open_telnet_dcc(int, char *, char *);
49 -diff --git a/src/tclhash.c b/src/tclhash.c
50 -index 822f920..7281ceb 100644
51 ---- a/src/tclhash.c
52 -+++ b/src/tclhash.c
53 -@@ -109,7 +109,7 @@ static inline void tcl_bind_list_delete(tcl_bind_list_t *tl)
54 - nfree(tl);
55 - }
56 -
57 --inline void garbage_collect_tclhash(void)
58 -+void garbage_collect_tclhash(void)
59 - {
60 - tcl_bind_list_t *tl, *tl_next, *tl_prev;
61 - tcl_bind_mask_t *tm, *tm_next, *tm_prev;
62 -diff --git a/src/tclhash.h b/src/tclhash.h
63 -index 4069014..3bd85a7 100644
64 ---- a/src/tclhash.h
65 -+++ b/src/tclhash.h
66 -@@ -75,7 +75,7 @@ typedef struct tcl_bind_list_b {
67 -
68 - #ifndef MAKING_MODS
69 -
70 --inline void garbage_collect_tclhash(void);
71 -+void garbage_collect_tclhash(void);
72 -
73 - void init_bind(void);
74 - void kill_bind(void);
75
76 diff --git a/net-irc/eggdrop/files/eggdrop-1.6.21-fix-memset.patch b/net-irc/eggdrop/files/eggdrop-1.6.21-fix-memset.patch
77 deleted file mode 100644
78 index f4d60f322da..00000000000
79 --- a/net-irc/eggdrop/files/eggdrop-1.6.21-fix-memset.patch
80 +++ /dev/null
81 @@ -1,11 +0,0 @@
82 -diff --git a/src/md5/md5c.c b/src/md5/md5c.c
83 -index 4dce058..cfdf97c 100644
84 ---- a/src/md5/md5c.c
85 -+++ b/src/md5/md5c.c
86 -@@ -267,5 +267,5 @@ void MD5_Final(unsigned char *result, MD5_CTX *ctx)
87 - result[14] = ctx->d >> 16;
88 - result[15] = ctx->d >> 24;
89 -
90 -- egg_memset(ctx, 0, sizeof(ctx));
91 -+ egg_memset(ctx, 0, sizeof(*ctx));
92 - }