pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/babl



Module Name:    pkgsrc
Committed By:   tnn
Date:           Wed Mar 23 22:27:34 UTC 2022

Modified Files:
        pkgsrc/graphics/babl: Makefile

Log Message:
babl: disable segfaulting mmx intrinsics with GCC7. Bump.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/graphics/babl/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/babl/Makefile
diff -u pkgsrc/graphics/babl/Makefile:1.44 pkgsrc/graphics/babl/Makefile:1.45
--- pkgsrc/graphics/babl/Makefile:1.44  Sat Mar  5 12:19:41 2022
+++ pkgsrc/graphics/babl/Makefile       Wed Mar 23 22:27:34 2022
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.44 2022/03/05 12:19:41 tnn Exp $
+# $NetBSD: Makefile,v 1.45 2022/03/23 22:27:34 tnn Exp $
 
 DISTNAME=      babl-0.1.90
+PKGREVISION=   1
 CATEGORIES=    graphics
 MASTER_SITES=  https://download.gimp.org/pub/babl/${PKGVERSION_NOREV:R}/
 EXTRACT_SUFX=  .tar.xz
@@ -36,6 +37,13 @@ PLIST_VARS+=         x86_64
 PLIST.x86_64=          yes
 .endif
 
+.include "../../mk/compiler.mk"
+
+.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
+       !empty(CC_VERSION:Mgcc-7.*)
+MESON_ARGS+=   -Denable-mmx=false
+.endif
+
 # Apply removals to post-wrapper transformed arguments.
 BUILDLINK_TRANSFORM.Darwin+=   rm:-Wl,--version-script
 BUILDLINK_TRANSFORM.Darwin+=   rm:-Wl,babl.map



Home | Main Index | Thread Index | Old Index