summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-01-04 16:48:43 +0000
committerJeroen Roovers <jer@gentoo.org>2011-01-04 16:48:43 +0000
commitb569dbdfc94fa9517f1d0297dcfa97d3d805427c (patch)
treedd967240b90db12a430a3555f2c5538490f69b70 /app-text
parentSome Clean up (diff)
downloadgentoo-2-b569dbdfc94fa9517f1d0297dcfa97d3d805427c.tar.gz
gentoo-2-b569dbdfc94fa9517f1d0297dcfa97d3d805427c.tar.bz2
gentoo-2-b569dbdfc94fa9517f1d0297dcfa97d3d805427c.zip
Add patch to open files starting with "dir" by Ulrich Müller (bug #340697).
(Portage version: 2.2.0_alpha12/cvs/Linux i686)
Diffstat (limited to 'app-text')
-rw-r--r--app-text/pinfo/ChangeLog10
-rw-r--r--app-text/pinfo/files/pinfo-0.6.10-dir-file.patch11
-rw-r--r--app-text/pinfo/pinfo-0.6.10-r2.ebuild (renamed from app-text/pinfo/pinfo-0.6.10-r1.ebuild)7
3 files changed, 23 insertions, 5 deletions
diff --git a/app-text/pinfo/ChangeLog b/app-text/pinfo/ChangeLog
index 992bcd62c565..f67786119f71 100644
--- a/app-text/pinfo/ChangeLog
+++ b/app-text/pinfo/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-text/pinfo
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/ChangeLog,v 1.50 2010/12/28 15:32:38 ranger Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/ChangeLog,v 1.51 2011/01/04 16:48:42 jer Exp $
+
+*pinfo-0.6.10-r2 (04 Jan 2011)
+
+ 04 Jan 2011; Jeroen Roovers <jer@gentoo.org> -pinfo-0.6.10-r1.ebuild,
+ +pinfo-0.6.10-r2.ebuild, +files/pinfo-0.6.10-dir-file.patch:
+ Add patch to open files starting with "dir" by Ulrich Müller (bug #340697).
28 Dec 2010; Brent Baude <ranger@gentoo.org> pinfo-0.6.9-r1.ebuild:
stable ppc64, bug 339957
diff --git a/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch b/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch
new file mode 100644
index 000000000000..7a282f354baa
--- /dev/null
+++ b/app-text/pinfo/files/pinfo-0.6.10-dir-file.patch
@@ -0,0 +1,11 @@
+--- a/src/filehandling_functions.c
++++ b/src/filehandling_functions.c
+@@ -742,7 +742,7 @@
+ int i, j;
+ char *tmpfilename;
+
+- if (strncmp(filename, "dir", 3) == 0)
++ if (strncmp(filename, "dir", 3) == 0 && !isalnum(filename[3]))
+ {
+ xfree(buf);
+ return opendirfile(number);
diff --git a/app-text/pinfo/pinfo-0.6.10-r1.ebuild b/app-text/pinfo/pinfo-0.6.10-r2.ebuild
index f94ebe4782e3..2d998e41570a 100644
--- a/app-text/pinfo/pinfo-0.6.10-r1.ebuild
+++ b/app-text/pinfo/pinfo-0.6.10-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.10-r1.ebuild,v 1.1 2010/11/02 20:12:45 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/pinfo/pinfo-0.6.10-r2.ebuild,v 1.1 2011/01/04 16:48:42 jer Exp $
EAPI="2"
@@ -28,7 +28,8 @@ src_prepare() {
"${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch \
"${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch \
"${FILESDIR}"/${P}-version.patch \
- "${FILESDIR}"/${P}-info-suffix.patch
+ "${FILESDIR}"/${P}-info-suffix.patch \
+ "${FILESDIR}"/${P}-dir-file.patch
./autogen.sh || die "autogen"
}