summaryrefslogtreecommitdiff
path: root/graphics/inkscape
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-07 04:15:22 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-07 04:15:22 +0000
commit9f01bc46d2ce3c23a5712454096844bad9cb4467 (patch)
tree051ba5a2764393b075772ec9f3402beb8433ee22 /graphics/inkscape
parentb1fdc71eceff924dae596d5cba11ca6fb70c082e (diff)
downloadpkgsrc-9f01bc46d2ce3c23a5712454096844bad9cb4467.tar.gz
Allow the gettext detection to work with NetBSD's base as well.
Diffstat (limited to 'graphics/inkscape')
-rw-r--r--graphics/inkscape/distinfo3
-rw-r--r--graphics/inkscape/patches/patch-aa26
2 files changed, 28 insertions, 1 deletions
diff --git a/graphics/inkscape/distinfo b/graphics/inkscape/distinfo
index 895530b864d..6c17d74b1f4 100644
--- a/graphics/inkscape/distinfo
+++ b/graphics/inkscape/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2005/12/04 13:51:38 uebayasi Exp $
+$NetBSD: distinfo,v 1.10 2006/03/07 04:15:22 joerg Exp $
SHA1 (inkscape-0.43.tar.bz2) = b7e93f2ceea795ee434f70261ba19e67985fc292
RMD160 (inkscape-0.43.tar.bz2) = bcb41e008a3c1a9f5d4f7ee793de5b92f106044e
Size (inkscape-0.43.tar.bz2) = 6244558 bytes
+SHA1 (patch-aa) = 769d88d8aca1f462cdeff40e44fa3577fdf4b681
diff --git a/graphics/inkscape/patches/patch-aa b/graphics/inkscape/patches/patch-aa
new file mode 100644
index 00000000000..8335921acd6
--- /dev/null
+++ b/graphics/inkscape/patches/patch-aa
@@ -0,0 +1,26 @@
+$NetBSD: patch-aa,v 1.7 2006/03/07 04:15:22 joerg Exp $
+
+--- configure.orig 2006-03-07 02:34:46.000000000 +0000
++++ configure
+@@ -21790,17 +21790,13 @@ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+ /* Override any gcc2 internal prototype to avoid an error. */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-/* We use char because int might match the return type of a gcc2
+- builtin and then its argument prototype would still apply. */
+-char dgettext ();
++#include <libintl.h>
++
+ int
+ main ()
+ {
+-dgettext ();
+- ;
++dgettext ("", "");
++
+ return 0;
+ }
+ _ACEOF