diff options
Diffstat (limited to 'irc/tr-ircd')
-rw-r--r-- | irc/tr-ircd/Makefile | 1 | ||||
-rw-r--r-- | irc/tr-ircd/files/patch-lib-md5-getline.h | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/irc/tr-ircd/Makefile b/irc/tr-ircd/Makefile index ee383e1efea0..fa1ce07d11ce 100644 --- a/irc/tr-ircd/Makefile +++ b/irc/tr-ircd/Makefile @@ -7,6 +7,7 @@ PORTNAME= tr-ircd PORTVERSION= 5.7.3 +PORTREVISION= 1 CATEGORIES= irc ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} diff --git a/irc/tr-ircd/files/patch-lib-md5-getline.h b/irc/tr-ircd/files/patch-lib-md5-getline.h new file mode 100644 index 000000000000..093ce1af8b19 --- /dev/null +++ b/irc/tr-ircd/files/patch-lib-md5-getline.h @@ -0,0 +1,16 @@ +--- lib/md5/getline.h.orig 2009-06-18 13:54:02.000000000 +0200 ++++ lib/md5/getline.h 2009-06-18 13:56:18.000000000 +0200 +@@ -34,8 +34,13 @@ + int + getline PARAMS ((char **_lineptr, size_t *_n, FILE *_stream)); + ++#if defined(__FreeBSD__) ++#include <osreldate.h> ++#if __FreeBSD_version < 800067 + int + getdelim PARAMS ((char **_lineptr, size_t *_n, int _delimiter, FILE *_stream)); ++#endif ++#endif + + /* + * # endif |