mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/xmprpc-c: fix build with gcc 15
Patch from SVN revision 3318
This commit is contained in:
parent
28af67eebf
commit
66c3954030
@ -20,6 +20,7 @@ subpackages="
|
||||
"
|
||||
source="https://downloads.sourceforge.net/project/xmlrpc-c/Xmlrpc-c%20Super%20Stable/$pkgver/xmlrpc-$pkgver.tgz
|
||||
format-security.patch
|
||||
gcc15.patch
|
||||
"
|
||||
builddir="$srcdir/xmlrpc-$pkgver"
|
||||
options="!check"
|
||||
@ -86,4 +87,5 @@ abyss() {
|
||||
sha512sums="
|
||||
df0d8e3730b529fb10fb2cf9511dc55143ad3c7b4cce5522b61ed0d212080f3ebf4b6aa8a28911ddbe90029fce6bea7df28ee51f36196900a855beff5bd3a1cd xmlrpc-1.51.08.tgz
|
||||
a47333110b84c530dc362104d5a9d99ae192a9db4c68fe536b98bfef0c076ff119162e4b6fec65ec98d9d5ccbcab32d5169db4d82a6e0fa080c89e9ff8f0cfef format-security.patch
|
||||
f3c607d796c9bb5f1fd06dbb0ccfa44336b096dbd8c2aba503cadf35a1b94d1e66824c5c9fa8ca80c32940ce95ae2bf5677cbf58d2c42cb61a15b9abf00a2f8e gcc15.patch
|
||||
"
|
||||
|
15
main/xmlrpc-c/gcc15.patch
Normal file
15
main/xmlrpc-c/gcc15.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- a/lib/util/include/bool.h
|
||||
+++ b/lib/util/include/bool.h
|
||||
@@ -5,7 +5,11 @@
|
||||
collision.
|
||||
*/
|
||||
|
||||
-#ifndef __cplusplus
|
||||
+#ifdef __cplusplus
|
||||
+/* bool has always been part of the C++ language */
|
||||
+#elif __STDC_VERSION__ >= 202311L
|
||||
+/* bool is part of the C23 standard */
|
||||
+#else
|
||||
/* At least the GNU compiler defines __bool_true_false_are_defined */
|
||||
#ifndef __bool_true_false_are_defined
|
||||
#define __bool_true_false_are_defined
|
Loading…
Reference in New Issue
Block a user