diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 18:38:06 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-09-22 18:38:06 +0000 |
commit | a8b4a281c42c022147a984fa7aaf77ad149278c7 (patch) | |
tree | e405a6a742aba68094c2dcca2febfb6b21978a51 /emulators/gngb/files/patch-src_rom.h | |
parent | chinese/zh-librime: Update to 1.6.1 (diff) |
Fix build with -fno-common
Diffstat (limited to 'emulators/gngb/files/patch-src_rom.h')
-rw-r--r-- | emulators/gngb/files/patch-src_rom.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/gngb/files/patch-src_rom.h b/emulators/gngb/files/patch-src_rom.h new file mode 100644 index 000000000000..2efd26f11a7e --- /dev/null +++ b/emulators/gngb/files/patch-src_rom.h @@ -0,0 +1,20 @@ +--- src/rom.h.orig 2003-04-03 13:27:29 UTC ++++ src/rom.h +@@ -37,7 +37,7 @@ + #define SRAM 0x200 + #define HUC1 0x400 + +-char *rom_name; ++extern char *rom_name; + extern Sint16 rom_type; + + // rom_gb_suport +@@ -52,7 +52,7 @@ typedef struct { + Uint8 regl[5]; // register locked + }ROM_TIMER; // MBC3 + +-ROM_TIMER *rom_timer; ++extern ROM_TIMER *rom_timer; + + int open_rom(char *filename); + |