aboutsummaryrefslogtreecommitdiffstats
path: root/irc/tr-ircd
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2009-06-23 20:45:24 +0800
committermm <mm@FreeBSD.org>2009-06-23 20:45:24 +0800
commit3d80fba9df5167b3149cb93446c0348f15e00511 (patch)
tree066a06c4504df246ddc6d312d6d1ec526b8ac274 /irc/tr-ircd
parenta12efa3fa83e5bcce11e568b5faef178278365c0 (diff)
downloadfreebsd-ports-gnome-3d80fba9df5167b3149cb93446c0348f15e00511.tar.gz
freebsd-ports-gnome-3d80fba9df5167b3149cb93446c0348f15e00511.tar.zst
freebsd-ports-gnome-3d80fba9df5167b3149cb93446c0348f15e00511.zip
- Unbreak build on 8-CURRENT
- Bump PORTREVISION PR: ports/135696 Submitted by: Florian Smeets <flo_at_kasimir_dot_com>
Diffstat (limited to 'irc/tr-ircd')
-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