[SCM] x264/master: Add aarch64-pic.patch to enable -fPIC on arm64 to fix link failure.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Mar 23 14:32:31 UTC 2014


The following commit has been merged in the master branch:
commit f00e7cabad4974d817fe55182dec84d1fd040d86
Author: William Grant <wgrant at ubuntu.com>
Date:   Sun Mar 23 10:02:56 2014 -0400

    Add aarch64-pic.patch to enable -fPIC on arm64 to fix link failure.

diff --git a/debian/patches/aarch64-pic.patch b/debian/patches/aarch64-pic.patch
new file mode 100644
index 0000000..3a0b672
--- /dev/null
+++ b/debian/patches/aarch64-pic.patch
@@ -0,0 +1,14 @@
+Description: Build with -fPIC on aarch64 to fix link failure.
+Author: William Grant <wgrant at ubuntu.com>
+
+--- a/configure
++++ b/configure
+@@ -713,7 +713,7 @@ if [ $compiler != ICL ]; then
+     fi
+ fi
+ 
+-if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o $ARCH = "ARM" -o $ARCH = "IA64" -o $ARCH = "PARISC" -o $ARCH = "MIPS" \) ] ; then
++if [ $shared = yes -a \( $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" -o $ARCH = "ARM" -o $ARCH = "IA64" -o $ARCH = "PARISC" -o $ARCH = "MIPS" -o $ARCH = "AARCH64" \) ] ; then
+     pic="yes"
+ fi
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..36a551a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+aarch64-pic.patch

-- 
x264 packaging



More information about the pkg-multimedia-commits mailing list