summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-03-24 15:49:36 +0000
committernia <nia@pkgsrc.org>2020-03-24 15:49:36 +0000
commit905707f9d3b094fbd2256166767c8977940849a8 (patch)
treeabe4f65607ac684e8eaf2c441995fb48795e341b /converters
parentc084a65fb9a418c33d3811169bdd3fc2b8d9a85b (diff)
downloadpkgsrc-905707f9d3b094fbd2256166767c8977940849a8.tar.gz
libfreehand: Update to 0.1.2
libfreehand 0.1.2 - Fix several hangs and leaks when reading damaged files found with the help of american-fuzzy-lop. - Fix build with recent clang. - Make --help output of all command-line tools more help2man-friendly. - Require C++11 for build. - Parse more features: * text on path * more text attributes * stroke patterns * arrows * paragraph attributes * custom line and fill styles * text effects - Write correct rotation center of a textbox. - Fix an issue found by oss-fuzz. - Fix several issues found by Coverity. - Various code cleanups and other small improvements.
Diffstat (limited to 'converters')
-rw-r--r--converters/libfreehand/Makefile20
-rw-r--r--converters/libfreehand/distinfo10
-rw-r--r--converters/libfreehand/patches/patch-src_lib_FHPath.h13
3 files changed, 15 insertions, 28 deletions
diff --git a/converters/libfreehand/Makefile b/converters/libfreehand/Makefile
index 70317032dc1..8dab55f88d6 100644
--- a/converters/libfreehand/Makefile
+++ b/converters/libfreehand/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.34 2020/01/26 17:30:51 rillig Exp $
+# $NetBSD: Makefile,v 1.35 2020/03/24 15:49:36 nia Exp $
-DISTNAME= libfreehand-0.1.1
-PKGREVISION= 25
+DISTNAME= libfreehand-0.1.2
CATEGORIES= converters
-MASTER_SITES= http://dev-www.libreoffice.org/src/
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= https://dev-www.libreoffice.org/src/
+EXTRACT_SUFX= .tar.xz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://dev-www.libreoffice.org/src/
@@ -16,13 +15,14 @@ TOOL_DEPENDS+= gperf-[0-9]*:../../devel/gperf
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= perl:build pkg-config
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
+
+# C++11
+GCC_REQD+= 4.7
CONFIGURE_ARGS+= --without-docs
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-CXXFLAGS+= -Wno-error=deprecated-register
-.endif
+CONFIGURE_ARGS+= --disable-tests
+CONFIGURE_ARGS+= --disable-werror
PKGCONFIG_OVERRIDE+= libfreehand.pc.in
diff --git a/converters/libfreehand/distinfo b/converters/libfreehand/distinfo
index 6db2d7016c8..464d0b6b868 100644
--- a/converters/libfreehand/distinfo
+++ b/converters/libfreehand/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.6 2019/01/06 02:51:47 tnn Exp $
+$NetBSD: distinfo,v 1.7 2020/03/24 15:49:36 nia Exp $
-SHA1 (libfreehand-0.1.1.tar.bz2) = 713ffc76f065390ce82016ba205415d5bffe724f
-RMD160 (libfreehand-0.1.1.tar.bz2) = 4770e3c4c62909221e4b6f7875b3c88ebf362f86
-SHA512 (libfreehand-0.1.1.tar.bz2) = 2189eb9b4e0959d4a1854f8f73048b00d639c9c155f948f0823c3bf13da28fbeee5ed548ba18c14c1255bc0420df4500382da640488e695ba743a9284655933b
-Size (libfreehand-0.1.1.tar.bz2) = 597212 bytes
+SHA1 (libfreehand-0.1.2.tar.xz) = f945b23b7801a3601998973028a054ee379967cb
+RMD160 (libfreehand-0.1.2.tar.xz) = 192b04b4aa85a6d3e7f1200aad7588e72978a329
+SHA512 (libfreehand-0.1.2.tar.xz) = 4112a76ac99999801d97d1b282596d631d8496a5bf65778ab26aa06da86637b1e2b630648a67ea01bf3316ecec9f2715546baff27af090b900267c87a011b963
+Size (libfreehand-0.1.2.tar.xz) = 516132 bytes
SHA1 (patch-src_lib_FHPath.h) = a883f19924232b178b98aeb480cc0fa1ab37e98f
diff --git a/converters/libfreehand/patches/patch-src_lib_FHPath.h b/converters/libfreehand/patches/patch-src_lib_FHPath.h
deleted file mode 100644
index 59252b6eb2c..00000000000
--- a/converters/libfreehand/patches/patch-src_lib_FHPath.h
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-src_lib_FHPath.h,v 1.1 2015/06/27 18:41:40 joerg Exp $
-
---- src/lib/FHPath.h.orig 2015-06-27 14:05:28.000000000 +0000
-+++ src/lib/FHPath.h
-@@ -16,7 +16,7 @@
- namespace libfreehand
- {
-
--class FHTransform;
-+struct FHTransform;
-
- class FHPathElement
- {