summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-16 03:25:23 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-16 03:25:23 +0000
commita647d2ed389b23e8f8ccaaabcd9046ca87f478ad (patch)
treee6db902015821e309223a5ac8df58f776026c43e /games-puzzle/pathological
parentStable on SPARC wrt bug #126052. (diff)
downloadgentoo-2-a647d2ed389b23e8f8ccaaabcd9046ca87f478ad.tar.gz
gentoo-2-a647d2ed389b23e8f8ccaaabcd9046ca87f478ad.tar.bz2
gentoo-2-a647d2ed389b23e8f8ccaaabcd9046ca87f478ad.zip
Touchup build.
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'games-puzzle/pathological')
-rw-r--r--games-puzzle/pathological/ChangeLog8
-rw-r--r--games-puzzle/pathological/files/pathological-1.1.3-build.patch27
-rw-r--r--games-puzzle/pathological/pathological-1.1.3-r1.ebuild8
3 files changed, 38 insertions, 5 deletions
diff --git a/games-puzzle/pathological/ChangeLog b/games-puzzle/pathological/ChangeLog
index 044e57a552e3..b7c48da6fcee 100644
--- a/games-puzzle/pathological/ChangeLog
+++ b/games-puzzle/pathological/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-puzzle/pathological
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/ChangeLog,v 1.10 2005/10/16 05:09:00 vapier Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/ChangeLog,v 1.11 2006/03/16 03:25:23 vapier Exp $
+
+ 16 Mar 2006; Mike Frysinger <vapier@gentoo.org>
+ +files/pathological-1.1.3-build.patch, pathological-1.1.3-r1.ebuild:
+ Touchup build.
*pathological-1.1.3-r1 (16 Oct 2005)
diff --git a/games-puzzle/pathological/files/pathological-1.1.3-build.patch b/games-puzzle/pathological/files/pathological-1.1.3-build.patch
new file mode 100644
index 000000000000..d8793a6aef6e
--- /dev/null
+++ b/games-puzzle/pathological/files/pathological-1.1.3-build.patch
@@ -0,0 +1,27 @@
+Use implicit rules to build write-highscores so we dont have to worry
+about CC/CFLAGS/LDFLAGS/etc...
+
+Include stdlib.h to get exit() prototype
+
+--- write-highscores.c
++++ write-highscores.c
+@@ -25,6 +25,7 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#include <stdlib.h>
+
+ #define BUFFER_SIZE 1024
+
+--- Makefile
++++ Makefile
+@@ -4,9 +4,6 @@
+
+ all: write-highscores html/wheel.png
+
+-write-highscores: write-highscores.c
+- gcc -s -o write-highscores write-highscores.c
+-
+ html/wheel.png:
+ ./makehtml
+
diff --git a/games-puzzle/pathological/pathological-1.1.3-r1.ebuild b/games-puzzle/pathological/pathological-1.1.3-r1.ebuild
index 643ec35714cd..06dbad7eb269 100644
--- a/games-puzzle/pathological/pathological-1.1.3-r1.ebuild
+++ b/games-puzzle/pathological/pathological-1.1.3-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/pathological-1.1.3-r1.ebuild,v 1.2 2005/11/15 01:26:33 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pathological/pathological-1.1.3-r1.ebuild,v 1.3 2006/03/16 03:25:23 vapier Exp $
inherit games eutils
@@ -21,7 +21,9 @@ RDEPEND=">=dev-python/pygame-1.5.5
src_unpack() {
unpack ${A}
cd "${S}"
+ gunzip pathological.6.gz
+ epatch "${FILESDIR}"/${P}-build.patch
epatch "${FILESDIR}"/${P}-music-py.patch
if use doc ; then
@@ -66,7 +68,7 @@ src_install() {
# documentation
dodoc README TODO
- doman pathological.6.gz
+ doman pathological.6
use doc && dohtml -r html/
insinto /usr/share/pixmaps