Added a patch to prevent segfaults whilst searching on x86-fbsd
authorPeter Weller <welp@gentoo.org>
Thu, 25 Jan 2007 22:09:24 +0000 (22:09 +0000)
committerPeter Weller <welp@gentoo.org>
Thu, 25 Jan 2007 22:09:24 +0000 (22:09 +0000)
Package-Manager: portage-2.1.2-r4

app-text/epdfview/ChangeLog
app-text/epdfview/Manifest
app-text/epdfview/epdfview-0.1.5.ebuild
app-text/epdfview/files/search_fix.patch [new file with mode: 0644]

index d5a191771fffe4c3e697542f2561561dc7fd4109..2a5cf695829a9551685696014e5e39b22319dbf4 100644 (file)
@@ -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...
index 4351b6370040087442a16b66dcf41dba04249696..34aa0e8580fa62f9d20fa8493a6ba5ed551f01a0 100644 (file)
@@ -1,12 +1,16 @@
+AUX search_fix.patch 288 RMD160 064dbe9e0a017a47467addd491a6769072b056c3 SHA1 a994a64a51f1a09c07ec024f79c2a7528ef1166d SHA256 4cdedd93287df631cc0785f5b87fc840a5928a7c20edca23f6378d02981d3d91
+MD5 ef440fcc3a01f367e736bdfca06a2092 files/search_fix.patch 288
+RMD160 064dbe9e0a017a47467addd491a6769072b056c3 files/search_fix.patch 288
+SHA256 4cdedd93287df631cc0785f5b87fc840a5928a7c20edca23f6378d02981d3d91 files/search_fix.patch 288
 DIST epdfview-0.1.5.tar.bz2 392460 RMD160 e72e18205af8beaf2d47e7ef28b13e8f45c9a030 SHA1 5b2abd3d0a35ac9cadc6f531e23d8d4a03020486 SHA256 d437b49f40f61e3ba5a3ed8edad783895dcbdfc3cd4cbe6ef37a56f7eea59573
-EBUILD epdfview-0.1.5.ebuild 1214 RMD160 6f6e497a83a9ee31b01eeb297814ebb5613ed496 SHA1 9a285237f72fabe32bb149bbeb90c6a58e0a2e88 SHA256 ade3b534fe47617cc212e2e306bc45d2f2d011b04101b37159a6179f11a97a9b
-MD5 67bcad5fdd700441210aca078cbc7bcb epdfview-0.1.5.ebuild 1214
-RMD160 6f6e497a83a9ee31b01eeb297814ebb5613ed496 epdfview-0.1.5.ebuild 1214
-SHA256 ade3b534fe47617cc212e2e306bc45d2f2d011b04101b37159a6179f11a97a9b epdfview-0.1.5.ebuild 1214
-MISC ChangeLog 918 RMD160 5a5d992dc2b673867a496e3200badbe940c5fde8 SHA1 66414f64cba2bc7e67629548d6e9a54df52b7a6d SHA256 39202cd942ee02ca0d329f20eb583d4f32d862313232253229ffccacc4e2f82c
-MD5 d0279fe1b76f6dd385925aed66dbfb08 ChangeLog 918
-RMD160 5a5d992dc2b673867a496e3200badbe940c5fde8 ChangeLog 918
-SHA256 39202cd942ee02ca0d329f20eb583d4f32d862313232253229ffccacc4e2f82c ChangeLog 918
+EBUILD epdfview-0.1.5.ebuild 1294 RMD160 a206a91d5dc802546925f4d82299d2fb4e244cfb SHA1 5ec6ca29cea5f5d22117ef254a954439b35cd9f4 SHA256 a4546b48940d493405464eff135cc9b328935169e2609f7b96e01d346feeb8ac
+MD5 f1411f93d6364f76ce6e41e3c1ee4b59 epdfview-0.1.5.ebuild 1294
+RMD160 a206a91d5dc802546925f4d82299d2fb4e244cfb epdfview-0.1.5.ebuild 1294
+SHA256 a4546b48940d493405464eff135cc9b328935169e2609f7b96e01d346feeb8ac epdfview-0.1.5.ebuild 1294
+MISC ChangeLog 1081 RMD160 db5fe7ba2ae4806a664ffb9395c9290a97c30819 SHA1 c80343ad47254601f6e15bddf2f1c787e9997a33 SHA256 6fb3509230d75cc57256b082f629ed87ba3833c0dbcac45c4d7a7b0f397033e2
+MD5 a3783cc7f7980f09247d914dc76ec117 ChangeLog 1081
+RMD160 db5fe7ba2ae4806a664ffb9395c9290a97c30819 ChangeLog 1081
+SHA256 6fb3509230d75cc57256b082f629ed87ba3833c0dbcac45c4d7a7b0f397033e2 ChangeLog 1081
 MISC metadata.xml 261 RMD160 d7402790ace8682765c391e69958c501aca805d2 SHA1 d823ac849b4abdebaa2ac8cc9d2116cd4e4e3316 SHA256 aba81eff1db4e2a1fc21cfd833c6173d6cca1e0c981e7bb135b628e32eabeb7d
 MD5 6063f961f19f9e177c7f5a886de4b75a metadata.xml 261
 RMD160 d7402790ace8682765c391e69958c501aca805d2 metadata.xml 261
index ea4f07dc299db297fa47c02c030899841b66bae1..c107f08c32de8c421862e913731fea04656a1cf7 100644 (file)
@@ -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 (file)
index 0000000..b72189b
--- /dev/null
@@ -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);