Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=f260117aeb4a96b426647dd5b8b7d09b591b10ae

commit f260117aeb4a96b426647dd5b8b7d09b591b10ae
Author: crazy <cr...@frugalware.org>
Date:   Thu Jan 28 16:09:26 2010 +0100

pstoedit-3.50-2-x86_64
* added patch to fix segfault
* see https://bugzilla.redhat.com/show_bug.cgi?id=507035

diff --git a/source/xlib-extra/pstoedit/FrugalBuild 
b/source/xlib-extra/pstoedit/FrugalBuild
index 70c6b85..d0a2513 100644
--- a/source/xlib-extra/pstoedit/FrugalBuild
+++ b/source/xlib-extra/pstoedit/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=pstoedit
pkgver=3.50
-pkgrel=1
+pkgrel=2
pkgdesc="pstoedit translates PostScript and PDF graphics into other vector 
formats"
depends=('gd' 'plotutils' 'libxaw' 'libsm' 'util-linux-ng' \
'libxcb' 'imagemagick' 'libtiff' 'libtool' 'xghostscript')
@@ -11,8 +11,10 @@ groups=('xlib-extra')
archs=('i686' 'x86_64')
Finclude sourceforge
url="http://www.pstoedit.net/";
+source=($source pstoedit-3.50-plugin-close.patch)
unset MAKEFLAGS
-sha1sums=('5685bef29fa00aae7cc314d3a1dd21612a98eb2b')
+sha1sums=('5685bef29fa00aae7cc314d3a1dd21612a98eb2b' \
+          '54bbe019de66eb4cb8525371462595d21fbd074e')

build()
{
diff --git a/source/xlib-extra/pstoedit/pstoedit-3.50-plugin-close.patch 
b/source/xlib-extra/pstoedit/pstoedit-3.50-plugin-close.patch
new file mode 100644
index 0000000..6787d6a
--- /dev/null
+++ b/source/xlib-extra/pstoedit/pstoedit-3.50-plugin-close.patch
@@ -0,0 +1,14 @@
+http://bugzilla.redhat.com/507035
+
+diff --git a/src/dynload.cpp b/src/dynload.cpp
+index c0db355..7c073ef 100644
+--- a/src/dynload.cpp
++++ b/src/dynload.cpp
+@@ -147,7 +147,6 @@ void DynLoader::close()
+
+ DynLoader::~DynLoader()
+ {
+-      close();
+       libname=0;
+ }
+
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to