summaryrefslogtreecommitdiff
path: root/graphics/inkscape/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/inkscape/patches/patch-aa')
-rw-r--r--graphics/inkscape/patches/patch-aa26
1 files changed, 26 insertions, 0 deletions
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