Date: Sun, 25 May 2014 10:47:40 +0000 (UTC) From: Martin Wilke <miwi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355158 - head/japanese/plain2/files Message-ID: <201405251047.s4PAleM2079684@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: miwi Date: Sun May 25 10:47:39 2014 New Revision: 355158 URL: http://svnweb.freebsd.org/changeset/ports/355158 QAT: https://qat.redports.org/buildarchive/r355158/ Log: - Unbreak build with clang PR: 184208 Submitted by: maintainer Added: head/japanese/plain2/files/patch-src-plain2.c (contents, props changed) Modified: head/japanese/plain2/files/patch-src-Makefile Modified: head/japanese/plain2/files/patch-src-Makefile ============================================================================== --- head/japanese/plain2/files/patch-src-Makefile Sun May 25 10:42:18 2014 (r355157) +++ head/japanese/plain2/files/patch-src-Makefile Sun May 25 10:47:39 2014 (r355158) @@ -1,6 +1,6 @@ --- src/Makefile.orig 2011-10-01 00:07:58.000000000 +0900 +++ src/Makefile 2011-10-01 00:08:17.000000000 +0900 -@@ -12,8 +12,8 @@ +@@ -12,8 +12,9 @@ DEFINES=-DKANJI -DPICTURE -DHTML @@ -8,10 +8,11 @@ -CFLAGS= -fwritable-strings ${DEFINES} -DBSD -DDEBUG -O2 -s +CC?=gcc +CFLAGS?= -fwritable-strings ${DEFINES} -DBSD -DDEBUG -O2 -s ++CFLAGS+= ${DEFINES} #CC=cc #CFLAGS= -O -fwritable-strings ${DEFINES} -DBSD -DDEBUG -@@ -33,8 +33,8 @@ +@@ -33,8 +34,8 @@ OBJS_KANJI=roffout.o analyze.o table.o title.o picture.o ftitle.o HDRS=plain2.h table.h picture.h kanji.h Added: head/japanese/plain2/files/patch-src-plain2.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/japanese/plain2/files/patch-src-plain2.c Sun May 25 10:47:39 2014 (r355158) @@ -0,0 +1,19 @@ +--- src/plain2.c.orig 2013-11-24 13:27:57.000000000 +0900 ++++ src/plain2.c 2013-11-24 13:45:59.000000000 +0900 +@@ -643,7 +643,7 @@ + char buf[MAX_LINE_LEN]; + FILE *initf; + if ((plainEnv = getenv(PLAIN2_ENV)) == NULL) +- return; ++ return 0; + if ((initf = fopen(plainEnv, "r")) == NULL) { + char envOpt[MAX_LINE_LEN]; + strcpy(envOpt, plainEnv); +@@ -669,6 +669,7 @@ + } + fclose(initf); + } ++ return 0; + } + /* + * Save & Restore Parameters for Parsing
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405251047.s4PAleM2079684>