From 9f0271c966b8da12c7d15db5abf3105fd0637527 Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Mar 2006 04:15:22 +0000 Subject: Allow the gettext detection to work with NetBSD's base as well. --- graphics/inkscape/distinfo | 3 ++- graphics/inkscape/patches/patch-aa | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 graphics/inkscape/patches/patch-aa (limited to 'graphics') 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 ++ + int + main () + { +-dgettext (); +- ; ++dgettext ("", ""); ++ + return 0; + } + _ACEOF -- cgit v1.2.3