mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/xbps: disable -Werror
fixes build error on 32 bit
This commit is contained in:
parent
28effea599
commit
029f7650a5
@ -13,7 +13,9 @@ subpackages="$pkgname-dev $pkgname-doc
|
||||
$pkgname-bash-completion:bashcomp:noarch
|
||||
$pkgname-zsh-completion:zshcomp:noarch"
|
||||
options="!check"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/voidlinux/$pkgname/archive/$pkgver.tar.gz"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/voidlinux/$pkgname/archive/$pkgver.tar.gz
|
||||
disable-Werror.patch
|
||||
"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
|
||||
build() {
|
||||
@ -59,4 +61,5 @@ _submv() {
|
||||
mv "$pkgdir"/$path "$subpkgdir"/${path%/*}/
|
||||
}
|
||||
|
||||
sha512sums="99a86abac4e8c3a7e4d6bb72c78a1c1b72592022ab0f90f794227d8fa6194a04e0411fcedc4fffb6809dcf146aa6e7f9b12e3a9854e024458f1b9c4573b7379d xbps-0.52.tar.gz"
|
||||
sha512sums="99a86abac4e8c3a7e4d6bb72c78a1c1b72592022ab0f90f794227d8fa6194a04e0411fcedc4fffb6809dcf146aa6e7f9b12e3a9854e024458f1b9c4573b7379d xbps-0.52.tar.gz
|
||||
a761edd8fd358b500337fcef79f6163ef642fc387f97d952fec0838baa786d585f21e34cd066cba1918f474bccd7decbad2587b91f125b75e308b2dfe8f4721a disable-Werror.patch"
|
||||
|
13
community/xbps/disable-Werror.patch
Normal file
13
community/xbps/disable-Werror.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/configure b/configure
|
||||
index 9bff5d5..cc5d2ce 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -266,7 +266,7 @@ fi
|
||||
#
|
||||
# Check for some compiler warning flags.
|
||||
#
|
||||
-for f in all extra error shadow "format=2" missing-prototypes \
|
||||
+for f in all extra shadow "format=2" missing-prototypes \
|
||||
missing-declarations nested-externs vla no-overlength-strings \
|
||||
unsafe-loop-optimizations undef sign-compare \
|
||||
missing-include-dirs old-style-definition \
|
Loading…
Reference in New Issue
Block a user