From owner-svn-ports-head@FreeBSD.ORG Mon Dec 3 09:10:19 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB548FBE; Mon, 3 Dec 2012 09:10:19 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id A71628FC17; Mon, 3 Dec 2012 09:10:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qB39AJ2B088896; Mon, 3 Dec 2012 09:10:19 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qB39AJZW088894; Mon, 3 Dec 2012 09:10:19 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201212030910.qB39AJZW088894@svn.freebsd.org> From: Pietro Cerutti Date: Mon, 3 Dec 2012 09:10:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308127 - head/sysutils/heirloom/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 03 Dec 2012 09:10:19 -0000 Author: gahr Date: Mon Dec 3 09:10:19 2012 New Revision: 308127 URL: http://svnweb.freebsd.org/changeset/ports/308127 Log: - Fix build with clang Feature safe: yes Added: head/sysutils/heirloom/files/patch-factor_Makefile.mk (contents, props changed) head/sysutils/heirloom/files/patch-nawk_main.c (contents, props changed) Added: head/sysutils/heirloom/files/patch-factor_Makefile.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/heirloom/files/patch-factor_Makefile.mk Mon Dec 3 09:10:19 2012 (r308127) @@ -0,0 +1,11 @@ +--- factor/Makefile.mk.orig 2012-12-03 10:01:29.000000000 +0100 ++++ factor/Makefile.mk 2012-12-03 10:01:48.000000000 +0100 +@@ -22,7 +22,7 @@ + $(CC) ___build$$$$.c -lm -o ___build$$$$ >/dev/null 2>&1 ; \ + if test $$? = 0 && test -f ___build$$$$ ; \ + then \ +- echo '#if !defined (__dietlibc__) && !defined (_AIX)' >>config.h ; \ ++ echo '#if !defined (__dietlibc__) && !defined (_AIX) && !defined (__FreeBSD__)' >>config.h ; \ + echo '#define USE_LONG_DOUBLE' >>config.h ; \ + echo '#endif' >>config.h ; \ + fi ; \ Added: head/sysutils/heirloom/files/patch-nawk_main.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/heirloom/files/patch-nawk_main.c Mon Dec 3 09:10:19 2012 (r308127) @@ -0,0 +1,11 @@ +--- nawk/main.c.orig 2012-12-03 10:03:30.000000000 +0100 ++++ nawk/main.c 2012-12-03 10:03:51.000000000 +0100 +@@ -66,7 +66,7 @@ + + extern const char badopen[]; + +-int main(int argc, unsigned char *argv[], unsigned char *envp[]) ++int main(int argc, char *argv[], char *envp[]) + { + unsigned char *fs = NULL; + char label[MAXLABEL+1]; /* Space for the catalogue label */