summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2019-05-27 15:37:56 +0000
committermaya <maya@pkgsrc.org>2019-05-27 15:37:56 +0000
commit4398830759fdd3a676a6e2b0b92effa1dc5c7a6e (patch)
tree8682b5a2c98e018c73d4674646ce03c261077eb7 /games
parent71ebfed0a40d68b0bb516ba65e94d301a5e3c28f (diff)
downloadpkgsrc-4398830759fdd3a676a6e2b0b92effa1dc5c7a6e.tar.gz
pingus: fix compilation issue by adding missing include.
PR pkg/54240. XXX this package needs to add libGL path's to RPATH to run
Diffstat (limited to 'games')
-rw-r--r--games/pingus/distinfo3
-rw-r--r--games/pingus/patches/patch-src_pingus_screens_demo__session.hpp16
2 files changed, 18 insertions, 1 deletions
diff --git a/games/pingus/distinfo b/games/pingus/distinfo
index 6273401b504..545b14f9b44 100644
--- a/games/pingus/distinfo
+++ b/games/pingus/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2019/05/12 06:17:30 triaxx Exp $
+$NetBSD: distinfo,v 1.11 2019/05/27 15:37:56 maya Exp $
SHA1 (pingus-0.7.6.tar.gz) = c888c277995bed84052b62d0eacbd77d0346a276
RMD160 (pingus-0.7.6.tar.gz) = e58ced4252caea3ca642a82a47468ed49eaa7851
@@ -20,5 +20,6 @@ SHA1 (patch-src_pingus_components_choice__box.hpp) = 4d2faefe2db205c8cbc695c6b45
SHA1 (patch-src_pingus_components_slider__box.hpp) = 0c247a42dcf17a214fb2347177e95e0a5393807d
SHA1 (patch-src_pingus_config__manager.hpp) = 3aa3c4947accec1360ee71d03aec8582c68c226a
SHA1 (patch-src_pingus_pingus__main.cpp) = d7e5b778c3bab1f5c36d0a1fd97e9a477c499d27
+SHA1 (patch-src_pingus_screens_demo__session.hpp) = 4f601d78e7962d93ee5610e60e9f1d9e7df1c303
SHA1 (patch-src_pingus_screens_option__menu.hpp) = bf7da1b212fde00b9dd3d2f972ec587f629771da
SHA1 (patch-src_pingus_screens_pingus__menu.cpp) = 18c2f3762fd5d7adf6a6a9b4561cc6af1289ff15
diff --git a/games/pingus/patches/patch-src_pingus_screens_demo__session.hpp b/games/pingus/patches/patch-src_pingus_screens_demo__session.hpp
new file mode 100644
index 00000000000..f5c08d19c76
--- /dev/null
+++ b/games/pingus/patches/patch-src_pingus_screens_demo__session.hpp
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_pingus_screens_demo__session.hpp,v 1.1 2019/05/27 15:37:56 maya Exp $
+
+Avoid build error:
+src/pingus/screens/demo_session.cpp:41:8: error: 'function' in namespace 'std' does not name a template type
+NetBSD-8.99.41 (GCC 7.4.0)
+
+--- src/pingus/screens/demo_session.hpp.orig 2011-12-24 21:46:47.000000000 +0000
++++ src/pingus/screens/demo_session.hpp
+@@ -19,6 +19,7 @@
+
+ #include <memory>
+ #include <vector>
++#include <functional>
+
+ #include "engine/screen/gui_screen.hpp"
+ #include "pingus/server_event.hpp"