aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2009-06-23 12:45:24 +0000
committerMartin Matuska <mm@FreeBSD.org>2009-06-23 12:45:24 +0000
commit8700e573cb58bdb201d7d6086b22ce21d2d23c3a (patch)
treec2f9299f681c29d096b43841a084cf6eac94af37 /irc
parent4140684a4739f96d95bed6ac3d957397d7850421 (diff)
downloadports-8700e573cb58bdb201d7d6086b22ce21d2d23c3a.tar.gz
ports-8700e573cb58bdb201d7d6086b22ce21d2d23c3a.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/tr-ircd/Makefile1
-rw-r--r--irc/tr-ircd/files/patch-lib-md5-getline.h16
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