[arch-commits] Commit in gst-plugins-bad/trunk (PKGBUILD wildmidi-0.4.patch)

Jan de Groot jgc at archlinux.org
Fri Aug 19 13:57:37 UTC 2016


    Date: Friday, August 19, 2016 @ 13:57:36
  Author: jgc
Revision: 273962

upgpkg: gst-plugins-bad 1.8.3-1

Added:
  gst-plugins-bad/trunk/wildmidi-0.4.patch
Modified:
  gst-plugins-bad/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   11 +++++++----
 wildmidi-0.4.patch |   24 ++++++++++++++++++++++++
 2 files changed, 31 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-08-19 13:24:10 UTC (rev 273961)
+++ PKGBUILD	2016-08-19 13:57:36 UTC (rev 273962)
@@ -3,8 +3,8 @@
 # Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gst-plugins-bad
-pkgver=1.8.2
-pkgrel=4
+pkgver=1.8.3
+pkgrel=1
 pkgdesc="GStreamer Multimedia Framework Bad Plugins"
 arch=(i686 x86_64)
 license=(LGPL)
@@ -17,11 +17,14 @@
              qt5-declarative qt5-x11extras qt5-wayland vulkan-headers vulkan-icd-loader
              zbar)
 options=(!emptydirs)
-source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
-sha256sums=('d7995317530c8773ec088f94d9320909d41da61996b801ebacce9a56af493f97')
+source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz
+        wildmidi-0.4.patch)
+sha256sums=('7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b'
+            'b234c5d1a8b33342d9f807a46c26623e21f3d1b33a9b2903a41fadd53e0cac47')
 
 prepare() {
   cd $pkgname-$pkgver
+  patch -Np1 -i ../wildmidi-0.4.patch
   autoreconf -vi
 }
 

Added: wildmidi-0.4.patch
===================================================================
--- wildmidi-0.4.patch	                        (rev 0)
+++ wildmidi-0.4.patch	2016-08-19 13:57:36 UTC (rev 273962)
@@ -0,0 +1,24 @@
+From 04199db2aeea966c2c879b1764427c87433570f1 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian at centricular.com>
+Date: Tue, 16 Aug 2016 10:37:28 +0300
+Subject: wildmidi: Fix compilation with wildmidi 0.4
+
+Old versions used char* for the data, new versions use int8_t*. They're often
+not the same and differ in signedness.
+
+diff --git a/ext/timidity/gstwildmidi.c b/ext/timidity/gstwildmidi.c
+index 3e82ca2..f52ea9d 100644
+--- a/ext/timidity/gstwildmidi.c
++++ b/ext/timidity/gstwildmidi.c
+@@ -672,7 +672,7 @@ gst_wildmidi_get_buffer (GstWildmidi * wildmidi)
+   gst_buffer_map (buffer, &info, GST_MAP_READWRITE);
+ 
+   GST_OBJECT_LOCK (wildmidi);
+-  size = WildMidi_GetOutput (wildmidi->song, (char *) info.data,
++  size = WildMidi_GetOutput (wildmidi->song, (gpointer) info.data,
+       (unsigned long int) info.size);
+   GST_OBJECT_UNLOCK (wildmidi);
+ 
+-- 
+cgit v0.10.2
+



More information about the arch-commits mailing list