mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/evince: fix build on s390x
This commit is contained in:
parent
37b042ddf4
commit
b1384db7d2
@ -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"
|
||||
|
17
community/evince/evince-lzmasdk-s390x.patch
Normal file
17
community/evince/evince-lzmasdk-s390x.patch
Normal file
@ -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~
|
Loading…
Reference in New Issue
Block a user