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_video__yuv.h | |
parent | chinese/zh-librime: Update to 1.6.1 (diff) |
Fix build with -fno-common
Diffstat (limited to 'emulators/gngb/files/patch-src_video__yuv.h')
-rw-r--r-- | emulators/gngb/files/patch-src_video__yuv.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/emulators/gngb/files/patch-src_video__yuv.h b/emulators/gngb/files/patch-src_video__yuv.h new file mode 100644 index 000000000000..585366b43091 --- /dev/null +++ b/emulators/gngb/files/patch-src_video__yuv.h @@ -0,0 +1,26 @@ +--- src/video_yuv.h.orig 2003-04-03 13:27:29 UTC ++++ src/video_yuv.h +@@ -21,16 +21,18 @@ + + #include "global.h" + +-SDL_Overlay *overlay; +-SDL_Rect ov_rect; +-Uint32 yuv_flag; ++extern SDL_Overlay *overlay; ++extern SDL_Rect ov_rect; ++extern Uint32 yuv_flag; + +-struct yuv{ ++typedef struct yuv{ + Uint16 y; + Uint8 u; + Uint8 v; + Uint32 yuy2; +-}rgb2yuv[65536]; ++} yuv_t; ++ ++extern yuv_t rgb2yuv[65536]; + + void init_message_yuv(void); + void init_rgb2yuv_table(void); |