summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/openfoam-wmake/files/openfoam-wmake-compile-1.4.1_p20080328.patch')
-rw-r--r--sci-libs/openfoam-wmake/files/openfoam-wmake-compile-1.4.1_p20080328.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-libs/openfoam-wmake/files/openfoam-wmake-compile-1.4.1_p20080328.patch b/sci-libs/openfoam-wmake/files/openfoam-wmake-compile-1.4.1_p20080328.patch
new file mode 100644
index 000000000..e2ab13d8e
--- /dev/null
+++ b/sci-libs/openfoam-wmake/files/openfoam-wmake-compile-1.4.1_p20080328.patch
@@ -0,0 +1,22 @@
+diff -ur OpenFOAM-1.4.1-src/wmake/rules/General/flex++ OpenFOAM-1.4.1/wmake/rules/General/flex++
+--- OpenFOAM-1.4.1-src/wmake/rules/General/flex++ 2006-08-18 17:35:12.000000000 +0200
++++ OpenFOAM-1.4.1/wmake/rules/General/flex++ 2007-10-28 17:38:46.000000000 +0100
+@@ -1,6 +1,6 @@
+ .SUFFIXES: .L
+
+-Ltoo = flex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
++Ltoo = flex --c++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
+
+ .L.dep:
+ $(MAKE_DEP)
+diff -ur OpenFOAM-1.4.1-src/wmake/rules/General/flex++.test OpenFOAM-1.4.1/wmake/rules/General/flex++.test
+--- OpenFOAM-1.4.1-src/wmake/rules/General/flex++.test 2007-03-13 17:27:58.000000000 +0100
++++ OpenFOAM-1.4.1/wmake/rules/General/flex++.test 2007-10-28 17:39:09.000000000 +0100
+@@ -1,6 +1,6 @@
+ .SUFFIXES: .L
+
+-Ltoo = flex++ $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
++Ltoo = flex --c++ $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
+
+ .L.dep:
+ $(MAKE_DEP)