[SCM] rtaudio/master.experimental: Add support for powerpc64 builds.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sun Nov 18 10:50:43 UTC 2012


The following commit has been merged in the master.experimental branch:
commit 0cbca5575c205c379e218e7a14ca731d55a72564
Author: Alessio Treglia <alessio at debian.org>
Date:   Sun Nov 18 10:43:05 2012 +0000

    Add support for powerpc64 builds.
    
    Closes: #693590
    Thanks: Hiroyuki Yamamoto for the patch.

diff --git a/debian/patches/0003-ppc64_support.patch b/debian/patches/0003-ppc64_support.patch
new file mode 100644
index 0000000..f5455a2
--- /dev/null
+++ b/debian/patches/0003-ppc64_support.patch
@@ -0,0 +1,38 @@
+Description: add powerpc64 support to config/config.sub
+Author: Hiroyuki Yamamoto <yama1066 at gmail.com>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693590
+---
+ config/config.sub |    8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+--- rtaudio.orig/config/config.sub
++++ rtaudio/config/config.sub
+@@ -225,7 +225,7 @@ case $basic_machine in
+ 		| alpha | alphaev[4-8] | alphaev56 | alphapca5[67] \
+ 		| alphaev6[78] \
+ 		| we32k | ns16k | clipper | i370 | sh | sh[34] \
+-		| powerpc | powerpcle \
++		| powerpc | powerpc64 | powerpcle \
+ 		| 1750a | dsp16xx | pdp10 | pdp11 \
+ 		| mips16 | mips64 | mipsel | mips64el \
+ 		| mips64orion | mips64orionel | mipstx39 | mipstx39el \
+@@ -271,7 +271,7 @@ case $basic_machine in
+ 	      | alphaev6[78]-* \
+ 	      | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \
+ 	      | clipper-* | orion-* \
+-	      | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \
++	      | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpc64-* | powerpcle-* \
+ 	      | sparc64-* | sparcv9-* | sparcv9b-* | sparc86x-* \
+ 	      | mips16-* | mips64-* | mipsel-* \
+ 	      | mips64el-* | mips64orion-* | mips64orionel-* \
+@@ -721,6 +721,10 @@ case $basic_machine in
+ 	        ;;
+ 	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ 		;;
++	ppc64)	basic_machine=powerpc64-unknown
++		;;
++	ppc64-*)	basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
++		;;
+ 	ppcle | powerpclittle | ppc-le | powerpc-little)
+ 		basic_machine=powerpcle-unknown
+ 	        ;;
diff --git a/debian/patches/series b/debian/patches/series
index b62b8b8..2607e45 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-buildsystem.patch
 0002-rtaudio_config.patch
+0003-ppc64_support.patch

-- 
RtAudio packaging



More information about the pkg-multimedia-commits mailing list