mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/rippled: fix build with werror=format-security
This commit is contained in:
parent
cb677e82c5
commit
ae7985cf04
@ -2,7 +2,7 @@
|
||||
# Maintainer: André Klitzing <aklitzing@gmail.com>
|
||||
pkgname=rippled
|
||||
pkgver=1.9.4
|
||||
pkgrel=10
|
||||
pkgrel=11
|
||||
pkgdesc="Blockchain daemon implementing the Ripple Consensus Ledger"
|
||||
options="net !check" # FIXME: 1 failure, rippled testsuite doesn't tell which one it is
|
||||
url="https://ripple.com/"
|
||||
@ -29,6 +29,7 @@ subpackages="$pkgname-doc"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/ripple/rippled/archive/$pkgver.tar.gz
|
||||
boost-1.81.patch
|
||||
disable-failing-test.patch
|
||||
werrorformat.patch
|
||||
"
|
||||
|
||||
prepare() {
|
||||
@ -62,4 +63,5 @@ sha512sums="
|
||||
8fd442c8c8950690f5325aa8653449b0e749992d600eae0e04ccefa9d92e59fad1948ea0472c4d4a678841f19953fbda44bef31c354d5e213ed3f1496dc9e89e rippled-1.9.4.tar.gz
|
||||
335a0748411f35721f322bf68c16afd12b6b7e1b274162f8322230b2e06f7bf047fd671060892865676eb4b3c08b0cd9cf80930e01efc7964826d35cd8980118 boost-1.81.patch
|
||||
5df6abbea0252f42765d382f31194c2fa5137996adfaf8c9192a46c318f34e60d137ee690bd3baadea184d64f862040b91af169ee8dc226f67cf21e4ee60bf0a disable-failing-test.patch
|
||||
38d89924301425c5b349fae314a5c9eaca30ffbc6a51343d37d48fdf93d00afd5c439f860cf12e209c39d600936b0bd6aa13cf247c07419e226eab059b19a6a5 werrorformat.patch
|
||||
"
|
||||
|
14
community/rippled/werrorformat.patch
Normal file
14
community/rippled/werrorformat.patch
Normal file
@ -0,0 +1,14 @@
|
||||
unsetting this breaks werror=format-security
|
||||
--
|
||||
diff --git a/Builds/CMake/RippledCompiler.cmake b/Builds/CMake/RippledCompiler.cmake
|
||||
index 9a96d64..b791886 100644
|
||||
--- a/Builds/CMake/RippledCompiler.cmake
|
||||
+++ b/Builds/CMake/RippledCompiler.cmake
|
||||
@@ -106,7 +106,6 @@ else ()
|
||||
>
|
||||
-Wno-sign-compare
|
||||
-Wno-char-subscripts
|
||||
- -Wno-format
|
||||
-Wno-unused-local-typedefs
|
||||
$<$<BOOL:${is_gcc}>:
|
||||
-Wno-unused-but-set-variable
|
Loading…
Reference in New Issue
Block a user