pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/cint
Module Name: pkgsrc
Committed By: joerg
Date: Mon Dec 19 13:34:53 UTC 2016
Modified Files:
pkgsrc/lang/cint: Makefile distinfo
Added Files:
pkgsrc/lang/cint/patches: patch-readline_Makefile.base
Log Message:
When building with clang, ignore return type warnings.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/lang/cint/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/cint/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/cint/patches/patch-readline_Makefile.base
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/cint/Makefile
diff -u pkgsrc/lang/cint/Makefile:1.32 pkgsrc/lang/cint/Makefile:1.33
--- pkgsrc/lang/cint/Makefile:1.32 Wed Sep 28 10:00:27 2016
+++ pkgsrc/lang/cint/Makefile Mon Dec 19 13:34:53 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2016/09/28 10:00:27 kamil Exp $
+# $NetBSD: Makefile,v 1.33 2016/12/19 13:34:53 joerg Exp $
DISTNAME= cint-5.16.19-source
PKGNAME= ${DISTNAME:S/-source//}
@@ -37,6 +37,11 @@ BUILDLINK_PASSTHRU_RPATHDIRS+= ${PREFIX}
BUILD_TARGET= # empty string required (override "all")
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+MAKE_ENV+= CFLAGS_NO_RETURN_TYPE=-Wno-error=return-type
+.endif
+
INSTALLATION_DIRS+= bin cint cint/lib share/doc/cint
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man2 ${PKGMANDIR}/man3
Index: pkgsrc/lang/cint/distinfo
diff -u pkgsrc/lang/cint/distinfo:1.10 pkgsrc/lang/cint/distinfo:1.11
--- pkgsrc/lang/cint/distinfo:1.10 Wed Sep 28 10:00:27 2016
+++ pkgsrc/lang/cint/distinfo Mon Dec 19 13:34:53 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2016/09/28 10:00:27 kamil Exp $
+$NetBSD: distinfo,v 1.11 2016/12/19 13:34:53 joerg Exp $
SHA1 (cint-5.16.19-source.tar.gz) = 22307e50b4414f4e6e70d791d3ccfe2cc2163f59
RMD160 (cint-5.16.19-source.tar.gz) = ff7deb0cdf5534fb8849eaf5febf9e57117066ff
@@ -21,3 +21,4 @@ SHA1 (patch-tool_ifdef_Makefile.base) =
SHA1 (patch-tool_ifdef_get.c) = 6719537bd515260095a7d15a2e870df3ccd244eb
SHA1 (patch-tool_ifdef_ifdef.cxx) = 62770d0fb6556ac2efc16f692c15c6acc38174ab
SHA1 (patch-tool_makecint.cxx) = b81d05e92dd089ad7a4d85160266fa3d19a1dab4
+SHA1 (patch-readline_Makefile.base) = ac6656bdcd92ccb38f8ec200fb8780cdb2dc0000
Added files:
Index: pkgsrc/lang/cint/patches/patch-readline_Makefile.base
diff -u /dev/null pkgsrc/lang/cint/patches/patch-readline_Makefile.base:1.1
--- /dev/null Mon Dec 19 13:34:53 2016
+++ pkgsrc/lang/cint/patches/patch-readline_Makefile.base Mon Dec 19 13:34:53 2016
@@ -0,0 +1,13 @@
+$NetBSD: patch-readline_Makefile.base,v 1.1 2016/12/19 13:34:53 joerg Exp $
+
+--- readline/Makefile.base.orig 2015-09-21 17:55:28.000000000 +0000
++++ readline/Makefile.base
+@@ -46,7 +46,7 @@ READLINE_DEFINES = $(TYPES) -DVI_MODE
+ # DEBUG_FLAGS = -O
+ DEBUG_FLAGS = $(OPTIMIZE)
+ LDFLAGS = $(DEBUG_FLAGS)
+-CFLAGS = $(DEBUG_FLAGS) $(USG) -I.
++CFLAGS = $(DEBUG_FLAGS) $(USG) -I. ${CFLAGS_NO_RETURN_TYPE}
+
+ # A good alternative is gcc -traditional.
+ #CC = gcc -traditional
Home |
Main Index |
Thread Index |
Old Index