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
This commit is contained in:
gdt 2021-12-11 16:00:59 +00:00
parent e99ff1d778
commit 898a2b4101
3 changed files with 29 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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; }