From b139175895a7353ddb90cfb6b437aea612906f4f Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Mon, 7 Oct 2019 14:14:46 +0000 Subject: [PATCH] - Update LibreDWG to version 0.9 - Enable runtime tracing by default: it has no noticeable effect during normal usage but greatly improves debugging experience Reported by: portscout --- cad/libredwg/Makefile | 7 ++++--- cad/libredwg/distinfo | 6 +++--- cad/libredwg/pkg-plist | 3 ++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/cad/libredwg/Makefile b/cad/libredwg/Makefile index f09115821c04..bbc0b6ad5dc9 100644 --- a/cad/libredwg/Makefile +++ b/cad/libredwg/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libredwg -PORTVERSION= 0.8 +PORTVERSION= 0.9 CATEGORIES= cad devel MASTER_SITES= GNU @@ -13,6 +13,7 @@ LICENSE= GPLv3+ USES= libtool tar:xz GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-trace USE_LDCONFIG= yes TEST_TARGET= check @@ -34,8 +35,8 @@ PYTHON_CONFIGURE_OFF= --disable-python post-patch: # XXX: switch the order of #include's to unbreak on powerpc/sparc64 # which are still based on gcc-4.2.1 (should be no-op elsewhere) - @${REINPLACE_CMD} -e '/bits\.h/ { x; s/^/#include "suffix.inc"/; \ - G; } ; 32d' ${WRKSRC}/programs/dwgwrite.c + @${REINPLACE_CMD} -e '/#include "com/ { x; s/^/#include /; \ + G; }; 24d' ${WRKSRC}/src/common.c post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/cad/libredwg/distinfo b/cad/libredwg/distinfo index bd8da124bb11..b2339868dadf 100644 --- a/cad/libredwg/distinfo +++ b/cad/libredwg/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1561454497 -SHA256 (libredwg-0.8.tar.xz) = 0487c84e962a4dbcfcf3cbe961294b74c1bebd89a128b4929a1353bc7f58af26 -SIZE (libredwg-0.8.tar.xz) = 4295148 +TIMESTAMP = 1570352507 +SHA256 (libredwg-0.9.tar.xz) = 954f74753860315eb313a3bbb83bf7e5ad03e84bd10408cc629ff2e4e4b3fd46 +SIZE (libredwg-0.9.tar.xz) = 4437540 diff --git a/cad/libredwg/pkg-plist b/cad/libredwg/pkg-plist index e59f5cca722b..437e931535c2 100644 --- a/cad/libredwg/pkg-plist +++ b/cad/libredwg/pkg-plist @@ -5,12 +5,13 @@ bin/dwggrep bin/dwglayers bin/dwgread bin/dwgrewrite +bin/dxf2dwg include/dwg.h include/dwg_api.h lib/libredwg.a lib/libredwg.so lib/libredwg.so.0 -lib/libredwg.so.0.0.0 +lib/libredwg.so.0.0.9 libdata/pkgconfig/libredwg.pc man/man1/dwg2SVG.1.gz man/man1/dwg2dxf.1.gz