summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-02-15 14:34:20 +0000
committerjoerg <joerg@pkgsrc.org>2007-02-15 14:34:20 +0000
commit088f436b420029360f65e6df4f63badfe37d6351 (patch)
tree492421e30995c7fcaa97e268903ff849d5365452
parent8f97c8a13681adde2312165902ee2f21a60d9705 (diff)
downloadpkgsrc-088f436b420029360f65e6df4f63badfe37d6351.tar.gz
Fix getopt usage, HAVE_GETOPT_H is never defined and unistd.h is enough.
-rw-r--r--graphics/inkscape/distinfo4
-rw-r--r--graphics/inkscape/patches/patch-aa26
2 files changed, 18 insertions, 12 deletions
diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo
index 6288c66bef3..791ad80d47a 100644
--- a/graphics/inkscape/distinfo
+++ b/graphics/inkscape/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.17 2007/02/05 20:20:03 adam Exp $
+$NetBSD: distinfo,v 1.18 2007/02/15 14:34:20 joerg Exp $
SHA1 (inkscape-0.45.tar.gz) = 8a8259509b323277bc47b11d665acec9f2532b79
RMD160 (inkscape-0.45.tar.gz) = 967a9b2b461303a1992c6b0713045990bf73e413
Size (inkscape-0.45.tar.gz) = 13122340 bytes
-SHA1 (patch-aa) = 2e4247a713a5bb28a6fcacb7f32b785d9516a439
+SHA1 (patch-aa) = 595eaa0e71483abe731bc3f69090b0ab5d1d5deb
SHA1 (patch-ac) = 17e0c058f54e862ad0d2f392b2856e4f3f48fc7b
SHA1 (patch-ad) = 4700208bb97c3d09733f2777bb32f973779b06a8
SHA1 (patch-ae) = 2b3f06a545d3cf27f59d41619528c59ac142c758
diff --git a/graphics/inkscape/patches/patch-aa b/graphics/inkscape/patches/patch-aa
index f464eb0990f..7a9b893363a 100644
--- a/graphics/inkscape/patches/patch-aa
+++ b/graphics/inkscape/patches/patch-aa
@@ -1,13 +1,19 @@
-$NetBSD: patch-aa,v 1.9 2007/02/05 20:20:03 adam Exp $
+$NetBSD: patch-aa,v 1.10 2007/02/15 14:34:20 joerg Exp $
---- src/display/nr-filter-gaussian.cpp.orig 2007-02-05 20:56:28.000000000 +0100
-+++ src/display/nr-filter-gaussian.cpp
-@@ -16,8 +16,6 @@
- #include <cmath>
- #include <glib.h>
+--- src/inkview.cpp.orig 2007-02-13 14:01:14.000000000 +0000
++++ src/inkview.cpp
+@@ -31,13 +31,10 @@
+ # include "config.h"
+ #endif
--using std::isnormal;
+-#ifdef HAVE_GETOPT_H
+-#include <getopt.h>
+-#endif
-
- #include "display/nr-filter-primitive.h"
- #include "display/nr-filter-gaussian.h"
- #include "display/nr-filter-types.h"
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <locale.h>
++#include <unistd.h>
+
+ #include <glib/gmem.h>
+ #include <libnr/nr-macros.h>