diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2018-06-01 22:29:51 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2018-06-02 12:37:55 +0200 |
commit | 16d29ab852a9507d5aa87cc04c8ea25bafa03d3c (patch) | |
tree | b3ab7030b2bf3e6458d5e1edafa490663fa8f0dd /package/cairo/0002-fix-gcc-49-build.patch | |
parent | 000f8a63ed4953f9d6c0d40abec1c10641839364 (diff) | |
download | buildroot-16d29ab852a9507d5aa87cc04c8ea25bafa03d3c.tar.gz buildroot-16d29ab852a9507d5aa87cc04c8ea25bafa03d3c.zip |
cairo: bump to version 1.15.12
- Remove second patch (LTO support removed since 1.14.0 in August 2014:
https://cgit.freedesktop.org/cairo/commit/?id=c7ff9bb32e20679d6da4e8a2856be716e5bd9e12
- Add hash for license files
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/cairo/0002-fix-gcc-49-build.patch')
-rw-r--r-- | package/cairo/0002-fix-gcc-49-build.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/package/cairo/0002-fix-gcc-49-build.patch b/package/cairo/0002-fix-gcc-49-build.patch deleted file mode 100644 index 112c9ea053..0000000000 --- a/package/cairo/0002-fix-gcc-49-build.patch +++ /dev/null @@ -1,38 +0,0 @@ -Fix build with gcc 4.9 - -cairo fails to build with gcc 4.9 due to a bad interaction of cairo -modules with the LTO mechanism. The suggested workaround is to pass --ffat-lto-objects. See -https://bugs.freedesktop.org/show_bug.cgi?id=77060 for the upstream -bug report, and -https://bugs.archlinux.org/task/40313?project=1&openedfrom=-1+week for -the ArchLinux bug report. - -This patch passes -ffat-lto-objects when gcc understands this option, -in order to provide compatibility with gcc versions older than 4.8, -which did not provide this option, but are anyway unaffected by the -issue. - -Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> - -Index: b/configure.ac -=================================================================== ---- a/configure.ac -+++ b/configure.ac -@@ -37,6 +37,16 @@ - m4_include(build/configure.ac.pthread) dnl checks for pthreads - AC_CACHE_SAVE - -+old_cflags=$CFLAGS -+CFLAGS=-ffat-lto-objects -+AC_MSG_CHECKING([whether CC supports -ffat-lto-objects]) -+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])], -+ [AC_MSG_RESULT([yes])] -+ [LTO_CFLAGS=-ffat-lto-objects], -+ [AC_MSG_RESULT([no])] -+) -+CFLAGS="${old_CFLAGS} ${LTO_CFLAGS}" -+ - dnl =========================================================================== - - AC_CHECK_LIB(z, compress, |