diff options
author | grant <grant> | 2004-12-18 14:28:04 +0000 |
---|---|---|
committer | grant <grant> | 2004-12-18 14:28:04 +0000 |
commit | 38fa33bd746e300f65dd26bbbafce061c1558159 (patch) | |
tree | fddb4059c9c8440606aa677a49c32fb57cc8d8e2 | |
parent | da501169749f37e42bf4ebe96ce56b651091c490 (diff) | |
download | pkgsrc-38fa33bd746e300f65dd26bbbafce061c1558159.tar.gz |
only include <search.h> if it is present. fixes build on Darwin.
-rw-r--r-- | devel/gettext-lib/distinfo | 3 | ||||
-rw-r--r-- | devel/gettext-lib/patches/patch-ac | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/gettext-lib/distinfo b/devel/gettext-lib/distinfo index 5b1b95b6400..5a21c807c3a 100644 --- a/devel/gettext-lib/distinfo +++ b/devel/gettext-lib/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.7 2004/04/20 19:50:35 tv Exp $ +$NetBSD: distinfo,v 1.8 2004/12/18 14:28:04 grant Exp $ SHA1 (gettext-0.11.5.tar.gz) = 4d17534afac106bc0f2310a9fd77a291d433234b Size (gettext-0.11.5.tar.gz) = 3724099 bytes SHA1 (patch-aa) = f246e85f695e5999aac270e7e5f2cceb31e7b7ed SHA1 (patch-ab) = 421d2de8f375bc28fca1b6ed4672e89317f44935 +SHA1 (patch-ac) = f594c03c3d43df19c5fc27efbea6b87b7d54aaeb diff --git a/devel/gettext-lib/patches/patch-ac b/devel/gettext-lib/patches/patch-ac new file mode 100644 index 00000000000..f9f9918e4b8 --- /dev/null +++ b/devel/gettext-lib/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2004/12/18 14:28:04 grant Exp $ + +--- intl/dcigettext.c.orig 2002-07-23 22:27:52.000000000 +1000 ++++ intl/dcigettext.c +@@ -234,7 +234,9 @@ struct known_translation_t + /* Root of the search tree with known translations. We can use this + only if the system provides the `tsearch' function family. */ + #if defined HAVE_TSEARCH || defined _LIBC +-# include <search.h> ++# if defined HAVE_SEARCH_H ++# include <search.h> ++# endif + + static void *root; + |