summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Weller <welp@gentoo.org>2007-01-25 22:09:24 +0000
committerPeter Weller <welp@gentoo.org>2007-01-25 22:09:24 +0000
commitcb0486a5266d8184f3530607bd62f7bd32586d24 (patch)
tree17c58bed19f14fe0b51108dbbb20dc85e54d1263 /app-text/epdfview
parentsave and restore shell options, thanks to Sandro in bug Â#162121 (diff)
downloadgentoo-2-cb0486a5266d8184f3530607bd62f7bd32586d24.tar.gz
gentoo-2-cb0486a5266d8184f3530607bd62f7bd32586d24.tar.bz2
gentoo-2-cb0486a5266d8184f3530607bd62f7bd32586d24.zip
Added a patch to prevent segfaults whilst searching on x86-fbsd
(Portage version: 2.1.2-r4)
Diffstat (limited to 'app-text/epdfview')
-rw-r--r--app-text/epdfview/ChangeLog6
-rw-r--r--app-text/epdfview/epdfview-0.1.5.ebuild9
-rw-r--r--app-text/epdfview/files/search_fix.patch10
3 files changed, 23 insertions, 2 deletions
diff --git a/app-text/epdfview/ChangeLog b/app-text/epdfview/ChangeLog
index d5a191771fff..2a5cf695829a 100644
--- a/app-text/epdfview/ChangeLog
+++ b/app-text/epdfview/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/epdfview
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/ChangeLog,v 1.6 2007/01/24 20:21:11 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/ChangeLog,v 1.7 2007/01/25 22:09:24 welp Exp $
+
+ 25 Jan 2007; Peter Weller <welp@gentoo.org> +files/search_fix.patch,
+ epdfview-0.1.5.ebuild:
+ Added a patch to prevent segfaults whilst searching on x86-fbsd
24 Jan 2007; Peter Weller <welp@gentoo.org> epdfview-0.1.5.ebuild:
Removed ~x86-fbsd keyword due to segfaults whilst searching...
diff --git a/app-text/epdfview/epdfview-0.1.5.ebuild b/app-text/epdfview/epdfview-0.1.5.ebuild
index ea4f07dc299d..c107f08c32de 100644
--- a/app-text/epdfview/epdfview-0.1.5.ebuild
+++ b/app-text/epdfview/epdfview-0.1.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/epdfview-0.1.5.ebuild,v 1.6 2007/01/24 20:21:11 welp Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/epdfview/epdfview-0.1.5.ebuild,v 1.7 2007/01/25 22:09:24 welp Exp $
inherit eutils
@@ -30,6 +30,13 @@ pkg_setup() {
fi
}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch ${FILESDIR}/search_fix.patch
+}
+
src_compile() {
econf \
$(use_enable cups) \
diff --git a/app-text/epdfview/files/search_fix.patch b/app-text/epdfview/files/search_fix.patch
new file mode 100644
index 000000000000..b72189b10b05
--- /dev/null
+++ b/app-text/epdfview/files/search_fix.patch
@@ -0,0 +1,10 @@
+--- src/MainPter.cxx.orig Tue Aug 8 09:28:54 2006
++++ src/MainPter.cxx Tue Aug 8 09:29:35 2006
+@@ -52,6 +52,7 @@
+ m_Document->attach (this);
+ m_View = NULL;
+ m_PagePter = NULL;
++ m_FindPter = NULL;
+ m_PasswordTries = 3;
+ #if defined (DEBUG)
+ G_LOCK (fileLoaded);