summaryrefslogtreecommitdiff
path: root/games/xspringies
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2007-05-30 16:50:00 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2007-05-30 16:50:00 +0000
commit1d3ed345b42b6b7239b2584ebf2cbcb2955338a1 (patch)
treee8098969bf97235cb9634537e89ad29272276eaa /games/xspringies
parentSince Qt4 plugin is disabled by default, check for WITH_QT4, not !WITHOUT_QT4. (diff)
Fix build with gcc4
Notes
Notes: svn path=/head/; revision=192404
Diffstat (limited to 'games/xspringies')
-rw-r--r--games/xspringies/files/patch-widget.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/xspringies/files/patch-widget.c b/games/xspringies/files/patch-widget.c
new file mode 100644
index 000000000000..0ab99a96ecab
--- /dev/null
+++ b/games/xspringies/files/patch-widget.c
@@ -0,0 +1,16 @@
+--- widget.c.orig Wed May 30 16:24:53 2007
++++ widget.c Wed May 30 16:28:12 2007
+@@ -124,11 +124,11 @@
+ extern Pixmap acts_pm;
+ void (*notify_func)();
+
++Pixmap get_pixmap(char *bits, int width, int height, boolean inv);
++
+ void init_widgets(notify)
+ void (*notify)();
+ {
+- extern Pixmap get_pixmap();
+-
+ numb = nums = numc = numm = cur_type = cur_num = 0;
+ key_active = cur_but = -1;
+ scan_flag = FALSE;