8
0

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:
2025-05-28 13:23:12 +00:00
committed by Git OBS Bridge
parent 520faee401
commit 22950004bc
4 changed files with 25 additions and 4 deletions

View 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