ports/73528: [PATCH] mbone/rat: Unbreak compilation problem
Janos Mohacsi
janos.mohacsi at niif.hu
Thu Nov 4 11:30:29 UTC 2004
>Number: 73528
>Category: ports
>Synopsis: [PATCH] mbone/rat: Unbreak compilation problem
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 04 11:30:28 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Janos Mohacsi
>Release: FreeBSD 5.3-STABLE i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 5.3-STABLE FreeBSD 5.3-STABLE #4: Mon Oct 18 13:14:24 CEST 2004
>Description:
Unbreak mbone/rat port to compile on FreeBSD 5.x.
This is a rather quick workaround. Real solution would be to
upgrade autoconf suite used by rat to one the latest version...
It is a feature request for original developers.
Added file(s):
- files/patch-rat_configure.in
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
Apply this diff.
>Fix:
--- rat-4.2.25_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/mbone/rat.orig/Makefile /usr/ports/mbone/rat/Makefile
--- /usr/ports/mbone/rat.orig/Makefile Wed Sep 29 14:46:14 2004
+++ /usr/ports/mbone/rat/Makefile Wed Nov 3 10:26:29 2004
@@ -31,10 +31,6 @@
.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 -ruN --exclude=CVS /usr/ports/mbone/rat.orig/files/patch-rat_configure.in /usr/ports/mbone/rat/files/patch-rat_configure.in
--- /usr/ports/mbone/rat.orig/files/patch-rat_configure.in Thu Jan 1 01:00:00 1970
+++ /usr/ports/mbone/rat/files/patch-rat_configure.in Wed Nov 3 10:32:45 2004
@@ -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)
+
--- rat-4.2.25_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list