summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/gmake/Makefile2
-rw-r--r--devel/gmake/files/patch-gettext.c20
-rw-r--r--devel/gmake381/Makefile2
-rw-r--r--devel/gmake381/files/patch-gettext.c20
4 files changed, 38 insertions, 6 deletions
diff --git a/devel/gmake/Makefile b/devel/gmake/Makefile
index 2b2e937140ab..a3880293727c 100644
--- a/devel/gmake/Makefile
+++ b/devel/gmake/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gmake
PORTVERSION= 3.79.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= make
diff --git a/devel/gmake/files/patch-gettext.c b/devel/gmake/files/patch-gettext.c
index 51c63003effc..fd98d7e3604d 100644
--- a/devel/gmake/files/patch-gettext.c
+++ b/devel/gmake/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;
diff --git a/devel/gmake381/Makefile b/devel/gmake381/Makefile
index 2b2e937140ab..a3880293727c 100644
--- a/devel/gmake381/Makefile
+++ b/devel/gmake381/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gmake
PORTVERSION= 3.79.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= make
diff --git a/devel/gmake381/files/patch-gettext.c b/devel/gmake381/files/patch-gettext.c
index 51c63003effc..fd98d7e3604d 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;