Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Mar 2004 18:44:15 +0200 (SAST)
From:      Matthew West <mwest@uct.ac.za>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64575: [patch] fix build of ports/net/tvark on 5.x
Message-ID:  <200403221644.i2MGiFmf059933@casper.cs.uct.ac.za>
Resent-Message-ID: <200403221650.i2MGoBld045327@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403221644.i2MGiFmf059933>