summaryrefslogtreecommitdiff
path: root/math/GiNaC
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-01-16 09:12:36 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-01-16 09:12:36 +0000
commit324bff29d116871f397a9ffac9237dd0c1dcc2cf (patch)
tree61b32eaf3e18218213ea9f1609c64115658a0bce /math/GiNaC
parent- Update to 0.7.1 (diff)
- Update to 1.4.4
PR: 130434 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=226244
Diffstat (limited to 'math/GiNaC')
-rw-r--r--math/GiNaC/Makefile4
-rw-r--r--math/GiNaC/distinfo6
-rw-r--r--math/GiNaC/files/patch-ginac::matrix.h18
-rw-r--r--math/GiNaC/files/patch-ginac::numeric.cpp11
-rw-r--r--math/GiNaC/files/patch-ginsh::ginsh_lexer.ll11
-rw-r--r--math/GiNaC/files/patch-ginsh::ginsh_parser.yy38
6 files changed, 5 insertions, 83 deletions
diff --git a/math/GiNaC/Makefile b/math/GiNaC/Makefile
index db060b6e9209..030cb28478b3 100644
--- a/math/GiNaC/Makefile
+++ b/math/GiNaC/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= GiNaC
-PORTVERSION= 1.4.3
+PORTVERSION= 1.4.4
CATEGORIES= math
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
http://www.ginac.de/
@@ -19,7 +19,7 @@ COMMENT= A C++ library for symbolic mathematical calculations
LIB_DEPENDS= cln.5:${PORTSDIR}/math/cln
USE_BZIP2= yes
-USE_GNOME= gnomehack gnometarget pkgconfig
+USE_GNOME= gnomehack pkgconfig
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
diff --git a/math/GiNaC/distinfo b/math/GiNaC/distinfo
index fe51663a3839..94862e5231e1 100644
--- a/math/GiNaC/distinfo
+++ b/math/GiNaC/distinfo
@@ -1,3 +1,3 @@
-MD5 (ginac-1.4.3.tar.bz2) = abad55c4ae27d5d65f525fabefaddd05
-SHA256 (ginac-1.4.3.tar.bz2) = dcd6991abae6df2fa247b57d754b8cbd9cc8119268c15d3470b3286132f7708f
-SIZE (ginac-1.4.3.tar.bz2) = 847869
+MD5 (ginac-1.4.4.tar.bz2) = 60d38b352258473e3cc4de75c0d6f88e
+SHA256 (ginac-1.4.4.tar.bz2) = 4d50f43b6fb489345d31cb1e30899f7cb999aa200acbf6b342a73379f24312d3
+SIZE (ginac-1.4.4.tar.bz2) = 864678
diff --git a/math/GiNaC/files/patch-ginac::matrix.h b/math/GiNaC/files/patch-ginac::matrix.h
deleted file mode 100644
index 35caec852d16..000000000000
--- a/math/GiNaC/files/patch-ginac::matrix.h
+++ /dev/null
@@ -1,18 +0,0 @@
---- ginac/matrix.h.orig Wed Oct 1 01:00:24 2003
-+++ ginac/matrix.h Thu Nov 6 13:30:18 2003
-@@ -100,6 +100,7 @@
- matrix(unsigned r, unsigned c, const exvector & m2);
- matrix(unsigned r, unsigned c, const lst & l);
-
-+#if 0
- // First step of initialization of matrix with a comma-separated seqeuence
- // of expressions. Subsequent steps are handled by matrix_init<>::operator,().
- matrix_init<ex, exvector::iterator> operator=(const ex & x)
-@@ -107,6 +108,7 @@
- m[0] = x;
- return matrix_init<ex, exvector::iterator>(++m.begin());
- }
-+#endif
-
- // functions overriding virtual functions from base classes
- public:
diff --git a/math/GiNaC/files/patch-ginac::numeric.cpp b/math/GiNaC/files/patch-ginac::numeric.cpp
deleted file mode 100644
index 817362cd1477..000000000000
--- a/math/GiNaC/files/patch-ginac::numeric.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- ginac/numeric.cpp.orig Mon Nov 26 20:59:49 2001
-+++ ginac/numeric.cpp Mon Nov 26 21:00:12 2001
-@@ -249,7 +249,7 @@
- // Read number as string
- std::string str;
- if (n.find_string("number", str)) {
-- std::istringstream s(str);
-+ std::istringstream s(str.c_str());
- cln::cl_idecoded_float re, im;
- char c;
- s.get(c);
diff --git a/math/GiNaC/files/patch-ginsh::ginsh_lexer.ll b/math/GiNaC/files/patch-ginsh::ginsh_lexer.ll
deleted file mode 100644
index 4a21abd620e2..000000000000
--- a/math/GiNaC/files/patch-ginsh::ginsh_lexer.ll
+++ /dev/null
@@ -1,11 +0,0 @@
---- ginsh/ginsh_lexer.ll.orig Tue Mar 6 18:18:07 2001
-+++ ginsh/ginsh_lexer.ll Tue Mar 6 18:22:06 2001
-@@ -32,6 +32,8 @@
- #include "ginsh.h"
- #include "ginsh_parser.h"
-
-+extern YYSTYPE yylval;
-+
- #define YY_INPUT(buf, result, max_size) (result = ginsh_input(buf, max_size))
-
- // Table of all used symbols
diff --git a/math/GiNaC/files/patch-ginsh::ginsh_parser.yy b/math/GiNaC/files/patch-ginsh::ginsh_parser.yy
deleted file mode 100644
index ba8193fa3205..000000000000
--- a/math/GiNaC/files/patch-ginsh::ginsh_parser.yy
+++ /dev/null
@@ -1,38 +0,0 @@
---- ginsh/ginsh_parser.yy.orig Mon Feb 5 22:08:16 2007
-+++ ginsh/ginsh_parser.yy Sat Oct 20 16:46:13 2007
-@@ -28,6 +28,8 @@
-
- %{
- #include "config.h"
-+#include <sys/time.h>
-+
- #ifdef HAVE_RUSAGE
- #include <sys/resource.h>
- #else
-@@ -859,7 +861,7 @@
- // For shell commands, revert back to filename completion
- rl_completion_append_character = orig_completion_append_character;
- rl_basic_word_break_characters = orig_basic_word_break_characters;
-- rl_completer_word_break_characters = GINAC_RL_COMPLETER_CAST(rl_basic_word_break_characters);
-+ rl_completer_word_break_characters = GINAC_RL_COMPLETER_CAST((char*)rl_basic_word_break_characters);
- #if (GINAC_RL_VERSION_MAJOR < 4) || (GINAC_RL_VERSION_MAJOR == 4 && GINAC_RL_VERSION_MINOR < 2)
- return completion_matches(const_cast<char *>(text), (CPFunction *)filename_completion_function);
- #else
-@@ -869,7 +871,7 @@
- // Otherwise, complete function names
- rl_completion_append_character = '(';
- rl_basic_word_break_characters = " \t\n\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~";
-- rl_completer_word_break_characters = GINAC_RL_COMPLETER_CAST(rl_basic_word_break_characters);
-+ rl_completer_word_break_characters = GINAC_RL_COMPLETER_CAST((char*)rl_basic_word_break_characters);
- #if (GINAC_RL_VERSION_MAJOR < 4) || (GINAC_RL_VERSION_MAJOR == 4 && GINAC_RL_VERSION_MINOR < 2)
- return completion_matches(const_cast<char *>(text), (CPFunction *)fcn_generator);
- #else
-@@ -892,6 +894,8 @@
- /*
- * Main program
- */
-+
-+int yyparse();
-
- int main(int argc, char **argv)
- {