aboutsummaryrefslogtreecommitdiffstats
path: root/main/gettext
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-02-07 08:13:05 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-07 08:13:38 +0000
commitdc5066268343578ac84830dd24665160121758cf (patch)
treefe45b376c718a0dc542c02b4df38c060eaefd147 /main/gettext
parentd95409f62bc4fb680095b9bbbc164b609d4b3ccd (diff)
downloadaports-dc5066268343578ac84830dd24665160121758cf.tar.bz2
aports-dc5066268343578ac84830dd24665160121758cf.tar.xz
main/gettext: reconcile differences between adelie and alpine
Diffstat (limited to 'main/gettext')
-rw-r--r--main/gettext/APKBUILD5
-rw-r--r--main/gettext/skip-tests-alpine.patch11
2 files changed, 15 insertions, 1 deletions
diff --git a/main/gettext/APKBUILD b/main/gettext/APKBUILD
index 7d74c068d1..10ef236c25 100644
--- a/main/gettext/APKBUILD
+++ b/main/gettext/APKBUILD
@@ -11,10 +11,12 @@ depends=
# do _not_ add the optional dependencies on libcroco or glib
# they depend on gettext and would introduce cyclic dependencies
makedepends="perl ncurses-dev libxml2-dev libunistring-dev"
+checkdepends="coreutils"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz
fix-abi.patch
localename-fix.patch
skip-tests-musl.patch
+ skip-tests-alpine.patch
"
subpackages="$pkgname-doc $pkgname-static $pkgname-dev $pkgname-lang libintl $pkgname-asprintf $pkgname-libs"
@@ -68,4 +70,5 @@ asprintf() {
sha512sums="3553227b62f2a7d9b67c881ef889c030a6a21d5ecd210c4bf3d649df0b37193a99a68cf8fd5f2c69b6a87e847035dd9576f9bcb9363422866e26b04f4f6dd431 gettext-0.19.8.1.tar.xz
f517a351864bb194117e7147015db9a9b0ffbb1feb22ecf39bc1c99ad904420467e267a893c3b1a76c1adb810d1b37b1c2c1273cda861ff1d260102701bc644a fix-abi.patch
2765f8d9d72d85ad0adb87ee0edd83d3aec59995ef21a3c8bbd1ac20a3680058a2122bd3f6c37be3f50cb5ea00c19b3ad569a47ceedc8ae2cb4a6e8d4e30976d localename-fix.patch
-8fced6ec5c1f54686545aa91759f8501a0ccfa4bb66a781d282e65f7309c70ab74bf753f4969374facb135b7b9341e26d8a3e27679ea09cb1543b82dfb8a16dd skip-tests-musl.patch"
+8fced6ec5c1f54686545aa91759f8501a0ccfa4bb66a781d282e65f7309c70ab74bf753f4969374facb135b7b9341e26d8a3e27679ea09cb1543b82dfb8a16dd skip-tests-musl.patch
+4171b52abb9a34cc30ad9d737a6d4fc94d7365781f13522eef9111e2fc34f08f3206508471b2c2ab70ae95ecb110bc569535ca949bded3e8896c83e9d752d06e skip-tests-alpine.patch"
diff --git a/main/gettext/skip-tests-alpine.patch b/main/gettext/skip-tests-alpine.patch
new file mode 100644
index 0000000000..8f9e6b84f4
--- /dev/null
+++ b/main/gettext/skip-tests-alpine.patch
@@ -0,0 +1,11 @@
+--- gettext-0.19.8.1.orig/gettext-tools/gnulib-tests/test-copy-file-1.sh
++++ gettext-0.19.8.1/gettext-tools/gnulib-tests/test-copy-file-1.sh
+@@ -3,6 +3,8 @@
+ # Test copy-file on the file system of /var/tmp, which usually is a local
+ # file system.
+
++exit 77
++
+ if test -d /var/tmp; then
+ TMPDIR=/var/tmp
+ else