pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/zxing-cpp
Module Name: pkgsrc
Committed By: tsutsui
Date: Tue Apr 7 11:39:00 UTC 2026
Modified Files:
pkgsrc/graphics/zxing-cpp: Makefile
Log Message:
zxing-cpp: disable PCH on NetBSD/i386 11.0_RC3 to avoid random ICE
Probably caused by address space shortage.
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/graphics/zxing-cpp/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/zxing-cpp/Makefile
diff -u pkgsrc/graphics/zxing-cpp/Makefile:1.16 pkgsrc/graphics/zxing-cpp/Makefile:1.17
--- pkgsrc/graphics/zxing-cpp/Makefile:1.16 Thu Mar 12 00:59:16 2026
+++ pkgsrc/graphics/zxing-cpp/Makefile Tue Apr 7 11:39:00 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2026/03/12 00:59:16 ryoon Exp $
+# $NetBSD: Makefile,v 1.17 2026/04/07 11:39:00 tsutsui Exp $
DISTNAME= zxing-cpp-3.0.2
CATEGORIES= graphics
@@ -19,6 +19,12 @@ CMAKE_CONFIGURE_ARGS+= -DZXING_WRITERS=B
# use pkgsrc zint
CMAKE_CONFIGURE_ARGS+= -DZXING_USE_BUNDLED_ZINT=OFF
+### gcc-12.5.0 of NetBSD/i386 11.0 gets ICE due to PCH.
+.include "../../mk/compiler.mk"
+.if ${MACHINE_PLATFORM:MNetBSD-*-*i386} && ${CC_VERSION:Mgcc-12.*}
+CMAKE_CONFIGURE_ARGS+= -DZXING_DISABLE_PCH=ON
+.endif
+
# needs C++20, but users of the library are fine with c++17 as of 3.0.1
USE_CXX_FEATURES+= c++20
Home |
Main Index |
Thread Index |
Old Index