summarylogtreecommitdiffstats
path: root/gambitToFoam_L.patch
diff options
context:
space:
mode:
authorXwang2016-01-19 21:24:08 +0100
committerXwang2016-01-19 21:24:08 +0100
commit483a680a12d27ac8f4a0833ea97ea55fd40bbc74 (patch)
tree0825614c3dca12ec9dba8afdec4adbdd2ced9618 /gambitToFoam_L.patch
parentf5cf44749d615d3a0ba93b5825c41a30bf8a68f6 (diff)
downloadaur-483a680a12d27ac8f4a0833ea97ea55fd40bbc74.tar.gz
Update to 3.0.1 and bug fixing
Diffstat (limited to 'gambitToFoam_L.patch')
-rw-r--r--gambitToFoam_L.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/gambitToFoam_L.patch b/gambitToFoam_L.patch
new file mode 100644
index 000000000000..47a82cf19dd7
--- /dev/null
+++ b/gambitToFoam_L.patch
@@ -0,0 +1,11 @@
+--- src/OpenFOAM-3.0.1/applications/utilities/mesh/conversion/gambitToFoam/gambitToFoam.L
++++ src/OpenFOAM-3.0.1/applications/utilities/mesh/conversion/gambitToFoam/gambitToFoam.L
+@@ -80,7 +80,7 @@
+ // Dummy yywrap to keep yylex happy at compile time.
+ // It is called by yylex but is not used as the mechanism to change file.
+ // See <<EOF>>
+-#if YY_FLEX_SUBMINOR_VERSION < 34
++#if YY_FLEX_SUBMINOR_VERSION < 34 && YY_FLEX_MINOR_VERSION < 6
+ extern "C" int yywrap()
+ #else
+ int yyFlexLexer::yywrap()