summaryrefslogtreecommitdiff
path: root/games/xu4/patches
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-23 06:35:17 +0000
committerdholland <dholland@pkgsrc.org>2012-05-23 06:35:17 +0000
commitfd787a3ef2e4b6408207b71143f0735b3e98de5b (patch)
treedeb2a04768dfd03086b4c28cb8aca9aa87948cdc /games/xu4/patches
parentbecc3169eff87c3b882a569b9289341f107639fd (diff)
downloadpkgsrc-fd787a3ef2e4b6408207b71143f0735b3e98de5b.tar.gz
Add missing include that broke the Linux build.
Diffstat (limited to 'games/xu4/patches')
-rw-r--r--games/xu4/patches/patch-src_menuitem_cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/xu4/patches/patch-src_menuitem_cpp b/games/xu4/patches/patch-src_menuitem_cpp
new file mode 100644
index 00000000000..369594af4d5
--- /dev/null
+++ b/games/xu4/patches/patch-src_menuitem_cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_menuitem_cpp,v 1.1 2012/05/23 06:35:17 dholland Exp $
+
+Add missing header, fails on Linux.
+
+--- src/menuitem.cpp~ 2005-08-22 05:36:37.000000000 +0000
++++ src/menuitem.cpp
+@@ -3,4 +3,6 @@
+ */
+
++#include <cstdio>
++
+ #include "vc6.h" // Fixes things if you're using VC6, does nothing if otherwise
+