summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authordholland <dholland>2012-05-23 06:35:17 +0000
committerdholland <dholland>2012-05-23 06:35:17 +0000
commitdd7f4a4c7dbf740a692e7b261c11824fd5287b33 (patch)
treedeb2a04768dfd03086b4c28cb8aca9aa87948cdc /games
parent73bf53ca35ee8c4b02213a2621b6fdc8c7680425 (diff)
downloadpkgsrc-dd7f4a4c7dbf740a692e7b261c11824fd5287b33.tar.gz
Add missing include that broke the Linux build.
Diffstat (limited to 'games')
-rw-r--r--games/xu4/distinfo3
-rw-r--r--games/xu4/patches/patch-src_menuitem_cpp13
2 files changed, 15 insertions, 1 deletions
diff --git a/games/xu4/distinfo b/games/xu4/distinfo
index f90445cea50..0fddb3d6dd3 100644
--- a/games/xu4/distinfo
+++ b/games/xu4/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2012/01/08 15:52:12 wiz Exp $
+$NetBSD: distinfo,v 1.2 2012/05/23 06:35:17 dholland Exp $
SHA1 (xu4-1.0beta3.tar.gz) = baf1bbdc18088096ae11ea31aa497532b7e7124c
RMD160 (xu4-1.0beta3.tar.gz) = f758fea4bc3034b19122651cfb725a88e0684960
@@ -17,6 +17,7 @@ SHA1 (patch-src_imagemgr.h) = 36b1bd2d750e17b9c403cded9d8787aa6a8a61cd
SHA1 (patch-src_intro.cpp) = 5330d1bedb8e79750468d9463a016b041b7aa496
SHA1 (patch-src_item.cpp) = 667498d2c8fcf4c2c35da0d9189d68c9b6a9baf5
SHA1 (patch-src_lzw_u6decode.cpp) = 1dbf1cb0f24ad9d083f4a7fe666f1503c9647ab6
+SHA1 (patch-src_menuitem_cpp) = 400943827ddd59a9cff547765e87b30590569cb2
SHA1 (patch-src_person.cpp) = b93703514429257ae4665ab7242c5dc1ead18c3c
SHA1 (patch-src_savegame.cpp) = 6a0b43d29bd26fd2265953588ae82c950d14e6ba
SHA1 (patch-src_screen.cpp) = bffaf51b9ac63112733d89c0b5e30370a695d45d
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
+