summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/gst-ffmpeg/APKBUILD2
-rw-r--r--main/gst-ffmpeg/pic.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/main/gst-ffmpeg/APKBUILD b/main/gst-ffmpeg/APKBUILD
index 81f92a77b..4b1fc70ec 100644
--- a/main/gst-ffmpeg/APKBUILD
+++ b/main/gst-ffmpeg/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-ffmpeg
pkgver=0.10.11
-pkgrel=1
+pkgrel=2
pkgdesc="Gstreamer FFMpeg Plugin"
url="http://www.gstreamer.net"
arch="all"
diff --git a/main/gst-ffmpeg/pic.patch b/main/gst-ffmpeg/pic.patch
new file mode 100644
index 000000000..3a7268e61
--- /dev/null
+++ b/main/gst-ffmpeg/pic.patch
@@ -0,0 +1,11 @@
+--- ./gst-libs/ext/ffmpeg/libswscale/rgb2rgb.c.orig
++++ ./gst-libs/ext/ffmpeg/libswscale/rgb2rgb.c
+@@ -159,7 +159,7 @@
+ #define RENAME(a) a ## _C
+ #include "rgb2rgb_template.c"
+
+-#if ARCH_X86
++#if ARCH_X86 && !defined(PIC)
+
+ //MMX versions
+ #undef RENAME