aboutsummaryrefslogtreecommitdiffstats
path: root/mbone/rat
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-05 02:21:14 +0800
committerpav <pav@FreeBSD.org>2004-11-05 02:21:14 +0800
commite9ff427dc291206a59bd9cfb9c473efa326b8b58 (patch)
treeb4910550e452af9fd29515695530c0e1236c5c9b /mbone/rat
parent5c4b68e16309eb91cc1cd9390576cde61c696903 (diff)
downloadfreebsd-ports-gnome-e9ff427dc291206a59bd9cfb9c473efa326b8b58.tar.gz
freebsd-ports-gnome-e9ff427dc291206a59bd9cfb9c473efa326b8b58.tar.zst
freebsd-ports-gnome-e9ff427dc291206a59bd9cfb9c473efa326b8b58.zip
- Fix build on 5.x
PR: ports/73528 Submitted by: Janos Mohacsi <janos.mohacsi@niif.hu>
Diffstat (limited to 'mbone/rat')
-rw-r--r--mbone/rat/Makefile4
-rw-r--r--mbone/rat/files/patch-rat_configure.in14
2 files changed, 14 insertions, 4 deletions
diff --git a/mbone/rat/Makefile b/mbone/rat/Makefile
index f26916805d42..8481e1c1916d 100644
--- a/mbone/rat/Makefile
+++ b/mbone/rat/Makefile
@@ -31,10 +31,6 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
.if ${OSVERSION} >= 400014
ENABLE_IPv6= --enable-ipv6
.endif
diff --git a/mbone/rat/files/patch-rat_configure.in b/mbone/rat/files/patch-rat_configure.in
new file mode 100644
index 000000000000..ec2bb83d0633
--- /dev/null
+++ b/mbone/rat/files/patch-rat_configure.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- rat/configure.in.orig
++++ rat/configure.in
+@@ -147,7 +147,7 @@
+ [EXTRAOBJ="$EXTRA_OBJ usleep.o"
+ AC_DEFINE(NEED_USLEEP)])
+
+-AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF))
++#AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF))
+
+ AC_SUBST(EXTRA_OBJ)
+