forked from pool/perl-Bit-Vector
- added patches [bsc#1241940]: fix build with gcc15, sent to STBEY@cpan.org * perl-Bit-Vector-gcc15.patch OBS-URL: https://build.opensuse.org/request/show/1280870 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Bit-Vector?expand=0&rev=28
14 lines
365 B
Diff
14 lines
365 B
Diff
Index: ToolBox.h
|
|
===================================================================
|
|
--- ToolBox.h.orig
|
|
+++ ToolBox.h
|
|
@@ -85,7 +85,7 @@ typedef Z_longword *Z_longwordp
|
|
#undef TRUE
|
|
#define TRUE (0==0)
|
|
|
|
-#ifdef __cplusplus
|
|
+#if defined(__cplusplus) || (__STDC_VERSION__ >= 202311L)
|
|
typedef bool boolean;
|
|
#else
|
|
#ifdef MACOS_TRADITIONAL
|