Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2014 10:50:00 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/184208: commit references a PR
Message-ID:  <201405251050.s4PAo0LW071725@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/184208; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184208: commit references a PR
Date: Sun, 25 May 2014 10:47:43 +0000 (UTC)

 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
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405251050.s4PAo0LW071725>