1
0
forked from pool/asymptote

- Update to release 2.89

OBS-URL: https://build.opensuse.org/package/show/science/asymptote?expand=0&rev=19
This commit is contained in:
Jan Engelhardt 2024-04-11 17:16:51 +00:00 committed by Git OBS Bridge
parent dcfb41ad44
commit 666d5ecd09
5 changed files with 14 additions and 59 deletions

View File

@ -1,53 +0,0 @@
From 29caaed5ead5a62787475286afd22e40585b8bb8 Mon Sep 17 00:00:00 2001
From: John Bowman <bowman@ualberta.ca>
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 <boost/optional.hpp>
#include <boost/none.hpp>
using boost::optional;
#define nullopt boost::none
using boost::make_optional;
#else
-#include <optional>
-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 <optional>
+using std::optional;
+using std::nullopt;
+using std::make_optional;
#endif
using std::make_pair;
--
2.41.0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3ebcc90beb67bf7f8575fb519cb9d5d3c6cfd77f97ee1f69d53af458563c8aaa
size 12524934

3
2.89.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e2c6772b23074e8b9fa0832e2a4d5f743c02949e4799aaedfe59b6a0b0f10d96
size 12531627

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Apr 11 16:18:35 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 2.89
* Avoid broken dvisvgm reassign-clippaths optimization.
* Use a unique signature hash for identifying templated imports.
* Optimize dvisvgm output by default.
- Delete 0001-Fix-without-lsp-issue-379.patch (merged)
-------------------------------------------------------------------
Sat Jun 24 12:24:02 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package asymptote
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 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.86
Version: 2.89
Release: 0
Summary: 2D & 3D TeX-Aware vector graphics language
License: LGPL-3.0-or-later
@ -27,7 +27,6 @@ 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