summaryrefslogtreecommitdiff
path: root/games/lgeneral/patches/patch-src_sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/lgeneral/patches/patch-src_sdl.c')
-rw-r--r--games/lgeneral/patches/patch-src_sdl.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/lgeneral/patches/patch-src_sdl.c b/games/lgeneral/patches/patch-src_sdl.c
new file mode 100644
index 00000000000..ab3fcc3ff89
--- /dev/null
+++ b/games/lgeneral/patches/patch-src_sdl.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_sdl.c,v 1.1 2012/07/09 19:08:05 joerg Exp $
+
+--- src/sdl.c.orig 2012-07-06 16:16:17.000000000 +0000
++++ src/sdl.c
+@@ -31,7 +31,7 @@ int cur_time, last_time;
+ /* sdl surface */
+
+ /* return full path of bitmap */
+-inline void get_full_bmp_path( char *full_path, char *file_name )
++static inline void get_full_bmp_path( char *full_path, char *file_name )
+ {
+ sprintf(full_path, "%s/gfx/%s", SRC_DIR, file_name );
+ }