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

Sven-Hendrik Haase svenstaro at archlinux.org
Tue Jan 26 17:46:45 UTC 2021


    Date: Tuesday, January 26, 2021 @ 17:46:45
  Author: svenstaro
Revision: 406792

upgpkg: sdl2_mixer 2.0.4-6: Fix crash in fluidsynth >= 2.1.6 (FS#69425)

Modified:
  sdl2_mixer/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-26 17:17:48 UTC (rev 406791)
+++ PKGBUILD	2021-01-26 17:46:45 UTC (rev 406792)
@@ -1,7 +1,7 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
 pkgname=sdl2_mixer
 pkgver=2.0.4
-pkgrel=5
+pkgrel=6
 pkgdesc="A simple multi-channel audio mixer (Version 2)"
 arch=('x86_64')
 url="http://www.libsdl.org/projects/SDL_mixer"
@@ -9,8 +9,10 @@
 depends=('sdl2' 'libvorbis' 'libmodplug' 'mpg123' 'flac' 'opusfile')
 makedepends=('fluidsynth')
 optdepends=('fluidsynth: MIDI software synth, replaces built-in timidity')
-source=("https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${pkgver}.tar.gz")
-sha512sums=('98c56069640668aaececa63748de21fc8f243c7d06386c45c43d0ee472bbb2595ccda644d9886ce5b95c3a3dee3c0a96903cf9a89ddc18d38f041133470699a3')
+source=("https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${pkgver}.tar.gz"
+        fix-fluidsynth-2.1.6.patch::https://hg.libsdl.org/SDL_mixer/raw-rev/b0afe341a91d)
+sha512sums=('98c56069640668aaececa63748de21fc8f243c7d06386c45c43d0ee472bbb2595ccda644d9886ce5b95c3a3dee3c0a96903cf9a89ddc18d38f041133470699a3'
+            '21e130a5116115f3cfa00ba6f3b0f2b816ed3abf071340d4b218a3e8dc79bb74b042faf15daa2f06c47f6bdc3737a2542708f070d0f48c53acd888e0436161fd')
 
 prepare() {
   cd "${srcdir}/SDL2_mixer-${pkgver}/"
@@ -17,6 +19,8 @@
 
   sed -i "s|/etc/timidity|/etc/timidity++|g" timidity/options.h
   sed -i "s|/etc/timidity++.cfg|/etc/timidity++/timidity.cfg|g" timidity/options.h
+
+  patch -Np3 -i "${srcdir}/fix-fluidsynth-2.1.6.patch"
 }
 
 build() {



More information about the arch-commits mailing list