pipepanic: fix window and icon title (#975)

fix provided by scottmc
This commit is contained in:
Schrijvers Luc
2016-12-31 15:54:03 +01:00
committed by Jérôme Duval
parent 307b9fa463
commit f68db54ea8
2 changed files with 35 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
From 1eb134f8e461271cb9fdce897358c5a4a11976d5 Mon Sep 17 00:00:00 2001
From: Begasus <begasus@gmail.com>
Date: Sat, 31 Dec 2016 09:18:32 +0100
Subject: applying patch pipepanic-0.1.3.patch
diff --git a/main.c b/main.c
index 6cf114c..960f57a 100644
--- a/main.c
@@ -116,3 +122,30 @@ index 664b75b..178f665 100644
#define MAGENTA 0xff, 0x00, 0xff
#define YELLOW 0xff, 0xcc, 0x66
--
2.7.0
From 4d2927973443abf108b2f3f03cc3d590481d53fd Mon Sep 17 00:00:00 2001
From: begasus <begasus@gmail.com>
Date: Sat, 31 Dec 2016 09:23:43 +0100
Subject: Fix Window and Icon title, fix provided by Scottmc
diff --git a/main.c b/main.c
index 960f57a..cacb0a9 100644
--- a/main.c
+++ b/main.c
@@ -209,6 +209,9 @@ int main(int argc, char *argv[]) {
exit(1);
}
+ /* Set Window and Icon Names */
+ SDL_WM_SetCaption("Pipepanic","Pipepanic");
+
#ifdef DEBUG
printf ("Loading bitmaps\n");
#endif
--
2.7.0

View File

@@ -4,11 +4,11 @@ different shaped pipes together as possible within the time given."
HOMEPAGE="http://www.users.waitrose.com/~thunor/pipepanic/"
COPYRIGHT="2006 TheGreenKnight"
LICENSE="GNU GPL v2"
REVISION="4"
REVISION="5"
SOURCE_URI="http://www.users.waitrose.com/~thunor/pipepanic/dload/pipepanic-$portVersion-source.tar.gz"
CHECKSUM_SHA256="4b02249c92228b03f4cc3c1d999cacf3fe52c16df53c6bf76fc6c1e2caa74318"
SOURCE_DIR="pipepanic-$portVersion-source"
PATCHES="pipepanic-$portVersion.patch"
PATCHES="pipepanic-$portVersion.patchset"
ADDITIONAL_FILES="pipepanic.rdef"
ARCHITECTURES="x86_gcc2 x86 x86_64"