* Fix-build-with-GCC-15.patch * Fix-Wparentheses-warnings.patch * Fix-Wdangling-else-warnings.patch OBS-URL: https://build.opensuse.org/package/show/science/TreeMaker?expand=0&rev=8
23 lines
740 B
Diff
23 lines
740 B
Diff
From: Aaron Puchert <aaronpuchert@alice-dsl.net>
|
|
Date: Sat, 23 Aug 2025 17:29:03 +0200
|
|
Subject: [PATCH 1/3] Fix build with GCC 15
|
|
|
|
Non-prototype declarations are no longer accepted by default.
|
|
---
|
|
Source/tmModel/wnlib/mem/wnmem.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Source/tmModel/wnlib/mem/wnmem.c b/Source/tmModel/wnlib/mem/wnmem.c
|
|
index 1f0a15b..918f5f8 100644
|
|
--- a/Source/tmModel/wnlib/mem/wnmem.c
|
|
+++ b/Source/tmModel/wnlib/mem/wnmem.c
|
|
@@ -105,7 +105,7 @@ bool wn_gp_fill_flag=FALSE,
|
|
wn_gp_trap_address_flag=FALSE;
|
|
ptr wn_gp_trap_address_address;
|
|
|
|
-ptr wn_system_alloc(/*size*/);
|
|
+ptr wn_system_alloc(int size);
|
|
|
|
local void default_error_func(int size);
|
|
typedef void (*voidfunc)(int size);
|