From 6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Jul 2012 00:01:52 +0000 Subject: Thu Jul 19 00:01:52 UTC 2012 --- community/pingus/PKGBUILD | 19 +++++++++++++------ community/pingus/pingus-0.7.6-gcc470-udl.patch | 22 ++++++++++++++++++++++ 2 files changed, 35 insertions(+), 6 deletions(-) create mode 100644 community/pingus/pingus-0.7.6-gcc470-udl.patch (limited to 'community/pingus') diff --git a/community/pingus/PKGBUILD b/community/pingus/PKGBUILD index 16f1f0e98..a133d447b 100644 --- a/community/pingus/PKGBUILD +++ b/community/pingus/PKGBUILD @@ -1,25 +1,32 @@ -# $Id: PKGBUILD 67202 2012-03-05 08:58:41Z ibiru $ +# $Id: PKGBUILD 74004 2012-07-18 01:08:07Z ibiru $ # Maintainer: Eric Belanger pkgname=pingus pkgver=0.7.6 -pkgrel=3 +pkgrel=4 pkgdesc="A Lemmings clone, i.e. a level-based puzzle game." arch=('i686' 'x86_64') url="http://pingus.seul.org" license=('GPL') depends=('sdl_image' 'sdl_mixer' 'libgl' 'boost-libs>=1.49') makedepends=('scons' 'boost>=1.49' 'mesa') -source=(http://pingus.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2 - pingus.desktop) +source=("http://pingus.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2" + 'pingus.desktop' + 'pingus-0.7.6-gcc470-udl.patch') md5sums=('561798686f34d3fa4e69135d655f47ac' - '9eec34047bdcff49e08f41e81764e20c') + '9eec34047bdcff49e08f41e81764e20c' + '3730bdad38c21c67203456a985945473') sha1sums=('b5f5a25d71beb197c9466fb8928018a377f56487' - '579a1144f161ce89e6e024cea37210149b89c0c0') + '579a1144f161ce89e6e024cea37210149b89c0c0' + '143dd9969e8d100d29ed4f5b2039dde627afeb06') build() { cd ${pkgname}-${pkgver} + # fedora patch to fix error due to new standards + # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51282 + patch -Np0 -i ${srcdir}/pingus-0.7.6-gcc470-udl.patch + scons prefix=/usr } diff --git a/community/pingus/pingus-0.7.6-gcc470-udl.patch b/community/pingus/pingus-0.7.6-gcc470-udl.patch new file mode 100644 index 000000000..843439321 --- /dev/null +++ b/community/pingus/pingus-0.7.6-gcc470-udl.patch @@ -0,0 +1,22 @@ +--- src/pingus/pingus_main.cpp~ 2011-12-24 15:46:47.000000000 -0600 ++++ src/pingus/pingus_main.cpp 2012-01-03 13:13:03.034195720 -0600 +@@ -465,7 +465,7 @@ + void + PingusMain::print_greeting_message() + { +- std::string greeting = "Welcome to Pingus "VERSION; ++ std::string greeting = "Welcome to Pingus " VERSION; + greeting += "!"; + std::cout << greeting << std::endl; + for (unsigned int i = 0; i < greeting.length(); ++i) +--- src/pingus/screens/pingus_menu.cpp~ 2011-12-24 15:46:47.000000000 -0600 ++++ src/pingus/screens/pingus_menu.cpp 2012-01-03 13:30:28.967700554 -0600 +@@ -153,7 +153,7 @@ + gc.get_height()/2 - 280)); + + gc.print_left(Fonts::pingus_small, Vector2i(gc.get_width()/2 - 400 + 25, gc.get_height()-140), +- "Pingus "VERSION" - Copyright (C) 1998-2011 Ingo Ruhnke \n" ++ "Pingus " VERSION " - Copyright (C) 1998-2011 Ingo Ruhnke \n" + "See the file AUTHORS for a complete list of contributors.\n" + "Pingus comes with ABSOLUTELY NO WARRANTY. This is free software, and you are\n" + "welcome to redistribute it under certain conditions; see the file COPYING for details.\n"); -- cgit v1.2.3-54-g00ecf