aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rat
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rat')
-rw-r--r--audio/rat/Makefile4
-rw-r--r--audio/rat/files/patch-rat_configure.in14
2 files changed, 14 insertions, 4 deletions
diff --git a/audio/rat/Makefile b/audio/rat/Makefile
index f26916805d42..8481e1c1916d 100644
--- a/audio/rat/Makefile
+++ b/audio/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/audio/rat/files/patch-rat_configure.in b/audio/rat/files/patch-rat_configure.in
new file mode 100644
index 000000000000..ec2bb83d0633
--- /dev/null
+++ b/audio/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)
+