diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-30 21:33:31 +0100 |
commit | 2f8db31405fac68eea6f7257d58529243815033b (patch) | |
tree | 54259cc8988a98a10586fc0496b1f3501cd1e2a1 /games-emulation/gngb/files/gngb-20060309-gcc5.patch | |
parent | a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (diff) |
gentoo resync : 30.04.2018
Diffstat (limited to 'games-emulation/gngb/files/gngb-20060309-gcc5.patch')
-rw-r--r-- | games-emulation/gngb/files/gngb-20060309-gcc5.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/games-emulation/gngb/files/gngb-20060309-gcc5.patch b/games-emulation/gngb/files/gngb-20060309-gcc5.patch new file mode 100644 index 000000000000..72dd21a494fb --- /dev/null +++ b/games-emulation/gngb/files/gngb-20060309-gcc5.patch @@ -0,0 +1,35 @@ +From: Debian Games Team <pkg-games-devel@lists.alioth.debian.org> +Date: Thu, 10 Aug 2017 19:06:36 +0000 +Subject: gngb_fcc5_fix + +--- + src/cpu.c | 2 +- + src/vram.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/cpu.c b/src/cpu.c +index f03a811..57bc209 100644 +--- a/src/cpu.c ++++ b/src/cpu.c +@@ -2826,7 +2826,7 @@ __inline__ void rom_timer_inc(void) { + } + } + +-__inline__ void cpu_run(void) { ++extern __inline__ void cpu_run(void) { + static Uint32 divid_cycle; + int v=0; + Uint8 a; +diff --git a/src/vram.c b/src/vram.c +index 206b625..7213b4e 100644 +--- a/src/vram.c ++++ b/src/vram.c +@@ -242,7 +242,7 @@ void switch_fullscreen(void) { + conf.fs^=1; + } + +-__inline__ Uint8 get_nb_spr(void) ++extern __inline__ Uint8 get_nb_spr(void) + { + Uint8 *sp=oam_space; + Sint16 no_tile,x,y,att; |