svn commit: r301452 - in head/sysutils/dfc: . files
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jul 24 11:33:20 UTC 2012
Author: bapt
Date: Tue Jul 24 11:33:20 2012
New Revision: 301452
URL: http://svn.freebsd.org/changeset/ports/301452
Log:
Use hack to unsetenv SunOS 3.2 TTY compatibility
as this broke the build on 7.x which still have it.
Submitted by: pluknet@ (via private mail)
Added:
head/sysutils/dfc/files/patch-src__util.c (contents, props changed)
Modified:
head/sysutils/dfc/Makefile (contents, props changed)
Modified: head/sysutils/dfc/Makefile
==============================================================================
--- head/sysutils/dfc/Makefile Tue Jul 24 11:20:20 2012 (r301451)
+++ head/sysutils/dfc/Makefile Tue Jul 24 11:33:20 2012 (r301452)
@@ -33,10 +33,4 @@ CMAKE_ARGS+= -DNLS_ENABLED=false
PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800000
-BROKEN= does not compile on FreeBSD 7.X
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Added: head/sysutils/dfc/files/patch-src__util.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/dfc/files/patch-src__util.c Tue Jul 24 11:33:20 2012 (r301452)
@@ -0,0 +1,13 @@
+--- src/util.c.orig 2012-07-24 13:34:08.000000000 +0400
++++ src/util.c 2012-07-24 13:34:29.000000000 +0400
+@@ -48,6 +48,10 @@
+ #include <libintl.h>
+ #endif
+
++#ifdef TIOCGSIZE
++#undef TIOCGSIZE
++#endif
++
+ /*
+ * Return the longest of the two parameters
+ * @a: first element to compare
More information about the svn-ports-head
mailing list