- Update to 1.4.4

PR:		130434
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Martin Wilke
2009-01-16 09:12:36 +00:00
parent cc8daa530d
commit 324bff29d1
6 changed files with 5 additions and 83 deletions

View File

@@ -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}"

View File

@@ -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

View File

@@ -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:

View File

@@ -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);

View File

@@ -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

View File

@@ -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)
{