summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-08-14 00:11:59 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-08-14 00:11:59 +0000
commit3c936213aa90aa287484b8efa155d044d8f3d45f (patch)
treee5b7528f1aeac67c0e062dd1d74920f920a2553f /media-gfx/iscan
parentFixing build against glibc 2.10 , Patch thanks to Martin Väth <vaeth@mathema... (diff)
downloadgentoo-2-3c936213aa90aa287484b8efa155d044d8f3d45f.tar.gz
gentoo-2-3c936213aa90aa287484b8efa155d044d8f3d45f.tar.bz2
gentoo-2-3c936213aa90aa287484b8efa155d044d8f3d45f.zip
Fixing typo in the glibc 2.10 patch
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'media-gfx/iscan')
-rw-r--r--media-gfx/iscan/ChangeLog6
-rw-r--r--media-gfx/iscan/files/iscan-2.11.0-glibc210.patch2
2 files changed, 6 insertions, 2 deletions
diff --git a/media-gfx/iscan/ChangeLog b/media-gfx/iscan/ChangeLog
index e8e08d5b447f..81c3acc69c02 100644
--- a/media-gfx/iscan/ChangeLog
+++ b/media-gfx/iscan/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/iscan
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan/ChangeLog,v 1.31 2009/08/14 00:05:08 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/iscan/ChangeLog,v 1.32 2009/08/14 00:11:59 vostorga Exp $
+
+ 14 Aug 2009; Víctor Ostorga <vostorga@gentoo.org>
+ files/iscan-2.11.0-glibc210.patch:
+ Fixing typo in the glibc 2.10 patch
14 Aug 2009; Víctor Ostorga <vostorga@gentoo.org> iscan-2.11.0.ebuild,
+files/iscan-2.11.0-glibc210.patch:
diff --git a/media-gfx/iscan/files/iscan-2.11.0-glibc210.patch b/media-gfx/iscan/files/iscan-2.11.0-glibc210.patch
index e5e3cfaf6317..0b02e5a17365 100644
--- a/media-gfx/iscan/files/iscan-2.11.0-glibc210.patch
+++ b/media-gfx/iscan/files/iscan-2.11.0-glibc210.patch
@@ -73,7 +73,7 @@
+ strcpy( dirname, s.c_str());
- *slash = '^'; // re-anchor the regexp
-+ s = std::string("^") + slash; // re-anchor the regexp
++ s = std::string("^") + (slash + 1); // re-anchor the regexp
regex_t *comp_regex = new regex_t;
- int comp = regcomp( comp_regex, slash, REG_EXTENDED );