1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Stop passing -fcheck-new to the compiler.

This flag is GCC specific, and there should be no big loss with its removal.
This commit fixes the build on HEAD (clang 3.4).

MFH:		2014Q2
This commit is contained in:
Raphael Kubo da Costa 2014-05-16 22:26:00 +00:00
parent 6b70301cee
commit a3509509d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354270
2 changed files with 12 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= xmlppm
PORTVERSION= 0.98.3
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTVERSION} \
http://www.cs.cornell.edu/People/jcheney/xmlppm/

View File

@ -0,0 +1,11 @@
--- src/Makefile.in.orig 2014-05-17 01:23:05.000000000 +0300
+++ src/Makefile.in 2014-05-17 01:23:13.000000000 +0300
@@ -176,7 +176,7 @@
xmlppm_SOURCES = xmlppm.cpp Args.cpp Args.h Version.h
xmlppm_LDADD = libxmlppm.a
AM_CFLAGS = -Wall -ansi -pedantic -Wno-sign-compare -Wno-unknown-pragmas -Wno-conversion
-AM_CXXFLAGS = -fno-exceptions -fno-rtti -fcheck-new -Wall -ansi -pedantic -Wno-sign-compare -Wno-unknown-pragmas -Wno-conversion
+AM_CXXFLAGS = -fno-exceptions -fno-rtti -Wall -ansi -pedantic -Wno-sign-compare -Wno-unknown-pragmas -Wno-conversion
xmlunppm_SOURCES = xmlunppm.cpp Args.cpp Args.h Version.h
xmlunppm_LDADD = libxmlppm.a
lib_LIBRARIES = libxmlppm.a