summarylogtreecommitdiffstats
path: root/paraFoam.patch
diff options
context:
space:
mode:
Diffstat (limited to 'paraFoam.patch')
-rw-r--r--paraFoam.patch49
1 files changed, 0 insertions, 49 deletions
diff --git a/paraFoam.patch b/paraFoam.patch
deleted file mode 100644
index cad4755e499e..000000000000
--- a/paraFoam.patch
+++ /dev/null
@@ -1,49 +0,0 @@
---- src/OpenFOAM-2.4.0/bin/paraFoam
-+++ src/OpenFOAM-2.4.0/bin/paraFoam
-@@ -68,7 +68,7 @@
- export LC_ALL=C
-
- # reader extension
--extension=OpenFOAM
-+extension=foam
-
- requirePV=1
-
-@@ -124,21 +124,22 @@
- # Get the ParaView major version to select the appropriate readers
- version=`echo $ParaView_VERSION | sed -e 's/^\([0-9][0-9]*\).*$/\1/'`
-
--# check that reader module has been built
--if [ $requirePV -eq 1 -a ! -f $PV_PLUGIN_PATH/libPV${version}FoamReader_SM.so ]
--then
-- cat<< BUILDREADER
--
--FATAL ERROR: ParaView reader module libraries do not exist
--
--Please build the reader module before continuing:
--cd \$FOAM_UTILITIES/postProcessing/graphics/PV${version}Readers
--./Allwclean
--./Allwmake
--
--BUILDREADER
-- exit 1
--fi
-+# NOTE: For OpenFOAM built from AUR, paraview will already be installed
-+# with the required readers. No need to perform this check.
-+#if [ $requirePV -eq 1 -a ! -f $PV_PLUGIN_PATH/libPV${version}FoamReader_SM.so ]
-+#then
-+# cat<< BUILDREADER
-+#
-+#FATAL ERROR: ParaView reader module libraries do not exist
-+#
-+#Please build the reader module before continuing:
-+#cd \$FOAM_UTILITIES/postProcessing/graphics/PV${version}Readers
-+#./Allwclean
-+#./Allwmake
-+#
-+#BUILDREADER
-+# exit 1
-+#fi
-
- # check for --data=... argument
- hasDataArg()