From 0f705dfe46a02d288468fb34556063be73b7134e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sun, 20 Oct 2019 20:33:28 +0000 Subject: vars/build.vars:libressl: updated to v3.0.2 (via Redfoxmoon.) vars/build.vars:native_packages_etc: adds libredwg v0.9 (via Redfoxmoon.) patches/libredwg-0.9.local.patch: via Redfoxmoon. patches/libressl-{2.9.1,3.0.2}.local.patch: via Redfoxmoon. --- patches/libredwg-0.9.local.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 patches/libredwg-0.9.local.patch (limited to 'patches/libredwg-0.9.local.patch') diff --git a/patches/libredwg-0.9.local.patch b/patches/libredwg-0.9.local.patch new file mode 100644 index 00000000..1c3f85c9 --- /dev/null +++ b/patches/libredwg-0.9.local.patch @@ -0,0 +1,30 @@ +diff -ru libredwg-0.9.orig/src/spec.h libredwg-0.9/src/spec.h +--- libredwg-0.9.orig/src/spec.h 2019-09-30 11:03:41.000000000 +0200 ++++ libredwg-0.9/src/spec.h 2019-10-20 12:19:02.446065755 +0200 +@@ -358,7 +358,7 @@ + for (rcount1 = 0; rcount1 < (BITCODE_BL)times; rcount1++) + // checked with constant times + # define REPEAT_N(times, name, type) \ +- if (dat->version >= R_2000 && (BITCODE_BL)times > 0x1000) \ ++ if (dat->version >= R_2000 && (BITCODE_BL)times > 0x7ff) \ + { \ + LOG_ERROR ("Invalid %s." #name " rcount1 %ld", SAFEDXFNAME, \ + (long)times); \ +@@ -369,7 +369,7 @@ + + // checked with var. times + # define _REPEAT(times, name, type, idx) \ +- if (dat->version >= R_2000 && (BITCODE_BL)_obj->times > 0x1000) \ ++ if (dat->version >= R_2000 && (BITCODE_BL)_obj->times > 0x7ff) \ + { \ + LOG_ERROR ("Invalid %s." #name " rcount" #idx " %ld", SAFEDXFNAME, \ + (long)_obj->times); \ +@@ -410,7 +410,7 @@ + #ifndef _REPEAT_NF + // checked + # define _REPEAT_NF(times, name, type, idx) \ +- if (dat->version >= R_2000 && times > 0x1000) \ ++ if (dat->version >= R_2000 && times > 0x7ff) \ + { \ + LOG_ERROR ("Invalid %s." #name " rcount" #idx " %ld", SAFEDXFNAME, \ + (long)times); \ -- cgit v1.2.3