summaryrefslogtreecommitdiff
path: root/games-emulation/gngb/files/gngb-20060309-gcc7.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-emulation/gngb/files/gngb-20060309-gcc7.patch
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-emulation/gngb/files/gngb-20060309-gcc7.patch')
-rw-r--r--games-emulation/gngb/files/gngb-20060309-gcc7.patch73
1 files changed, 0 insertions, 73 deletions
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 <apo@debian.org>
-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) {
-