diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-02 18:53:33 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-07-03 00:05:18 +0200 |
commit | e9b614ad3ad6bdeb48179dfa622dc7e3134806e2 (patch) | |
tree | 1834cf8fcf58f7c39393ef55967f865c595bde1f /package/poco/0003-fix-m68k-double-conv-detect.patch | |
parent | 80f08a4b281eecdf13eb7fa994d5bab21007e75f (diff) | |
download | buildroot-e9b614ad3ad6bdeb48179dfa622dc7e3134806e2.tar.gz buildroot-e9b614ad3ad6bdeb48179dfa622dc7e3134806e2.zip |
poco: don't download patch from Github
Patches downloaded from Github are not stable, so bring them in the
tree.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/poco/0003-fix-m68k-double-conv-detect.patch')
-rw-r--r-- | package/poco/0003-fix-m68k-double-conv-detect.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/poco/0003-fix-m68k-double-conv-detect.patch b/package/poco/0003-fix-m68k-double-conv-detect.patch new file mode 100644 index 0000000000..3ca03fc7be --- /dev/null +++ b/package/poco/0003-fix-m68k-double-conv-detect.patch @@ -0,0 +1,19 @@ +Fixes compile for m68k. + +From upstream double-conversion commit da111796231: +https://github.com/google/double-conversion/blob/master/double-conversion/utils.h + +Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> + +diff -Nur poco-poco-1.7.2-release.orig/Foundation/src/utils.h poco-poco-1.7.2-release/Foundation/src/utils.h +--- poco-poco-1.7.2-release.orig/Foundation/src/utils.h 2016-03-19 08:19:35.000000000 +0100 ++++ poco-poco-1.7.2-release/Foundation/src/utils.h 2016-08-11 02:55:02.827238119 +0200 +@@ -63,6 +63,8 @@ + defined(__AARCH64EL__) || \ + defined(nios2) || defined(__nios2) || defined(__nios2__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 ++#elif defined(__mc68000__) ++#undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS + #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) + #if defined(_WIN32) + // Windows uses a 64bit wide floating point stack. |