[arch-commits] Commit in pingus/trunk (PKGBUILD missing-header.patch)
Laurent Carlier
lcarlier at archlinux.org
Fri May 19 18:20:30 UTC 2017
Date: Friday, May 19, 2017 @ 18:20:30
Author: lcarlier
Revision: 228596
upgpkg: pingus 0.7.6-21
boost 1.64.0 rebuild
Added:
pingus/trunk/missing-header.patch
Modified:
pingus/trunk/PKGBUILD
----------------------+
PKGBUILD | 10 +++++++---
missing-header.patch | 22 ++++++++++++++++++++++
2 files changed, 29 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-19 17:51:38 UTC (rev 228595)
+++ PKGBUILD 2017-05-19 18:20:30 UTC (rev 228596)
@@ -3,7 +3,7 @@
pkgname=pingus
pkgver=0.7.6
-pkgrel=20
+pkgrel=21
pkgdesc="A Lemmings clone, i.e. a level-based puzzle game."
arch=('i686' 'x86_64')
url="http://pingus.seul.org"
@@ -12,10 +12,12 @@
makedepends=('scons' 'boost>=1.49' 'mesa' 'glu')
source=("$pkgname-$pkgver.tgz::https://github.com/Pingus/pingus/archive/v$pkgver.tar.gz"
'pingus.desktop'
- 'pingus-0.7.6-gcc470-udl.patch')
+ 'pingus-0.7.6-gcc470-udl.patch'
+ 'missing-header.patch')
sha1sums=('c888c277995bed84052b62d0eacbd77d0346a276'
'579a1144f161ce89e6e024cea37210149b89c0c0'
- '143dd9969e8d100d29ed4f5b2039dde627afeb06')
+ '143dd9969e8d100d29ed4f5b2039dde627afeb06'
+ '9e1402d43ac5e2423c573b3b3afada3a20709dd5')
build() {
cd ${pkgname}-${pkgver}
@@ -25,6 +27,8 @@
patch -Np0 -i ${srcdir}/pingus-0.7.6-gcc470-udl.patch
# manpage must be in man6, not man1
sed -i "s#/man1/#/man6/#g" Makefile
+ # missing header
+ patch -Np1 -i ../missing-header.patch
scons prefix=/usr
}
Added: missing-header.patch
===================================================================
--- missing-header.patch (rev 0)
+++ missing-header.patch 2017-05-19 18:20:30 UTC (rev 228596)
@@ -0,0 +1,22 @@
+From df6e2f445d3e2925a94d22faeb17be9444513e92 Mon Sep 17 00:00:00 2001
+From: Jonathan Wakely <jwakely at redhat.com>
+Date: Mon, 30 Jan 2017 15:41:53 +0000
+Subject: [PATCH] Add missing header for std::function and std::bind
+
+---
+ src/pingus/screens/demo_session.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/pingus/screens/demo_session.cpp b/src/pingus/screens/demo_session.cpp
+index e3ec49a2c..f887e50f0 100644
+--- a/src/pingus/screens/demo_session.cpp
++++ b/src/pingus/screens/demo_session.cpp
+@@ -18,6 +18,7 @@
+
+ #include <algorithm>
+ #include <iostream>
++#include <functional>
+
+ #include "engine/gui/gui_manager.hpp"
+ #include "engine/gui/surface_button.hpp"
+
More information about the arch-commits
mailing list