--- /dev/null
+--- asymptote-2.59/doc/asymptote.texi.orig 2019-10-20 06:39:42.000000000 +0200
++++ asymptote-2.59/doc/asymptote.texi 2019-10-29 05:40:59.716812295 +0100
+@@ -21,9 +21,9 @@
+ @end quotation
+ @end copying
+
+-@dircategory Languages
++@dircategory Graphics Utilities:
+ @direntry
+-* asymptote: (asymptote/asymptote). Vector graphics language.
++* asymptote: (asymptote/asymptote). Vector graphics language
+ @end direntry
+
+ @titlepage
+# TODO: OpenImageIO? (--enable-openimageio)
Summary: Asymptote is a powerful descriptive vector graphics language for technical drawing
Summary(hu.UTF-8): Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz
Summary(pl.UTF-8): Język opisu grafiki wektorowej do rysunków technicznych
Name: asymptote
Version: 2.59
-Release: 1
+Release: 2
# uses GPL libraries (gsl, readline), so final license is GPL
License: GPL v3+ (LGPL v3+ code)
Group: Applications/Science
Source0: http://downloads.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
# Source0-md5: d43d86b6e80faa7364ab57a6161ac1d0
Patch0: %{name}-memrchr.patch
+Patch1: %{name}-info.patch
URL: http://asymptote.sourceforge.net/
+BuildRequires: GLM
BuildRequires: Mesa-libOSMesa-devel
BuildRequires: OpenGL-GLU-devel
BuildRequires: OpenGL-devel
BuildRequires: bison
BuildRequires: fftw3-devel >= 3
BuildRequires: flex
-BuildRequires: gc-c++-devel >= 7.0
-BuildRequires: gc-devel >= 7.0
+BuildRequires: gc-c++-devel >= 8.0.4
+BuildRequires: gc-devel >= 8.0.4
BuildRequires: ghostscript
BuildRequires: gsl-devel >= 1.7
BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: python >= 2
BuildRequires: readline-devel >= 4.3
BuildRequires: rpm-pythonprov
+BuildRequires: texinfo
BuildRequires: texinfo-texi2dvi >= 6.7
BuildRequires: texlive-dvips
BuildRequires: texlive-fonts-ams
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__autoconf}
%{__autoheader}
%configure \
--enable-gc=system \
+ --enable-offscreen \
--with-docdir=%{_docdir}/%{name}-doc
%ifarch ppc