[openfoam] 01/01: Disable dummyScotch package.
Anton Gladky
gladk at moszumanska.debian.org
Thu Nov 17 15:33:27 UTC 2016
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository openfoam.
commit 72a806655de165800b1947c264267f5646e52b02
Author: Anton Gladky <gladk at debian.org>
Date: Thu Nov 17 16:31:01 2016 +0100
Disable dummyScotch package.
---
debian/patches/60_disable_dummy_packages.patch | 32 ++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 33 insertions(+)
diff --git a/debian/patches/60_disable_dummy_packages.patch b/debian/patches/60_disable_dummy_packages.patch
new file mode 100644
index 0000000..19a1d24
--- /dev/null
+++ b/debian/patches/60_disable_dummy_packages.patch
@@ -0,0 +1,32 @@
+Description: Disable dummy scotch package
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2016-11-17
+
+Index: openfoam-4.0+dfsg1/src/parallel/decompose/scotchDecomp/Make/options
+===================================================================
+--- openfoam-4.0+dfsg1.orig/src/parallel/decompose/scotchDecomp/Make/options
++++ openfoam-4.0+dfsg1/src/parallel/decompose/scotchDecomp/Make/options
+@@ -7,10 +7,8 @@ sinclude $(RULES)/mplib$(WM_MPLIB)
+
+ EXE_INC = \
+ $(PFLAGS) $(PINC) \
+- -I$(SCOTCH_ROOT)/include \
+- -I$(SCOTCH_ARCH_PATH)/include \
+ -I/usr/include/scotch \
+ -I../decompositionMethods/lnInclude
+
+ LIB_LIBS = \
+- -L$(SCOTCH_ROOT)/lib -L$(FOAM_EXT_LIBBIN) -lscotch -lscotcherrexit -lrt
++ -L$(FOAM_EXT_LIBBIN) -lscotch -lscotcherrexit -lrt
+Index: openfoam-4.0+dfsg1/src/dummyThirdParty/Allwmake
+===================================================================
+--- openfoam-4.0+dfsg1.orig/src/dummyThirdParty/Allwmake
++++ openfoam-4.0+dfsg1/src/dummyThirdParty/Allwmake
+@@ -5,7 +5,6 @@ cd ${0%/*} || exit 1 # Run from this
+ . $WM_PROJECT_DIR/wmake/scripts/AllwmakeParseArguments
+ set -x
+
+-wmake $targetType scotchDecomp
+ wmake $targetType ptscotchDecomp
+ wmake $targetType metisDecomp
+ wmake $targetType MGridGen
diff --git a/debian/patches/series b/debian/patches/series
index 8b3b91a..4ff9892 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
30_hardening.patch
40_build-parallel.patch
50_fix_folder_name_FTBFS.patch
+60_disable_dummy_packages.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/openfoam.git
More information about the debian-science-commits
mailing list