forked from pool/perl-Bit-Vector
Accepting request 1280870 from home:pgajdos
- 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
This commit is contained in:
13
perl-Bit-Vector-gcc15.patch
Normal file
13
perl-Bit-Vector-gcc15.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user