[packages/GiNaC] Up to 1.8.10
arekm
arekm at pld-linux.org
Fri May 8 17:08:32 CEST 2026
commit a74bfee12336c39296455082f100506daf9864fe
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri May 8 17:08:22 2026 +0200
Up to 1.8.10
GiNaC-cstdint.patch | 10 ++++++++++
GiNaC.spec | 15 +++++++--------
2 files changed, 17 insertions(+), 8 deletions(-)
---
diff --git a/GiNaC.spec b/GiNaC.spec
index 92f1afd..17b0ab3 100644
--- a/GiNaC.spec
+++ b/GiNaC.spec
@@ -1,13 +1,14 @@
Summary: C++ class library for symbolic calculations
Summary(pl.UTF-8): Biblioteka klas C++ do obliczeń symbolicznych
Name: GiNaC
-Version: 1.6.5
-Release: 4
+Version: 1.8.10
+Release: 1
License: GPL v2+
Group: Libraries
Source0: http://www.ginac.de/ginac-%{version}.tar.bz2
-# Source0-md5: 5379a3ce17c30277513ef8ca9e0f53c2
+# Source0-md5: cda8d7a4b4193ad457d71195f5b77ee0
Patch0: %{name}-info.patch
+Patch1: %{name}-cstdint.patch
URL: http://www.ginac.de/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.8
@@ -80,9 +81,7 @@ zawartość archiwów GiNaC.
%prep
%setup -q -n ginac-%{version}
%patch -P0 -p1
-%{__sed} -i -e 's/#include <iostream>/#include <cstdio>\n#include <iostream>/g' ginac/parser/lexer.cpp
-# generated with wrong bison version, miscompiled by gcc 4.1+
-#%{__rm} ginac/input_parser.{cc,h}
+%patch -P1 -p1
%build
%{__libtoolize}
@@ -116,7 +115,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libginac.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libginac.so.5
+%attr(755,root,root) %ghost %{_libdir}/libginac.so.13
%files devel
%defattr(644,root,root,755)
@@ -133,7 +132,7 @@ rm -rf $RPM_BUILD_ROOT
%files utils
%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/ginac-excompiler
+%attr(755,root,root) %{_libexecdir}/ginac-excompiler
%attr(755,root,root) %{_bindir}/ginsh
%attr(755,root,root) %{_bindir}/viewgar
%{_mandir}/man1/ginsh.1*
diff --git a/GiNaC-cstdint.patch b/GiNaC-cstdint.patch
new file mode 100644
index 0000000..3d082bb
--- /dev/null
+++ b/GiNaC-cstdint.patch
@@ -0,0 +1,10 @@
+--- ginac-1.8.10/check/time_Gt.cpp.orig 2026-05-08 00:00:00.000000000 +0000
++++ ginac-1.8.10/check/time_Gt.cpp 2026-05-08 00:00:00.000000000 +0000
+@@ -21,6 +21,7 @@
+
+ #include <iostream>
+ #include "timer.h"
++#include <cstdint>
+ #include "ginac.h"
+ #include "parser/parse_context.h"
+ #include "Gt.h"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/GiNaC.git/commitdiff/a74bfee12336c39296455082f100506daf9864fe
More information about the pld-cvs-commit
mailing list