summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2012-08-08 15:01:45 +0000
committerRaúl Porcel <armin76@gentoo.org>2012-08-08 15:01:45 +0000
commita9d359598197b65dd1070c705056cda23d977306 (patch)
treeffdb3deca245f7f14205f9324d3ff86dfbc7fc57 /dev-libs/pth
parentrespect CFLAGS (bug #430440) (diff)
downloadhistorical-a9d359598197b65dd1070c705056cda23d977306.tar.gz
historical-a9d359598197b65dd1070c705056cda23d977306.tar.bz2
historical-a9d359598197b65dd1070c705056cda23d977306.zip
Add patch to fix building in some arches with kernel-3
Package-Manager: portage-2.1.11.5/cvs/Linux ia64
Diffstat (limited to 'dev-libs/pth')
-rw-r--r--dev-libs/pth/ChangeLog6
-rw-r--r--dev-libs/pth/files/pth-2.0.7-kernel-3.patch24
-rw-r--r--dev-libs/pth/pth-2.0.7-r3.ebuild3
3 files changed, 31 insertions, 2 deletions
diff --git a/dev-libs/pth/ChangeLog b/dev-libs/pth/ChangeLog
index 82927ef7d69c..9cbebf457db6 100644
--- a/dev-libs/pth/ChangeLog
+++ b/dev-libs/pth/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/pth
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/ChangeLog,v 1.71 2012/05/09 15:21:08 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/ChangeLog,v 1.72 2012/08/08 15:01:43 armin76 Exp $
+
+ 08 Aug 2012; Raúl Porcel <armin76@gentoo.org> pth-2.0.7-r3.ebuild,
+ +files/pth-2.0.7-kernel-3.patch:
+ Add patch to fix building in some arches with kernel-3
09 May 2012; Alexis Ballier <aballier@gentoo.org> pth-2.0.7-r3.ebuild:
keyword ~amd64-fbsd
diff --git a/dev-libs/pth/files/pth-2.0.7-kernel-3.patch b/dev-libs/pth/files/pth-2.0.7-kernel-3.patch
new file mode 100644
index 000000000000..e6e825bf531c
--- /dev/null
+++ b/dev-libs/pth/files/pth-2.0.7-kernel-3.patch
@@ -0,0 +1,24 @@
+diff -ur pth-2.0.7.orig//aclocal.m4 pth-2.0.7/aclocal.m4
+--- pth-2.0.7.orig//aclocal.m4 2012-08-08 16:25:05.289931224 +0200
++++ pth-2.0.7/aclocal.m4 2012-08-08 16:26:45.164932424 +0200
+@@ -1074,7 +1074,7 @@
+ braindead=no
+ case "x`uname -r`" in
+ changequote(, )dnl
+- x2.[23456789]* ) ;;
++ x[23].[23456789]* ) ;;
+ changequote([, ])
+ * ) braindead=yes ;;
+ esac
+diff -ur pth-2.0.7.orig//configure pth-2.0.7/configure
+--- pth-2.0.7.orig//configure 2012-08-08 16:25:05.289931224 +0200
++++ pth-2.0.7/configure 2012-08-08 16:27:00.391494004 +0200
+@@ -22512,7 +22512,7 @@
+ *-*-linux* )
+ braindead=no
+ case "x`uname -r`" in
+- x2.[23456789]* ) ;;
++ x[23].[23456789]* ) ;;
+
+ * ) braindead=yes ;;
+ esac
diff --git a/dev-libs/pth/pth-2.0.7-r3.ebuild b/dev-libs/pth/pth-2.0.7-r3.ebuild
index 41c6263b82ce..51cef80aadb5 100644
--- a/dev-libs/pth/pth-2.0.7-r3.ebuild
+++ b/dev-libs/pth/pth-2.0.7-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v 1.7 2012/05/09 15:21:08 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/pth/pth-2.0.7-r3.ebuild,v 1.8 2012/08/08 15:01:43 armin76 Exp $
EAPI=4
@@ -26,6 +26,7 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-2.0.6-sigstack.patch
epatch "${FILESDIR}"/${PN}-2.0.7-parallel-install.patch
epatch "${FILESDIR}"/${PN}-2.0.7-ia64.patch
+ epatch "${FILESDIR}"/${PN}-2.0.7-kernel-3.patch
ht_fix_file aclocal.m4 configure