1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Update to 3.1.3

This commit is contained in:
Vsevolod Stakhov 2015-08-17 12:48:43 +00:00
parent 62daa694bf
commit 8f78103e86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=394460
3 changed files with 3 additions and 23 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= clasp
PORTVERSION= 3.1.0
PORTVERSION= 3.1.3
CATEGORIES= math devel
MASTER_SITES= SOURCEFORGE/potassco/${PORTNAME}/${PORTVERSION}
EXTRACT_SUFX= -source.tar.gz

View File

@ -1,2 +1,2 @@
SHA256 (clasp-3.1.0-source.tar.gz) = 7715980aa808a5edac1d8d8a61ff2f2bb595d97e237beb687f1a62a13c531bdc
SIZE (clasp-3.1.0-source.tar.gz) = 515019
SHA256 (clasp-3.1.3-source.tar.gz) = f08684eadfa5ae5efa5c06439edc361b775fc55b7c1a9ca862eda8f5bf7e5f1f
SIZE (clasp-3.1.3-source.tar.gz) = 520291

View File

@ -1,20 +0,0 @@
--- ./libprogram_opts/src/string_convert.cpp.orig 2014-08-12 18:47:21.000000000 +0300
+++ ./libprogram_opts/src/string_convert.cpp 2014-08-27 14:59:59.000000000 +0300
@@ -94,7 +94,7 @@
err = (char*)x+2;
}
else if (*x != '-') {
- out = std::strtoul(x, &err, detectBase(x));
+ out = strtoul(x, &err, detectBase(x));
if (out == ULONG_MAX && errno == ERANGE) { err = (char*)x; }
}
else { err = (char*)x; }
@@ -191,7 +191,7 @@
if (t) { out = temp; return t; }
if (empty(x, errPos) || *x == '-') { return 0; }
char* err;
- out = std::strtoull(x, &err, detectBase(x));
+ out = strtoull(x, &err, detectBase(x));
return parsed(err != x, err, errPos);
}
std::string& xconvert(std::string& out, long long x) {