Date: Tue, 24 Jul 2012 11:33:20 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r301452 - in head/sysutils/dfc: . files Message-ID: <201207241133.q6OBXKEd025299@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207241133.q6OBXKEd025299>