pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/pingus pingus: fix compilation issue by adding m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61dfef359219
branches:  trunk
changeset: 334448:61dfef359219
user:      maya <maya%pkgsrc.org@localhost>
date:      Mon May 27 15:37:56 2019 +0000

description:
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:

 games/pingus/distinfo                                           |   3 +-
 games/pingus/patches/patch-src_pingus_screens_demo__session.hpp |  16 ++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r ef80930568e0 -r 61dfef359219 games/pingus/distinfo
--- a/games/pingus/distinfo     Mon May 27 15:31:02 2019 +0000
+++ b/games/pingus/distinfo     Mon May 27 15:37:56 2019 +0000
@@ -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_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 -r ef80930568e0 -r 61dfef359219 games/pingus/patches/patch-src_pingus_screens_demo__session.hpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/pingus/patches/patch-src_pingus_screens_demo__session.hpp   Mon May 27 15:37:56 2019 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index