diff options
Diffstat (limited to 'devel/gmake381/files/patch-gettext.c')
-rw-r--r-- | devel/gmake381/files/patch-gettext.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/devel/gmake381/files/patch-gettext.c b/devel/gmake381/files/patch-gettext.c index 51c6300..fd98d7e 100644 --- a/devel/gmake381/files/patch-gettext.c +++ b/devel/gmake381/files/patch-gettext.c @@ -1,8 +1,8 @@ $FreeBSD$ ---- gettext.c 2002/06/06 22:10:23 1.1 -+++ gettext.c 2002/06/06 22:11:09 +--- gettext.c.orig Wed Feb 9 08:02:18 2000 ++++ gettext.c Sun Jul 28 04:22:31 2002 @@ -22,6 +22,10 @@ # include <config.h> #endif @@ -14,3 +14,19 @@ $FreeBSD$ #ifdef __GNUC__ # define alloca __builtin_alloca # define HAVE_ALLOCA 1 +@@ -1294,6 +1298,15 @@ + { + FREE_BLOCKS (block_list); + return added; ++ } ++ if (string_space != new_pool) ++ { ++ size_t i; ++ for (i = 0; i < nmap; i++) ++ { ++ map[i].alias += new_pool - string_space; ++ map[i].value += new_pool - string_space; ++ } + } + string_space = new_pool; + string_space_max = new_size; |