diff options
author | Andreas Grapentin <andreas@grapentin.org> | 2018-01-23 14:28:24 +0100 |
---|---|---|
committer | Andreas Grapentin <andreas@grapentin.org> | 2018-01-23 14:28:24 +0100 |
commit | 417e30597622622f8cec3beac34745a290412615 (patch) | |
tree | eaccaa5d13da03c738221c53f1e5922c620f614b /pcr/openfoam3.0-git/paraFoam.patch | |
parent | 87879c344dc0d60c2cc804a491e95c73d8a34948 (diff) |
pcr/openfoam3.0-git: updated to 20170710.221b8ab7
Diffstat (limited to 'pcr/openfoam3.0-git/paraFoam.patch')
-rw-r--r-- | pcr/openfoam3.0-git/paraFoam.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pcr/openfoam3.0-git/paraFoam.patch b/pcr/openfoam3.0-git/paraFoam.patch new file mode 100644 index 000000000..1a43d606d --- /dev/null +++ b/pcr/openfoam3.0-git/paraFoam.patch @@ -0,0 +1,37 @@ +--- src/OpenFOAM-3.0.x/bin/paraFoam ++++ src/OpenFOAM-3.0.x/bin/paraFoam +@@ -124,21 +124,22 @@ done + # 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 ++# 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 ++#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 ++#Please build the reader module before continuing: ++#cd \$FOAM_UTILITIES/postProcessing/graphics/PV${version}Readers ++#./Allwclean ++#./Allwmake + +-BUILDREADER +- exit 1 +-fi ++#BUILDREADER ++# exit 1 ++#fi + + # Check for --data=... argument + hasDataArg() |