commit: 77890639257266037035bd07c0edebd3a7e6b26d Author: Grégory Salvan <apieum <AT> gmail <DOT> com> AuthorDate: Sun Feb 21 20:38:46 2016 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Mon Feb 22 08:36:31 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=77890639
Added includes fixes patch .../netgen/files/netgen-5.x-includes-fixes.patch | 29 ++++++++++++++++++++++ sci-mathematics/netgen/netgen-5.3.1.ebuild | 1 + 2 files changed, 30 insertions(+) diff --git a/sci-mathematics/netgen/files/netgen-5.x-includes-fixes.patch b/sci-mathematics/netgen/files/netgen-5.x-includes-fixes.patch new file mode 100644 index 0000000..650b575 --- /dev/null +++ b/sci-mathematics/netgen/files/netgen-5.x-includes-fixes.patch @@ -0,0 +1,29 @@ +diff -uwrN -x.git netgen-5.3.1/libsrc/include/meshing.hpp netgen/libsrc/include/meshing.hpp +--- netgen-5.3.1/libsrc/include/meshing.hpp 2016-02-21 20:12:55.885186643 +0100 ++++ netgen/libsrc/include/meshing.hpp 2016-02-21 20:09:26.275180871 +0100 +@@ -1 +1 @@ +-#include <../meshing/meshing.hpp> ++#include "../meshing/meshing.hpp" +diff -uwrN -x.git netgen-5.3.1/libsrc/include/myadt.hpp netgen/libsrc/include/myadt.hpp +--- netgen-5.3.1/libsrc/include/myadt.hpp 2016-02-21 20:12:55.886186643 +0100 ++++ netgen/libsrc/include/myadt.hpp 2016-02-21 20:09:26.275180871 +0100 +@@ -1 +1 @@ +-#include <../general/myadt.hpp> ++#include "../general/myadt.hpp" +diff -uwrN -x.git netgen-5.3.1/libsrc/include/stlgeom.hpp netgen/libsrc/include/stlgeom.hpp +--- netgen-5.3.1/libsrc/include/stlgeom.hpp 2016-02-21 20:12:55.886186643 +0100 ++++ netgen/libsrc/include/stlgeom.hpp 2016-02-21 20:09:26.275180871 +0100 +@@ -1 +1 @@ +-#include <../stlgeom/stlgeom.hpp> ++#include "../stlgeom/stlgeom.hpp" +diff -uwrN -x.git netgen-5.3.1/libsrc/meshing/parallelmesh.cpp netgen/libsrc/meshing/parallelmesh.cpp +--- netgen-5.3.1/libsrc/meshing/parallelmesh.cpp 2016-02-21 20:12:55.888186643 +0100 ++++ netgen/libsrc/meshing/parallelmesh.cpp 2016-02-21 20:09:26.276180871 +0100 +@@ -1,6 +1,6 @@ + #ifdef PARALLEL + +-#include <meshing.hpp> ++#include "meshing.hpp" + #include "paralleltop.hpp" + + // #define METIS4 diff --git a/sci-mathematics/netgen/netgen-5.3.1.ebuild b/sci-mathematics/netgen/netgen-5.3.1.ebuild index 4cc2cd9..d3cf9f9 100644 --- a/sci-mathematics/netgen/netgen-5.3.1.ebuild +++ b/sci-mathematics/netgen/netgen-5.3.1.ebuild @@ -43,6 +43,7 @@ src_prepare() { epatch "${FILESDIR}/${PN}-5.3.1_build.patch" # Adapted from http://pkgs.fedoraproject.org/cgit/rpms/netgen-mesher.git/tree/netgen-5.3.0_fixes.patch epatch "${FILESDIR}/${PN}-5.x-fedora-fixes.patch" + epatch "${FILESDIR}/${PN}-5.x-includes-fixes.patch" if use mpi; then export CC=mpicc export CXX=mpic++