Index: head/databases/monetdb/files/patch-monetdb5-extras-jaql-parser-jaql.y =================================================================== --- head/databases/monetdb/files/patch-monetdb5-extras-jaql-parser-jaql.y (nonexistent) +++ head/databases/monetdb/files/patch-monetdb5-extras-jaql-parser-jaql.y (revision 431345) @@ -0,0 +1,25 @@ +--- monetdb5/extras/jaql/parser/jaql.y.orig 2013-01-14 21:06:06.000000000 +0800 ++++ monetdb5/extras/jaql/parser/jaql.y 2017-01-09 04:57:50.801797000 +0800 +@@ -81,12 +81,10 @@ + + + %{ +-#define YYLEX_PARAM j->scanner +- + int jaqllex(YYSTYPE* lvalp, void *scanner); + + void +-jaqlerror(struct _jc* j, char const *msg) ++jaqlerror(struct _jc* j, char const *msg, char const *yy_) + { + if (j->err[0] == '\0') { + char around[32]; +@@ -114,6 +112,8 @@ + + %} + ++%parse-param {void *scanner} ++ + %% + + stmt: jaql ';' Property changes on: head/databases/monetdb/files/patch-monetdb5-extras-jaql-parser-jaql.y ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/devel/bison/Makefile =================================================================== --- head/devel/bison/Makefile (revision 431344) +++ head/devel/bison/Makefile (revision 431345) @@ -1,42 +1,40 @@ # Created by: Jerry Hicks # $FreeBSD$ PORTNAME= bison -PORTVERSION= 2.7.1 -PORTREVISION= 1 +PORTVERSION= 3.0.4 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= GNU MAINTAINER= sunpoet@FreeBSD.org COMMENT= Parser generator from FSF, (mostly) compatible with Yacc +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING + BUILD_DEPENDS= m4>=1.4.16,1:devel/m4 -RUN_DEPENDS= m4>=1.4.16,1:devel/m4 +RUN_DEPENDS:= ${BUILD_DEPENDS} -OPTIONS_DEFINE= EXAMPLES NLS +OPTIONS_DEFINE= DOCS EXAMPLES NLS OPTIONS_SUB= yes -CONFIGURE_ARGS+=--disable-yacc -CPPFLAGS+= -I${LOCALBASE}/include +CONFIGURE_ARGS= --disable-yacc GNU_CONFIGURE= yes -LDFLAGS+= -L${LOCALBASE}/lib TEST_TARGET= check USE_PERL5= build -USES= charsetfix makeinfo perl5 tar:xz +USES= charsetfix localbase makeinfo perl5 tar:xz INFO= bison -PORTEXAMPLES= calc++ +PORTDATA= * +PORTDOCS= * +PORTEXAMPLES= * NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext post-patch: - @${RM} ${WRKSRC}/doc/bison.info* - @${REINPLACE_CMD} 's/MANS = yacc.1/MANS =/' ${WRKSRC}/doc/Makefile.in - -post-install: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/calc++ - ${INSTALL_DATA} ${WRKSRC}/examples/calc++/*.[chly]* ${STAGEDIR}${EXAMPLESDIR}/calc++ + @${REINPLACE_CMD} -e 's|$$(docdir)\(/examples\)|$$(datarootdir)\1/bison|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's/\(.*\) _Noreturn void/_Noreturn \1 void/' ${WRKSRC}/data/*.c ${WRKSRC}/lib/*.[ch] .include Index: head/devel/bison/distinfo =================================================================== --- head/devel/bison/distinfo (revision 431344) +++ head/devel/bison/distinfo (revision 431345) @@ -1,2 +1,3 @@ -SHA256 (bison-2.7.1.tar.xz) = b409adcbf245baadb68d2f66accf6fdca5e282cafec1b865f4b5e963ba8ea7fb -SIZE (bison-2.7.1.tar.xz) = 1781068 +TIMESTAMP = 1482778226 +SHA256 (bison-3.0.4.tar.xz) = a72428c7917bdf9fa93cb8181c971b6e22834125848cf1d03ce10b1bb0716fe1 +SIZE (bison-3.0.4.tar.xz) = 1973796 Index: head/devel/bison/pkg-plist =================================================================== --- head/devel/bison/pkg-plist (revision 431344) +++ head/devel/bison/pkg-plist (revision 431345) @@ -1,90 +1,69 @@ bin/bison man/man1/bison.1.gz share/aclocal/bison-i18n.m4 -%%DATADIR%%/README -%%DATADIR%%/bison.m4 -%%DATADIR%%/c++-skel.m4 -%%DATADIR%%/c++.m4 -%%DATADIR%%/c-like.m4 -%%DATADIR%%/c-skel.m4 -%%DATADIR%%/c.m4 -%%DATADIR%%/glr.c -%%DATADIR%%/glr.cc -%%DATADIR%%/java-skel.m4 -%%DATADIR%%/java.m4 -%%DATADIR%%/lalr1.cc -%%DATADIR%%/lalr1.java -%%DATADIR%%/location.cc -%%DATADIR%%/m4sugar/foreach.m4 -%%DATADIR%%/m4sugar/m4sugar.m4 -%%DATADIR%%/stack.hh -%%DATADIR%%/xslt/bison.xsl -%%DATADIR%%/xslt/xml2dot.xsl -%%DATADIR%%/xslt/xml2text.xsl -%%DATADIR%%/xslt/xml2xhtml.xsl -%%DATADIR%%/yacc.c %%NLS%%share/locale/ast/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/da/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/da/LC_MESSAGES/bison.mo %%NLS%%share/locale/de/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/de/LC_MESSAGES/bison.mo %%NLS%%share/locale/el/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/el/LC_MESSAGES/bison.mo %%NLS%%share/locale/eo/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/eo/LC_MESSAGES/bison.mo %%NLS%%share/locale/es/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/es/LC_MESSAGES/bison.mo %%NLS%%share/locale/et/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/et/LC_MESSAGES/bison.mo %%NLS%%share/locale/fi/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/fi/LC_MESSAGES/bison.mo %%NLS%%share/locale/fr/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/fr/LC_MESSAGES/bison.mo %%NLS%%share/locale/ga/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/ga/LC_MESSAGES/bison.mo %%NLS%%share/locale/gl/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/hr/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/hr/LC_MESSAGES/bison.mo %%NLS%%share/locale/hu/LC_MESSAGES/bison-runtime.mo +%%NLS%%share/locale/ia/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/id/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/id/LC_MESSAGES/bison.mo %%NLS%%share/locale/it/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/it/LC_MESSAGES/bison.mo %%NLS%%share/locale/ja/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/ja/LC_MESSAGES/bison.mo %%NLS%%share/locale/ky/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/lt/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/lv/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/ms/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/ms/LC_MESSAGES/bison.mo %%NLS%%share/locale/nb/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/nb/LC_MESSAGES/bison.mo %%NLS%%share/locale/nl/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/nl/LC_MESSAGES/bison.mo %%NLS%%share/locale/pl/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/pl/LC_MESSAGES/bison.mo -%%NLS%%share/locale/pt_BR/LC_MESSAGES/bison-runtime.mo -%%NLS%%share/locale/pt_BR/LC_MESSAGES/bison.mo %%NLS%%share/locale/pt/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/pt/LC_MESSAGES/bison.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/bison-runtime.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/bison.mo %%NLS%%share/locale/ro/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/ro/LC_MESSAGES/bison.mo %%NLS%%share/locale/ru/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/ru/LC_MESSAGES/bison.mo %%NLS%%share/locale/sl/LC_MESSAGES/bison-runtime.mo +%%NLS%%share/locale/sq/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/sr/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/sr/LC_MESSAGES/bison.mo -%%NLS%%share/locale/sq/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/sv/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/sv/LC_MESSAGES/bison.mo %%NLS%%share/locale/th/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/tr/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/tr/LC_MESSAGES/bison.mo %%NLS%%share/locale/uk/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/uk/LC_MESSAGES/bison.mo %%NLS%%share/locale/vi/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/vi/LC_MESSAGES/bison.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/bison.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/bison-runtime.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/bison.mo Index: head/editors/xcoral/files/patch-BR_Parser.c =================================================================== --- head/editors/xcoral/files/patch-BR_Parser.c (nonexistent) +++ head/editors/xcoral/files/patch-BR_Parser.c (revision 431345) @@ -0,0 +1,35 @@ +--- BR_Parser.c.orig 2002-12-18 07:22:09 UTC ++++ BR_Parser.c +@@ -116,7 +116,7 @@ + + #define YYDEBUG 1 + +-#define BR_YYERROR YYFAIL ++#define BR_YYERROR YYERROR + + + /*-----------------------------------------------------------------------*/ +@@ -960,12 +960,7 @@ static const short yycheck[] = { 1, + #define YYEOF 0 + #define YYACCEPT goto yyacceptlab + #define YYABORT goto yyabortlab +-#define YYERROR goto yyerrlab1 +-/* Like YYERROR except do call yyerror. +- This remains here temporarily to ease the +- transition to the new meaning of YYERROR, for GCC. +- Once GCC version 2 has supplanted version 1, this can go. */ +-#define YYFAIL goto yyerrlab ++#define YYERROR goto yyerrlab + #define YYRECOVERING() (!!yyerrstatus) + #define YYBACKUP(token, value) \ + do \ +@@ -2465,9 +2460,6 @@ yyerrlab: /* here on detecting error * + yyerror("parse error"); + } + +- goto yyerrlab1; +-yyerrlab1: /* here on error raised explicitly by an action */ +- + if (yyerrstatus == 3) + { + /* if just tried and failed to reuse lookahead token after an error, discard it. */ Property changes on: head/editors/xcoral/files/patch-BR_Parser.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/editors/xcoral/files/patch-BR_Parser.y =================================================================== --- head/editors/xcoral/files/patch-BR_Parser.y (nonexistent) +++ head/editors/xcoral/files/patch-BR_Parser.y (revision 431345) @@ -0,0 +1,11 @@ +--- BR_Parser.y.orig 2002-12-18 07:21:52 UTC ++++ BR_Parser.y +@@ -79,7 +79,7 @@ + + #define YYDEBUG 1 + +-#define BR_YYERROR YYFAIL ++#define BR_YYERROR YYERROR + + + /*-----------------------------------------------------------------------*/ Property changes on: head/editors/xcoral/files/patch-BR_Parser.y ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/graphics/pixie/files/patch-src__ri__rib.l =================================================================== --- head/graphics/pixie/files/patch-src__ri__rib.l (revision 431344) +++ head/graphics/pixie/files/patch-src__ri__rib.l (revision 431345) @@ -1,29 +1,46 @@ ---- src/ri/rib.l.orig +--- src/ri/rib.l.orig 2008-11-12 07:00:24 UTC +++ src/ri/rib.l -@@ -17,7 +17,7 @@ +@@ -17,7 +17,7 @@ static TRibFile *ribStack = NULL; // Overwrite the YYinput so that it uses libz #undef YY_INPUT -#define YY_INPUT(buf, retval, maxlen) if ( (retval = gzread(ribin,buf,maxlen)) < 0) \ +#define YY_INPUT(buf, retval, maxlen) if ( (retval = gzread((gzFile)ribin,buf,maxlen)) < 0) \ YY_FATAL_ERROR( "input in flex scanner failed" ); #endif -@@ -223,7 +223,7 @@ +@@ -208,12 +208,12 @@ version return RIB_VERSION; + \[ return RIB_ARRAY_BEGIN; + \] return RIB_ARRAY_END; + +-\"[^\"]*\" { riblval->string = rstrdup(ribtext+1,CRenderer::globalMemory); riblval->string[strlen(riblval->string)-1] = '\0'; return RIB_TEXT;} +-[+-]?([0-9]+|([0-9]*(\.[0-9]+)?)([eE][+-]?[0-9]+)?) { /*sscanf(ribtext,"%f",&riblval->real);*/ riblval->real = (float) atof(ribtext); return RIB_FLOAT; } +-[+-]?([0-9]+|([0-9]+(\.[0-9]*)?)([eE][+-]?[0-9]+)?) { /*sscanf(ribtext,"%f",&riblval->real);*/ riblval->real = (float) atof(ribtext); return RIB_FLOAT; } ++\"[^\"]*\" { yylval->string = rstrdup(ribtext+1,CRenderer::globalMemory); yylval->string[strlen(yylval->string)-1] = '\0'; return RIB_TEXT;} ++[+-]?([0-9]+|([0-9]*(\.[0-9]+)?)([eE][+-]?[0-9]+)?) { /*sscanf(ribtext,"%f",&yylval->real);*/ yylval->real = (float) atof(ribtext); return RIB_FLOAT; } ++[+-]?([0-9]+|([0-9]+(\.[0-9]*)?)([eE][+-]?[0-9]+)?) { /*sscanf(ribtext,"%f",&yylval->real);*/ yylval->real = (float) atof(ribtext); return RIB_FLOAT; } + + [\t ] ; +-#\!.* { riblval->string = rstrdup(ribtext+2,CRenderer::globalMemory); return RIB_STRUCTURE_COMMENT; } ++#\!.* { yylval->string = rstrdup(ribtext+2,CRenderer::globalMemory); return RIB_STRUCTURE_COMMENT; } + #.* ; + \n { ribLineno++; } + <> { +@@ -223,7 +223,7 @@ version return RIB_VERSION; TRibFile *nextFile = ribStack->next; rib_delete_buffer( YY_CURRENT_BUFFER ); #ifdef HAVE_ZLIB - gzclose(ribin); + gzclose((gzFile)ribin); #else fclose(ribin); #endif -@@ -243,7 +243,7 @@ +@@ -243,7 +243,7 @@ version return RIB_VERSION; rib_delete_buffer( YY_CURRENT_BUFFER ); #ifdef HAVE_ZLIB - gzclose(ribin); + gzclose((gzFile)ribin); #else fclose(ribin); #endif Index: head/graphics/tumble/files/patch-parser.y =================================================================== --- head/graphics/tumble/files/patch-parser.y (nonexistent) +++ head/graphics/tumble/files/patch-parser.y (revision 431345) @@ -0,0 +1,20 @@ +--- parser.y.orig 2003-12-09 16:45:41 UTC ++++ parser.y +@@ -110,7 +110,7 @@ image_ranges: + + + input_file_clause: +- FILE_KEYWORD STRING ';' { input_set_file ($2) } ; ++ FILE_KEYWORD STRING ';' { input_set_file ($2); } ; + + image_clause: + IMAGE INTEGER ';' { range_t range = { $2, $2 }; input_images (range); } ; +@@ -119,7 +119,7 @@ images_clause: + IMAGES image_ranges ';' ; + + rotate_clause: +- ROTATE INTEGER ';' { input_set_rotation ($2) } ; ++ ROTATE INTEGER ';' { input_set_rotation ($2); } ; + + unit: + /* empty */ /* default to INCH */ { $$ = 1.0; } Property changes on: head/graphics/tumble/files/patch-parser.y ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/ming/files/patch-src_actioncompiler_swf4compiler.flex =================================================================== --- head/japanese/ming/files/patch-src_actioncompiler_swf4compiler.flex (revision 431344) +++ head/japanese/ming/files/patch-src_actioncompiler_swf4compiler.flex (nonexistent) @@ -1,10 +0,0 @@ ---- actioncompiler/swf4compiler.flex~ 2002-06-24 21:21:54.000000000 +0900 -+++ actioncompiler/swf4compiler.flex 2013-03-14 04:49:15.000000000 +0900 -@@ -5,6 +5,7 @@ - - #include "compile.h" - #include "action.h" -+#define YYPARSE_PARAM buffer - #include "swf4compiler.tab.h" /* defines token types */ - - int swf4debug; Property changes on: head/japanese/ming/files/patch-src_actioncompiler_swf4compiler.flex ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/japanese/ming/files/patch-src_actioncompiler_swf5compiler.flex =================================================================== --- head/japanese/ming/files/patch-src_actioncompiler_swf5compiler.flex (revision 431344) +++ head/japanese/ming/files/patch-src_actioncompiler_swf5compiler.flex (nonexistent) @@ -1,10 +0,0 @@ ---- actioncompiler/swf5compiler.flex~ 2013-03-14 04:53:36.000000000 +0900 -+++ actioncompiler/swf5compiler.flex 2013-03-14 04:52:36.000000000 +0900 -@@ -5,6 +5,7 @@ - - #include "compile.h" - #include "action.h" -+#define YYPARSE_PARAM buffer - #include "swf5compiler.tab.h" /* defines token types */ - - int swf5debug; Property changes on: head/japanese/ming/files/patch-src_actioncompiler_swf5compiler.flex ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/japanese/ming/files/patch-actioncompiler-compile.h =================================================================== --- head/japanese/ming/files/patch-actioncompiler-compile.h (nonexistent) +++ head/japanese/ming/files/patch-actioncompiler-compile.h (revision 431345) @@ -0,0 +1,11 @@ +--- actioncompiler/compile.h.orig 2002-06-24 12:21:54 UTC ++++ actioncompiler/compile.h +@@ -10,7 +10,7 @@ typedef struct _buffer *Buffer; + #include "action.h" + + /* shut up bison.simple */ +-void yyerror(char *msg); ++void yyerror(char *msg, char *yy_); + int yylex(); + + #ifndef max Property changes on: head/japanese/ming/files/patch-actioncompiler-compile.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/ming/files/patch-src_actioncompiler_swf4compiler.y =================================================================== --- head/japanese/ming/files/patch-src_actioncompiler_swf4compiler.y (revision 431344) +++ head/japanese/ming/files/patch-src_actioncompiler_swf4compiler.y (revision 431345) @@ -1,26 +1,39 @@ ---- actioncompiler/swf4compiler.y.orig Mon Dec 2 11:10:00 2002 -+++ actioncompiler/swf4compiler.y Mon Dec 2 11:12:15 2002 +--- actioncompiler/swf4compiler.y.orig 2002-06-24 12:21:54 UTC ++++ actioncompiler/swf4compiler.y +@@ -6,10 +6,10 @@ + #include + #include "compile.h" + +-#define YYPARSE_PARAM buffer +- + %} + ++%parse-param {void *buffer} ++ + %union { + Buffer action; + char *str; @@ -119,7 +119,6 @@ %type expr_opt %type void_function_call %type function_call -%type lhs_expr %type pf_expr %type lhs_expr %type rhs_expr @@ -140,6 +139,7 @@ program : elems { *((Buffer *)buffer) = $1; } + ; elems : elem -@@ -277,6 +277,7 @@ +@@ -277,6 +277,7 @@ if_stmt bufferWriteS16($3, bufferLength($5)); bufferConcat($3, $5); $$ = $3; } + ; expr_opt : /* empty */ { $$ = NULL; } Index: head/japanese/ming/files/patch-src_actioncompiler_swf5compiler.y =================================================================== --- head/japanese/ming/files/patch-src_actioncompiler_swf5compiler.y (revision 431344) +++ head/japanese/ming/files/patch-src_actioncompiler_swf5compiler.y (revision 431345) @@ -1,32 +1,47 @@ ---- actioncompiler/swf5compiler.y.orig 2009-03-06 11:34:48.000000000 +0100 -+++ actioncompiler/swf5compiler.y 2009-03-06 11:37:13.000000000 +0100 +--- actioncompiler/swf5compiler.y.orig 2002-06-24 12:21:54 UTC ++++ actioncompiler/swf5compiler.y +@@ -8,12 +8,12 @@ + #include "compile.h" + #include "assembler.h" + +-#define YYPARSE_PARAM buffer +- + Buffer bf, bc; + + %} + ++%parse-param {void *buffer} ++ + %union + { + Buffer action; @@ -239,7 +239,7 @@ expr_opt switch_stmt : SWITCH '(' expr ')' '{' - { $$ = $3; } + { $$ = $3; } switch_cases '}' { bufferConcat($$, $7); bufferResolveJumps($$); @@ -1422,7 +1422,7 @@ opcode_list with : WITH - { $$ = bufferWriteOp(asmBuffer, + { $$ = bufferWriteOp(asmBuffer, SWFACTION_WITH); } opcode_list END { $$ = $2 + $3; bufferPatchLength(asmBuffer, $3); } @@ -1455,9 +1455,9 @@ push_list ; opcode - : PUSH { $$ = bufferWriteOp(asmBuffer, + : PUSH { $$ = bufferWriteOp(asmBuffer, SWFACTION_PUSHDATA); - $$ += bufferWriteS16(asmBuffer, 0); } + $$ += bufferWriteS16(asmBuffer, 0); } push_list { $$ = $2 + $3; bufferPatchLength(asmBuffer, $3); } Index: head/lang/hla/Makefile =================================================================== --- head/lang/hla/Makefile (revision 431344) +++ head/lang/hla/Makefile (revision 431345) @@ -1,88 +1,88 @@ # Created by: gahr # $FreeBSD$ PORTNAME= hla PORTVERSION= 1.103 CATEGORIES= lang MASTER_SITES= http://www.gahr.ch/FreeBSD/HLA/ DISTFILES= ${PORTNAME}src${EXTRACT_SUFX} bsd.hla.tar.gz lex.yy.c DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${PORTNAME}src${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= High Level Assembly -USES= bison zip:infozip +USES= bison dos2unix zip:infozip WRKSRC= ${WRKDIR}/hlasrc/trunk/trunk MAKEFILE= makefile.bsd ALL_TARGET= hlaparse hla SUB_FILES= pkg-message ONLY_FOR_ARCHS= i386 OPTIONS_DEFINE= DOCS TEST .include .if ${PORT_OPTIONS:MDOCS} || make(makesum) DISTFILES+= HLARef_html${EXTRACT_SUFX} HLAstdlib_html${EXTRACT_SUFX} .endif .if ${PORT_OPTIONS:MTEST} || make(makesum) DISTFILES+= hello.hla .endif .include post-extract: ${MKDIR} ${WRKDIR}/stdlib && \ ${TAR} -zxf ${_DISTDIR}/bsd.${PORTNAME}.tar.gz -C ${WRKDIR}/stdlib ${CP} ${_DISTDIR}/lex.yy.c ${WRKSRC} .if ${OSVERSION} < 1100077 # chmod -R bug. # Do not use "-exec ... +", because of the same bug, it will not work. @${FIND} ${WRKDIR} -type d -exec ${CHMOD} 755 {} \; .endif post-extract-TEST-on: ${CP} ${_DISTDIR}/hello.hla ${WRKSRC} post-extract-DOCS-on: (${MKDIR} ${WRKDIR}/HLAstdlib && \ ${UNZIP_CMD} -q ${_DISTDIR}/HLAstdlib_html${EXTRACT_SUFX} -d ${WRKDIR}/HLAstdlib \ ) (${MKDIR} ${WRKDIR}/HLAReference && \ ${UNZIP_CMD} -q ${_DISTDIR}/HLARef_html${EXTRACT_SUFX} -d ${WRKDIR}/HLAReference \ ) post-patch: @${REINPLACE_CMD} -e '/flex/d; s|gcc|${CC}|; s|-O2|${CFLAGS}|; \ s|-static-libgcc||' ${WRKSRC}/makefile.bsd do-configure: (cd ${WRKSRC} && bison -o hlaparse.c hlaparse.bsn) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/hla ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/hlaparse ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKDIR}/stdlib/hla/hlalib/hlalib.a ${STAGEDIR}${PREFIX}/lib @${MKDIR} ${STAGEDIR}${PREFIX}/include/hla @${CHMOD} 755 ${WRKDIR}/stdlib/hla/include/include # broken archive (cd ${WRKDIR}/stdlib/hla/include/include && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/hla) post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/Reference ${STAGEDIR}${DOCSDIR}/stdlib (cd ${WRKDIR}/HLAReference && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/Reference) (cd ${WRKDIR}/HLAstdlib && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/stdlib) do-test-TEST-on: @${ECHO_MSG} "" @${ECHO_MSG} "Testing HLA installation..." @( \ hlainc=${STAGEDIR}${PREFIX}/include/hla hlalib=${STAGEDIR}${PREFIX}/lib/hlalib.a \ PATH=${PATH}:${STAGEDIR}${PREFIX}/bin ${WRKSRC}/hla ${WRKSRC}/hello.hla && \ ${WRKSRC}/hello \ ) .include Index: head/lang/hla/files/patch-hlaparse.bsn =================================================================== --- head/lang/hla/files/patch-hlaparse.bsn (nonexistent) +++ head/lang/hla/files/patch-hlaparse.bsn (revision 431345) @@ -0,0 +1,107 @@ +--- hlaparse.bsn.orig 2017-01-09 13:30:03 UTC ++++ hlaparse.bsn +@@ -1,4 +1,4 @@ +-%pure_parser ++%define api.pure + + + /*****************************/ +@@ -2749,7 +2749,7 @@ doTextBlock: + + _here; + doTextBlock7( $3, YYS &$6 ); +- YYACCEPT ++ YYACCEPT; + } + + +@@ -2763,7 +2763,7 @@ doTextBlock: + + _here; + doTextBlock7a( $3, YYS &$6 ); +- YYACCEPT ++ YYACCEPT; + } + ; + +@@ -2811,7 +2811,7 @@ doStringBlock: + + _here; + doStringBlock( $3, YYS &$6 ); +- YYACCEPT ++ YYACCEPT; + } + + +@@ -2825,7 +2825,7 @@ doStringBlock: + + _here; + doStringBlocka( $3, YYS &$6 ); +- YYACCEPT ++ YYACCEPT; + } + ; + +@@ -2865,7 +2865,7 @@ doMatchBlock: + + _here; + doMatchBlock( $3, YYS &$6 ); +- YYACCEPT ++ YYACCEPT; + } + ; + +@@ -2900,7 +2900,7 @@ doPrint: + fputs( "\n", PrintOut ); + + _endif +- YYACCEPT ++ YYACCEPT; + } + ; + +@@ -2961,7 +2961,7 @@ doParseObjID: + _here; + memcpy( &d1dnReturnVal, &$2, sizeof( union YYSTYPE )); + _here; +- YYACCEPT ++ YYACCEPT; + } + ; + +@@ -2972,7 +2972,7 @@ doParseClassID: + _here; + memcpy( &d1dnReturnVal, &$2, sizeof( union YYSTYPE )); + _here; +- YYACCEPT ++ YYACCEPT; + } + ; + +@@ -10577,7 +10577,7 @@ OptionalInherit: + + Empty + { +- $$ = NULL ++ $$ = NULL; + } + + +@@ -10657,7 +10657,7 @@ OptInherits: + + Empty + { +- $-1 = NULL ++ $-1 = NULL; + } + + /* +@@ -28209,7 +28209,7 @@ OneOrMoreParms: + varTkn /* $4 */ + { + ProcGlobal = $3; +- fastLookup = 1 ++ fastLookup = 1; + } + ';' /* $6 */ + { /* $7 */ Property changes on: head/lang/hla/files/patch-hlaparse.bsn ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/avinfo/Makefile =================================================================== --- head/multimedia/avinfo/Makefile (revision 431344) +++ head/multimedia/avinfo/Makefile (revision 431345) @@ -1,39 +1,36 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= avinfo PORTVERSION= 1.0.a15 CATEGORIES= multimedia MASTER_SITES= http://shounen.ru/soft/avinfo/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION}unix MAINTAINER= amdmi3@FreeBSD.org COMMENT= Utility for displaying AVI header information USES= bison gmake WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/${PORTNAME} \ man/man1/${PORTNAME}.1.gz PORTDOCS= * - -.include - post-patch: @${REINPLACE_CMD} -e '/^CC=/ d; /^CFLAGS=/ d; /^PREFIX=/ d' \ ${WRKSRC}/config.mk @${REINPLACE_CMD} -e '/BISON.*-d/ s|$$| \&\& ${REINPLACE_CMD} -e "/int yyparse (void)/ d" ass.tab.h|' \ ${WRKSRC}/src/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README \ ${WRKSRC}/copying ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/ .include Index: head/multimedia/avinfo/files/patch-src-ass.y =================================================================== --- head/multimedia/avinfo/files/patch-src-ass.y (nonexistent) +++ head/multimedia/avinfo/files/patch-src-ass.y (revision 431345) @@ -0,0 +1,33 @@ +--- src/ass.y.orig 2005-04-22 05:31:53 UTC ++++ src/ass.y +@@ -25,17 +25,17 @@ + #include "ass.h" + #include "ass.tab.h" + +-#define YYLEX_PARAM lexer_ctl +-#define YYPARSE_PARAM lexer_ctl + #define line (((lexerctl_t*)lexer_ctl)->line) + #define pos (((lexerctl_t*)lexer_ctl)->c) + +-int yyerror( const char *s ); ++int yyerror(void *lexer_ctl, const char *s); + int yylex (YYSTYPE *lval, void* lexer_ctl); + + %} + +-%pure_parser ++%define api.pure ++%lex-param {void *lexer_ctl} ++%parse-param {void *lexer_ctl} + + %union{ + int letter; +@@ -258,7 +258,7 @@ var_t Op(var_t var1, var_t var2, int op_ + return res; + } + +-int yyerror (const char *s) /* вызывается yyparse в случае ошибки */ ++int yyerror (void *lexer_ctl, const char *s) /* вызывается yyparse в случае ошибки */ + { + printf ("\n(error in template)\n"); + return 1; Property changes on: head/multimedia/avinfo/files/patch-src-ass.y ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l =================================================================== --- head/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l (nonexistent) +++ head/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l (revision 431345) @@ -0,0 +1,11 @@ +--- src/rpsl/rpsl.l.orig 2012-07-31 12:10:39 UTC ++++ src/rpsl/rpsl.l +@@ -713,7 +713,7 @@ void handle_object_error(const char *s, + current_object->errors += buffer; + } + +-void rpslerror(const char *, ...) { ++void rpslerror(void *, const char *, ...) { + if (current_attribute) { + current_attribute->errorLine = errorLine; + current_attribute->errorColon = errorColon - yyleng; Property changes on: head/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.l ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y =================================================================== --- head/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y (nonexistent) +++ head/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y (revision 431345) @@ -0,0 +1,31 @@ +--- src/rpsl/rpsl.y.orig 2012-07-31 12:10:39 UTC ++++ src/rpsl/rpsl.y +@@ -75,7 +75,7 @@ extern void handle_object_error(const ch + extern void handle_warning(const char *, ...); + extern int yylex(); + char *token_name(int token_id); +-void rpslerror(const char *s, ...); ++void rpslerror(void *, const char *s, ...); + Attr *changeCurrentAttr(Attr *b); + void handleArgumentTypeError(char *attr, const char *method, int position, + const RPType *correctType, +@@ -83,7 +83,6 @@ void handleArgumentTypeError(char *attr, + const AttrMethod *searchMethod(const AttrRPAttr *rp_attr, const char *method, ItemList *args); + + /* argument to yyparse result of parsing should be stored here */ +-#define YYPARSE_PARAM object + #define yyschema schema + #define enable_yy_parser_debugging enable_rpsl_parser_debugging + +@@ -91,8 +90,9 @@ extern Object *current_object; + + %} + +-%name-prefix="rpsl" +-%output="rpsl.y.cc" ++%name-prefix "rpsl" ++%output "rpsl.y.cc" ++%parse-param {void *object} + + %expect 1 + Property changes on: head/net-mgmt/irrtoolset/files/patch-src-rpsl-rpsl.y ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/www/kannel/Makefile =================================================================== --- head/www/kannel/Makefile (revision 431344) +++ head/www/kannel/Makefile (revision 431345) @@ -1,61 +1,64 @@ # Created by: Domas Mituzas # $FreeBSD$ PORTNAME= kannel PORTVERSION= 1.4.4 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= www MASTER_SITES= http://www.kannel.org/download/${PORTVERSION}/ DISTNAME= gateway-${PORTVERSION} MAINTAINER= dbaio@bsd.com.br COMMENT= WAP/SMS gateway LICENSE= The_Kannel_Software_License LICENSE_NAME= The Kannel Software License, Version 1.0 LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libpcre.so:devel/pcre PORTSCOUT= skipv:1.5.0 USERS= kannel GROUPS= kannel -USES= bison gmake iconv ssl tar:bzip2 +USES= gmake iconv ssl tar:bzip2 USE_GCC= yes USE_GNOME= libxml2 USE_RC_SUBR= ${PORTNAME}_bearerbox ${PORTNAME}_smsbox ${PORTNAME}_wapbox GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-pcre=yes --enable-docs=no --with-malloc=native \ --enable-start-stop-daemon=no OPTIONS_DEFINE= MYSQL PGSQL SQLITE3 OPTIONS_DEFAULT= MYSQL SQLITE3_USES= sqlite:3 SQLITE3_CONFIGURE_WITH= sqlite3 MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= pgsql + +post-patch: + @${RM} ${WRKSRC}/wmlscript/wsgram.y post-install: .for filename in wapkannel.conf smskannel.conf ${INSTALL_DATA} ${WRKSRC}/gw/${filename} \ ${STAGEDIR}${PREFIX}/etc/${filename}.sample .endfor .for filename in mtbatch seewbmp wmlsc wmlsdasm decode_emimsg @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${filename} .endfor .for filename in bearerbox run_kannel_box smsbox wapbox @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${filename} .endfor @${MKDIR} ${STAGEDIR}/var/log/kannel @${MKDIR} ${STAGEDIR}/var/run/kannel .include