diff --git a/asl-gcc5.patch b/asl-gcc5.patch new file mode 100644 index 0000000..080eb1e --- /dev/null +++ b/asl-gcc5.patch @@ -0,0 +1,26 @@ +--- source_release/adobe/cmath.hpp~ 2015-08-05 12:10:17.637727832 +0100 ++++ source_release/adobe/cmath.hpp 2015-08-05 12:24:28.811279909 +0100 +@@ -36,19 +36,12 @@ + + #define ADOBE_HAS_CPP_CMATH + +-#elif __GNUC__ == 4 +-#if (__GNUC_MINOR__ < 6) || (!(defined(_GLIBCXX_USE_C99_MATH_TR1))) +-// at least Ubuntu 9.x, gcc 4.4.1, still falls into this case +-/* +- The currently supported version of GNUC has C99 extensions in math.h. But no TR1 extensions. +-*/ ++#elif __GNUC__ >= 4 ++ ++// GNUC has C99 extensions in math.h but not in until C++11. + #define ADOBE_HAS_C99_MATH_H + #include +-#else +-#include +-s +-#define ADOBE_HAS_C99_STD_MATH_H +-#endif ++ + #endif + + #elif defined(_MSC_VER)