pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/gettext-lib only include <search.h> if it is pre...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5bd65b717691
branches: trunk
changeset: 485652:5bd65b717691
user: grant <grant%pkgsrc.org@localhost>
date: Sat Dec 18 14:28:04 2004 +0000
description:
only include <search.h> if it is present. fixes build on Darwin.
diffstat:
devel/gettext-lib/distinfo | 3 ++-
devel/gettext-lib/patches/patch-ac | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 2c8cbc49aaaf -r 5bd65b717691 devel/gettext-lib/distinfo
--- a/devel/gettext-lib/distinfo Sat Dec 18 14:26:15 2004 +0000
+++ b/devel/gettext-lib/distinfo Sat Dec 18 14:28:04 2004 +0000
@@ -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 -r 2c8cbc49aaaf -r 5bd65b717691 devel/gettext-lib/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/gettext-lib/patches/patch-ac Sat Dec 18 14:28:04 2004 +0000
@@ -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;
+
Home |
Main Index |
Thread Index |
Old Index