ports/130434: Update port: math/GiNaC to 1.4.4
KATO Tsuguru
tkato432 at yahoo.com
Mon Jan 12 18:20:03 UTC 2009
>Number: 130434
>Category: ports
>Synopsis: Update port: math/GiNaC to 1.4.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 12 18:20:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update to version 1.4.4
Remove file:
files/patch-ginac::matrix.h
patch-ginac::numeric.cpp
files/patch-ginsh::ginsh_lexer.ll
files/patch-ginsh::ginsh_parser.yy
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/math/GiNaC/Makefile math/GiNaC/Makefile
--- /usr/ports/math/GiNaC/Makefile 2008-04-28 18:59:54.000000000 +0900
+++ math/GiNaC/Makefile 2008-11-14 03:29:03.000000000 +0900
@@ -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 @@
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 -urN /usr/ports/math/GiNaC/distinfo math/GiNaC/distinfo
--- /usr/ports/math/GiNaC/distinfo 2008-04-28 18:59:54.000000000 +0900
+++ math/GiNaC/distinfo 2008-11-14 03:55:00.000000000 +0900
@@ -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 -urN /usr/ports/math/GiNaC/files/patch-ginac::matrix.h math/GiNaC/files/patch-ginac::matrix.h
--- /usr/ports/math/GiNaC/files/patch-ginac::matrix.h 2003-11-07 06:31:51.000000000 +0900
+++ math/GiNaC/files/patch-ginac::matrix.h 1970-01-01 09:00:00.000000000 +0900
@@ -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 -urN /usr/ports/math/GiNaC/files/patch-ginac::numeric.cpp math/GiNaC/files/patch-ginac::numeric.cpp
--- /usr/ports/math/GiNaC/files/patch-ginac::numeric.cpp 2001-11-26 22:18:55.000000000 +0900
+++ math/GiNaC/files/patch-ginac::numeric.cpp 1970-01-01 09:00:00.000000000 +0900
@@ -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 -urN /usr/ports/math/GiNaC/files/patch-ginsh::ginsh_lexer.ll math/GiNaC/files/patch-ginsh::ginsh_lexer.ll
--- /usr/ports/math/GiNaC/files/patch-ginsh::ginsh_lexer.ll 2001-03-07 16:09:03.000000000 +0900
+++ math/GiNaC/files/patch-ginsh::ginsh_lexer.ll 1970-01-01 09:00:00.000000000 +0900
@@ -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 -urN /usr/ports/math/GiNaC/files/patch-ginsh::ginsh_parser.yy math/GiNaC/files/patch-ginsh::ginsh_parser.yy
--- /usr/ports/math/GiNaC/files/patch-ginsh::ginsh_parser.yy 2007-10-21 21:53:43.000000000 +0900
+++ math/GiNaC/files/patch-ginsh::ginsh_parser.yy 1970-01-01 09:00:00.000000000 +0900
@@ -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)
- {
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list