pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/vv
Module Name: pkgsrc
Committed By: pho
Date: Sat Feb 8 18:45:21 UTC 2025
Modified Files:
pkgsrc/graphics/vv: Makefile
Log Message:
graphics/vv: Turn off -march=native that is enabled by default
-march=native is bad for binary packages. Also it causes a build failure on
NetBSD/aarch64, perhaps because /proc/cpuinfo isn't 100% compatible with
that of Linux?
> /usr/pkgsrc/graphics/vv/work/vv-84747114964a84aa7b9f1495cfc580b98817fac2/src/uti
> l/TonemapperAgx.cpp: In function 'float ToneMap::AgxCurve(float)':
> /usr/pkgsrc/graphics/vv/work/vv-84747114964a84aa7b9f1495cfc580b98817fac2/src/uti
> l/TonemapperAgx.cpp:12:7: error: '+nofp' feature modifier is incompatible with t
> he use of floating-point types
> 12 | float AgxCurve( float x )
> | ^~~~~~~~
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/vv/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/vv/Makefile
diff -u pkgsrc/graphics/vv/Makefile:1.3 pkgsrc/graphics/vv/Makefile:1.4
--- pkgsrc/graphics/vv/Makefile:1.3 Sat Feb 8 14:26:32 2025
+++ pkgsrc/graphics/vv/Makefile Sat Feb 8 18:45:21 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2025/02/08 14:26:32 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2025/02/08 18:45:21 pho Exp $
DISTNAME= vv-3.1.0.20250208
CATEGORIES= graphics
@@ -25,6 +25,9 @@ CMAKE_CONFIGURE_ARGS+= -DCPM_tracy_SOURC
GITHUB_SUBMODULES+= nothings stb 2e2bef463a5b53ddf8bb788e25da6b8506314c08 stb
CMAKE_CONFIGURE_ARGS+= -DCPM_stb_SOURCE=${WRKSRC}/stb
+# Turn off -march=native that is enabled by default.
+CMAKE_CONFIGURE_ARGS+= -DMARCH_NATIVE:BOOL=OFF
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${CMAKE_BUILD_DIR}/vv ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/vv/
Home |
Main Index |
Thread Index |
Old Index