diff options
| author | root <root@tux.(none)> | 2009-06-26 12:06:29 +0200 |
|---|---|---|
| committer | Christian Schmitt <chris@ilovelinux.de> | 2009-06-26 12:08:33 +0200 |
| commit | 0dfd8c61b471ae0f3a0a713a040dcb72fba10ca7 (patch) | |
| tree | 522c54d8e6419aae99089c35dd9bc04d81c922bb /dev-cpp/eigen/files | |
| parent | 7778f405787db01d7769caa9eb78225df02efff0 (diff) | |
| download | kde-0dfd8c61b471ae0f3a0a713a040dcb72fba10ca7.tar.gz kde-0dfd8c61b471ae0f3a0a713a040dcb72fba10ca7.tar.bz2 kde-0dfd8c61b471ae0f3a0a713a040dcb72fba10ca7.zip | |
[dev-cpp/eigen] - fix a header file to make compilation of krita and other programs possible again on PPC
Diffstat (limited to 'dev-cpp/eigen/files')
| -rw-r--r-- | dev-cpp/eigen/files/eigen-ppc-define.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-cpp/eigen/files/eigen-ppc-define.patch b/dev-cpp/eigen/files/eigen-ppc-define.patch new file mode 100644 index 00000000000..6481f10bdbd --- /dev/null +++ b/dev-cpp/eigen/files/eigen-ppc-define.patch @@ -0,0 +1,11 @@ +--- Eigen/src/Core/util/Macros.h.orig 2009-06-26 11:58:16.000000000 +0200 ++++ Eigen/src/Core/util/Macros.h 2009-06-26 11:59:04.000000000 +0200 +@@ -41,7 +41,7 @@ + // because extra memory must be allocated for bookkeeping). + // if the compiler is not GNUC, just cross fingers that the architecture isn't too exotic, because we don't want + // to keep track of all the different preprocessor symbols for all compilers. +-#if !defined(__GNUC__) || defined(__i386__) || defined(__x86_64__) || defined(__ppc__) || defined(__ia64__) ++#if !defined(__GNUC__) || defined(__i386__) || defined(__x86_64__) || defined(__ppc__) || defined(__powerpc__) || defined(__ia64__) + #define EIGEN_ARCH_WANTS_ALIGNMENT 1 + #else + #ifdef EIGEN_VECTORIZE |
