ports/64575: [patch] fix build of ports/net/tvark on 5.x
Matthew West
mwest at uct.ac.za
Mon Mar 22 16:50:19 UTC 2004
>Number: 64575
>Category: ports
>Synopsis: [patch] fix build of ports/net/tvark on 5.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 22 08:50:11 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Matthew West
>Release: FreeBSD 5.2.1-RELEASE i386
>Organization:
University of Cape Town
>Environment:
>Description:
patch to fix build of ports/net/tvark on FreeBSD 5.x
files added: tvark/files/patch-main.c
>How-To-Repeat:
>Fix:
--- tvark.diff begins here ---
diff -ruN tvark.orig/Makefile tvark/Makefile
--- tvark.orig/Makefile Mon Mar 1 23:15:23 2004
+++ tvark/Makefile Mon Mar 22 18:20:29 2004
@@ -21,10 +21,6 @@
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
-
post-patch:
@${PERL} -pi -e "s|/usr/local/bin|${PREFIX}/bin|" ${WRKSRC}/Makefile
@${PERL} -pi -e "s|gtk-config|${GTK_CONFIG}|" ${WRKSRC}/Makefile
diff -ruN tvark.orig/files/patch-main.c tvark/files/patch-main.c
--- tvark.orig/files/patch-main.c Thu Jan 1 02:00:00 1970
+++ tvark/files/patch-main.c Mon Mar 22 18:19:46 2004
@@ -0,0 +1,10 @@
+--- main.c.orig Fri Nov 14 23:36:01 2003
++++ main.c Mon Mar 22 18:19:28 2004
+@@ -37,7 +37,6 @@
+ *
+ */
+
+-#define _XOPEN_SOURCE 600
+ #define _BSD_SOURCE 1
+
+ #include <fcntl.h>
--- tvark.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list