pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/fallingtime



Module Name:    pkgsrc
Committed By:   he
Date:           Thu Dec 15 18:45:07 UTC 2022

Modified Files:
        pkgsrc/games/fallingtime: Makefile distinfo

Log Message:
games/fallingtime: fix build on NetBSD/macppc.

...where we need -std=gnu99 for alloca().
Use BUILDLINK_TRANSFORM to transform command line, otherwise
-std=c99 sneaks in and overrides, causing link failure.
Can't find where patch-pkg_default.gcw0.desktop is, not in CVS repository...


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/games/fallingtime/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/games/fallingtime/distinfo

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

Modified files:

Index: pkgsrc/games/fallingtime/Makefile
diff -u pkgsrc/games/fallingtime/Makefile:1.11 pkgsrc/games/fallingtime/Makefile:1.12
--- pkgsrc/games/fallingtime/Makefile:1.11      Sun Sep 11 12:51:39 2022
+++ pkgsrc/games/fallingtime/Makefile   Thu Dec 15 18:45:07 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/09/11 12:51:39 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2022/12/15 18:45:07 he Exp $
 
 DISTNAME=      fallingtime-1.0.2
 PKGREVISION=   7
@@ -15,7 +15,10 @@ EXTRACT_USING=       bsdtar
 WRKSRC=                ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
 USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
-USE_LANGUAGES= c99 c++
+USE_LANGUAGES= gnu99 c++
+
+# Also needed for alloca(), c99 creeps in and overrides otherwise...
+BUILDLINK_TRANSFORM+=  opt:-std=c99:-std=gnu99
 
 CMAKE_ARGS+=   -DINSTALL_PREFIX=${PREFIX}/libexec
 CMAKE_ARGS+=   -DINSTALL_DATA_PREFIX=${PREFIX}/share/fallingtime

Index: pkgsrc/games/fallingtime/distinfo
diff -u pkgsrc/games/fallingtime/distinfo:1.4 pkgsrc/games/fallingtime/distinfo:1.5
--- pkgsrc/games/fallingtime/distinfo:1.4       Tue Oct 26 10:43:57 2021
+++ pkgsrc/games/fallingtime/distinfo   Thu Dec 15 18:45:07 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 10:43:57 nia Exp $
+$NetBSD: distinfo,v 1.5 2022/12/15 18:45:07 he Exp $
 
 BLAKE2s (fallingtime-1.0.2.tar.gz) = 9424053f5b42acc276afc313f08f986ec5556c5f18da01b7c719229f5d992b13
 SHA512 (fallingtime-1.0.2.tar.gz) = ada433b2a43558eea10b9e63564fc467640df96d5c3b6007610b9a4987e6f3cc6d5b0ef155da513d4f651be2a8e3cd9cdc59d6cbbeec5a58d66f408de1cd4929
@@ -6,4 +6,3 @@ Size (fallingtime-1.0.2.tar.gz) = 187916
 SHA1 (patch-CMakeLists.txt) = 27d7c488cdd24162f49f3391c75e7b8afb8ba521
 SHA1 (patch-cfgpath.h) = 95f82b5c981136a43b68764b33ded926e4dd807a
 SHA1 (patch-chipmunk_include_chipmunk_chipmunk.h) = 076caf52ccd588c59f0448050350af7209f6360e
-SHA1 (patch-pkg_default.gcw0.desktop) = c3cc6d289369cbfb49ea3adf2f068c49717a71af



Home | Main Index | Thread Index | Old Index