diff --git a/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0 b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0 index d848cb0b0..fba224042 100644 --- a/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0 +++ b/ThirdParty/rpmBuild/SOURCES/scotch-6.0.4_patch_0 @@ -1,6 +1,6 @@ diff -ruN scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib scotch_6.0.4/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib --- scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib 1969-12-31 19:00:00.000000000 -0500 -+++ scotch_6.0.4/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib 2015-06-01 23:50:39.279536328 -0400 ++++ scotch_6.0.4/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib 2015-06-21 00:25:43.250993194 -0400 @@ -0,0 +1,22 @@ +EXE = +LIB = .dylib @@ -26,8 +26,8 @@ diff -ruN scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_mac_darwin10.shlib sc +YACC = bison -y diff -ruN scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib --- scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2014-08-05 08:56:17.000000000 -0400 -+++ scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2015-06-01 23:58:05.463559948 -0400 -@@ -8,8 +8,8 @@ ++++ scotch_6.0.4/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib 2015-06-21 00:26:43.072992194 -0400 +@@ -8,10 +8,10 @@ CAT = cat CCS = gcc CCP = mpicc @@ -36,5 +36,8 @@ diff -ruN scotch_6.0.4_orig/src/Make.inc/Makefile.inc.i686_pc_linux2.shlib scotc +CCD = mpicc -I$(MPI_HOME)/include +CFLAGS = -O3 -DCOMMON_FILE_COMPRESS_GZ -DCOMMON_PTHREAD -DCOMMON_RANDOM_FIXED_SEED -DSCOTCH_RENAME -DSCOTCH_PTHREAD -Drestrict=__restrict -Xlinker --no-as-needed CLIBFLAGS = -shared -fPIC - LDFLAGS = -lz -lm -pthread +-LDFLAGS = -lz -lm -pthread ++LDFLAGS = -lz -lm -pthread -lrt CP = cp + LEX = flex -Pscotchyy -olex.yy.c + LN = ln