diff --git a/libvpx-configure-add-s390.patch b/libvpx-configure-add-arch.patch similarity index 77% rename from libvpx-configure-add-s390.patch rename to libvpx-configure-add-arch.patch index 47eabf1..22eb282 100644 --- a/libvpx-configure-add-s390.patch +++ b/libvpx-configure-add-arch.patch @@ -2,15 +2,18 @@ diff --git a/build/make/configure.sh b/build/make/configure.sh index 00214c9d2..4001d6497 100644 --- a/build/make/configure.sh +++ b/build/make/configure.sh -@@ -754,6 +754,12 @@ process_common_toolchain() { +@@ -754,6 +754,15 @@ process_common_toolchain() { *i[3456]86*) tgt_isa=x86 ;; -+ *s390x*) ++ s390x*) + tgt_isa=s390x + ;; -+ *s390*) ++ s390*) + tgt_isa=s390 ++ ;; ++ riscv64*) ++ tgt_isa=riscv64 + ;; *sparc*) tgt_isa=sparc @@ -19,12 +22,13 @@ diff --git a/configure b/configure index 6204f10b6..54ff8862b 100755 --- a/configure +++ b/configure -@@ -116,6 +116,8 @@ all_platforms="${all_platforms} armv8-linux-gcc" +@@ -116,6 +116,9 @@ all_platforms="${all_platforms} armv8-linux-gcc" all_platforms="${all_platforms} mips32-linux-gcc" all_platforms="${all_platforms} mips64-linux-gcc" all_platforms="${all_platforms} ppc64le-linux-gcc" +all_platforms="${all_platforms} s390-linux-gcc" +all_platforms="${all_platforms} s390x-linux-gcc" ++all_platforms="${all_platforms} riscv64-linux-gcc" all_platforms="${all_platforms} sparc-solaris-gcc" all_platforms="${all_platforms} x86-android-gcc" all_platforms="${all_platforms} x86-darwin8-gcc" diff --git a/libvpx.changes b/libvpx.changes index a4fd959..07b6440 100644 --- a/libvpx.changes +++ b/libvpx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 24 08:55:18 UTC 2021 - Callum Farmer + +- Rename libvpx-configure-add-s390.patch to + libvpx-configure-add-arch.patch: add support for RISC-V + ------------------------------------------------------------------- Fri Oct 8 10:54:37 UTC 2021 - Callum Farmer diff --git a/libvpx.spec b/libvpx.spec index 303e50b..795a0b5 100644 --- a/libvpx.spec +++ b/libvpx.spec @@ -26,7 +26,7 @@ Group: Productivity/Multimedia/Other URL: https://www.webmproject.org/ Source0: %{name}-%{version}.tar.xz Source1000: baselibs.conf -Patch2: libvpx-configure-add-s390.patch +Patch2: libvpx-configure-add-arch.patch # Needed to be able to create pkgconfig() provides. BuildRequires: pkgconfig BuildRequires: yasm