mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/diffutils: fix test suite
This commit is contained in:
parent
fdc2da322d
commit
450d0f8d86
@ -1,14 +1,15 @@
|
||||
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
|
||||
pkgname=diffutils
|
||||
pkgver=3.6
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Show differences among files"
|
||||
subpackages="$pkgname-doc"
|
||||
url="https://www.gnu.org/software/diffutils/"
|
||||
arch="all"
|
||||
license="GPL-3.0-or-later"
|
||||
options="!check"
|
||||
source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
|
||||
source="http://ftp.gnu.org/pub/gnu/$pkgname/$pkgname-$pkgver.tar.xz
|
||||
disable-mbrtowc-test.patch
|
||||
"
|
||||
builddir=$srcdir/$pkgname-$pkgver
|
||||
|
||||
prepare() {
|
||||
@ -45,4 +46,5 @@ package() {
|
||||
rmdir -p "$pkgdir"/usr/lib 2>/dev/null || true
|
||||
}
|
||||
|
||||
sha512sums="3c159ff1cb7c901b0a57518483566b5740ca3c45aeb8d3004089f052975481db52994cc18592c502c68b0d2a1e22f1f7830f0d8dd9a9ed86de96e28cce9f70c1 diffutils-3.6.tar.xz"
|
||||
sha512sums="3c159ff1cb7c901b0a57518483566b5740ca3c45aeb8d3004089f052975481db52994cc18592c502c68b0d2a1e22f1f7830f0d8dd9a9ed86de96e28cce9f70c1 diffutils-3.6.tar.xz
|
||||
2602dabf0ac52a273b84160032416613da7ad111541fe25466cf9d4ce1eb2630f0ba0cb0b3013967965d8359a11a5f390f0486b4526b35516d9de1c8975f720d disable-mbrtowc-test.patch"
|
||||
|
10
main/diffutils/disable-mbrtowc-test.patch
Normal file
10
main/diffutils/disable-mbrtowc-test.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- diffutils-3.6/gnulib-tests/test-mbrtowc5.sh.old 2016-12-31 13:54:43.000000000 +0000
|
||||
+++ diffutils-3.6/gnulib-tests/test-mbrtowc5.sh 2017-07-30 17:29:50.879924130 +0000
|
||||
@@ -1,6 +1,2 @@
|
||||
#!/bin/sh
|
||||
-# Test whether the POSIX locale has encoding errors.
|
||||
-LC_ALL=C \
|
||||
-./test-mbrtowc${EXEEXT} 5 || exit
|
||||
-LC_ALL=POSIX \
|
||||
-./test-mbrtowc${EXEEXT} 5
|
||||
+exit 77
|
Loading…
Reference in New Issue
Block a user