[arch-commits] Commit in zsnes/trunk (PKGBUILD)

Alexander Rødseth arodseth at gemini.archlinux.org
Fri Jul 1 21:24:37 UTC 2022


    Date: Friday, July 1, 2022 @ 21:24:37
  Author: arodseth
Revision: 1243550

upgpkg: zsnes 2.0.10-1

Modified:
  zsnes/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-01 21:09:00 UTC (rev 1243549)
+++ PKGBUILD	2022-07-01 21:24:37 UTC (rev 1243550)
@@ -6,17 +6,17 @@
 # Contributor: Aurelien Foret <orelien at chez.com>
 
 pkgname=zsnes
-pkgver=2.0.9
-pkgrel=2
+pkgver=2.0.10
+pkgrel=1
 pkgdesc='Super Nintendo emulator'
 url='https://github.com/xyproto/zsnes'
 arch=(x86_64)
 license=(GPL2)
-makedepends=(gendesk git mesa nasm)
+makedepends=(gendesk git mesa nasm setconf)
 depends=(lib32-libpng lib32-opengl-driver lib32-sdl)
 optdepends=('lib32-alsa-lib: sound support for ALSA'
             'lib32-libpulse: sound support for Pulse Audio')
-source=("git+$url#commit=09bc1b15e0b6ab8320e86a9399afc2984a9336f3") # tag: 2.0.9
+source=("git+$url#commit=97ec3f4d6d1f2b52ff03aa85fa64569efdd5668a") # tag: 2.0.10
 b2sums=('SKIP')
 
 prepare() {
@@ -26,6 +26,11 @@
 build() {
   export CFLAGS=${CFLAGS/-fcf-protection/}
   export CXXFLAGS=${CXXFLAGS/-fcf-protection/}
+
+  # Until zsnes is patched upstream
+  export CFLAGS=${CFLAGS/-Wp,-D_FORTIFY_SOURCE=2/}
+  export CXXFLAGS=${CXXFLAGS/-Wp,-D_FORTIFY_SOURCE=2/}
+
   make -C $pkgname
 }
 



More information about the arch-commits mailing list