Date: Mon, 3 Dec 2012 09:10:19 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r308127 - head/sysutils/heirloom/files Message-ID: <201212030910.qB39AJZW088894@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212030910.qB39AJZW088894>