Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci
In directory sc8-pr-cvs17:/tmp/cvs-serv2609

Modified Files:
        euler.info 
Added Files:
        euler.patch 
Log Message:
New upstream version 1.61.0

--- NEW FILE: euler.patch ---
diff -ur -x Makefile -x 'config*' -x libtool euler-1.61.0/src/command.c 
euler-1.61.0_corr/src/command.c
--- euler-1.61.0/src/command.c  2005-10-24 02:38:24.000000000 +0200
+++ euler-1.61.0_corr/src/command.c     2007-10-06 09:05:14.000000000 +0200
@@ -235,7 +235,7 @@
 
 extern int builtin_count;
 extern builtintyp builtin_list[];
-extern int command_count;
+static int command_count;
 extern commandtyp command_list[];
 
 static void do_list (void)
@@ -732,7 +732,6 @@
 }
 
 
-static int command_count;
 
 commandtyp command_list[] = {
        {"quit",c_quit,do_quit},
diff -ur -x Makefile -x 'config*' -x libtool euler-1.61.0/src/main.c 
euler-1.61.0_corr/src/main.c
--- euler-1.61.0/src/main.c     2005-10-30 23:54:17.000000000 +0100
+++ euler-1.61.0_corr/src/main.c        2007-10-06 09:55:07.000000000 +0200
@@ -439,7 +439,8 @@
        gettimer(TIMEOFDAY,&t);
        return (t.tv_sec+t.tv_nsec/1000000000.0);
 #else
-       return ((double)(times(NULL)))/CLK_TCK;
+        static struct tms tp;
+        return ((double)(times(&tp)))/CLK_TCK;
 #endif
 }
 

Index: euler.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/sci/euler.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- euler.info  5 Mar 2007 22:53:30 -0000       1.3
+++ euler.info  6 Oct 2007 08:55:58 -0000       1.4
@@ -1,30 +1,33 @@
 Package: euler
-Version: 1.60.6
-Revision: 11
-Architecture: powerpc
+Version: 1.61.0
+Revision: 1
 Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
-BuildDepends: glib, gtk+, gettext-dev, gettext-bin, gettext-tools, x11-dev, 
gcc3.1
-Depends: gtk+-shlibs
-Source: mirror:sourceforge:%n/%n-%v.tar.gz
-Source-MD5: e56a0f41c184fc2f416457f0c5ece78f
-SourceDirectory: %n-1.60
-NoSetCXXFLAGS: true
-CompileScript: make INSTALL_DIR=%p CC='gcc3 -Wall -O2 
-DINSTALL_DIR=\"$(INSTALL_DIR)\"'
+BuildDepends: glib2-dev, gtk+2, libgettext3-dev, gettext-bin, gettext-tools, 
x11-dev, atk1, pango1-xft2-dev
+Depends: glib2-shlibs, gtk+2-shlibs, libgettext3-shlibs, atk1-shlibs, 
pango1-xft2-shlibs, libiconv
+Source: mirror:sourceforge:%n/%n-%v.tgz
+Source-MD5: 4a45d7aaba2b73c7978e6d5623141103
+Patch: %n.patch
+ConfigureParams: --disable-dependency-tracking
 InstallScript: <<
  mkdir -p %i/share
  mkdir -p %i/bin
- make install INSTALL_DIR=%i
+ make install DESTDIR=%d 
  mv %i/bin/euler %i/bin/eulerx
  echo "#!/bin/sh" > %i/bin/euler
  echo "(cd %p/share/euler/progs; %p/bin/eulerx $*)" >> %i/bin/euler
  chmod 755 %i/bin/euler
 <<
-DocFiles: README TODO ChangeLog gpl.txt
+DocFiles: AUTHORS COPYING README TODO ChangeLog
 Description: Numerical laboratory with a programming language
 DescDetail: <<
 The system can handle real, complex and interval numbers, vectors and matrices.
 It can produce 2D/3D plots. Included is a modern programming language.
 Euler is not a MatLab clone, but very similar to this program.
 <<
+DescPort: <<
+ The patch takes care of 
+ - a wrong static declaration, causing compiler crash
+ - wrong use of the system times() function, causing runime bus error.
+<<
 License: GPL
 Homepage: http://euler.sourceforge.net/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to