diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/gst-plugins-bad/PKGBUILD | 13 | ||||
-rw-r--r-- | libre/gst-plugins-bad/wildmidi-0.4.patch | 24 |
2 files changed, 32 insertions, 5 deletions
diff --git a/libre/gst-plugins-bad/PKGBUILD b/libre/gst-plugins-bad/PKGBUILD index 6468853e7..9a3ff1afe 100644 --- a/libre/gst-plugins-bad/PKGBUILD +++ b/libre/gst-plugins-bad/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 273340 2016-08-05 19:25:43Z andyrtr $ +# $Id: PKGBUILD 273962 2016-08-19 13:57:36Z jgc $ # Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Contributor (Arch): Jan de Groot <jgc@archlinux.org> # Maintainer: Márcio Silva <coadde@parabola.nu> pkgname=gst-plugins-bad -pkgver=1.8.2 -pkgrel=4.parabola1 +pkgver=1.8.3 +pkgrel=1.parabola1 pkgdesc="GStreamer Multimedia Framework Bad Plugins, without nonfree faac support" arch=(i686 x86_64 armv7h) license=(LGPL) @@ -20,11 +20,14 @@ makedepends=(schroedinger libexif libdvdread libvdpau libmpeg2 python valgrind w replaces=("${pkgname}-libre" "${pkgname}-parabola") conflicts=("${pkgname}-libre" "${pkgname}-parabola") 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 } diff --git a/libre/gst-plugins-bad/wildmidi-0.4.patch b/libre/gst-plugins-bad/wildmidi-0.4.patch new file mode 100644 index 000000000..65aba5d0e --- /dev/null +++ b/libre/gst-plugins-bad/wildmidi-0.4.patch @@ -0,0 +1,24 @@ +From 04199db2aeea966c2c879b1764427c87433570f1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@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 + |