aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/bison-devel/Makefile5
-rw-r--r--devel/bison-devel/distinfo2
-rw-r--r--devel/bison-devel/files/patch-getargs.c28
-rw-r--r--devel/bison-devel/files/patch-reader.c33
-rw-r--r--devel/bison/Makefile5
-rw-r--r--devel/bison/distinfo2
-rw-r--r--devel/bison/files/patch-getargs.c28
-rw-r--r--devel/bison/files/patch-reader.c33
-rw-r--r--devel/bison175/Makefile5
-rw-r--r--devel/bison175/distinfo2
-rw-r--r--devel/bison175/files/patch-getargs.c28
-rw-r--r--devel/bison175/files/patch-reader.c33
-rw-r--r--devel/bison1875/Makefile5
-rw-r--r--devel/bison1875/distinfo2
-rw-r--r--devel/bison1875/files/patch-getargs.c28
-rw-r--r--devel/bison1875/files/patch-reader.c33
-rw-r--r--devel/bison2/Makefile5
-rw-r--r--devel/bison2/distinfo2
-rw-r--r--devel/bison2/files/patch-getargs.c28
-rw-r--r--devel/bison2/files/patch-reader.c33
-rw-r--r--devel/bison20/Makefile5
-rw-r--r--devel/bison20/distinfo2
-rw-r--r--devel/bison20/files/patch-getargs.c28
-rw-r--r--devel/bison20/files/patch-reader.c33
24 files changed, 204 insertions, 204 deletions
diff --git a/devel/bison-devel/Makefile b/devel/bison-devel/Makefile
index ab0f25b2a7d..233ff057106 100644
--- a/devel/bison-devel/Makefile
+++ b/devel/bison-devel/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= bison
-PORTVERSION= 1.28
-PORTEPOCH= 1
+PORTVERSION= 1.30
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bison
@@ -21,7 +20,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl" \
MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
diff --git a/devel/bison-devel/distinfo b/devel/bison-devel/distinfo
index bf42a21c542..39add6c3c6a 100644
--- a/devel/bison-devel/distinfo
+++ b/devel/bison-devel/distinfo
@@ -1 +1 @@
-MD5 (bison-1.28.tar.gz) = 4afb3989f2270043c47c3daa1fa7ffab
+MD5 (bison-1.30.tar.gz) = 9f86a4166cf9146d0db1ec9a663d7d81
diff --git a/devel/bison-devel/files/patch-getargs.c b/devel/bison-devel/files/patch-getargs.c
index a08818ef5ca..60c244d3ca7 100644
--- a/devel/bison-devel/files/patch-getargs.c
+++ b/devel/bison-devel/files/patch-getargs.c
@@ -1,18 +1,18 @@
---- src/getargs.c.orig Mon Jun 14 15:19:05 1999
-+++ src/getargs.c Mon Jan 17 03:38:56 2000
-@@ -31,6 +31,7 @@
- int noparserflag = 0;
- int toknumflag = 0;
- int rawtoknumflag = 0;
+--- src/getargs.c.orig Sun Sep 23 02:08:44 2001
++++ src/getargs.c Sun Sep 23 02:09:27 2001
+@@ -35,6 +35,7 @@
+ int statistics_flag = 0;
+ int yacc_flag = 0; /* for -y */
+ int graph_flag = 0;
+int broken_undeftoken_init;
- char *spec_name_prefix; /* for -p. */
- char *spec_file_prefix; /* for -b. */
- extern int fixed_outfiles;/* for -y */
-@@ -44,6 +45,7 @@
- struct option longopts[] =
+ const char *skeleton = NULL;
+
+@@ -42,6 +43,7 @@
+ const char *shortopts = "yvgdhrltknVo:b:p:S:";
+ static struct option longopts[] =
{
+ {"broken-undeftoken-init", 0, &broken_undeftoken_init, 1},
- {"debug", 0, &debugflag, 1},
- {"defines", 0, &definesflag, 1},
- {"file-prefix", 1, 0, 'b'},
+ /* Operation modes. */
+ {"help", no_argument, 0, 'h'},
+ {"version", no_argument, 0, 'V'},
diff --git a/devel/bison-devel/files/patch-reader.c b/devel/bison-devel/files/patch-reader.c
index 29e1146a7e1..4e0460a0ebe 100644
--- a/devel/bison-devel/files/patch-reader.c
+++ b/devel/bison-devel/files/patch-reader.c
@@ -1,22 +1,23 @@
---- src/reader.c.orig Mon Jun 14 15:19:05 1999
-+++ src/reader.c Mon Jan 17 03:38:56 2000
-@@ -44,6 +44,7 @@
- int rline_allocated;
+--- src/reader.c.orig Sun Sep 23 02:10:06 2001
++++ src/reader.c Sun Sep 23 02:08:08 2001
+@@ -65,6 +65,8 @@
- extern char *program_name;
+ static bucket *errtoken;
+ static bucket *undeftoken;
++
+extern int broken_undeftoken_init;
- extern int definesflag;
- extern int nolinesflag;
- extern int noparserflag;
-@@ -199,7 +200,10 @@
- /* it is always token number 2. */
- undeftoken = getsym("$undefined.");
- undeftoken->class = STOKEN;
+
+
+ /*===================\
+@@ -1959,7 +1961,10 @@
+ It is always token number 2. */
+ undeftoken = getsym ("$undefined.");
+ undeftoken->class = token_sym;
- undeftoken->user_token_number = 2;
-+ /* XXX ``broken_undeftoken_init'' makes Bison 1.28 bug-compatable
++ /* XXX ``broken_undeftoken_init'' makes Bison 1.29 bug-compatable
+ with Bison 1.25. FreeBSD depends on this behavior when compiling
+ EGCS-1.1.2's cc1plus. */
+ undeftoken->user_token_number = broken_undeftoken_init ? 0 : 2;
- /* Read the declaration section. Copy %{ ... %} groups to ftable and fdefines file.
- Also notice any %token, %left, etc. found there. */
- if (noparserflag)
+
+ /* Read the declaration section. Copy %{ ... %} groups to
+ TABLE_OBSTACK and FDEFINES file. Also notice any %token, %left,
diff --git a/devel/bison/Makefile b/devel/bison/Makefile
index ab0f25b2a7d..233ff057106 100644
--- a/devel/bison/Makefile
+++ b/devel/bison/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= bison
-PORTVERSION= 1.28
-PORTEPOCH= 1
+PORTVERSION= 1.30
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bison
@@ -21,7 +20,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl" \
MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
diff --git a/devel/bison/distinfo b/devel/bison/distinfo
index bf42a21c542..39add6c3c6a 100644
--- a/devel/bison/distinfo
+++ b/devel/bison/distinfo
@@ -1 +1 @@
-MD5 (bison-1.28.tar.gz) = 4afb3989f2270043c47c3daa1fa7ffab
+MD5 (bison-1.30.tar.gz) = 9f86a4166cf9146d0db1ec9a663d7d81
diff --git a/devel/bison/files/patch-getargs.c b/devel/bison/files/patch-getargs.c
index a08818ef5ca..60c244d3ca7 100644
--- a/devel/bison/files/patch-getargs.c
+++ b/devel/bison/files/patch-getargs.c
@@ -1,18 +1,18 @@
---- src/getargs.c.orig Mon Jun 14 15:19:05 1999
-+++ src/getargs.c Mon Jan 17 03:38:56 2000
-@@ -31,6 +31,7 @@
- int noparserflag = 0;
- int toknumflag = 0;
- int rawtoknumflag = 0;
+--- src/getargs.c.orig Sun Sep 23 02:08:44 2001
++++ src/getargs.c Sun Sep 23 02:09:27 2001
+@@ -35,6 +35,7 @@
+ int statistics_flag = 0;
+ int yacc_flag = 0; /* for -y */
+ int graph_flag = 0;
+int broken_undeftoken_init;
- char *spec_name_prefix; /* for -p. */
- char *spec_file_prefix; /* for -b. */
- extern int fixed_outfiles;/* for -y */
-@@ -44,6 +45,7 @@
- struct option longopts[] =
+ const char *skeleton = NULL;
+
+@@ -42,6 +43,7 @@
+ const char *shortopts = "yvgdhrltknVo:b:p:S:";
+ static struct option longopts[] =
{
+ {"broken-undeftoken-init", 0, &broken_undeftoken_init, 1},
- {"debug", 0, &debugflag, 1},
- {"defines", 0, &definesflag, 1},
- {"file-prefix", 1, 0, 'b'},
+ /* Operation modes. */
+ {"help", no_argument, 0, 'h'},
+ {"version", no_argument, 0, 'V'},
diff --git a/devel/bison/files/patch-reader.c b/devel/bison/files/patch-reader.c
index 29e1146a7e1..4e0460a0ebe 100644
--- a/devel/bison/files/patch-reader.c
+++ b/devel/bison/files/patch-reader.c
@@ -1,22 +1,23 @@
---- src/reader.c.orig Mon Jun 14 15:19:05 1999
-+++ src/reader.c Mon Jan 17 03:38:56 2000
-@@ -44,6 +44,7 @@
- int rline_allocated;
+--- src/reader.c.orig Sun Sep 23 02:10:06 2001
++++ src/reader.c Sun Sep 23 02:08:08 2001
+@@ -65,6 +65,8 @@
- extern char *program_name;
+ static bucket *errtoken;
+ static bucket *undeftoken;
++
+extern int broken_undeftoken_init;
- extern int definesflag;
- extern int nolinesflag;
- extern int noparserflag;
-@@ -199,7 +200,10 @@
- /* it is always token number 2. */
- undeftoken = getsym("$undefined.");
- undeftoken->class = STOKEN;
+
+
+ /*===================\
+@@ -1959,7 +1961,10 @@
+ It is always token number 2. */
+ undeftoken = getsym ("$undefined.");
+ undeftoken->class = token_sym;
- undeftoken->user_token_number = 2;
-+ /* XXX ``broken_undeftoken_init'' makes Bison 1.28 bug-compatable
++ /* XXX ``broken_undeftoken_init'' makes Bison 1.29 bug-compatable
+ with Bison 1.25. FreeBSD depends on this behavior when compiling
+ EGCS-1.1.2's cc1plus. */
+ undeftoken->user_token_number = broken_undeftoken_init ? 0 : 2;
- /* Read the declaration section. Copy %{ ... %} groups to ftable and fdefines file.
- Also notice any %token, %left, etc. found there. */
- if (noparserflag)
+
+ /* Read the declaration section. Copy %{ ... %} groups to
+ TABLE_OBSTACK and FDEFINES file. Also notice any %token, %left,
diff --git a/devel/bison175/Makefile b/devel/bison175/Makefile
index ab0f25b2a7d..233ff057106 100644
--- a/devel/bison175/Makefile
+++ b/devel/bison175/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= bison
-PORTVERSION= 1.28
-PORTEPOCH= 1
+PORTVERSION= 1.30
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bison
@@ -21,7 +20,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl" \
MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
diff --git a/devel/bison175/distinfo b/devel/bison175/distinfo
index bf42a21c542..39add6c3c6a 100644
--- a/devel/bison175/distinfo
+++ b/devel/bison175/distinfo
@@ -1 +1 @@
-MD5 (bison-1.28.tar.gz) = 4afb3989f2270043c47c3daa1fa7ffab
+MD5 (bison-1.30.tar.gz) = 9f86a4166cf9146d0db1ec9a663d7d81
diff --git a/devel/bison175/files/patch-getargs.c b/devel/bison175/files/patch-getargs.c
index a08818ef5ca..60c244d3ca7 100644
--- a/devel/bison175/files/patch-getargs.c
+++ b/devel/bison175/files/patch-getargs.c
@@ -1,18 +1,18 @@
---- src/getargs.c.orig Mon Jun 14 15:19:05 1999
-+++ src/getargs.c Mon Jan 17 03:38:56 2000
-@@ -31,6 +31,7 @@
- int noparserflag = 0;
- int toknumflag = 0;
- int rawtoknumflag = 0;
+--- src/getargs.c.orig Sun Sep 23 02:08:44 2001
++++ src/getargs.c Sun Sep 23 02:09:27 2001
+@@ -35,6 +35,7 @@
+ int statistics_flag = 0;
+ int yacc_flag = 0; /* for -y */
+ int graph_flag = 0;
+int broken_undeftoken_init;
- char *spec_name_prefix; /* for -p. */
- char *spec_file_prefix; /* for -b. */
- extern int fixed_outfiles;/* for -y */
-@@ -44,6 +45,7 @@
- struct option longopts[] =
+ const char *skeleton = NULL;
+
+@@ -42,6 +43,7 @@
+ const char *shortopts = "yvgdhrltknVo:b:p:S:";
+ static struct option longopts[] =
{
+ {"broken-undeftoken-init", 0, &broken_undeftoken_init, 1},
- {"debug", 0, &debugflag, 1},
- {"defines", 0, &definesflag, 1},
- {"file-prefix", 1, 0, 'b'},
+ /* Operation modes. */
+ {"help", no_argument, 0, 'h'},
+ {"version", no_argument, 0, 'V'},
diff --git a/devel/bison175/files/patch-reader.c b/devel/bison175/files/patch-reader.c
index 29e1146a7e1..4e0460a0ebe 100644
--- a/devel/bison175/files/patch-reader.c
+++ b/devel/bison175/files/patch-reader.c
@@ -1,22 +1,23 @@
---- src/reader.c.orig Mon Jun 14 15:19:05 1999
-+++ src/reader.c Mon Jan 17 03:38:56 2000
-@@ -44,6 +44,7 @@
- int rline_allocated;
+--- src/reader.c.orig Sun Sep 23 02:10:06 2001
++++ src/reader.c Sun Sep 23 02:08:08 2001
+@@ -65,6 +65,8 @@
- extern char *program_name;
+ static bucket *errtoken;
+ static bucket *undeftoken;
++
+extern int broken_undeftoken_init;
- extern int definesflag;
- extern int nolinesflag;
- extern int noparserflag;
-@@ -199,7 +200,10 @@
- /* it is always token number 2. */
- undeftoken = getsym("$undefined.");
- undeftoken->class = STOKEN;
+
+
+ /*===================\
+@@ -1959,7 +1961,10 @@
+ It is always token number 2. */
+ undeftoken = getsym ("$undefined.");
+ undeftoken->class = token_sym;
- undeftoken->user_token_number = 2;
-+ /* XXX ``broken_undeftoken_init'' makes Bison 1.28 bug-compatable
++ /* XXX ``broken_undeftoken_init'' makes Bison 1.29 bug-compatable
+ with Bison 1.25. FreeBSD depends on this behavior when compiling
+ EGCS-1.1.2's cc1plus. */
+ undeftoken->user_token_number = broken_undeftoken_init ? 0 : 2;
- /* Read the declaration section. Copy %{ ... %} groups to ftable and fdefines file.
- Also notice any %token, %left, etc. found there. */
- if (noparserflag)
+
+ /* Read the declaration section. Copy %{ ... %} groups to
+ TABLE_OBSTACK and FDEFINES file. Also notice any %token, %left,
diff --git a/devel/bison1875/Makefile b/devel/bison1875/Makefile
index ab0f25b2a7d..233ff057106 100644
--- a/devel/bison1875/Makefile
+++ b/devel/bison1875/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= bison
-PORTVERSION= 1.28
-PORTEPOCH= 1
+PORTVERSION= 1.30
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bison
@@ -21,7 +20,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl" \
MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
diff --git a/devel/bison1875/distinfo b/devel/bison1875/distinfo
index bf42a21c542..39add6c3c6a 100644
--- a/devel/bison1875/distinfo
+++ b/devel/bison1875/distinfo
@@ -1 +1 @@
-MD5 (bison-1.28.tar.gz) = 4afb3989f2270043c47c3daa1fa7ffab
+MD5 (bison-1.30.tar.gz) = 9f86a4166cf9146d0db1ec9a663d7d81
diff --git a/devel/bison1875/files/patch-getargs.c b/devel/bison1875/files/patch-getargs.c
index a08818ef5ca..60c244d3ca7 100644
--- a/devel/bison1875/files/patch-getargs.c
+++ b/devel/bison1875/files/patch-getargs.c
@@ -1,18 +1,18 @@
---- src/getargs.c.orig Mon Jun 14 15:19:05 1999
-+++ src/getargs.c Mon Jan 17 03:38:56 2000
-@@ -31,6 +31,7 @@
- int noparserflag = 0;
- int toknumflag = 0;
- int rawtoknumflag = 0;
+--- src/getargs.c.orig Sun Sep 23 02:08:44 2001
++++ src/getargs.c Sun Sep 23 02:09:27 2001
+@@ -35,6 +35,7 @@
+ int statistics_flag = 0;
+ int yacc_flag = 0; /* for -y */
+ int graph_flag = 0;
+int broken_undeftoken_init;
- char *spec_name_prefix; /* for -p. */
- char *spec_file_prefix; /* for -b. */
- extern int fixed_outfiles;/* for -y */
-@@ -44,6 +45,7 @@
- struct option longopts[] =
+ const char *skeleton = NULL;
+
+@@ -42,6 +43,7 @@
+ const char *shortopts = "yvgdhrltknVo:b:p:S:";
+ static struct option longopts[] =
{
+ {"broken-undeftoken-init", 0, &broken_undeftoken_init, 1},
- {"debug", 0, &debugflag, 1},
- {"defines", 0, &definesflag, 1},
- {"file-prefix", 1, 0, 'b'},
+ /* Operation modes. */
+ {"help", no_argument, 0, 'h'},
+ {"version", no_argument, 0, 'V'},
diff --git a/devel/bison1875/files/patch-reader.c b/devel/bison1875/files/patch-reader.c
index 29e1146a7e1..4e0460a0ebe 100644
--- a/devel/bison1875/files/patch-reader.c
+++ b/devel/bison1875/files/patch-reader.c
@@ -1,22 +1,23 @@
---- src/reader.c.orig Mon Jun 14 15:19:05 1999
-+++ src/reader.c Mon Jan 17 03:38:56 2000
-@@ -44,6 +44,7 @@
- int rline_allocated;
+--- src/reader.c.orig Sun Sep 23 02:10:06 2001
++++ src/reader.c Sun Sep 23 02:08:08 2001
+@@ -65,6 +65,8 @@
- extern char *program_name;
+ static bucket *errtoken;
+ static bucket *undeftoken;
++
+extern int broken_undeftoken_init;
- extern int definesflag;
- extern int nolinesflag;
- extern int noparserflag;
-@@ -199,7 +200,10 @@
- /* it is always token number 2. */
- undeftoken = getsym("$undefined.");
- undeftoken->class = STOKEN;
+
+
+ /*===================\
+@@ -1959,7 +1961,10 @@
+ It is always token number 2. */
+ undeftoken = getsym ("$undefined.");
+ undeftoken->class = token_sym;
- undeftoken->user_token_number = 2;
-+ /* XXX ``broken_undeftoken_init'' makes Bison 1.28 bug-compatable
++ /* XXX ``broken_undeftoken_init'' makes Bison 1.29 bug-compatable
+ with Bison 1.25. FreeBSD depends on this behavior when compiling
+ EGCS-1.1.2's cc1plus. */
+ undeftoken->user_token_number = broken_undeftoken_init ? 0 : 2;
- /* Read the declaration section. Copy %{ ... %} groups to ftable and fdefines file.
- Also notice any %token, %left, etc. found there. */
- if (noparserflag)
+
+ /* Read the declaration section. Copy %{ ... %} groups to
+ TABLE_OBSTACK and FDEFINES file. Also notice any %token, %left,
diff --git a/devel/bison2/Makefile b/devel/bison2/Makefile
index ab0f25b2a7d..233ff057106 100644
--- a/devel/bison2/Makefile
+++ b/devel/bison2/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= bison
-PORTVERSION= 1.28
-PORTEPOCH= 1
+PORTVERSION= 1.30
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bison
@@ -21,7 +20,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl" \
MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
diff --git a/devel/bison2/distinfo b/devel/bison2/distinfo
index bf42a21c542..39add6c3c6a 100644
--- a/devel/bison2/distinfo
+++ b/devel/bison2/distinfo
@@ -1 +1 @@
-MD5 (bison-1.28.tar.gz) = 4afb3989f2270043c47c3daa1fa7ffab
+MD5 (bison-1.30.tar.gz) = 9f86a4166cf9146d0db1ec9a663d7d81
diff --git a/devel/bison2/files/patch-getargs.c b/devel/bison2/files/patch-getargs.c
index a08818ef5ca..60c244d3ca7 100644
--- a/devel/bison2/files/patch-getargs.c
+++ b/devel/bison2/files/patch-getargs.c
@@ -1,18 +1,18 @@
---- src/getargs.c.orig Mon Jun 14 15:19:05 1999
-+++ src/getargs.c Mon Jan 17 03:38:56 2000
-@@ -31,6 +31,7 @@
- int noparserflag = 0;
- int toknumflag = 0;
- int rawtoknumflag = 0;
+--- src/getargs.c.orig Sun Sep 23 02:08:44 2001
++++ src/getargs.c Sun Sep 23 02:09:27 2001
+@@ -35,6 +35,7 @@
+ int statistics_flag = 0;
+ int yacc_flag = 0; /* for -y */
+ int graph_flag = 0;
+int broken_undeftoken_init;
- char *spec_name_prefix; /* for -p. */
- char *spec_file_prefix; /* for -b. */
- extern int fixed_outfiles;/* for -y */
-@@ -44,6 +45,7 @@
- struct option longopts[] =
+ const char *skeleton = NULL;
+
+@@ -42,6 +43,7 @@
+ const char *shortopts = "yvgdhrltknVo:b:p:S:";
+ static struct option longopts[] =
{
+ {"broken-undeftoken-init", 0, &broken_undeftoken_init, 1},
- {"debug", 0, &debugflag, 1},
- {"defines", 0, &definesflag, 1},
- {"file-prefix", 1, 0, 'b'},
+ /* Operation modes. */
+ {"help", no_argument, 0, 'h'},
+ {"version", no_argument, 0, 'V'},
diff --git a/devel/bison2/files/patch-reader.c b/devel/bison2/files/patch-reader.c
index 29e1146a7e1..4e0460a0ebe 100644
--- a/devel/bison2/files/patch-reader.c
+++ b/devel/bison2/files/patch-reader.c
@@ -1,22 +1,23 @@
---- src/reader.c.orig Mon Jun 14 15:19:05 1999
-+++ src/reader.c Mon Jan 17 03:38:56 2000
-@@ -44,6 +44,7 @@
- int rline_allocated;
+--- src/reader.c.orig Sun Sep 23 02:10:06 2001
++++ src/reader.c Sun Sep 23 02:08:08 2001
+@@ -65,6 +65,8 @@
- extern char *program_name;
+ static bucket *errtoken;
+ static bucket *undeftoken;
++
+extern int broken_undeftoken_init;
- extern int definesflag;
- extern int nolinesflag;
- extern int noparserflag;
-@@ -199,7 +200,10 @@
- /* it is always token number 2. */
- undeftoken = getsym("$undefined.");
- undeftoken->class = STOKEN;
+
+
+ /*===================\
+@@ -1959,7 +1961,10 @@
+ It is always token number 2. */
+ undeftoken = getsym ("$undefined.");
+ undeftoken->class = token_sym;
- undeftoken->user_token_number = 2;
-+ /* XXX ``broken_undeftoken_init'' makes Bison 1.28 bug-compatable
++ /* XXX ``broken_undeftoken_init'' makes Bison 1.29 bug-compatable
+ with Bison 1.25. FreeBSD depends on this behavior when compiling
+ EGCS-1.1.2's cc1plus. */
+ undeftoken->user_token_number = broken_undeftoken_init ? 0 : 2;
- /* Read the declaration section. Copy %{ ... %} groups to ftable and fdefines file.
- Also notice any %token, %left, etc. found there. */
- if (noparserflag)
+
+ /* Read the declaration section. Copy %{ ... %} groups to
+ TABLE_OBSTACK and FDEFINES file. Also notice any %token, %left,
diff --git a/devel/bison20/Makefile b/devel/bison20/Makefile
index ab0f25b2a7d..233ff057106 100644
--- a/devel/bison20/Makefile
+++ b/devel/bison20/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= bison
-PORTVERSION= 1.28
-PORTEPOCH= 1
+PORTVERSION= 1.30
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= bison
@@ -21,7 +20,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lintl" \
MAKEINFO="makeinfo --no-split"
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
MAN1= bison.1
diff --git a/devel/bison20/distinfo b/devel/bison20/distinfo
index bf42a21c542..39add6c3c6a 100644
--- a/devel/bison20/distinfo
+++ b/devel/bison20/distinfo
@@ -1 +1 @@
-MD5 (bison-1.28.tar.gz) = 4afb3989f2270043c47c3daa1fa7ffab
+MD5 (bison-1.30.tar.gz) = 9f86a4166cf9146d0db1ec9a663d7d81
diff --git a/devel/bison20/files/patch-getargs.c b/devel/bison20/files/patch-getargs.c
index a08818ef5ca..60c244d3ca7 100644
--- a/devel/bison20/files/patch-getargs.c
+++ b/devel/bison20/files/patch-getargs.c
@@ -1,18 +1,18 @@
---- src/getargs.c.orig Mon Jun 14 15:19:05 1999
-+++ src/getargs.c Mon Jan 17 03:38:56 2000
-@@ -31,6 +31,7 @@
- int noparserflag = 0;
- int toknumflag = 0;
- int rawtoknumflag = 0;
+--- src/getargs.c.orig Sun Sep 23 02:08:44 2001
++++ src/getargs.c Sun Sep 23 02:09:27 2001
+@@ -35,6 +35,7 @@
+ int statistics_flag = 0;
+ int yacc_flag = 0; /* for -y */
+ int graph_flag = 0;
+int broken_undeftoken_init;
- char *spec_name_prefix; /* for -p. */
- char *spec_file_prefix; /* for -b. */
- extern int fixed_outfiles;/* for -y */
-@@ -44,6 +45,7 @@
- struct option longopts[] =
+ const char *skeleton = NULL;
+
+@@ -42,6 +43,7 @@
+ const char *shortopts = "yvgdhrltknVo:b:p:S:";
+ static struct option longopts[] =
{
+ {"broken-undeftoken-init", 0, &broken_undeftoken_init, 1},
- {"debug", 0, &debugflag, 1},
- {"defines", 0, &definesflag, 1},
- {"file-prefix", 1, 0, 'b'},
+ /* Operation modes. */
+ {"help", no_argument, 0, 'h'},
+ {"version", no_argument, 0, 'V'},
diff --git a/devel/bison20/files/patch-reader.c b/devel/bison20/files/patch-reader.c
index 29e1146a7e1..4e0460a0ebe 100644
--- a/devel/bison20/files/patch-reader.c
+++ b/devel/bison20/files/patch-reader.c
@@ -1,22 +1,23 @@
---- src/reader.c.orig Mon Jun 14 15:19:05 1999
-+++ src/reader.c Mon Jan 17 03:38:56 2000
-@@ -44,6 +44,7 @@
- int rline_allocated;
+--- src/reader.c.orig Sun Sep 23 02:10:06 2001
++++ src/reader.c Sun Sep 23 02:08:08 2001
+@@ -65,6 +65,8 @@
- extern char *program_name;
+ static bucket *errtoken;
+ static bucket *undeftoken;
++
+extern int broken_undeftoken_init;
- extern int definesflag;
- extern int nolinesflag;
- extern int noparserflag;
-@@ -199,7 +200,10 @@
- /* it is always token number 2. */
- undeftoken = getsym("$undefined.");
- undeftoken->class = STOKEN;
+
+
+ /*===================\
+@@ -1959,7 +1961,10 @@
+ It is always token number 2. */
+ undeftoken = getsym ("$undefined.");
+ undeftoken->class = token_sym;
- undeftoken->user_token_number = 2;
-+ /* XXX ``broken_undeftoken_init'' makes Bison 1.28 bug-compatable
++ /* XXX ``broken_undeftoken_init'' makes Bison 1.29 bug-compatable
+ with Bison 1.25. FreeBSD depends on this behavior when compiling
+ EGCS-1.1.2's cc1plus. */
+ undeftoken->user_token_number = broken_undeftoken_init ? 0 : 2;
- /* Read the declaration section. Copy %{ ... %} groups to ftable and fdefines file.
- Also notice any %token, %left, etc. found there. */
- if (noparserflag)
+
+ /* Read the declaration section. Copy %{ ... %} groups to
+ TABLE_OBSTACK and FDEFINES file. Also notice any %token, %left,