From: Bruno Haible Date: Tue, 18 Feb 2003 19:52:56 +0000 (+0000) Subject: Portability to Solaris. X-Git-Tag: v0.12~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bb1032d380a3db820680a50cdb8bfcbd30e70da;p=thirdparty%2Fgettext.git Portability to Solaris. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 5441e59f2..c94c5d8ba 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,9 @@ +2003-02-18 Bruno Haible + + * message.c (msgdomain_list_free): Uncomment this function. + * Makefile.am (libgettextpo_la_LDFLAGS): Add ../lib/libgettextlib.la. + Needed for Solaris 2.7. + 2003-02-16 Bruno Haible * msgmerge.c (message_merge): Add support for Report-Msgid-Bugs-To diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am index 412f95371..074391afe 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -146,10 +146,11 @@ install-exec-clean: # How to build libgettextpo.la. # Need libgettextsrc.la. +# Need ../lib/libgettextlib.la because of xmalloc. libgettextpo_la_LDFLAGS = \ -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \ -rpath $(libdir) \ - libgettextsrc.la -lc -no-undefined + libgettextsrc.la ../lib/libgettextlib.la -lc -no-undefined # Link dependencies. msgcmp_LDADD = libgettextsrc.la diff --git a/gettext-tools/src/message.c b/gettext-tools/src/message.c index d49d0ca35..2b9bc575d 100644 --- a/gettext-tools/src/message.c +++ b/gettext-tools/src/message.c @@ -1,5 +1,5 @@ /* GNU gettext - internationalization aids - Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc. + Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc. This file was written by Peter Miller @@ -528,7 +528,6 @@ msgdomain_list_alloc (bool use_hashtable) } -#if 0 /* unused */ void msgdomain_list_free (msgdomain_list_ty *mdlp) { @@ -540,7 +539,6 @@ msgdomain_list_free (msgdomain_list_ty *mdlp) free (mdlp->item); free (mdlp); } -#endif void