summaryrefslogtreecommitdiff
path: root/graphics/pstoedit/patches
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2009-03-10 03:29:37 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2009-03-10 03:29:37 +0000
commit83703ff8af3e46a490645bf03a60b02579fa229c (patch)
treefedde8e09ef8366d2c4089bd6be04939acebdba9 /graphics/pstoedit/patches
parent536357ea83deb6c4433062bb019895b2d8e33901 (diff)
downloadpkgsrc-83703ff8af3e46a490645bf03a60b02579fa229c.tar.gz
update to pstoedit-3.45
New or changed in 3.45: * Some minor corrections of warnings issued by Coverity Prevent (security related checks). * fixed a bug in the fig backend related to dotted lines. * added better support for pagesize handling in the driver framework. * better handling of fonts using 0 encoded characters (thanks to Vladimir Eltsov) * fixed a problem which caused newer versions of GhostScript to go into an endless loop. New or changed in 3.44: * hotfix for the Aysmptote driver to make it compatible with Aysmptote version 1.00. * removed some diagnostic messages concerning temporary file handling. * removed the pstoedit-config.* since this is replaced by the pkg-config file pstoedit.pc. New or changed in 3.43: * some usability improvements as proposed in Debian Bug Report #347732 [1]http://groups.google.com/group/linux.debian.bugs.dist/msg/c38e1f 79d75b3152?dmode=source&hl=de * cleaned some minor problems found by the Klocwork checker ([2]www.klocwork.com ) * replaced tempnam with mkstemp where available. * replaced several string related functions with the secure versions where available (Windows - VC++2005) * switched back again to calling GhostScript as .exe instead of via the DLL in case pstoedit is called via gsview. Reason - there can be only one instance of GhostScript per process and gsview needs a second instance. * a new driver for the OpenOffice metafile format (drvsvm) contributed by Thorsten Behrens. * source code cleanup considering messages issued by Gimpel's FlexeLint/PC-Lint ([3]www.gimpel.com ). * added a "-glyphs" option. Given this option, the PostScript frontend passes also (if possible) the glyph names to the backend. However, so far no backend really uses the glyph names. This is only a preparation for future work. * changed the way how Image/Graphicmagick is handled by configure. Now configure tries to use pkg-config as proposed by the maintainer of the Debian version of pstoedit (Ray Dassen). * included a further patch for the Aysmptote driver.
Diffstat (limited to 'graphics/pstoedit/patches')
-rw-r--r--graphics/pstoedit/patches/patch-aa19
-rw-r--r--graphics/pstoedit/patches/patch-ab13
-rw-r--r--graphics/pstoedit/patches/patch-ac20
-rw-r--r--graphics/pstoedit/patches/patch-ba32
4 files changed, 43 insertions, 41 deletions
diff --git a/graphics/pstoedit/patches/patch-aa b/graphics/pstoedit/patches/patch-aa
index 6db2ab55b39..badda39ce03 100644
--- a/graphics/pstoedit/patches/patch-aa
+++ b/graphics/pstoedit/patches/patch-aa
@@ -1,12 +1,13 @@
-$NetBSD: patch-aa,v 1.4 2005/12/28 17:27:28 joerg Exp $
+$NetBSD: patch-aa,v 1.5 2009/03/10 03:29:37 dmcmahill Exp $
---- src/drvasy.cpp.orig 2005-12-28 17:12:36.000000000 +0000
-+++ src/drvasy.cpp
-@@ -37,6 +37,7 @@
+--- src/Makefile.am.orig 2007-07-08 10:52:54.000000000 +0000
++++ src/Makefile.am
+@@ -103,7 +103,7 @@ libpstoedit_la_SOURCES = \
+ genericints.h \
+ version.h
- #include <limits.h> // PATH_MAX for MSVC
- #include <ctype.h> // Need definition of ispunct()
-+#include <unistd.h> // Need defintion of mkstemp()
- #include <sstream>
+-libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl
++libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB}
+ libpstoedit_la_LDFLAGS = -no-undefined
- #if !(defined(unix) || defined(__unix__) || defined(_unix) || defined(__unix) || defined(__EMX__) || defined (NetBSD) )
+ pstoedit_SOURCES = cmdmain.cpp
diff --git a/graphics/pstoedit/patches/patch-ab b/graphics/pstoedit/patches/patch-ab
new file mode 100644
index 00000000000..9daa14c15b9
--- /dev/null
+++ b/graphics/pstoedit/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.5 2009/03/10 03:29:37 dmcmahill Exp $
+
+--- src/Makefile.in.orig 2007-09-09 16:07:30.000000000 +0000
++++ src/Makefile.in
+@@ -358,7 +358,7 @@ libpstoedit_la_SOURCES = \
+ genericints.h \
+ version.h
+
+-libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB} -ldl
++libpstoedit_la_LIBADD = ${CXX_STD_LIB} ${CXX_RUNTIME_LIB}
+ libpstoedit_la_LDFLAGS = -no-undefined
+ pstoedit_SOURCES = cmdmain.cpp
+ pstoedit_LDFLAGS = -no-undefined -L. libpstoedit.la ${LIBLD_LDFLAGS}
diff --git a/graphics/pstoedit/patches/patch-ac b/graphics/pstoedit/patches/patch-ac
new file mode 100644
index 00000000000..b94378d8af7
--- /dev/null
+++ b/graphics/pstoedit/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.5 2009/03/10 03:29:37 dmcmahill Exp $
+
+Avoid this:
+
+/usr/pkgsrc/graphics/pstoedit/work/.buildlink/include/ImageMagick/magick/magick-type.h:120: error: ISO C++ does not support 'long long'
+/usr/pkgsrc/graphics/pstoedit/work/.buildlink/include/ImageMagick/magick/magick-type.h:121: error: ISO C++ does not support 'long long'
+
+on alpha (and probably others)
+
+--- configure.orig 2007-08-10 20:26:10.000000000 +0000
++++ configure
+@@ -22282,7 +22282,7 @@ echo "${ECHO_T}GNU on RiscOS" >&6; }
+ else
+ { echo "$as_me:$LINENO: result: GNU" >&5
+ echo "${ECHO_T}GNU" >&6; }
+- SPECIAL_CXXFLAGS="-DBUGGYGPP -pedantic -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith "
++ SPECIAL_CXXFLAGS="-DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith "
+ fi
+ CXXFLAGS="-g"
+ elif test `echo "$CXX" | egrep -c 'xlC$'` -eq 1; then
diff --git a/graphics/pstoedit/patches/patch-ba b/graphics/pstoedit/patches/patch-ba
deleted file mode 100644
index 017de804103..00000000000
--- a/graphics/pstoedit/patches/patch-ba
+++ /dev/null
@@ -1,32 +0,0 @@
-$NetBSD: patch-ba,v 1.1 2005/08/12 19:29:29 drochner Exp $
-
---- src/drvlatex2e.cpp.orig 2005-08-09 14:29:27.000000000 +0200
-+++ src/drvlatex2e.cpp
-@@ -284,27 +284,6 @@ void drvLATEX2E::show_text(const TextInf
- const char * cp = textinfo.thetext.value();
- //buffer << textinfo.thetext.value()
-
--#if 0
--// characters to be handled specially
--% -> \%
--# -> \#
--{ -> \{
--} -> \}
--_ -> \_
--& -> \&
--$ -> \$
-- Tritt auch manchmal mit veränderter Bedeutung als $$ auf: --> \$\$
--
--\ -> \textbackslash
--^ -> \textasciicircum
--~ -> \textasciitilde
--
--Zusätzlich machen folgende Zeichen oft Probleme:
--
--" -> \textquotedblright
--?`-> \textquestiondown
--!`-> \textexclamdown
--#endif
- while (cp && *cp) {
- if ((*cp == '%') ||
- (*cp == '#') ||