mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
upgrade to 1.0.1
This commit is contained in:
parent
d4634bbee2
commit
8408ed8657
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50569
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= GiNaC
|
||||
PORTVERSION= 0.9.0
|
||||
PORTVERSION= 1.0.1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ \
|
||||
http://www.ginac.de/
|
||||
@ -18,7 +18,6 @@ USE_BZIP2= yes
|
||||
LIB_DEPENDS= cln:${PORTSDIR}/math/cln
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_NEWGCC= yes
|
||||
|
||||
@ -26,4 +25,15 @@ INSTALLS_SHLIB= yes
|
||||
|
||||
MAN1= ginsh.1 viewgar.1 ginac-config.1
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s,sstream,strstream,g" ${WRKSRC}/configure
|
||||
.for file in numeric.cpp tostring.h
|
||||
@${PERL} -pi -e "s,sstream,strstream,g ; \
|
||||
s,stringstream,strstream,g" ${WRKSRC}/ginac/${file}
|
||||
.endfor
|
||||
|
||||
pre-build:
|
||||
@(cd ${WRKSRC} ; \
|
||||
${LN} -sf ${PREFIX}/bin/libtool)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (GiNaC-0.9.0.tar.bz2) = 016919dda78be4205cbc1f45aa9331bf
|
||||
MD5 (GiNaC-1.0.1.tar.bz2) = abd5b008717c00c25133e66d3190a074
|
||||
|
11
math/GiNaC/files/patch-ginac::numeric.cpp
Normal file
11
math/GiNaC/files/patch-ginac::numeric.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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);
|
@ -13,6 +13,7 @@ include/ginac/expair.h
|
||||
include/ginac/expairseq.h
|
||||
include/ginac/exprseq.h
|
||||
include/ginac/fail.h
|
||||
include/ginac/fderivative.h
|
||||
include/ginac/flags.h
|
||||
include/ginac/function.h
|
||||
include/ginac/ginac.h
|
||||
@ -33,6 +34,7 @@ include/ginac/registrar.h
|
||||
include/ginac/relational.h
|
||||
include/ginac/structure.h
|
||||
include/ginac/symbol.h
|
||||
include/ginac/symmetry.h
|
||||
include/ginac/tensor.h
|
||||
include/ginac/tinfos.h
|
||||
include/ginac/version.h
|
||||
@ -48,8 +50,5 @@ info/ginac.info-5
|
||||
@exec install-info %D/info/ginac.info %D/info/dir
|
||||
lib/libginac.a
|
||||
lib/libginac.so
|
||||
lib/libginac-0.9.so.0
|
||||
lib/libginac-1.0.so.0
|
||||
share/aclocal/ginac.m4
|
||||
@dirrm share/doc/GiNaC/reference
|
||||
@dirrm share/doc/GiNaC/tutorial
|
||||
@dirrm share/doc/GiNaC
|
||||
|
Loading…
Reference in New Issue
Block a user