From 0cf2f20608308acdf3cb922c3736446bbd8f3388 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:58:29 +0100 Subject: gentoo resync : 14.07.2018 --- .../gngb/files/gngb-20060309-gcc7.patch | 73 ---------------------- 1 file changed, 73 deletions(-) delete mode 100644 games-emulation/gngb/files/gngb-20060309-gcc7.patch (limited to 'games-emulation/gngb/files/gngb-20060309-gcc7.patch') diff --git a/games-emulation/gngb/files/gngb-20060309-gcc7.patch b/games-emulation/gngb/files/gngb-20060309-gcc7.patch deleted file mode 100644 index 557e69501dc9..000000000000 --- a/games-emulation/gngb/files/gngb-20060309-gcc7.patch +++ /dev/null @@ -1,73 +0,0 @@ -From: Markus Koschany -Date: Thu, 10 Aug 2017 19:39:05 +0000 -Subject: gcc7 - -Bug-Debian: https://bugs.debian.org/853425 -Forwarded: no ---- - src/cpu.c | 10 +++++----- - src/memory.c | 2 +- - 2 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/src/cpu.c b/src/cpu.c -index 57bc209..5209548 100644 ---- a/src/cpu.c -+++ b/src/cpu.c -@@ -61,7 +61,7 @@ static Uint8 a; - #define H (gbcpu->hl.b.h) - #define L (gbcpu->hl.b.l) - --__inline__ Uint16 get_word(void) -+extern __inline__ Uint16 get_word(void) - { - //Uint16 v=((Uint16)(mem_read(PC))); - Uint16 v1,v2; -@@ -74,7 +74,7 @@ __inline__ Uint16 get_word(void) - //return v; - } - --__inline__ Uint8 get_byte(void) -+extern __inline__ Uint8 get_byte(void) - { - //Uint8 t=mem_read(PC); - Uint8 t; -@@ -83,7 +83,7 @@ __inline__ Uint8 get_byte(void) - return t; - } - --__inline__ void push_r(REG *r) -+extern __inline__ void push_r(REG *r) - { - //mem_write(--SP,(r)->b.h); - //mem_write(--SP,(r)->b.l); -@@ -93,7 +93,7 @@ __inline__ void push_r(REG *r) - mem_write_fast(SP,(r)->b.l); - } - --__inline__ void pop_r(REG *r) -+extern __inline__ void pop_r(REG *r) - { - //(r)->b.l=mem_read(SP); - mem_read_fast(SP,(r)->b.l); -@@ -176,7 +176,7 @@ __inline__ Uint8 unknown(void){ - - - --__inline__ Uint8 gbcpu_exec_one(void) -+extern __inline__ Uint8 gbcpu_exec_one(void) - { - static Uint8 opcode; - if (gbcpu->ei_flag==1) { -diff --git a/src/memory.c b/src/memory.c -index 26e42d9..fd06738 100644 ---- a/src/memory.c -+++ b/src/memory.c -@@ -737,7 +737,7 @@ Uint8 mem_read_default(Uint16 adr) - return 0xFF; - } - --__inline__ void update_gb_pad(void) { -+extern __inline__ void update_gb_pad(void) { - gb_pad=0; - if (!conf.play_movie) { - -- cgit v1.2.3