From aa457df47723c080286ac2a026eff2df420c14d9 Mon Sep 17 00:00:00 2001 From: gryf Date: Wed, 22 Apr 2026 09:21:59 +0200 Subject: [PATCH] media-libs/id3lib - a workaround for compiling it with easytag and gcc15 --- .../id3lib-3.8.3-r10-fix-bool-typedef.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 media-libs/id3lib/id3lib-3.8.3-r10-fix-bool-typedef.patch diff --git a/media-libs/id3lib/id3lib-3.8.3-r10-fix-bool-typedef.patch b/media-libs/id3lib/id3lib-3.8.3-r10-fix-bool-typedef.patch new file mode 100644 index 0000000..9fdd8b4 --- /dev/null +++ b/media-libs/id3lib/id3lib-3.8.3-r10-fix-bool-typedef.patch @@ -0,0 +1,17 @@ +--- id3lib-3.8.3_orig/include/id3/globals.h 2026-04-01 11:04:30.002608338 +0200 ++++ id3lib-3.8.3/include/id3/globals.h 2026-04-01 11:06:12.388848196 +0200 +@@ -82,14 +82,6 @@ + + #define ID3_C_VAR extern + +-#ifndef __cplusplus +- +-typedef int bool; +-# define false (0) +-# define true (!false) +- +-#endif /* __cplusplus */ +- + ID3_C_VAR const char * const ID3LIB_NAME; + ID3_C_VAR const char * const ID3LIB_RELEASE; + ID3_C_VAR const char * const ID3LIB_FULL_NAME;