math/mpexpr: update to 1.2 (official) release

The previous version was a RC, despite there was no mention of it in the
distfile. Most patches have been incorporated upstreams.
This commit is contained in:
Pietro Cerutti 2016-09-26 18:28:41 +00:00
parent e86fbdc574
commit 8123a2344e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422788
5 changed files with 4 additions and 61 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= mpexpr
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= math tcl
MASTER_SITES= SF

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1474011027
SHA256 (mpexpr-1.2.tar.gz) = 616397bb21823ea7d4527d61a19064012764025e429bfebc432f83116809682f
SIZE (mpexpr-1.2.tar.gz) = 264067
TIMESTAMP = 1474914043
SHA256 (mpexpr-1.2.tar.gz) = bc3e6b0700477f3bd57ed2e41cc89446eb8e50ae80fa3e7728ae1c1e7406312e
SIZE (mpexpr-1.2.tar.gz) = 365192

View File

@ -1,11 +0,0 @@
--- generic/endian.c.orig 2016-09-16 07:35:45 UTC
+++ generic/endian.c
@@ -35,7 +35,7 @@
char byte[8] = { (char)0x12, (char)0x36, (char)0x48, (char)0x59,
(char)0x01, (char)0x23, (char)0x45, (char)0x67 };
-main()
+int main()
{
/* pointers into the byte order array */
int *intp = (int *)byte;

View File

@ -1,11 +0,0 @@
--- generic/mpiface.c.orig 2016-09-16 07:36:35 UTC
+++ generic/mpiface.c
@@ -69,7 +69,7 @@ Mpexpr_Init (interp)
Tcl_Interp *interp;
{
Mp_Data *mdPtr;
- static initialized = 0;
+ static int initialized = 0;
TCL_DECLARE_MUTEX(mpMutex)
if (!initialized) {

View File

@ -1,36 +0,0 @@
--- unix/configure.orig 2013-05-09 14:28:39 UTC
+++ unix/configure
@@ -23,6 +23,8 @@ ac_help="$ac_help
# Initialize some variables set by options.
# The variables have the same names as the options, with
# dashes changed to underlines.
+TCL_EXEC=tclsh8.4
+WISH_EXEC=wish8.4
build=NONE
cache_file=./config.cache
exec_prefix=NONE
@@ -733,24 +735,6 @@ if test "${with_tcl+set}" = set; then
fi
-# find include/tcl.h
-for f in $with_tclpath $prefix_locations ; do
- if test -r "$f/include/tcl.h"; then
- TCL_INC_DIR=$f/include
- echo "$ac_t""setting TCL_INC_DIR to $TCL_INC_DIR" 1>&6
- break
- fi
-done
-
-# find lib/tclConfig.sh
-for f in $with_tclpath $exec_prefix_locations ; do
- if test -r "$f/lib/tclConfig.sh"; then
- TCL_LIB_DIR=$f/lib
- echo "$ac_t""setting TCL_LIB_DIR to $TCL_LIB_DIR" 1>&6
- break
- fi
-done
-
if test -z "$TCL_INC_DIR" ; then
{ echo "configure: error: could not find include/tcl.h in $prefix_locations" 1>&2; exit 1; }
fi