flex: update to 2.6.3

This commit is contained in:
Juergen Daubert 2017-01-05 16:39:52 +01:00
parent 971038bda6
commit 882a99fefe
4 changed files with 3 additions and 27 deletions

View File

@ -11,11 +11,6 @@ drwxr-xr-x root/root usr/lib/
lrwxrwxrwx root/root usr/lib/libfl.so -> libfl.so.2.0.0
lrwxrwxrwx root/root usr/lib/libfl.so.2 -> libfl.so.2.0.0
-rwxr-xr-x root/root usr/lib/libfl.so.2.0.0
-rw-r--r-- root/root usr/lib/libfl_pic.a
-rwxr-xr-x root/root usr/lib/libfl_pic.la
lrwxrwxrwx root/root usr/lib/libfl_pic.so -> libfl_pic.so.2.0.0
lrwxrwxrwx root/root usr/lib/libfl_pic.so.2 -> libfl_pic.so.2.0.0
-rwxr-xr-x root/root usr/lib/libfl_pic.so.2.0.0
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/

View File

@ -1 +1 @@
cd3c86290fc2676a641aefafeb10848a flex-2.6.1.tar.xz
a5f65570cd9107ec8a8ec88f17b31bb1 flex-2.6.3.tar.gz

View File

@ -3,9 +3,9 @@
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=flex
version=2.6.1
version=2.6.3
release=1
source=(https://github.com/westes/flex/releases/download/v$version/$name-$version.tar.xz)
source=(https://github.com/westes/flex/releases/download/v$version/$name-$version.tar.gz)
build() {
cd $name-$version

View File

@ -1,19 +0,0 @@
commit 07d89829cce4527c7614a34642d4b2c2ef5d6005
Author: Will Estes <westes575@gmail.com>
Date: Fri Dec 11 09:45:14 2015 -0500
Commented in C style in skeleton; fixed sf#195
diff --git a/src/flex.skl b/src/flex.skl
index b63c8c8..40287b6 100644
--- a/src/flex.skl
+++ b/src/flex.skl
@@ -2350,7 +2350,7 @@ void yyFlexLexer::yyensure_buffer_stack(void)
* scanner will even need a stack. We use 2 instead of 1 to avoid an
* immediate realloc on the next call.
*/
- num_to_alloc = 1; // After all that talk, this was set to 1 anyways...
+ num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */
YY_G(yy_buffer_stack) = (struct yy_buffer_state**)yyalloc
(num_to_alloc * sizeof(struct yy_buffer_state*)
M4_YY_CALL_LAST_ARG);