diff --git a/graphics/libfreehand/Makefile b/graphics/libfreehand/Makefile index 6cf2afe220f3..1cfffb45e3bf 100644 --- a/graphics/libfreehand/Makefile +++ b/graphics/libfreehand/Makefile @@ -1,29 +1,28 @@ PORTNAME= libfreehand -PORTVERSION= 0.1.2 -PORTREVISION= 28 +PORTVERSION= 0.1.3 CATEGORIES= graphics MASTER_SITES= LODEV MAINTAINER= office@FreeBSD.org COMMENT= Library for interpreting and importing Adobe/Macromedia drawings WWW= https://wiki.documentfoundation.org/DLP/Libraries/libfreehand LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/include/boost/cstdint.hpp:devel/boost-libs \ cppunit-config:devel/cppunit \ icu-config:devel/icu LIB_DEPENDS= liblcms2.so:graphics/lcms2 \ librevenge-0.0.so:textproc/librevenge GNU_CONFIGURE= yes USES= compiler:c++11-lang gperf perl5 libtool pathfix pkgconfig tar:xz USE_LDCONFIG= yes USE_PERL5= build CONFIGURE_ARGS= --disable-werror --without-docs CPPFLAGS+= -D CMS_NO_REGISTER_KEYWORD CPPFLAGS+= -I ${LOCALBASE}/include INSTALL_TARGET= install-strip .include diff --git a/graphics/libfreehand/distinfo b/graphics/libfreehand/distinfo index d2655de07a75..4d1f6287b281 100644 --- a/graphics/libfreehand/distinfo +++ b/graphics/libfreehand/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1505860846 -SHA256 (libfreehand-0.1.2.tar.xz) = 0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac -SIZE (libfreehand-0.1.2.tar.xz) = 516132 +TIMESTAMP = 1783952432 +SHA256 (libfreehand-0.1.3.tar.xz) = a431d78767e5aa27ade7c6d1b7a11a9f1848cb4b9260bf0a6a44689553ecccfe +SIZE (libfreehand-0.1.3.tar.xz) = 534768 diff --git a/graphics/libfreehand/files/patch-src_lib_libfreehand__utils.cpp b/graphics/libfreehand/files/patch-src_lib_libfreehand__utils.cpp deleted file mode 100644 index 5cac85099929..000000000000 --- a/graphics/libfreehand/files/patch-src_lib_libfreehand__utils.cpp +++ /dev/null @@ -1,40 +0,0 @@ -Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652 - -libfreehand_utils.cpp:165:30: error: expected ';' after do/while statement - U16_NEXT(s, j, length, c) - ^ - ; -libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' - U8_APPEND_UNSAFE(&outbuf[0], i, c); - ^ -libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' -libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' -libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' -libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' -libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' -libfreehand_utils.cpp:168:23: error: use of undeclared identifier 'outbuf' -libfreehand_utils.cpp:169:5: error: use of undeclared identifier 'outbuf'; did you mean 'setbuf'? - outbuf[i] = 0; - ^~~~~~ - setbuf -/usr/include/stdio.h:283:7: note: 'setbuf' declared here -void setbuf(FILE * __restrict, char * __restrict); - ^ -libfreehand_utils.cpp:169:5: error: subscript of pointer to function type 'void (FILE *, char *)' (aka 'void (__sFILE *, char *)') - outbuf[i] = 0; - ^~~~~~ -libfreehand_utils.cpp:171:25: error: use of undeclared identifier 'outbuf' - text.append((char *)outbuf); - ^ - ---- src/lib/libfreehand_utils.cpp.orig 2017-09-16 10:28:50 UTC -+++ src/lib/libfreehand_utils.cpp -@@ -162,7 +162,7 @@ void libfreehand::_appendUTF16(librevenge::RVNGString - while (j < length) - { - UChar32 c; -- U16_NEXT(s, j, length, c) -+ U16_NEXT(s, j, length, c); - unsigned char outbuf[U8_MAX_LENGTH+1]; - int i = 0; - U8_APPEND_UNSAFE(&outbuf[0], i, c); diff --git a/graphics/libfreehand/pkg-plist b/graphics/libfreehand/pkg-plist index 905f68ff2ab9..dc241fca573f 100644 --- a/graphics/libfreehand/pkg-plist +++ b/graphics/libfreehand/pkg-plist @@ -1,9 +1,9 @@ bin/fh2raw bin/fh2svg bin/fh2text include/libfreehand-0.1/libfreehand/FreeHandDocument.h include/libfreehand-0.1/libfreehand/libfreehand.h lib/libfreehand-0.1.so lib/libfreehand-0.1.so.1 -lib/libfreehand-0.1.so.1.0.2 +lib/libfreehand-0.1.so.1.0.3 libdata/pkgconfig/libfreehand-0.1.pc