Date: Sat, 14 Sep 2013 15:31:05 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r327294 - head/irc/gseen.mod/files Message-ID: <201309141531.r8EFV5fv000962@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Sat Sep 14 15:31:04 2013 New Revision: 327294 URL: http://svnweb.freebsd.org/changeset/ports/327294 Log: - Fix build with clang Obtained from: irc/eggdrop (patches from NetBSD) Added: head/irc/gseen.mod/files/ head/irc/gseen.mod/files/patch-src_match.c (contents, props changed) head/irc/gseen.mod/files/patch-src_net.c (contents, props changed) head/irc/gseen.mod/files/patch-src_proto.h (contents, props changed) head/irc/gseen.mod/files/patch-src_tclhash.c (contents, props changed) head/irc/gseen.mod/files/patch-src_tclhash.h (contents, props changed) Added: head/irc/gseen.mod/files/patch-src_match.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/gseen.mod/files/patch-src_match.c Sat Sep 14 15:31:04 2013 (r327294) @@ -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; Added: head/irc/gseen.mod/files/patch-src_net.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/gseen.mod/files/patch-src_net.c Sat Sep 14 15:31:04 2013 (r327294) @@ -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); + } Added: head/irc/gseen.mod/files/patch-src_proto.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/gseen.mod/files/patch-src_proto.h Sat Sep 14 15:31:04 2013 (r327294) @@ -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 *); Added: head/irc/gseen.mod/files/patch-src_tclhash.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/gseen.mod/files/patch-src_tclhash.c Sat Sep 14 15:31:04 2013 (r327294) @@ -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; Added: head/irc/gseen.mod/files/patch-src_tclhash.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/gseen.mod/files/patch-src_tclhash.h Sat Sep 14 15:31:04 2013 (r327294) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309141531.r8EFV5fv000962>