summaryrefslogtreecommitdiff
path: root/emulators/gngb/files/patch-src_video__std.h
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-22 18:38:06 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-22 18:38:06 +0000
commita8b4a281c42c022147a984fa7aaf77ad149278c7 (patch)
treee405a6a742aba68094c2dcca2febfb6b21978a51 /emulators/gngb/files/patch-src_video__std.h
parentchinese/zh-librime: Update to 1.6.1 (diff)
Fix build with -fno-common
Diffstat (limited to 'emulators/gngb/files/patch-src_video__std.h')
-rw-r--r--emulators/gngb/files/patch-src_video__std.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/emulators/gngb/files/patch-src_video__std.h b/emulators/gngb/files/patch-src_video__std.h
new file mode 100644
index 000000000000..b38f7d49a385
--- /dev/null
+++ b/emulators/gngb/files/patch-src_video__std.h
@@ -0,0 +1,15 @@
+--- src/video_std.h.orig 2003-04-03 13:27:29 UTC
++++ src/video_std.h
+@@ -27,9 +27,9 @@
+ extern Sint8 rb_tab[2][RB_SIZE];
+ extern SDL_Surface *back;
+
+-Uint8 rb_shift;
+-SDL_Rect dstR;
+-SDL_Rect scrR;
++extern Uint8 rb_shift;
++extern SDL_Rect dstR;
++extern SDL_Rect scrR;
+
+ void draw_screen_sgb_std(void);
+ void draw_screen_wb_std(void);