mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
main/libffi: fix tests with new fortify-headers
This commit is contained in:
parent
3dbf0de6f5
commit
2c2a7bb4a8
@ -1,7 +1,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=libffi
|
||||
pkgver=3.5.2
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="portable, high level programming interface to various calling conventions."
|
||||
url="https://sourceware.org/libffi/"
|
||||
arch="all"
|
||||
@ -10,7 +10,9 @@ depends_dev="linux-headers"
|
||||
makedepends_build="texinfo"
|
||||
checkdepends="dejagnu"
|
||||
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc"
|
||||
source="https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz"
|
||||
source="https://github.com/libffi/libffi/releases/download/v$pkgver/libffi-$pkgver.tar.gz
|
||||
fix-tests-fortify.patch
|
||||
"
|
||||
|
||||
build() {
|
||||
./configure \
|
||||
@ -33,4 +35,5 @@ package() {
|
||||
|
||||
sha512sums="
|
||||
76974a84e3aee6bbd646a6da2e641825ae0b791ca6efdc479b2d4cbcd3ad607df59cffcf5031ad5bd30822961a8c6de164ac8ae379d1804acd388b1975cdbf4d libffi-3.5.2.tar.gz
|
||||
8575b74cca8838a36e7a286d478de5d6c7887fde7a8aacc284ee2754e953122e4558bec1c0c833a448220d1dd1977ebc5991a1c289bbe221197b3f713a05bd2f fix-tests-fortify.patch
|
||||
"
|
||||
|
||||
13
main/libffi/fix-tests-fortify.patch
Normal file
13
main/libffi/fix-tests-fortify.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/testsuite/libffi.bhaible/bhaible.exp b/testsuite/libffi.bhaible/bhaible.exp
|
||||
index 44aebc5..245f18c 100644
|
||||
--- a/testsuite/libffi.bhaible/bhaible.exp
|
||||
+++ b/testsuite/libffi.bhaible/bhaible.exp
|
||||
@@ -24,7 +24,7 @@ global compiler_vendor
|
||||
# was done in a pretty lazy fashion, and requires the use of compiler
|
||||
# flags to disable warnings for now.
|
||||
if { [string match $compiler_vendor "gnu"] } {
|
||||
- set warning_options "-Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized";
|
||||
+ set warning_options "-Wno-unused-variable -Wno-unused-parameter -Wno-unused-but-set-variable -Wno-uninitialized -Wno-stringop-overflow";
|
||||
}
|
||||
if { [string match $compiler_vendor "microsoft"] } {
|
||||
# -wd4996 suggest use of vsprintf_s instead of vsprintf
|
||||
Loading…
x
Reference in New Issue
Block a user