summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-07-03 18:42:58 +0000
committerjoerg <joerg@pkgsrc.org>2012-07-03 18:42:58 +0000
commitf82042d05955df3622757d47f97a3959de14df99 (patch)
treea828a1b8a4fba028a1c502fb14af0fcef9d016be /games
parenta87153b6ba1ba8af4047f0c093e6f7315c96e289 (diff)
downloadpkgsrc-f82042d05955df3622757d47f97a3959de14df99.tar.gz
Fix inline usage.
Diffstat (limited to 'games')
-rw-r--r--games/lpairs/distinfo4
-rw-r--r--games/lpairs/patches/patch-lpairs_sdl.c13
-rw-r--r--games/lpairs/patches/patch-lpairs_sdl.h13
3 files changed, 29 insertions, 1 deletions
diff --git a/games/lpairs/distinfo b/games/lpairs/distinfo
index 13f0411e2d6..dc8c0ab91f6 100644
--- a/games/lpairs/distinfo
+++ b/games/lpairs/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.4 2011/04/16 17:44:07 shattered Exp $
+$NetBSD: distinfo,v 1.5 2012/07/03 18:42:58 joerg Exp $
SHA1 (lpairs-1.0.4.tar.gz) = 4e7c8d9b55ccb8c740d8125c116347cf7bb36fb4
RMD160 (lpairs-1.0.4.tar.gz) = ca4a23bc536dba7da625eb3485258381de003c5d
Size (lpairs-1.0.4.tar.gz) = 536625 bytes
SHA1 (patch-aa) = 59a134c074cf9b0ff2aeef297fc88e06ed6a977a
+SHA1 (patch-lpairs_sdl.c) = 119452952684dd51af5c92f0becdf9344f715da4
+SHA1 (patch-lpairs_sdl.h) = c376de1f420f5a930a2c78a2947b17949d763769
diff --git a/games/lpairs/patches/patch-lpairs_sdl.c b/games/lpairs/patches/patch-lpairs_sdl.c
new file mode 100644
index 00000000000..bd73fd1a48d
--- /dev/null
+++ b/games/lpairs/patches/patch-lpairs_sdl.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-lpairs_sdl.c,v 1.1 2012/07/03 18:42:58 joerg Exp $
+
+--- lpairs/sdl.c.orig 2012-07-03 16:02:59.000000000 +0000
++++ lpairs/sdl.c
+@@ -480,7 +480,7 @@ void hardware_cap()
+ /*
+ update rectangle (0,0,0,0)->fullscreen
+ */
+-inline void refresh_screen(int x, int y, int w, int h)
++void refresh_screen(int x, int y, int w, int h)
+ {
+ SDL_UpdateRect(sdl.screen, x, y, w, h);
+ }
diff --git a/games/lpairs/patches/patch-lpairs_sdl.h b/games/lpairs/patches/patch-lpairs_sdl.h
new file mode 100644
index 00000000000..703cc88a34f
--- /dev/null
+++ b/games/lpairs/patches/patch-lpairs_sdl.h
@@ -0,0 +1,13 @@
+$NetBSD: patch-lpairs_sdl.h,v 1.1 2012/07/03 18:42:58 joerg Exp $
+
+--- lpairs/sdl.h.orig 2012-07-03 16:02:57.000000000 +0000
++++ lpairs/sdl.h
+@@ -116,7 +116,7 @@ void init_sdl( int f );
+ void quit_sdl();
+ int set_video_mode( int w, int h, int d, int f );
+ void hardware_cap();
+-inline void refresh_screen( int x, int y, int w, int h );
++void refresh_screen( int x, int y, int w, int h );
+ void refresh_rects();
+ void add_refresh_rect(int x, int y, int w, int h);
+ void dim_screen(int steps, int delay, int trp);