summaryrefslogtreecommitdiff
path: root/chat/eggdrop
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-11-16 00:35:28 +0000
committerjoerg <joerg@pkgsrc.org>2012-11-16 00:35:28 +0000
commitf298c619da39b5cce2f9aecb66d3c25d6af2b63a (patch)
tree4e6bce9bbc545ca6e944149d470e5558b3ea4b53 /chat/eggdrop
parent03bdbdbbb9f488b682bad54142420cf95822e599 (diff)
downloadpkgsrc-f298c619da39b5cce2f9aecb66d3c25d6af2b63a.tar.gz
Fix inline.
Diffstat (limited to 'chat/eggdrop')
-rw-r--r--chat/eggdrop/distinfo7
-rw-r--r--chat/eggdrop/patches/patch-src_match.c13
-rw-r--r--chat/eggdrop/patches/patch-src_net.c13
-rw-r--r--chat/eggdrop/patches/patch-src_proto.h13
-rw-r--r--chat/eggdrop/patches/patch-src_tclhash.c13
-rw-r--r--chat/eggdrop/patches/patch-src_tclhash.h13
6 files changed, 71 insertions, 1 deletions
diff --git a/chat/eggdrop/distinfo b/chat/eggdrop/distinfo
index 10d285bc93c..02a7085098d 100644
--- a/chat/eggdrop/distinfo
+++ b/chat/eggdrop/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2012/03/31 21:52:57 shattered Exp $
+$NetBSD: distinfo,v 1.15 2012/11/16 00:35:28 joerg Exp $
SHA1 (eggdrop1.6.21.tar.bz2) = 98ce7220c8aff19d2f8406fcc52aa1807aa0de01
RMD160 (eggdrop1.6.21.tar.bz2) = 1006dfd6a6e735500c2b484eb3061f1d2dfd20f8
@@ -14,3 +14,8 @@ SHA1 (patch-ah) = a5360c748e16cbc3d6ae4f2968799e96007971f1
SHA1 (patch-ai) = 77743bdf5fe790826159ffbb9246132f74a5fe38
SHA1 (patch-ak) = 92f269a3f382a9f917d7e58c2cee5bb1d500ab6d
SHA1 (patch-al) = 0b0438be382d9d9e0115235fd469bcded6679e3b
+SHA1 (patch-src_match.c) = ad5461aade0b66cb6a531f18a624c248855504fe
+SHA1 (patch-src_net.c) = caed97db5080c49a56ce0d223d7374a95435fb90
+SHA1 (patch-src_proto.h) = 8bc719154748225edd60182fd81ccc2c27c7eb64
+SHA1 (patch-src_tclhash.c) = eea9064b6fea10891feedc58741005c9879c21e2
+SHA1 (patch-src_tclhash.h) = 31c8aaec73855ed9b02173d52be4b96c6c387e70
diff --git a/chat/eggdrop/patches/patch-src_match.c b/chat/eggdrop/patches/patch-src_match.c
new file mode 100644
index 00000000000..56e71ea8e09
--- /dev/null
+++ b/chat/eggdrop/patches/patch-src_match.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_match.c,v 1.1 2012/11/16 00:35:28 joerg Exp $
+
+--- src/match.c.orig 2012-11-15 10:29:42.000000000 +0000
++++ src/match.c
+@@ -367,7 +367,7 @@ int cidr_match(char *m, char *n, int cou
+ /* Inline for cron_match (obviously).
+ * Matches a single field of a crontab expression.
+ */
+-inline int cron_matchfld(char *mask, int match)
++static inline int cron_matchfld(char *mask, int match)
+ {
+ int skip = 0, f, t;
+ char *p, *q;
diff --git a/chat/eggdrop/patches/patch-src_net.c b/chat/eggdrop/patches/patch-src_net.c
new file mode 100644
index 00000000000..d46308e86e1
--- /dev/null
+++ b/chat/eggdrop/patches/patch-src_net.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_net.c,v 1.1 2012/11/16 00:35:28 joerg Exp $
+
+--- src/net.c.orig 2012-11-15 10:30:07.000000000 +0000
++++ src/net.c
+@@ -564,7 +564,7 @@ int open_address_listen(IP addr, int *po
+ /* Returns a socket number for a listening socket that will accept any
+ * connection -- port # is returned in port
+ */
+-inline int open_listen(int *port)
++int open_listen(int *port)
+ {
+ return open_address_listen(myip[0] ? getmyip() : INADDR_ANY, port);
+ }
diff --git a/chat/eggdrop/patches/patch-src_proto.h b/chat/eggdrop/patches/patch-src_proto.h
new file mode 100644
index 00000000000..893d532a7d8
--- /dev/null
+++ b/chat/eggdrop/patches/patch-src_proto.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_proto.h,v 1.1 2012/11/16 00:35:28 joerg Exp $
+
+--- src/proto.h.orig 2012-11-15 10:30:20.000000000 +0000
++++ src/proto.h
+@@ -271,7 +271,7 @@ int getsock(int);
+ void killsock(int);
+ void killtclsock(int);
+ int answer(int, char *, unsigned long *, unsigned short *, int);
+-inline int open_listen(int *);
++int open_listen(int *);
+ int open_address_listen(IP addr, int *);
+ int open_telnet(char *, int);
+ int open_telnet_dcc(int, char *, char *);
diff --git a/chat/eggdrop/patches/patch-src_tclhash.c b/chat/eggdrop/patches/patch-src_tclhash.c
new file mode 100644
index 00000000000..69fc2eea7a3
--- /dev/null
+++ b/chat/eggdrop/patches/patch-src_tclhash.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_tclhash.c,v 1.1 2012/11/16 00:35:28 joerg Exp $
+
+--- src/tclhash.c.orig 2012-11-15 10:32:40.000000000 +0000
++++ src/tclhash.c
+@@ -109,7 +109,7 @@ static inline void tcl_bind_list_delete(
+ nfree(tl);
+ }
+
+-inline void garbage_collect_tclhash(void)
++void garbage_collect_tclhash(void)
+ {
+ tcl_bind_list_t *tl, *tl_next, *tl_prev;
+ tcl_bind_mask_t *tm, *tm_next, *tm_prev;
diff --git a/chat/eggdrop/patches/patch-src_tclhash.h b/chat/eggdrop/patches/patch-src_tclhash.h
new file mode 100644
index 00000000000..d03481152d3
--- /dev/null
+++ b/chat/eggdrop/patches/patch-src_tclhash.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_tclhash.h,v 1.1 2012/11/16 00:35:28 joerg Exp $
+
+--- src/tclhash.h.orig 2012-11-15 10:32:27.000000000 +0000
++++ src/tclhash.h
+@@ -75,7 +75,7 @@ typedef struct tcl_bind_list_b {
+
+ #ifndef MAKING_MODS
+
+-inline void garbage_collect_tclhash(void);
++void garbage_collect_tclhash(void);
+
+ void init_bind(void);
+ void kill_bind(void);