summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-04-08 06:08:03 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-04-08 06:08:03 +0000
commit8550beb2e86d820452a08ff805f65394869bed96 (patch)
treeb864f315ae1c10ded074929f945f23ce9ea7cc03 /dev-games
parentdev-util/gtk-doc-am: keep the original name for the m4 macro file (fixes bug ... (diff)
downloadhistorical-8550beb2e86d820452a08ff805f65394869bed96.tar.gz
historical-8550beb2e86d820452a08ff805f65394869bed96.tar.bz2
historical-8550beb2e86d820452a08ff805f65394869bed96.zip
fix compile with newer linux-headers (bug #215918)
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/flinker/ChangeLog7
-rw-r--r--dev-games/flinker/Manifest4
-rw-r--r--dev-games/flinker/flinker-1.72.ebuild15
3 files changed, 20 insertions, 6 deletions
diff --git a/dev-games/flinker/ChangeLog b/dev-games/flinker/ChangeLog
index f0cdb004934b..d0ef79bbd2d3 100644
--- a/dev-games/flinker/ChangeLog
+++ b/dev-games/flinker/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-games/flinker
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/flinker/ChangeLog,v 1.5 2007/02/08 20:45:42 wolf31o2 Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/flinker/ChangeLog,v 1.6 2008/04/08 06:08:03 mr_bones_ Exp $
+
+ 08 Apr 2008; Michael Sterrett <mr_bones_@gentoo.org> flinker-1.72.ebuild:
+ fix compile with newer linux-headers (bug #215918)
08 Feb 2007; Chris Gianelloni <wolf31o2@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/dev-games/flinker/Manifest b/dev-games/flinker/Manifest
index 7b3353a67fe9..e1082c913e9e 100644
--- a/dev-games/flinker/Manifest
+++ b/dev-games/flinker/Manifest
@@ -1,4 +1,4 @@
DIST flgba.zip 41380 RMD160 ed92bbc4f55aa6371e293d44f960f96fd1a01fe5 SHA1 96175950e6c85b51832fce15703897f0f45c9235 SHA256 92b7e0f4c61f85b12c473701ad0b09e68de6d60bbe3f4183ec91b500b53eb92c
-EBUILD flinker-1.72.ebuild 637 RMD160 4510b8eefca3b914a75d78d7871886eca920ba4b SHA1 db849c68c9c03a727d7f86a2710ff9ac61724652 SHA256 8f3c7b1e7c84287c2a22f764d6653c5f63bcdf6a236d1877b2da83e803788067
-MISC ChangeLog 549 RMD160 6adb83ceb03984cf5fddba4191d4285846b55634 SHA1 e0336f7c97601823007374f7909e6bc5ce464717 SHA256 58b1a79049c0cd8bbb4b9037fc20356be22204e3cbd064e56bd905ab2238ecb4
+EBUILD flinker-1.72.ebuild 806 RMD160 f2225f2c5ed469fdc9d8bc1aa3b94a1c81ce30f1 SHA1 47f85eff1dde53b38b34e415f00f1e4bc189a4b4 SHA256 bbd64fa62bea72904922b08cd41a470184913320b397cecb69bcfdb0090f1dc2
+MISC ChangeLog 680 RMD160 d3ec84f62dad564f84cd2f043605f6f0a9db037e SHA1 7f5458bc6115a86144c8ed988fa47f8555ab0d15 SHA256 ac7cbeedaba9faa23bd23c5700d5f89549c0fb23f2edc36c55bb4fed9899f0c5
MISC metadata.xml 429 RMD160 1943acde765fe3954f77bfaaaf788a4689d543fe SHA1 d93bcc08a669495a44b9348153d7ce4679bfcdda SHA256 d38552f08e0dc89fc3aed15a9ba0be4ebac7863881beb82618e6406b28b432f6
diff --git a/dev-games/flinker/flinker-1.72.ebuild b/dev-games/flinker/flinker-1.72.ebuild
index 5c06e69cc98f..fd469a752eab 100644
--- a/dev-games/flinker/flinker-1.72.ebuild
+++ b/dev-games/flinker/flinker-1.72.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/flinker/flinker-1.72.ebuild,v 1.5 2005/01/01 17:59:21 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/flinker/flinker-1.72.ebuild,v 1.6 2008/04/08 06:08:03 mr_bones_ Exp $
inherit toolchain-funcs
@@ -18,6 +18,17 @@ DEPEND="app-arch/unzip"
S=${WORKDIR}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e '/unistd/s:^//::' \
+ -e 's:asm/io.h:sys/io.h:' \
+ fl.c \
+ || die "sed failed"
+ echo >> fl.c
+ echo >> cartlib.c
+}
src_compile() {
$(tc-getCC) -o FLinker ${CFLAGS} fl.c || die
}