Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=7c158a55324ef2de1167f08f91e9cd3381d47264
commit 7c158a55324ef2de1167f08f91e9cd3381d47264 Author: Miklos Vajna <[email protected]> Date: Wed Nov 14 09:24:26 2012 +0100 flex-2.5.36-1-x86_64 - version bump diff --git a/source/devel/flex/FrugalBuild b/source/devel/flex/FrugalBuild index 2cfc6e5..efc7a2a 100644 --- a/source/devel/flex/FrugalBuild +++ b/source/devel/flex/FrugalBuild @@ -2,18 +2,19 @@ # Maintainer: Miklos Vajna <[email protected]> pkgname=flex -pkgver=2.5.35 -pkgrel=4 +pkgver=2.5.36 +pkgrel=1 pkgdesc="A tool for generating text-scanning programs" depends=('glibc>=2.8-3' 'bash') groups=('devel' 'devel-core') archs=('i686' 'x86_64' 'arm') +_F_sourceforge_ext=".tar.bz2" Finclude sourceforge url="http://flex.sourceforge.net" -source=(${source[@]} lex flex-2.5.35-gcc44.patch) -sha1sums=('333c876a8e24ae5a17d9573459fc501b7721930b' \ +source=(${source[@]} lex flex-2.5.36-bison-2.6.1.patch) +sha1sums=('494a4822c2847503330a9f9df28e6f643a97f692' \ '76701388d28fe8b1fb269c79c11a1316a02b4e46' \ - 'dc621f445067c6bc789c415bb9a9308953e79105') + 'a0a788838062895c19f17c77fb1a34bef9e57390') build() { diff --git a/source/devel/flex/flex-2.5.35-gcc44.patch b/source/devel/flex/flex-2.5.35-gcc44.patch deleted file mode 100644 index 69045be..0000000 --- a/source/devel/flex/flex-2.5.35-gcc44.patch +++ /dev/null @@ -1,13 +0,0 @@ -https://sourceforge.net/tracker/?func=detail&aid=2178663&group_id=97492&atid=618177 - -diff -Naurp flex-2.5.35-orig/skel.c flex-2.5.35/skel.c ---- flex-2.5.35-orig/skel.c 2009-03-25 22:21:16.000000000 -0600 -+++ flex-2.5.35/skel.c 2009-03-25 22:22:22.000000000 -0600 -@@ -286,6 +286,7 @@ const char *skel[] = { - "#include <errno.h>", - "#include <cstdlib>", - "#include <cstring>", -+ "#include <cstdio>", - "/* end standard C++ headers. */", - "%endif", - "", diff --git a/source/devel/flex/flex-2.5.36-bison-2.6.1.patch b/source/devel/flex/flex-2.5.36-bison-2.6.1.patch new file mode 100644 index 0000000..e7cdff6 --- /dev/null +++ b/source/devel/flex/flex-2.5.36-bison-2.6.1.patch @@ -0,0 +1,88 @@ +diff -up flex-2.5.36/tests/test-bison-yylloc/main.c~ flex-2.5.36/tests/test-bison-yylloc/main.c +--- flex-2.5.36/tests/test-bison-yylloc/main.c~ 2002-06-25 21:37:06.000000000 +0200 ++++ flex-2.5.36/tests/test-bison-yylloc/main.c 2012-07-31 18:53:22.007394045 +0200 +@@ -21,8 +21,6 @@ + #include "parser.h" + #include "scanner.h" + +-extern int testparse(yyscan_t); +- + int main ( int argc, char** argv ) + { + yyscan_t scanner; +diff -up flex-2.5.36/tests/test-bison-yylloc/parser.y~ flex-2.5.36/tests/test-bison-yylloc/parser.y +--- flex-2.5.36/tests/test-bison-yylloc/parser.y~ 2002-07-25 02:43:47.000000000 +0200 ++++ flex-2.5.36/tests/test-bison-yylloc/parser.y 2012-08-01 01:06:53.093155586 +0200 +@@ -21,6 +21,8 @@ + * PURPOSE. + */ + ++%parse-param { void* scanner } ++ + /* + How to compile: + bison --defines --output-file="parser.c" --name-prefix="test" parser.y +@@ -32,10 +34,8 @@ + #include "config.h" + + #define YYERROR_VERBOSE 1 +-#define YYPARSE_PARAM scanner + #define YYLEX_PARAM scanner + +-int yyerror(char* msg); + extern int testget_lineno(void*); + + +@@ -89,7 +89,7 @@ line: + + %% + +-int yyerror(char* msg) { ++int yyerror(void* scanner, char* msg) { + fprintf(stderr,"%s\n",msg); + return 0; + } +diff -up flex-2.5.36/tests/test-bison-yylval/main.c~ flex-2.5.36/tests/test-bison-yylval/main.c +--- flex-2.5.36/tests/test-bison-yylval/main.c~ 2002-06-25 21:37:06.000000000 +0200 ++++ flex-2.5.36/tests/test-bison-yylval/main.c 2012-08-01 01:10:02.015510280 +0200 +@@ -24,8 +24,6 @@ + #include "parser.h" + #include "scanner.h" + +-extern int testparse(yyscan_t); +- + int main ( int argc, char** argv ) + { + yyscan_t scanner; +diff -up flex-2.5.36/tests/test-bison-yylval/parser.y~ flex-2.5.36/tests/test-bison-yylval/parser.y +--- flex-2.5.36/tests/test-bison-yylval/parser.y~ 2002-06-25 21:37:06.000000000 +0200 ++++ flex-2.5.36/tests/test-bison-yylval/parser.y 2012-08-01 01:13:11.239867147 +0200 +@@ -25,6 +25,7 @@ + How to compile: + bison --defines --output-file="parser.c" --name-prefix="test" parser.y + */ ++%parse-param { void* scanner } + %{ + #include <stdio.h> + #include <stdlib.h> +@@ -32,11 +33,8 @@ + #include "config.h" + + #define YYERROR_VERBOSE 1 +-#define YYPARSE_PARAM scanner + #define YYLEX_PARAM scanner + +-int yyerror(char* msg); +- + + /* A dummy function. A check against seg-faults in yylval->str. */ + int process_text(char* s) { +@@ -76,7 +74,7 @@ starttag: LT TAGNAME GT { process_ + endtag: LTSLASH TAGNAME GT { process_text($2);free($2);} ; + %% + +-int yyerror(char* msg) { ++int yyerror(void* scanner, char* msg) { + fprintf(stderr,"%s\n",msg); + return 0; + } _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
