Accepting request 94303 from home:oertel:branches:openSUSE:Factory
- make it build on s390/s390x OBS-URL: https://build.opensuse.org/request/show/94303 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libvpx?expand=0&rev=38
This commit is contained in:
parent
c5586151d6
commit
e5717264aa
26
libvpx-configure-add-s390.patch
Normal file
26
libvpx-configure-add-s390.patch
Normal file
@ -0,0 +1,26 @@
|
||||
--- build/make/configure.sh
|
||||
+++ build/make/configure.sh
|
||||
@@ -539,6 +539,12 @@
|
||||
*powerpc*)
|
||||
tgt_isa=ppc32
|
||||
;;
|
||||
+ *s390x*)
|
||||
+ tgt_isa=s390x
|
||||
+ ;;
|
||||
+ *s390*)
|
||||
+ tgt_isa=s390
|
||||
+ ;;
|
||||
*sparc*)
|
||||
tgt_isa=sparc
|
||||
;;
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -102,6 +102,8 @@
|
||||
all_platforms="${all_platforms} ppc64-darwin8-gcc"
|
||||
all_platforms="${all_platforms} ppc64-darwin9-gcc"
|
||||
all_platforms="${all_platforms} ppc64-linux-gcc"
|
||||
+all_platforms="${all_platforms} s390-linux-gcc"
|
||||
+all_platforms="${all_platforms} s390x-linux-gcc"
|
||||
all_platforms="${all_platforms} sparc-solaris-gcc"
|
||||
all_platforms="${all_platforms} x86-darwin8-gcc"
|
||||
all_platforms="${all_platforms} x86-darwin8-icc"
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 29 15:36:19 CET 2011 - ro@suse.de
|
||||
|
||||
- make it build on s390/s390x
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 01:47:32 UTC 2011 - jlee@suse.com
|
||||
|
||||
|
@ -29,6 +29,7 @@ Source0: http://webm.googlecode.com/files/%{name}-v%{version}%{patchlevel
|
||||
# PATCH-FIX-UPSTREAM libvpx-define-config_pic.patch dimstar@opensuse.org -- For older compilers, CONFIG_PIC need to be defined.
|
||||
Patch0: libvpx-define-config_pic.patch
|
||||
Patch1: libvpx-configure-add-armv7-tgt-isa.patch
|
||||
Patch2: libvpx-configure-add-s390.patch
|
||||
BuildRequires: yasm
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -89,6 +90,7 @@ The WebM file structure is based on the Matroska container.
|
||||
%setup -q -n %name-v%version%patchlevel
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
cd build
|
||||
|
Loading…
Reference in New Issue
Block a user