diff options
author | Slávek Banko <[email protected]> | 2018-08-06 01:30:47 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-08-06 01:31:02 +0200 |
commit | 9010047840d810d9ccba3d00b7943a842e125291 (patch) | |
tree | 7698717495c9bc52be2bc8ab526071f3063b466d /freebsd/tdegraphics/files | |
parent | b4f5663d87c16e08aaef66346f4b22eba2de80bd (diff) | |
download | tde-packaging-9010047840d810d9ccba3d00b7943a842e125291.tar.gz tde-packaging-9010047840d810d9ccba3d00b7943a842e125291.zip |
FreeBSD: Update for final release R14.0.5r14.0.5
Additional patches due to stricter C++11 in Clang
A new mkspec for Clang is used to build TQt
Akode is now part of the TDE repository
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'freebsd/tdegraphics/files')
-rw-r--r-- | freebsd/tdegraphics/files/patch-bp000-fix-ftbfs-on-c++11.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/freebsd/tdegraphics/files/patch-bp000-fix-ftbfs-on-c++11.diff b/freebsd/tdegraphics/files/patch-bp000-fix-ftbfs-on-c++11.diff new file mode 100644 index 000000000..7b0cdff0e --- /dev/null +++ b/freebsd/tdegraphics/files/patch-bp000-fix-ftbfs-on-c++11.diff @@ -0,0 +1,21 @@ +diff --git a/ksvg/plugin/backends/libart/LibartCanvas.cpp b/ksvg/plugin/backends/libart/LibartCanvas.cpp +index 03b18f06..f46051f5 100644 +--- a/ksvg/plugin/backends/libart/LibartCanvas.cpp ++++ b/ksvg/plugin/backends/libart/LibartCanvas.cpp +@@ -75,11 +75,11 @@ ArtSVP *art_svp_from_rect(int x0, int y0, int x1, int y1) + { + ArtVpath vpath[] = + { +- { ART_MOVETO, x0, y0 }, +- { ART_LINETO, x0, y1 }, +- { ART_LINETO, x1, y1 }, +- { ART_LINETO, x1, y0 }, +- { ART_LINETO, x0, y0 }, ++ { ART_MOVETO, (double)x0, (double)y0 }, ++ { ART_LINETO, (double)x0, (double)y1 }, ++ { ART_LINETO, (double)x1, (double)y1 }, ++ { ART_LINETO, (double)x1, (double)y0 }, ++ { ART_LINETO, (double)x0, (double)y0 }, + { ART_END, 0, 0} + }; + |