diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-07 04:15:22 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-07 04:15:22 +0000 |
commit | 45dc23c820a6b6ba689412f07026d008250d3176 (patch) | |
tree | 051ba5a2764393b075772ec9f3402beb8433ee22 | |
parent | f0b8dc614a457276b4a6c23dabb480d84c04760f (diff) | |
download | pkgsrc-45dc23c820a6b6ba689412f07026d008250d3176.tar.gz |
Allow the gettext detection to work with NetBSD's base as well.
-rw-r--r-- | graphics/inkscape/distinfo | 3 | ||||
-rw-r--r-- | graphics/inkscape/patches/patch-aa | 26 |
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 |