pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/cmocka
Module Name: pkgsrc
Committed By: maya
Date: Mon Jan 21 07:39:48 UTC 2019
Modified Files:
pkgsrc/devel/cmocka: Makefile
Log Message:
cmocka: avoid -Werror=uninitialized which incorrectly fires on wrong code
by GCC 4.3/4.4
Reported in https://github.com/NetBSD/pkgsrc/pull/41
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/cmocka/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/cmocka/Makefile
diff -u pkgsrc/devel/cmocka/Makefile:1.6 pkgsrc/devel/cmocka/Makefile:1.7
--- pkgsrc/devel/cmocka/Makefile:1.6 Mon Dec 3 15:16:33 2018
+++ pkgsrc/devel/cmocka/Makefile Mon Jan 21 07:39:48 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2018/12/03 15:16:33 adam Exp $
+# $NetBSD: Makefile,v 1.7 2019/01/21 07:39:48 maya Exp $
DISTNAME= cmocka-1.1.3
CATEGORIES= devel
@@ -15,6 +15,10 @@ USE_CMAKE= yes
CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
+# GCC 4.3/4.4 provides wrong warnings:
+# cmocka.c:3281: error: 'setup_name' may be used uninitialized in this function
+CMAKE_ARGS+= -DWITH_WERROR_UNINITIALIZED_FLAG=0
+
post-extract:
${MKDIR} ${WRKDIR}/build
Home |
Main Index |
Thread Index |
Old Index