summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-04-03 09:44:59 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-04-03 09:44:59 +0000
commit8503ba9cfbb324c0a91de44cad667d8ee1ce8439 (patch)
tree0451c65c00f03bf9a625d759498feaaa1f9448f5 /sci-mathematics/ginac/files
parentBump to 2.0.9, fixes #264556 (diff)
downloadgentoo-2-8503ba9cfbb324c0a91de44cad667d8ee1ce8439.tar.gz
gentoo-2-8503ba9cfbb324c0a91de44cad667d8ee1ce8439.tar.bz2
gentoo-2-8503ba9cfbb324c0a91de44cad667d8ee1ce8439.zip
Version bump
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'sci-mathematics/ginac/files')
-rw-r--r--sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch21
-rw-r--r--sci-mathematics/ginac/files/ginac-1.5.1-lexer_cpp.patch10
-rw-r--r--sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch9
3 files changed, 19 insertions, 21 deletions
diff --git a/sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch b/sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch
deleted file mode 100644
index 93d910dbbd05..000000000000
--- a/sci-mathematics/ginac/files/ginac-1.4.1-gcc4.3.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -Naur ginac-1.4.1/ginac/numeric.cpp ginac-1.4.1.new/ginac/numeric.cpp
---- ginac-1.4.1/ginac/numeric.cpp 2007-09-07 06:53:54.000000000 -0400
-+++ ginac-1.4.1.new/ginac/numeric.cpp 2008-04-01 08:51:29.000000000 -0400
-@@ -408,7 +408,7 @@
- * @sa http://www.ginac.de/pipermail/cln-list/2006-October/000248.html
- */
- template<>
--static inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg)
-+inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg)
- {
- static const cln::cl_I cl_max_int =
- (cln::cl_I)(long)(std::numeric_limits<int>::max());
-@@ -422,7 +422,7 @@
- }
-
- template<>
--static inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg)
-+inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg)
- {
- static const cln::cl_I cl_max_uint =
- (cln::cl_I)(unsigned long)(std::numeric_limits<unsigned int>::max());
diff --git a/sci-mathematics/ginac/files/ginac-1.5.1-lexer_cpp.patch b/sci-mathematics/ginac/files/ginac-1.5.1-lexer_cpp.patch
new file mode 100644
index 000000000000..1da24a5d5238
--- /dev/null
+++ b/sci-mathematics/ginac/files/ginac-1.5.1-lexer_cpp.patch
@@ -0,0 +1,10 @@
+--- ginac-1.5.1.org/ginac/parser/lexer.cpp 2009-03-16 22:04:09.000000000 +0530
++++ ginac-1.5.1/ginac/parser/lexer.cpp 2009-03-16 22:04:30.000000000 +0530
+@@ -23,6 +23,7 @@
+ #include "lexer.h"
+ #include "compiler.h"
+
++#include <cstdio>
+ #include <iostream>
+ #include <sstream>
+ #include <string>
diff --git a/sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch b/sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch
new file mode 100644
index 000000000000..5a6784d6b802
--- /dev/null
+++ b/sci-mathematics/ginac/files/ginac-1.5.1-pkgconfig.patch
@@ -0,0 +1,9 @@
+--- ginac-1.4.4.org/ginac.pc.in 2009-03-16 21:17:22.000000000 +0530
++++ ginac-1.4.4/ginac.pc.in 2009-03-16 21:25:28.000000000 +0530
+@@ -7,5 +7,5 @@
+ Description: C++ library for symbolic calculations
+ Version: @VERSION@
+ Requires: cln >= 1.1.6
+-Libs: -L${libdir} -lginac @GINACLIB_RPATH@
++Libs: -L${libdir} -lginac
+ Cflags: -I${includedir}