pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/json-c



Module Name:    pkgsrc
Committed By:   kamil
Date:           Tue Sep 24 16:08:30 UTC 2019

Modified Files:
        pkgsrc/textproc/json-c: Makefile

Log Message:
json-c: Fix build with clang10svn

Drop -Werror due to -Werror,-Wimplicit-int-float-conversion.

Issie fixed upstream in:

https://github.com/json-c/json-c/commit/d0b87ee87b282e9b91a1af924050e217b0b2ae8b.patch

Keep another rm:-Werror for gcc3/4, in order to not change the bahavior
once this package will be upgraded.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/textproc/json-c/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/json-c/Makefile
diff -u pkgsrc/textproc/json-c/Makefile:1.13 pkgsrc/textproc/json-c/Makefile:1.14
--- pkgsrc/textproc/json-c/Makefile:1.13        Sat Aug  4 09:53:05 2018
+++ pkgsrc/textproc/json-c/Makefile     Tue Sep 24 16:08:29 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2018/08/04 09:53:05 adam Exp $
+# $NetBSD: Makefile,v 1.14 2019/09/24 16:08:29 kamil Exp $
 
 DISTNAME=      json-c-0.13.1
 CATEGORIES=    textproc
@@ -17,6 +17,8 @@ TEST_TARGET=          check
 
 .include "../../mk/compiler.mk"
 
+BUILDLINK_TRANSFORM+=  rm:-Werror # -Werror,-Wimplicit-int-float-conversion fixed in https://github.com/json-c/json-c/commit/d0b87ee87b282e9b91a1af924050e217b0b2ae8b.patch
+
 # gcc < 4.2 does not have -Wno-error= option.
 .if !empty(CC_VERSION:Mgcc-3*) || !empty(CC_VERSION:Mgcc-4.[01]*)
 BUILDLINK_TRANSFORM+=  rm:-Werror rm:-Wno-error=deprecated-declarations



Home | Main Index | Thread Index | Old Index