diff options
Diffstat (limited to 'freebsd/tdegraphics')
-rw-r--r-- | freebsd/tdegraphics/Makefile | 2 | ||||
-rw-r--r-- | freebsd/tdegraphics/distinfo | 6 | ||||
-rw-r--r-- | freebsd/tdegraphics/files/patch-bp000-fix-ftbfs-on-c++11.diff | 21 |
3 files changed, 25 insertions, 4 deletions
diff --git a/freebsd/tdegraphics/Makefile b/freebsd/tdegraphics/Makefile index 17c6f955c..a489793b1 100644 --- a/freebsd/tdegraphics/Makefile +++ b/freebsd/tdegraphics/Makefile @@ -7,7 +7,7 @@ PORTNAME= tdegraphics-trinity COMMENT= Trinity graphics apps -TDE_PREVERSION= ~pre11+da97023d +TDE_PREVERSION= MASTER_SITE_SUBDIR= t/${PORTNAME} PORTREVISION= 0 CATEGORIES= x11 graphics diff --git a/freebsd/tdegraphics/distinfo b/freebsd/tdegraphics/distinfo index 0335f516f..2cfbdaaf3 100644 --- a/freebsd/tdegraphics/distinfo +++ b/freebsd/tdegraphics/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1514314694 -SHA256 (TDE/tdegraphics-trinity_14.0.5~pre11.orig.tar.xz) = 97a53e45ce3f0d53d44f08916b5528e2d5b15756fd45721ce4467f7edff57e72 -SIZE (TDE/tdegraphics-trinity_14.0.5~pre11.orig.tar.xz) = 5795068 +TIMESTAMP = 1533304970 +SHA256 (TDE/tdegraphics-trinity_14.0.5.orig.tar.xz) = 51190393d969f3f4101504054dceedc953d8252ba47f6b8c3e3c94b69b9040d9 +SIZE (TDE/tdegraphics-trinity_14.0.5.orig.tar.xz) = 5790668 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} + }; + |