diff options
author | beech <beech@FreeBSD.org> | 2013-02-26 05:21:37 +0800 |
---|---|---|
committer | beech <beech@FreeBSD.org> | 2013-02-26 05:21:37 +0800 |
commit | 828185b4011555684743b6b4f3d3c170c79f434c (patch) | |
tree | b97ba8dd761aeea7679fa8a63f7ca7f2556c454e /irc | |
parent | 425f2434ee7048d19635794de9063e13d795f454 (diff) | |
download | freebsd-ports-gnome-828185b4011555684743b6b4f3d3c170c79f434c.tar.gz freebsd-ports-gnome-828185b4011555684743b6b4f3d3c170c79f434c.tar.zst freebsd-ports-gnome-828185b4011555684743b6b4f3d3c170c79f434c.zip |
-Fix build with clang
- Shorten Makefile header
PR: ports/175746
Submitted by: Bryan Drewery <bdrewery@FreeBSD.org>
Diffstat (limited to 'irc')
-rw-r--r-- | irc/eggdrop/Makefile | 7 | ||||
-rw-r--r-- | irc/eggdrop/files/patch-src_match.c | 13 | ||||
-rw-r--r-- | irc/eggdrop/files/patch-src_net.c | 13 | ||||
-rw-r--r-- | irc/eggdrop/files/patch-src_proto.h | 13 | ||||
-rw-r--r-- | irc/eggdrop/files/patch-src_tclhash.c | 13 | ||||
-rw-r--r-- | irc/eggdrop/files/patch-src_tclhash.h | 13 |
6 files changed, 67 insertions, 5 deletions
diff --git a/irc/eggdrop/Makefile b/irc/eggdrop/Makefile index 6fb850e4507b..ffcc4315d3fd 100644 --- a/irc/eggdrop/Makefile +++ b/irc/eggdrop/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: eggdrop -# Date created: 18.01.2003 -# Whom: Ulrich Spoerlein <q@uni.de> -# +# Created by: Ulrich Spoerlein <q@uni.de> # $FreeBSD$ -# PORTNAME= eggdrop PORTVERSION= 1.6.21 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= ftp://ftp.eggheads.org/pub/eggdrop/source/1.6/ DISTNAME= ${PORTNAME}${PORTVERSION} diff --git a/irc/eggdrop/files/patch-src_match.c b/irc/eggdrop/files/patch-src_match.c new file mode 100644 index 000000000000..56e71ea8e09f --- /dev/null +++ b/irc/eggdrop/files/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/irc/eggdrop/files/patch-src_net.c b/irc/eggdrop/files/patch-src_net.c new file mode 100644 index 000000000000..d46308e86e17 --- /dev/null +++ b/irc/eggdrop/files/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/irc/eggdrop/files/patch-src_proto.h b/irc/eggdrop/files/patch-src_proto.h new file mode 100644 index 000000000000..893d532a7d8b --- /dev/null +++ b/irc/eggdrop/files/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/irc/eggdrop/files/patch-src_tclhash.c b/irc/eggdrop/files/patch-src_tclhash.c new file mode 100644 index 000000000000..69fc2eea7a3d --- /dev/null +++ b/irc/eggdrop/files/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/irc/eggdrop/files/patch-src_tclhash.h b/irc/eggdrop/files/patch-src_tclhash.h new file mode 100644 index 000000000000..d03481152d33 --- /dev/null +++ b/irc/eggdrop/files/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); |