diff --git a/libxc-2.1.0-ppc.patch b/libxc-2.1.0-ppc.patch new file mode 100644 index 0000000..716e1c7 --- /dev/null +++ b/libxc-2.1.0-ppc.patch @@ -0,0 +1,28 @@ +diff -up libxc-2.1.0/src/util.h.ppc libxc-2.1.0/src/util.h +--- libxc-2.1.0/src/util.h.ppc 2014-03-21 12:37:21.000000000 +0200 ++++ libxc-2.1.0/src/util.h 2014-03-24 17:54:11.784238133 +0200 +@@ -36,15 +36,15 @@ double asinh (double x); + float asinhf(float x); + #endif + +-#define M_SQRTPI 1.772453850905516027298167483341145182798L +-#define M_SQRT3 1.732050807568877293527446341505872366943L +-#define M_CBRT2 1.259921049894873164767210607278228350570L +-#define M_CBRT3 1.442249570307408382321638310780109588392L +-#define M_CBRT4 1.587401051968199474751705639272308260391L +-#define M_CBRT5 1.709975946676696989353108872543860109868L +-#define M_CBRT6 1.817120592832139658891211756327260502428L +-#define M_CBRT7 1.912931182772389101199116839548760282862L +-#define M_CBRT9 2.080083823051904114530056824357885386338L ++#define M_SQRTPI 1.772453850905516027298167483341145182798 ++#define M_SQRT3 1.732050807568877293527446341505872366943 ++#define M_CBRT2 1.259921049894873164767210607278228350570 ++#define M_CBRT3 1.442249570307408382321638310780109588392 ++#define M_CBRT4 1.587401051968199474751705639272308260391 ++#define M_CBRT5 1.709975946676696989353108872543860109868 ++#define M_CBRT6 1.817120592832139658891211756327260502428 ++#define M_CBRT7 1.912931182772389101199116839548760282862 ++#define M_CBRT9 2.080083823051904114530056824357885386338 + + /* Very useful macros */ + #define min(x,y) ((x - 2.1.0-2 +- Re-enable builds on ppc and ppc64 on EPEL. + * Fri Mar 21 2014 Susi Lehtola - 2.1.0-1 - Enable single precision routines as well. - Update to 2.1.0.