From owner-svn-ports-head@FreeBSD.ORG Tue Jul 24 11:33:20 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A217D106566B; Tue, 24 Jul 2012 11:33:20 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8C69A8FC14; Tue, 24 Jul 2012 11:33:20 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6OBXKun025302; Tue, 24 Jul 2012 11:33:20 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6OBXKEd025299; Tue, 24 Jul 2012 11:33:20 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201207241133.q6OBXKEd025299@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 24 Jul 2012 11:33:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301452 - in head/sysutils/dfc: . files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2012 11:33:20 -0000 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 - -.if ${OSVERSION} < 800000 -BROKEN= does not compile on FreeBSD 7.X -.endif - -.include +.include 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 + #endif + ++#ifdef TIOCGSIZE ++#undef TIOCGSIZE ++#endif ++ + /* + * Return the longest of the two parameters + * @a: first element to compare