From: <ges...@us...> - 2010-03-22 23:11:23
|
Revision: 4400 http://ipcop.svn.sourceforge.net/ipcop/?rev=4400&view=rev Author: gespinasse Date: 2010-03-22 23:11:17 +0000 (Mon, 22 Mar 2010) Log Message: ----------- Fix EOF tests failure for test-c++-multiple-scanners and test-c++-basic Patch send upstream in the hope this is the right way to handle that issue Modified Paths: -------------- ipcop/trunk/lfs/flex Added Paths: ----------- ipcop/trunk/src/patches/flex-2.5.35_EOF-tests.patch Modified: ipcop/trunk/lfs/flex =================================================================== --- ipcop/trunk/lfs/flex 2010-03-22 21:18:47 UTC (rev 4399) +++ ipcop/trunk/lfs/flex 2010-03-22 23:11:17 UTC (rev 4400) @@ -81,6 +81,7 @@ $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)_EOF-tests.patch cd $(DIR_APP) && ./configure --prefix=/usr cd $(DIR_APP) && make -j $(PARALLELISM) Added: ipcop/trunk/src/patches/flex-2.5.35_EOF-tests.patch =================================================================== --- ipcop/trunk/src/patches/flex-2.5.35_EOF-tests.patch (rev 0) +++ ipcop/trunk/src/patches/flex-2.5.35_EOF-tests.patch 2010-03-22 23:11:17 UTC (rev 4400) @@ -0,0 +1,33 @@ +diff -Nur flex-2.5.35.old/tests/test-c++-basic/scanner.l flex-2.5.35/tests/test-c++-basic/scanner.l +--- flex-2.5.35.old/tests/test-c++-basic/scanner.l 2002-08-22 03:11:07.000000000 +0200 ++++ flex-2.5.35/tests/test-c++-basic/scanner.l 2010-03-22 23:25:58.000000000 +0100 +@@ -24,6 +24,7 @@ + %{ + + #include "config.h" ++#include <stdio.h> + + %} + +diff -Nur flex-2.5.35.old/tests/test-c++-multiple-scanners/scanner-1.l flex-2.5.35/tests/test-c++-multiple-scanners/scanner-1.l +--- flex-2.5.35.old/tests/test-c++-multiple-scanners/scanner-1.l 2002-10-01 17:10:12.000000000 +0200 ++++ flex-2.5.35/tests/test-c++-multiple-scanners/scanner-1.l 2010-03-22 23:47:32.000000000 +0100 +@@ -21,6 +21,7 @@ + + %{ + #include "config.h" ++#include <stdio.h> + + %} + +diff -Nur flex-2.5.35.old/tests/test-c++-multiple-scanners/scanner-2.l flex-2.5.35/tests/test-c++-multiple-scanners/scanner-2.l +--- flex-2.5.35.old/tests/test-c++-multiple-scanners/scanner-2.l 2006-10-23 00:17:38.000000000 +0200 ++++ flex-2.5.35/tests/test-c++-multiple-scanners/scanner-2.l 2010-03-22 23:52:54.000000000 +0100 +@@ -21,6 +21,7 @@ + + %{ + #include "config.h" ++#include <cstdio> + + %} + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |