update config.sub for ppc64le (#1054399)

This commit is contained in:
Miroslav Lichvar 2014-01-17 13:38:52 +01:00
parent 9f248d6b7f
commit 7a6d58b098
2 changed files with 16 additions and 0 deletions

13
speex-ppc64le.patch Normal file
View File

@ -0,0 +1,13 @@
diff -up speex-1.2rc1/config.guess.ppc64le speex-1.2rc1/config.guess
--- speex-1.2rc1/config.guess.ppc64le 2013-04-05 17:13:56.650494801 +0200
+++ speex-1.2rc1/config.guess 2014-01-17 10:20:46.684647838 +0100
@@ -979,6 +979,9 @@ EOF
ppc64:Linux:*:*)
echo powerpc64-unknown-linux-gnu
exit ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-unknown-linux-gnu
+ exit ;;
ppc:Linux:*:*)
echo powerpc-unknown-linux-gnu
exit ;;

View File

@ -10,6 +10,8 @@ Source0: http://downloads.xiph.org/releases/speex/%{name}-%{version}%{rc_ver}.ta
BuildRequires: libogg-devel
# update config.guess and config.sub for aarch64
Patch1: speex-aarch64.patch
# update config.sub for ppc64le
Patch2: speex-ppc64le.patch
%description
Speex is a patent-free compression format designed especially for
@ -40,6 +42,7 @@ speech. This package contains tools files and user's manual for %{name}.
%prep
%setup -q -n %{name}-%{version}%{rc_ver}
%patch1 -p1 -b .aarch64
%patch2 -p1 -b .ppc64le
%build
%configure --disable-static