summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2021-12-11 16:00:59 +0000
committergdt <gdt@pkgsrc.org>2021-12-11 16:00:59 +0000
commite783b9962e8298d49c3e9a96b412fa84bb506428 (patch)
treef3ba64f92df8b18a28348485bb71728bff9832cf /cad
parent51280ed4b7c8bc6ccddc8fba10982f9edfcc199e (diff)
downloadpkgsrc-e783b9962e8298d49c3e9a96b412fa84bb506428.tar.gz
cad/libredwg: Update to 0.12.4
Major bugfixes: * Fixed encode from dwg and json for many objects: missing size and bitsize recalculation for objects with strings and DD types. (GH #322, #326) * dwgadd: Fixed the pspace command. (GH #319) * Missed all binary DXF groups 0. Still not working, but added to oss-fuzz. * Support older gperf, older than 3.1. eg. macOS
Diffstat (limited to 'cad')
-rw-r--r--cad/libredwg/Makefile5
-rw-r--r--cad/libredwg/distinfo9
-rw-r--r--cad/libredwg/patches/patch-configure22
3 files changed, 29 insertions, 7 deletions
diff --git a/cad/libredwg/Makefile b/cad/libredwg/Makefile
index 68701e679e9..8c77f45b0c9 100644
--- a/cad/libredwg/Makefile
+++ b/cad/libredwg/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2021/12/08 16:03:25 adam Exp $
+# $NetBSD: Makefile,v 1.7 2021/12/11 16:00:59 gdt Exp $
#
-DISTNAME= libredwg-0.12.3
-PKGREVISION= 1
+DISTNAME= libredwg-0.12.4
CATEGORIES= cad
MASTER_SITES= https://ftp.gnu.org/gnu/libredwg/
EXTRACT_SUFX= .tar.xz
diff --git a/cad/libredwg/distinfo b/cad/libredwg/distinfo
index d00a99c262f..7f8178da08c 100644
--- a/cad/libredwg/distinfo
+++ b/cad/libredwg/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/11/30 14:19:16 gdt Exp $
+$NetBSD: distinfo,v 1.6 2021/12/11 16:00:59 gdt Exp $
-BLAKE2s (libredwg-0.12.3.tar.xz) = 1fd90dbb712b66cb999601942a57502c2f4df71a6b6e8a5507b36f7b82811c73
-SHA512 (libredwg-0.12.3.tar.xz) = 4d86ce1c974c626e98d608f1650c74cd22eba84eb92a760c634663fa7cdd2d198f3a0f4e4ee3dece900c511c510a509c05de02f9595bccef70ef36144437de8c
-Size (libredwg-0.12.3.tar.xz) = 9528116 bytes
+BLAKE2s (libredwg-0.12.4.tar.xz) = 595836278d293c37b657ac6de23f41776add70563183b2c089e7053b6b289303
+SHA512 (libredwg-0.12.4.tar.xz) = 291aa254d84d97408cac27cb136e525f2a8a8b78849a61c5a390397d014c02ab6ebe786d6029c43edd5fc11e7079dfc0b375c4c468a8ee603b74f4df2a3bc20f
+Size (libredwg-0.12.4.tar.xz) = 9535732 bytes
+SHA1 (patch-configure) = f685d2a8c6df804cc90736f30b0682e82a6db9a4
diff --git a/cad/libredwg/patches/patch-configure b/cad/libredwg/patches/patch-configure
new file mode 100644
index 00000000000..7fc5f693d45
--- /dev/null
+++ b/cad/libredwg/patches/patch-configure
@@ -0,0 +1,22 @@
+$NetBSD: patch-configure,v 1.1 2021/12/11 16:00:59 gdt Exp $
+
+Kludge around use of bash extensions.
+
+Reported upstream via email.
+
+--- configure.orig 2021-03-17 08:13:26.000000000 +0000
++++ configure
+@@ -17956,10 +17956,9 @@ then
+ $as_echo_n "checking GPERF version... " >&6; }
+ GPERF_VERSION=`"$GPERF" --version | head -n1 2>&1 | sed 's,GNU gperf ,,'`
+ case $GPERF_VERSION in
+- 1.*) GPERF_VERSION=$((100+${GPERF_VERSION:2:1})) ;;
+- 2.*) GPERF_VERSION=$((200+${GPERF_VERSION:2:1})) ;;
+- 3.*) GPERF_VERSION=$((300+${GPERF_VERSION:2:1})) ;;
+- 4.*) GPERF_VERSION=$((400+${GPERF_VERSION:2:1})) ;;
++ 3.0) GPERF_VERSION=300 ;;
++ 3.1) GPERF_VERSION=301 ;;
++ 4.*) GPERF_VERSION=400 ;;
+ esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPERF_VERSION" >&5
+ $as_echo "$GPERF_VERSION" >&6; }