Thursday, May 16, 2019

[ports-gcc] Unbreak games/pingus

> http://build-failures.rhaalovely.net/sparc64/2019-05-03/games/pingus.log
(same thing on macppc)

A header is missing, adding it fixes indeed the issue.

The runtime has been tested successfully on macppc and amd64.

While here, HOMEPAGE has been moved to https.

Comments/feedback are welcome!

Charlène.


Index: Makefile
===================================================================
RCS file: /cvs/ports/games/pingus/Makefile,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 Makefile
--- Makefile 13 Dec 2018 19:53:24 -0000 1.20
+++ Makefile 17 May 2019 02:05:52 -0000
@@ -3,12 +3,12 @@
COMMENT= free Lemmings-like game

DISTNAME= pingus-0.7.6
-REVISION= 4
+REVISION= 5
CATEGORIES= games x11

EXTRACT_SUFX= .tar.bz2

-HOMEPAGE= http://pingus.seul.org/
+HOMEPAGE= https://pingus.seul.org/
MASTER_SITES= ${MASTER_SITE_GOOGLECODE:=pingus/}

# GPLv2
Index: patches/patch-src_pingus_screens_demo_session_cpp
===================================================================
RCS file: patches/patch-src_pingus_screens_demo_session_cpp
diff -N patches/patch-src_pingus_screens_demo_session_cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_pingus_screens_demo_session_cpp 17 May 2019 02:05:52 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+Add missing header for ports-gcc
+
+Index: src/pingus/screens/demo_session.cpp
+--- src/pingus/screens/demo_session.cpp.orig
++++ src/pingus/screens/demo_session.cpp
+@@ -17,6 +17,7 @@
+ #include "pingus/screens/demo_session.hpp"
+
+ #include <algorithm>
++#include <functional>
+ #include <iostream>
+
+ #include "engine/gui/gui_manager.hpp"

No comments:

Post a Comment