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

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Mon Oct 11 03:06:50 UTC 2021


    Date: Monday, October 11, 2021 @ 03:06:49
  Author: svenstaro
Revision: 425783

upgpkg: sdl2 2.0.16-4: Try to fix FS#72299

Modified:
  sdl2/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-10 23:49:08 UTC (rev 425782)
+++ PKGBUILD	2021-10-11 03:06:49 UTC (rev 425783)
@@ -2,7 +2,7 @@
 
 pkgname=sdl2
 pkgver=2.0.16
-pkgrel=3
+pkgrel=4
 pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard (Version 2)"
 arch=('x86_64')
 url="https://www.libsdl.org"
@@ -16,11 +16,19 @@
             'jack: JACK audio driver'
             'pipewire: PipeWire audio driver'
             'libdecor: Wayland client decorations')
-source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig})
+source=("https://www.libsdl.org/release/SDL2-${pkgver}.tar.gz"{,.sig}
+        https://github.com/libsdl-org/SDL/commit/25cd749adba77e1a6f3f31f80f8768c0aaaad5b0.patch)
 sha512sums=('ec75ef8526792650c2647b78bb0244f973774418aeae33a2182d90ce696b30acb652f8be9c2012a16c1c5d5622f7630ff2e1eadae27ea3dc78ab47730cf5e62f'
-            'SKIP')
+            'SKIP'
+            '5e66ffb510bc08c8dd5280d3e7888fa67424ddea3ecc2cee36097a177f3a5bd844d7998ee12b6244eacd16cfde7926eb4bd9c06073907d5f65ed33dc6a1dcf3b')
 validpgpkeys=('1528635D8053A57F77D1E08630A59377A7763BE6') # Sam Lantinga
 
+prepare() {
+  cd SDL2-${pkgver}
+  # Fix FS#72299
+  patch -Np1 -i "$srcdir"/25cd749adba77e1a6f3f31f80f8768c0aaaad5b0.patch
+}
+
 build() {
   cd SDL2-${pkgver}
   cmake \



More information about the arch-commits mailing list