diff options
author | pav <pav@FreeBSD.org> | 2004-11-05 02:21:14 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-11-05 02:21:14 +0800 |
commit | e9ff427dc291206a59bd9cfb9c473efa326b8b58 (patch) | |
tree | b4910550e452af9fd29515695530c0e1236c5c9b /audio/rat | |
parent | 5c4b68e16309eb91cc1cd9390576cde61c696903 (diff) | |
download | freebsd-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 'audio/rat')
-rw-r--r-- | audio/rat/Makefile | 4 | ||||
-rw-r--r-- | audio/rat/files/patch-rat_configure.in | 14 |
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) + |