summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/gstreamer0.10-bad/PKGBUILD11
-rw-r--r--libre/gstreamer0.10-bad/wildmidi-0.4.patch16
2 files changed, 23 insertions, 4 deletions
diff --git a/libre/gstreamer0.10-bad/PKGBUILD b/libre/gstreamer0.10-bad/PKGBUILD
index 8de4eacd6..88370649f 100644
--- a/libre/gstreamer0.10-bad/PKGBUILD
+++ b/libre/gstreamer0.10-bad/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 273459 2016-08-07 19:42:41Z arojas $
+# $Id: PKGBUILD 273964 2016-08-19 14:11:02Z jgc $
# Maintainer (Arch): Jan de Groot <jgc@archlinux.org>
# Maintainer: fauno <fauno@kiwwwi.com.ar>
# Maintainer: André Silva <emulatorman@parabola.nu>
@@ -6,7 +6,7 @@
pkgbase=gstreamer0.10-bad
pkgname=('gstreamer0.10-bad' 'gstreamer0.10-bad-plugins')
pkgver=0.10.23
-pkgrel=17.parabola1
+pkgrel=18.parabola1
arch=('i686' 'x86_64' 'armv7h')
license=('LGPL' 'GPL')
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.36' 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'soundtouch' 'libvdpau' 'schroedinger' 'libass' 'libvpx' 'gsm' 'libgme' 'rtmpdump' 'libsndfile' 'librsvg' 'wildmidi' 'opus' 'git' 'spandsp' 'celt')
@@ -17,13 +17,15 @@ source=("git://anongit.freedesktop.org/gstreamer-sdk/gst-plugins-bad#commit=5756
drop-vpx-compat-defs.patch
disable-assrender-test.patch
disable-camerabin-test.patch
- faad2-version-check.patch)
+ faad2-version-check.patch
+ wildmidi-0.4.patch)
sha256sums=('SKIP'
'd89d8f4307c7d5a143b9240467d260a1cb6bb1ab2e7ca57841ce0901f41c9cb7'
'eb97037b7b581d1ab994eadd144044c083975e5670a73ec827de126bf888f4b9'
'e66642affa6c0e69837d37615010e67e59ef3d672663303d46c1e2591e2ddfc6'
'01e780ddf1f8161a6115dded9dc5bf4bdd4d09a9eee00fa423b1330e90e76c68'
- '741492ae7a9518603fc51d87ae331d882f075547ea7fdec19c60f399085f18cc')
+ '741492ae7a9518603fc51d87ae331d882f075547ea7fdec19c60f399085f18cc'
+ '7a8698df3b53c34c627c00d3b025045818898cedc5ee7ffa13272d8758fcefd2')
prepare() {
cd gst-plugins-bad
@@ -33,6 +35,7 @@ prepare() {
patch -Np1 -i ../disable-assrender-test.patch
patch -Np1 -i ../disable-camerabin-test.patch
patch -Np1 -i ../faad2-version-check.patch
+ patch -Np1 -i ../wildmidi-0.4.patch
}
build() {
diff --git a/libre/gstreamer0.10-bad/wildmidi-0.4.patch b/libre/gstreamer0.10-bad/wildmidi-0.4.patch
new file mode 100644
index 000000000..ac7deb04a
--- /dev/null
+++ b/libre/gstreamer0.10-bad/wildmidi-0.4.patch
@@ -0,0 +1,16 @@
+Old versions used char* for the data, new versions use int8_t*. They're often
+not the same and differ in signedness.
+
+(backported from 04199db2aeea966c2c879b1764427c87433570f1)
+
+--- a/ext/timidity/gstwildmidi.c
++++ b/ext/timidity/gstwildmidi.c
+@@ -631,7 +631,7 @@
+ size = GST_BUFFER_SIZE (buffer);
+
+ GST_OBJECT_LOCK (wildmidi);
+- bytes_read = WildMidi_GetOutput (wildmidi->song, (char *) data,
++ bytes_read = WildMidi_GetOutput (wildmidi->song, (gpointer *) data,
+ (unsigned long int) size);
+ GST_OBJECT_UNLOCK (wildmidi);
+