diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/evince/APKBUILD | 7 | ||||
-rw-r--r-- | community/evince/evince-lzmasdk-s390x.patch | 17 |
2 files changed, 22 insertions, 2 deletions
diff --git a/community/evince/APKBUILD b/community/evince/APKBUILD index 3efe009d71..65dc9c8d62 100644 --- a/community/evince/APKBUILD +++ b/community/evince/APKBUILD @@ -16,7 +16,9 @@ makedepends="$depends_dev intltool itstool gnome-doc-utils adwaita-icon-theme-dev gnome-common automake autoconf gtk-doc yelp-tools" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs" -source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" +source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz + evince-lzmasdk-s390x.patch + " builddir="${srcdir}/${pkgname}-${pkgver}" # secfixes: @@ -55,4 +57,5 @@ doc() { fi } -sha512sums="d0d72eeeb935c36ce9185c2ecff763c20926ce12b10565108ff927bd973758754a48ceda99ee1d4e6f27d5abd42e7224a3cce3721263c35e2fc135ea4b026fc9 evince-3.25.4.tar.xz" +sha512sums="d0d72eeeb935c36ce9185c2ecff763c20926ce12b10565108ff927bd973758754a48ceda99ee1d4e6f27d5abd42e7224a3cce3721263c35e2fc135ea4b026fc9 evince-3.25.4.tar.xz +6bb93159e27c609a353b98855c6602b1b92b7445dbb242863f8120c5ca84a05a019e0e5f1b8d4122066ef33e3433fa2a5278403b420f312d66934631d910faa6 evince-lzmasdk-s390x.patch" diff --git a/community/evince/evince-lzmasdk-s390x.patch b/community/evince/evince-lzmasdk-s390x.patch new file mode 100644 index 0000000000..618d1d0d5f --- /dev/null +++ b/community/evince/evince-lzmasdk-s390x.patch @@ -0,0 +1,17 @@ +MY_CPU_BE expands to an empty token sequence, so defined (MY_CPU_BE) +has to be used in this context. This code is only reachable for +s390x, ppc64 sets MY_CPU_NAME earlier. + +diff -ur evince-3.25.4.orig/cut-n-paste/unarr/lzmasdk/CpuArch.h evince-3.25.4/cut-n-paste/unarr/lzmasdk/CpuArch.h +--- evince-3.25.4.orig/cut-n-paste/unarr/lzmasdk/CpuArch.h 2017-07-22 07:58:23.000000000 +0200 ++++ evince-3.25.4/cut-n-paste/unarr/lzmasdk/CpuArch.h 2017-07-31 13:32:33.893245858 +0200 +@@ -174,7 +174,7 @@ + #ifndef MY_CPU_NAME + #ifdef MY_CPU_LE + #define MY_CPU_NAME "LE" +- #elif MY_CPU_BE ++ #elif defined (MY_CPU_BE) + #define MY_CPU_NAME "BE" + #else + /* +Only in evince-3.25.4/cut-n-paste/unarr/lzmasdk: CpuArch.h~ |