mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
fix compilation if gcc 4.5 or 4.6 are installed
PR: ports/153701 Submitted by: Sergei Arefiev <nbspjr@gmail.com>
This commit is contained in:
parent
7bd02d2b01
commit
d4758d02b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275190
22
x11-toolkits/gigi/files/patch-CG-adobe-cmath.hpp
Normal file
22
x11-toolkits/gigi/files/patch-CG-adobe-cmath.hpp
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
--- GG/adobe/cmath.hpp.orig 2011-01-05 13:35:35.631436941 +0200
|
||||
+++ GG/adobe/cmath.hpp 2011-01-05 13:35:50.973926288 +0200
|
||||
@@ -37,14 +37,14 @@
|
||||
|
||||
#define ADOBE_HAS_CPP_CMATH
|
||||
|
||||
-#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ <= 4))
|
||||
+#elif ((__GNUC__ == 4) && (__GNUC_MINOR__ <= 6))
|
||||
/*
|
||||
The currently supported version of GNUC has C99 extensions in math.h. But no TR1 extensions.
|
||||
*/
|
||||
#define ADOBE_HAS_C99_MATH_H
|
||||
|
||||
#else
|
||||
-#error "Unknown GCC compiler configuration for cmath (last known version is 4.0.1)."
|
||||
+#error "Unknown GCC compiler configuration for cmath (last known version is 4.6.0)."
|
||||
#endif
|
||||
|
||||
#elif defined(_MSC_VER)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user