mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-21 10:50:54 +00:00
* Fix build w/ C23 using opensuse patch. * Filter -Wformat-security as I still hit a failure even with the patch from bug #556568 and it seems to be to do w/ the ancient bison-generated grammar, not worth poking at more unless a new upstream release materialises. * Drop unnecessary elibtoolize, given eautoreconf does that for us. Bug: https://bugs.gentoo.org/556568 Closes: https://bugs.gentoo.org/946332 Signed-off-by: Sam James <sam@gentoo.org>
25 lines
802 B
Diff
25 lines
802 B
Diff
https://bugs.gentoo.org/946332
|
|
https://build.opensuse.org/projects/openSUSE:Factory/packages/plotutils/files/plotutils-gcc15.patch?expand=1
|
|
--- a/include/sys-defines.h
|
|
+++ b/include/sys-defines.h
|
|
@@ -255,7 +255,7 @@ extern __C_LINKAGE void free (void * ptr
|
|
|
|
#ifndef __cplusplus
|
|
#ifdef __STDC__
|
|
-typedef enum { false = 0, true = 1 } bool;
|
|
+# include <stdbool.h>
|
|
#else /* not __STDC__, do things the old-fashioned way */
|
|
typedef int bool;
|
|
#define false 0
|
|
--- a/libxmi/sys-defines.h
|
|
+++ b/libxmi/sys-defines.h
|
|
@@ -169,7 +169,7 @@ extern __C_LINKAGE void free (void * ptr
|
|
#ifndef __cplusplus
|
|
#ifndef HAVE_BOOL_IN_CC
|
|
#ifdef __STDC__
|
|
-typedef enum { false = 0, true = 1 } bool;
|
|
+# include <stdbool.h>
|
|
#else /* not __STDC__, do things the old-fashioned way */
|
|
typedef int bool;
|
|
#define false 0
|
|
|