Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/sci
In directory usw-pr-cvs1:/tmp/cvs-serv11051

Modified Files:
        gdis-0.75.0-13.info 
Added Files:
        calcoo-1.3.13-1.info calcoo-1.3.13-1.patch 
Log Message:
10.2 ok


--- NEW FILE: calcoo-1.3.13-1.info ---
Package: calcoo
Version: 1.3.13
Revision: 1
Maintainer: Matt Stephenson <[EMAIL PROTECTED]>
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 965212995708498d05bcb196932686fd
Patch: %f.patch
BuildDepends: glib, gtk+
Depends: gtk+-shlibs
SetCPPFLAGS: -no-cpp-precomp
ConfigureParams: --mandir=%i/share/man
InstallScript: <<
 make install prefix=%i
 strip %i/bin/%n
<<
Docfiles: AUTHORS ChangeLog COPYING README TODO
Description: Gtk+ based scientific calculator
DescDetail: <<
Calcoo is a scientific calculator designed to provide maximum usability.
Some features include:

 * Bitmapped button labels and display digits to improve readability.
 * No double-function buttons.
 * Undo/redo buttons.
 * Copy/paste interaction with X clipboard.
 * Both RPN (reverse Polish notation) and "standard" modes are available.
 * Tick marks to separate thousands.
<<
DescPort: '-no-cpp-precomp' set in CPPFLAGS to ensure the source compiles.
License: GPL
Homepage: http://calcoo.sourceforge.net

--- NEW FILE: calcoo-1.3.13-1.patch ---
--- calcoo-1.3.13/src/c_output.c.orig   2002-09-25 17:00:52.000000000 -0700
+++ calcoo-1.3.13/src/c_output.c        2002-09-25 17:01:00.000000000 -0700
@@ -155,7 +155,7 @@
        else
                display->sign = SIGN_MINUS;
        
-       intlog10_x = round(floor(log10(abs_x)));
+       intlog10_x = int_round(floor(log10(abs_x)));
 
        if (cpu->rounding)
                output_length = cpu->digits_to_keep;
--- calcoo-1.3.13/src/aux_headers.h.orig        2002-09-25 16:58:13.000000000 -0700
+++ calcoo-1.3.13/src/aux_headers.h     2002-09-25 16:59:51.000000000 -0700
@@ -18,7 +18,7 @@
 
 int  last_digit(double);
 
-int  round(double);
+int  int_round(double);
 int  fact_too_large(double);
 double fact_function(double);
 double fact_function_jr(double);
--- calcoo-1.3.13/src/aux.c.orig        2002-09-25 17:03:29.000000000 -0700
+++ calcoo-1.3.13/src/aux.c     2002-09-25 17:00:36.000000000 -0700
@@ -113,7 +113,7 @@
 
 int last_digit(double a)
 {
-       return round(a - 10.0 * floor(a / 10.0));
+       return int_round(a - 10.0 * floor(a / 10.0));
 }
 
 int almost_integer(double a, double precision)
@@ -124,7 +124,7 @@
                return FALSE;
 }
 
-int round(double a)
+int int_round(double a)
 {
        if (a >= 0.0)
                return (int)(a + 0.5);

Index: gdis-0.75.0-13.info
===================================================================
RCS file: /cvsroot/fink/dists/10.2/unstable/main/finkinfo/sci/gdis-0.75.0-13.info,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gdis-0.75.0-13.info 26 Sep 2002 00:45:07 -0000      1.1
+++ gdis-0.75.0-13.info 26 Sep 2002 01:11:06 -0000      1.2
@@ -2,13 +2,14 @@
 Version: 0.75.0
 Revision: 13
 Maintainer: Andrew Rohl <[EMAIL PROTECTED]>
-Depends: povray, imagemagick (>= 5.4.5-2), babel, gtk+extra-shlibs (<< 0.99.17-1), 
gtk+,  gtkglarea, glut-shlibs
+Depends: povray, imagemagick (>= 5.4.5-2), babel, gtk+extra-shlibs (<< 0.99.17-1), 
+gtk+,  gtkglarea, glut-shlibs (>= 3.7-3)
 BuildDepends: gtk+extra (<< 0.99.17-1), glut, libjpeg, libpng, libtiff, glib, 
libxml2, freetype2, gdbm, gmp, expat, tcltk-dev
 Source: ftp://ftp.seul.org/pub/gdis/%n-%v.tgz
 PatchScript: <<
  sed 's|@PREFIX2@|%i|g' <%a/%f.patch | sed 's|@PREFIX1@|%p|g' >gdis.patch
  patch -p1 -l <gdis.patch
 <<
+GCC: 3.1
 CompileScript: make
 InstallScript: <<
  mkdir -p %i/bin



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to