aboutsummaryrefslogtreecommitdiff
path: root/net/tvark
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-23 08:40:12 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-23 08:40:12 +0000
commitf8737d6e2e74248e71bec099de268be155fef5e1 (patch)
treea8d677fbec5db70ee658eac0227270117652e9df /net/tvark
parent191528c2bb4e01f82bd779d6c2b62aab0c97c7df (diff)
downloadports-f8737d6e2e74248e71bec099de268be155fef5e1.tar.gz
ports-f8737d6e2e74248e71bec099de268be155fef5e1.zip
- Fix build on 5-x
PR: ports/64575 Submitted by: Matthew West <mwest@uct.ac.za>
Notes
Notes: svn path=/head/; revision=105017
Diffstat (limited to 'net/tvark')
-rw-r--r--net/tvark/Makefile4
-rw-r--r--net/tvark/files/patch-main.c10
2 files changed, 10 insertions, 4 deletions
diff --git a/net/tvark/Makefile b/net/tvark/Makefile
index 0eb461872e3f..3d4347c1e9d0 100644
--- a/net/tvark/Makefile
+++ b/net/tvark/Makefile
@@ -21,10 +21,6 @@ USE_MYSQL= yes
.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 --git a/net/tvark/files/patch-main.c b/net/tvark/files/patch-main.c
new file mode 100644
index 000000000000..d4973692dea8
--- /dev/null
+++ b/net/tvark/files/patch-main.c
@@ -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>