summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-29 04:18:31 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-08-29 04:18:31 +0800
commit9bd2614fac5a1a22d6d95d2efef18ad6cd3378ae (patch)
treecaa30c798a7688e714081ef7bc8516ce7e7e1b54 /math
parente6c8de1db94b544275dd41dba06981cbb02b8dc7 (diff)
downloadmarcuscom-ports-9bd2614fac5a1a22d6d95d2efef18ad6cd3378ae.tar
marcuscom-ports-9bd2614fac5a1a22d6d95d2efef18ad6cd3378ae.tar.gz
marcuscom-ports-9bd2614fac5a1a22d6d95d2efef18ad6cd3378ae.tar.bz2
marcuscom-ports-9bd2614fac5a1a22d6d95d2efef18ad6cd3378ae.tar.lz
marcuscom-ports-9bd2614fac5a1a22d6d95d2efef18ad6cd3378ae.tar.xz
marcuscom-ports-9bd2614fac5a1a22d6d95d2efef18ad6cd3378ae.tar.zst
marcuscom-ports-9bd2614fac5a1a22d6d95d2efef18ad6cd3378ae.zip
Update to 1.5.4.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4650 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'math')
-rw-r--r--math/gnumeric/Makefile14
-rw-r--r--math/gnumeric/distinfo4
-rw-r--r--math/gnumeric/files/patch-doc_C_Makefile.in6
-rw-r--r--math/gnumeric/files/patch-src_tools_solver_lp_solve_commonlib.c8
-rw-r--r--math/gnumeric/files/patch-src_tools_solver_lp_solve_lp_solve.c25
5 files changed, 33 insertions, 24 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile
index 6270f0788..65e62e31d 100644
--- a/math/gnumeric/Makefile
+++ b/math/gnumeric/Makefile
@@ -3,11 +3,11 @@
# Whom: Yukihiro Nakai <Nakai@technologist.com>
#
# $FreeBSD$
-# $MCom: ports/math/gnumeric/Makefile,v 1.9 2005/08/16 06:09:38 marcus Exp $
+# $MCom: ports/math/gnumeric/Makefile,v 1.10 2005/08/19 02:18:00 mezz Exp $
#
PORTNAME= gnumeric
-PORTVERSION= 1.5.3
+PORTVERSION= 1.5.4
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
@@ -37,7 +37,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
GCONF_SCHEMAS= gnumeric-dialogs.schemas gnumeric-general.schemas \
gnumeric-plugins.schemas
-MAN1= gnumeric.1 ssconvert.1
+MAN1= gnumeric.1 ssconvert.1 ssindex.1
PLIST_SUB= VERSION=${PORTVERSION}
@@ -50,14 +50,6 @@ PLIST_SUB+= PERL=""
.endif
post-patch:
- @cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' \
- src/tools/solver/lp_solve/commonlib.h \
- src/tools/solver/lp_solve/fortify.c \
- src/tools/solver/lp_solve/lp_Hash.c \
- src/tools/solver/lp_solve/lp_etaPFI.c \
- src/tools/solver/lp_solve/lp_lib.h \
- src/tools/solver/lp_solve/lp_rlp.c \
- src/tools/solver/lp_solve/lp_rlpt.c
@${FIND} ${WRKSRC}/plugins -name "plugin.xml.in" | ${XARGS} \
${REINPLACE_CMD} -e 's|\.la|.so|g'
@${FIND} ${WRKSRC}/src/cut-n-paste-code/goffice/graph/plugins -name \
diff --git a/math/gnumeric/distinfo b/math/gnumeric/distinfo
index ad5be5b07..5853bc5a1 100644
--- a/math/gnumeric/distinfo
+++ b/math/gnumeric/distinfo
@@ -1,2 +1,2 @@
-MD5 (gnome2/gnumeric-1.5.3.tar.bz2) = 2b0496fc7ec3d407f3aebcc29b8e4b2b
-SIZE (gnome2/gnumeric-1.5.3.tar.bz2) = 12290411
+MD5 (gnome2/gnumeric-1.5.4.tar.bz2) = a5d5b564d582206a01760fd995b7b02b
+SIZE (gnome2/gnumeric-1.5.4.tar.bz2) = 12544897
diff --git a/math/gnumeric/files/patch-doc_C_Makefile.in b/math/gnumeric/files/patch-doc_C_Makefile.in
index 4019754d1..e57406a0f 100644
--- a/math/gnumeric/files/patch-doc_C_Makefile.in
+++ b/math/gnumeric/files/patch-doc_C_Makefile.in
@@ -1,11 +1,11 @@
---- doc/C/Makefile.in.orig Tue Aug 16 01:15:11 2005
-+++ doc/C/Makefile.in Tue Aug 16 01:16:17 2005
+--- doc/C/Makefile.in.orig Sun Aug 28 15:46:13 2005
++++ doc/C/Makefile.in Sun Aug 28 15:49:24 2005
@@ -421,7 +421,7 @@
CLEANFILES = omf_timestamp
omf_dest_dir = $(datadir)/omf/@PACKAGE@
scrollkeeper_localstate_dir = /var/db/scrollkeeper
-manpagedir = $(datadir)/man/man1
+manpagedir = $(prefix)/man/man1
- manpage_DATA = gnumeric.1 ssconvert.1
+ manpage_DATA = gnumeric.1 ssconvert.1 ssindex.1
all: all-recursive
diff --git a/math/gnumeric/files/patch-src_tools_solver_lp_solve_commonlib.c b/math/gnumeric/files/patch-src_tools_solver_lp_solve_commonlib.c
deleted file mode 100644
index 64f9f0c07..000000000
--- a/math/gnumeric/files/patch-src_tools_solver_lp_solve_commonlib.c
+++ /dev/null
@@ -1,8 +0,0 @@
---- src/tools/solver/lp_solve/commonlib.c.orig Tue Jan 18 00:16:36 2005
-+++ src/tools/solver/lp_solve/commonlib.c Tue Jan 18 00:19:24 2005
-@@ -1,4 +1,5 @@
-
-+#include <gnumeric-config.h>
- #include <sys/types.h>
-
- #ifdef INTEGERTIME
diff --git a/math/gnumeric/files/patch-src_tools_solver_lp_solve_lp_solve.c b/math/gnumeric/files/patch-src_tools_solver_lp_solve_lp_solve.c
new file mode 100644
index 000000000..61a15d5d0
--- /dev/null
+++ b/math/gnumeric/files/patch-src_tools_solver_lp_solve_lp_solve.c
@@ -0,0 +1,25 @@
+--- src/tools/solver/lp_solve/lp_solve.c.orig Sun Aug 28 16:01:54 2005
++++ src/tools/solver/lp_solve/lp_solve.c Sun Aug 28 16:04:24 2005
+@@ -7,7 +7,7 @@
+ #include <stdlib.h>
+ #include <errno.h>
+ #include <time.h>
+-#include <sys/timeb.h>
++#include <sys/time.h>
+
+ #define LoadInverseLib FALSE
+ #define LoadLanguageLib FALSE
+@@ -15891,10 +15891,10 @@ static double timeNow(void)
+ #elif defined CLOCKTIME
+ return((double)clock()/CLOCKS_PER_SEC /* CLK_TCK */);
+ #else
+- struct timeb buf;
++ struct timeval tp;
+
+- ftime(&buf);
+- return((double)buf.time+((double) buf.millitm)/1000.0);
++ (void)gettimeofday(&tp, NULL);
++ return((double)tp.tv_sec+((double) (tp.tv_usec*1000))/1000.0);
+ #endif
+ }
+