diff options
author | kristerw <kristerw> | 2004-02-27 21:14:08 +0000 |
---|---|---|
committer | kristerw <kristerw> | 2004-02-27 21:14:08 +0000 |
commit | 18eccc6aaa5f1bab440a592c3067dd3e38fc06c1 (patch) | |
tree | 196eae7fdb8929a905becd1ec8ac74d79f8a49aa /print | |
parent | 3781b383775910d8f61d46081b7a109acdd67fe1 (diff) | |
download | pkgsrc-18eccc6aaa5f1bab440a592c3067dd3e38fc06c1.tar.gz |
The <cmath> header in NetBSD 1.6 is buggy in that it undefines NULL.
Include <cmath> before the other headers, to make sure that NULL
can be used later in the files.
Diffstat (limited to 'print')
-rw-r--r-- | print/scribus/distinfo | 4 | ||||
-rw-r--r-- | print/scribus/patches/patch-ad | 17 | ||||
-rw-r--r-- | print/scribus/patches/patch-ae | 20 |
3 files changed, 40 insertions, 1 deletions
diff --git a/print/scribus/distinfo b/print/scribus/distinfo index cd32d0f89d4..0836c8a33fa 100644 --- a/print/scribus/distinfo +++ b/print/scribus/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.3 2003/11/19 11:54:48 agc Exp $ +$NetBSD: distinfo,v 1.4 2004/02/27 21:14:08 kristerw Exp $ SHA1 (scribus-1.1.1.tar.gz) = 640e1007fd0b16c1b4f797910d8628b2be0923a2 Size (scribus-1.1.1.tar.gz) = 2053257 bytes SHA1 (patch-aa) = 74c57344608436ab449f042016495d6895c80f76 SHA1 (patch-ab) = d2430e5b81c2ff00390f8135a753ce6a40653af7 SHA1 (patch-ac) = c874f71ca7d93ece073a11e73cb6ef54c62f968d +SHA1 (patch-ad) = 5c8e0cdacd63ce38a15bcb94c3473d531bb4b836 +SHA1 (patch-ae) = fa4f8e30c2492686ab4fb631910a07bf5e1dae3f diff --git a/print/scribus/patches/patch-ad b/print/scribus/patches/patch-ad new file mode 100644 index 00000000000..0cf5f94ff5e --- /dev/null +++ b/print/scribus/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.1 2004/02/27 21:14:08 kristerw Exp $ + +--- scribus/plugins/svgimplugin/svgplugin.cpp.orig Fri Feb 27 21:24:53 2004 ++++ scribus/plugins/svgimplugin/svgplugin.cpp Fri Feb 27 21:25:07 2004 +@@ -1,3 +1,4 @@ ++#include <cmath> + #include "svgplugin.h" + #include "svgplugin.moc" + #include "config.h" +@@ -7,7 +8,6 @@ + #include <qfile.h> + #include <qtextstream.h> + #include <qregexp.h> +-#include <cmath> + #ifdef HAVE_LIBZ + #include <zlib.h> + #endif diff --git a/print/scribus/patches/patch-ae b/print/scribus/patches/patch-ae new file mode 100644 index 00000000000..189d42079d4 --- /dev/null +++ b/print/scribus/patches/patch-ae @@ -0,0 +1,20 @@ +$NetBSD: patch-ae,v 1.1 2004/02/27 21:14:08 kristerw Exp $ + +--- scribus/scribusXml.cpp.orig Fri Feb 27 21:30:26 2004 ++++ scribus/scribusXml.cpp Fri Feb 27 21:30:45 2004 +@@ -5,6 +5,7 @@ + copyright : (C) 2001 by Christian Töpp + email : christian.toepp@mr-ct@gmx.de + ***************************************************************************/ ++#include <cmath> + #include "scribusXml.h" + #include "scribusXml.moc" + #include <qfile.h> +@@ -17,7 +18,6 @@ + #include <qdir.h> + #include <qtextcodec.h> + #include <cstdlib> +-#include <cmath> + #include "missing.h" + #include "config.h" + #ifdef HAVE_LIBZ |