diff options
Diffstat (limited to 'math/octave-forge-mpi/files')
-rw-r--r-- | math/octave-forge-mpi/files/patch-MPI__Recv.cc | 18 | ||||
-rw-r--r-- | math/octave-forge-mpi/files/patch-MPI__Send.cc | 13 | ||||
-rw-r--r-- | math/octave-forge-mpi/files/patch-Makefile | 12 |
3 files changed, 43 insertions, 0 deletions
diff --git a/math/octave-forge-mpi/files/patch-MPI__Recv.cc b/math/octave-forge-mpi/files/patch-MPI__Recv.cc new file mode 100644 index 000000000000..5cac6ad9b424 --- /dev/null +++ b/math/octave-forge-mpi/files/patch-MPI__Recv.cc @@ -0,0 +1,18 @@ +--- MPI_Recv.cc.orig 2022-11-08 05:03:32 UTC ++++ MPI_Recv.cc +@@ -20,13 +20,13 @@ + + #include <string> + #include <sstream> ++#include <iostream> + + #include <oct-map.h> + #include <octave/load-save.h> + #include <octave/ls-oct-binary.h> + +-using namespace octave; +-static const load_save_format frmt = load_save_system::BINARY; ++static const octave::load_save_format frmt = octave::load_save_system::BINARY; + static octave::mach_info::float_format flt_fmt = octave::mach_info::native_float_format (); + static bool swap = false; + static const std::ios::openmode imode = std::ios::in | std::ios::binary; diff --git a/math/octave-forge-mpi/files/patch-MPI__Send.cc b/math/octave-forge-mpi/files/patch-MPI__Send.cc new file mode 100644 index 000000000000..f8980deb5f6d --- /dev/null +++ b/math/octave-forge-mpi/files/patch-MPI__Send.cc @@ -0,0 +1,13 @@ +--- MPI_Send.cc.orig 2022-11-08 05:02:05 UTC ++++ MPI_Send.cc +@@ -24,9 +24,8 @@ + #include <oct-map.h> + #include <octave/load-save.h> + #include <octave/ls-oct-binary.h> +-using namespace octave; + +-static const load_save_format frmt = load_save_system::BINARY; ++static const octave::load_save_format frmt = octave::load_save_system::BINARY; + static const octave::mach_info::float_format flt_fmt = octave::mach_info::flt_fmt_unknown; + static const bool swap = false; + static const std::ios::openmode omode = std::ios::out | std::ios::binary; diff --git a/math/octave-forge-mpi/files/patch-Makefile b/math/octave-forge-mpi/files/patch-Makefile new file mode 100644 index 000000000000..3c0b0f293782 --- /dev/null +++ b/math/octave-forge-mpi/files/patch-Makefile @@ -0,0 +1,12 @@ +--- Makefile.orig 2019-03-06 23:19:54 UTC ++++ Makefile +@@ -1,7 +1,7 @@ + MPICC ?= mpicxx +-OFMPIINC ?= $(shell $(MPICC) -showme:compile | sed -e "s/-pthread/ /g") ++OFMPIINC ?= $(shell $(MPICC) -compile_info | sed -e "s/c++ //g") + MPIINC := $(OFMPIINC) +-OFMPILIBS ?= $(shell $(MPICC) -showme:link | sed -e "s/-pthread/ /g") ++OFMPILIBS ?= $(shell $(MPICC) -link_info | sed -e "s/c++ //g") + MPILIBS := $(OFMPILIBS) + MKOCTFILE ?= mkoctfile + |