diff --git a/0001-Fix-without-lsp-issue-379.patch b/0001-Fix-without-lsp-issue-379.patch new file mode 100644 index 0000000..d5bae21 --- /dev/null +++ b/0001-Fix-without-lsp-issue-379.patch @@ -0,0 +1,53 @@ +From 29caaed5ead5a62787475286afd22e40585b8bb8 Mon Sep 17 00:00:00 2001 +From: John Bowman +Date: Wed, 14 Jun 2023 22:36:35 -0600 +Subject: [PATCH] Fix --without-lsp (issue #379). + +--- + common.h | 17 ++++++++--------- + 1 file changed, 8 insertions(+), 9 deletions(-) + +diff --git a/common.h b/common.h +index 13f8be10..6ee3d971 100644 +--- a/common.h ++++ b/common.h +@@ -17,28 +17,27 @@ + #include "config.h" + #endif + +-#ifdef HAVE_LSP + #if __cplusplus < 201703L ++ ++#ifdef HAVE_LSP + #include + #include + using boost::optional; + #define nullopt boost::none + using boost::make_optional; + #else +-#include +-using std::optional; +-using std::nullopt; +-using std::make_optional; +-#endif +- +-#else +-#if __cplusplus < 201703L + #include "optional.hpp" + #define boost nonstd + using nonstd::optional; + using nonstd::nullopt; + using nonstd::make_optional; + #endif ++ ++#else ++#include ++using std::optional; ++using std::nullopt; ++using std::make_optional; + #endif + + using std::make_pair; +-- +2.41.0 + diff --git a/2.83.tar.gz b/2.83.tar.gz deleted file mode 100644 index 30f77bd..0000000 --- a/2.83.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cca2ffc0f611c7c3b70ff6b21403ec431d9d25e01a05d31316aecb544c41e5f9 -size 12511016 diff --git a/2.86.tar.gz b/2.86.tar.gz new file mode 100644 index 0000000..9d2f77e --- /dev/null +++ b/2.86.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3ebcc90beb67bf7f8575fb519cb9d5d3c6cfd77f97ee1f69d53af458563c8aaa +size 12524934 diff --git a/asymptote.changes b/asymptote.changes index df44d8f..a15d369 100644 --- a/asymptote.changes +++ b/asymptote.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Jun 24 12:24:02 UTC 2023 - Jan Engelhardt + +- Update to release 2.86 + * Terminate phase1 of simplex method once a zero-cost solution + is found. + * Fix bug in XDR reads due to uninitialized variable. + * Add high-resolution clock; update FFT support. +- Add 0001-Fix-without-lsp-issue-379.patch + ------------------------------------------------------------------- Sat Nov 19 22:16:05 UTC 2022 - Jan Engelhardt diff --git a/asymptote.spec b/asymptote.spec index 445b2a5..836a9f6 100644 --- a/asymptote.spec +++ b/asymptote.spec @@ -1,7 +1,7 @@ # # spec file for package asymptote # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %bcond_with lsp Name: asymptote -Version: 2.83 +Version: 2.86 Release: 0 Summary: 2D & 3D TeX-Aware vector graphics language License: LGPL-3.0-or-later @@ -27,6 +27,7 @@ URL: https://asymptote.sourceforge.io/ #Git-Clone: https://github.com/vectorgraphics/asymptote Source: https://github.com/vectorgraphics/asymptote/archive/refs/tags/%version.tar.gz +Patch1: 0001-Fix-without-lsp-issue-379.patch BuildRequires: automake BuildRequires: bison BuildRequires: flex