summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gall <tgall@gentoo.org>2004-10-31 17:30:29 +0000
committerTom Gall <tgall@gentoo.org>2004-10-31 17:30:29 +0000
commitb6e6cb5bfa09741605809287ef6f41d52304c9b1 (patch)
tree000834e463f7bec514cf69a82298fc9dd0b4e0be /sys-libs/gpm
parentVersion bump. Removed old beta ebuilds. (Manifest recommit) (diff)
downloadgentoo-2-b6e6cb5bfa09741605809287ef6f41d52304c9b1.tar.gz
gentoo-2-b6e6cb5bfa09741605809287ef6f41d52304c9b1.tar.bz2
gentoo-2-b6e6cb5bfa09741605809287ef6f41d52304c9b1.zip
address linux26-header problem for ppc64, bug #66222
Diffstat (limited to 'sys-libs/gpm')
-rw-r--r--sys-libs/gpm/ChangeLog6
-rw-r--r--sys-libs/gpm/files/gpm-linux26-headers.patch11
-rw-r--r--sys-libs/gpm/gpm-1.20.1.ebuild4
3 files changed, 19 insertions, 2 deletions
diff --git a/sys-libs/gpm/ChangeLog b/sys-libs/gpm/ChangeLog
index ca3d5ea96b49..273ead760e8f 100644
--- a/sys-libs/gpm/ChangeLog
+++ b/sys-libs/gpm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/gpm
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.30 2004/10/02 15:39:09 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.31 2004/10/31 17:30:29 tgall Exp $
+
+ 31 Oct 2004; Tom Gall <tgall@gentoo.org> gpm-1.20.1.ebuild,
+ +files/gpm-linux26-headers.patch:
+ fix bug #66222 for ppc64
01 Oct 2004; Simon Stelling <blubb@gentoo.org> gpm-1.20.1.ebuild:
get_libdir-ized
diff --git a/sys-libs/gpm/files/gpm-linux26-headers.patch b/sys-libs/gpm/files/gpm-linux26-headers.patch
new file mode 100644
index 000000000000..db57408acb09
--- /dev/null
+++ b/sys-libs/gpm/files/gpm-linux26-headers.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2004-10-31 17:23:16.412105664 +0000
++++ src/Makefile.in 2004-10-31 17:23:45.636055416 +0000
+@@ -85,7 +85,7 @@
+ # create dependencies
+ for DEPS in `echo *.c */*.c`; do \
+ $(CC) -I. -I $(srcdir) -M @CPPFLAGS@ $(CPPFLAGS) $$DEPS | \
+- $(SED) 's/\($*\)\.o\([ :]*\)/\1.o \1.lo\2/g' >> $(DEPFILE) ; done
++ $(SED) 's/\($*\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> $(DEPFILE) ; done
+
+ ### INSTALL
+ check: all
diff --git a/sys-libs/gpm/gpm-1.20.1.ebuild b/sys-libs/gpm/gpm-1.20.1.ebuild
index 7a27bf1830fc..3673090faea2 100644
--- a/sys-libs/gpm/gpm-1.20.1.ebuild
+++ b/sys-libs/gpm/gpm-1.20.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.20.1.ebuild,v 1.20 2004/10/01 14:34:57 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.20.1.ebuild,v 1.21 2004/10/31 17:30:29 tgall Exp $
# Please use this variable to keep patch names sane for our patches!
PATCH_VER="1.0"
@@ -37,6 +37,8 @@ src_unpack() {
# Add missing 'mkinstalldirs' script
cp -f /usr/share/automake/mkinstalldirs ${S}
+
+ use ppc64 && epatch ${FILESDIR}/gpm-linux26-headers.patch
}
src_compile() {