Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5cbe8ac9c9 | |||
| 4347afb559 |
32
dosemu-gcc15.patch
Normal file
32
dosemu-gcc15.patch
Normal file
@@ -0,0 +1,32 @@
|
||||
Index: dosemu-1.4.0.1/src/arch/linux/dosext/sound/midid/midid.h
|
||||
===================================================================
|
||||
--- dosemu-1.4.0.1.orig/src/arch/linux/dosext/sound/midid/midid.h
|
||||
+++ dosemu-1.4.0.1/src/arch/linux/dosext/sound/midid/midid.h
|
||||
@@ -8,7 +8,12 @@
|
||||
#define _MIDID_H
|
||||
|
||||
typedef unsigned char byte;
|
||||
+#if __STDC_VERSION__ < 202311L
|
||||
typedef enum {FALSE, TRUE} bool;
|
||||
+#else
|
||||
+#define FALSE 0
|
||||
+#define TRUE 1
|
||||
+#endif
|
||||
typedef enum {EMUMODE_MT32, EMUMODE_GM} Emumode;
|
||||
|
||||
/* Configuration */
|
||||
Index: dosemu-1.4.0.1/src/base/init/parser.y.in
|
||||
===================================================================
|
||||
--- dosemu-1.4.0.1.orig/src/base/init/parser.y.in
|
||||
+++ dosemu-1.4.0.1/src/base/init/parser.y.in
|
||||
@@ -92,8 +92,8 @@ int dexe_running = 0;
|
||||
static int dexe_forbid_disk = 1;
|
||||
char own_hostname[128];
|
||||
|
||||
-static struct printer nullptr;
|
||||
-static struct printer *pptr = &nullptr;
|
||||
+static struct printer null_ptr;
|
||||
+static struct printer *pptr = &null_ptr;
|
||||
static int c_printers = 0;
|
||||
|
||||
static int ports_permission = IO_RDWR;
|
||||
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 10 07:54:19 UTC 2025 - pgajdos@suse.com
|
||||
|
||||
- added patches
|
||||
build with gcc15
|
||||
+ dosemu-gcc15.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 07:49:42 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -31,6 +31,8 @@ Patch4: dosemu-skip-glibc-test.patch
|
||||
# PATCH-FIX-UPSTREAM https://github.com/stsp/dosemu2/pull/386 https://github.com/stsp/dosemu2/commit/8d7ab25daf6f2d8ca09e1598fd11de2d8460255e
|
||||
Patch5: reproducible.patch
|
||||
Patch6: dosemu-LTO-fix.patch
|
||||
# build with gcc15
|
||||
Patch7: dosemu-gcc15.patch
|
||||
BuildRequires: bdftopcf
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
|
||||
Reference in New Issue
Block a user