Update of /cvsroot/fink/dists/10.3/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25004

Added Files:
        oleo-1.99.16-15.info oleo-1.99.16-15.patch 
Log Message:
adapting filenames to %r

--- NEW FILE: oleo-1.99.16-15.info ---
Package: oleo
Version: 1.99.16
Revision: 15
Maintainer: None <[email protected]>
GCC: 3.3
Source: gnu
Source-MD5: d59801055b8ba6c6980ed1247a603f5f
Depends: xbae-shlibs, xmhtml-shlibs, xlt-shlibs (>= 9.2.9-3), gsl-shlibs, 
plotutils-shlibs, ncurses, libncurses5-shlibs
BuildDepends: xbae, xmhtml, xlt (>= 9.2.9-3), lesstif, gsl, plotutils-dev, 
cups-dev, libncurses5
PatchScript: sed 's|@prefix@|%p|g' <%a/%f.patch | patch -p1
UpdatePoMakefile: true
SetCPPFLAGS: -no-cpp-precomp -Wno-long-double
ConfigureParams: --infodir=%i/share/info --with-motif
DocFiles: <<
AUTHORS ChangeLog COPYING FAQ NEWS README README-alpha THANKS TODO
<<
InfoDocs: oleo.info
Description: The GNU spreadsheet
DescDetail: <<
Oleo is the GNU spreadsheet, some features include;
 - Access to the statistics functions of the GSL (GNU Scientific Library)
 - Device independent graphics through GNU plotutils
 - Interface to CUPS to browse available printers
 - Database access (MySQL and DBF files)
 - SciPlot graphics
 - Can be run with motif or ncurses interface  
<<
DescUsage: <<
 To run oleo with a motif interface just type "oleo" at the command prompt
in an x environment. To run the ncurses interface just type "oleo -t" at
the command prompt.
 To enter information into a cell with the motif interface your caps lock
must be on.
<<
DescPackaging: <<
 Patch so the correct 'doc' directory is selected.

 Originally packaged by Matt Stephenson.
<<
License: GPL
Homepage: http://www.gnu.org/software/oleo/oleo.html

--- NEW FILE: oleo-1.99.16-15.patch ---
--- oleo-1.99.16/Makefile.in    Wed Jan 23 15:52:55 2002
+++ oleo-1.99.16-patched/Makefile.in    Wed Jan 23 15:54:04 2002
@@ -131,7 +131,7 @@
 
 EXTRA_DIST = oleobug.in FAQ oleo.spec.in oleo.spec
 
-docdir = $(prefix)/Oleo
+docdir = $(prefix)/share/doc/oleo
 doc_DATA = AUTHORS FAQ
 
 # remove all the symlinks that come from automake

--- oleo-1.99.16/src/cmd.c      Wed Feb 14 20:54:50 2001
+++ oleo-1.99.16-patched/src/cmd.c      Sun Mar 17 23:34:47 2002
@@ -31,7 +31,7 @@
 #include <stdarg.h>
 #include "sysdef.h"
 #include <termios.h>
-#include <malloc.h>
+#include <stdlib.h>
 
 #ifdef HAVE_MOTIF
 #include "io-motif.h"

--- oleo-1.99.16/configure      2001-03-10 14:32:48.000000000 +1100
+++ oleo-1.99.16-patched/configure      2002-08-15 01:26:49.000000000 +1000
@@ -5233,7 +5233,7 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lgsl -lgslblas $LIBS"
+LIBS="-lgsl -lgslcblas $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 5239 "configure"
 #include "confdefs.h"
@@ -5261,7 +5261,7 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  LIBS="$LIBS -lgsl -lgslblas"
+  LIBS="$LIBS -lgsl -lgslcblas"
        cat >> confdefs.h <<\EOF
 #define HAVE_GSL 1
 EOF

diff -ru oleo-1.99.16/src/global.h oleo-1.99.16-patched/src/global.h
--- oleo-1.99.16/src/global.h   Wed Feb 14 20:54:50 2001
+++ oleo-1.99.16-patched/src/global.h   Wed Sep  4 21:19:03 2002
@@ -208,7 +208,7 @@
 extern char nname[];
 
 extern VOIDSTAR parse_hash;
-extern double __plinf, __neinf, __nan;
+extern double __plinf, __neinf, int__nan;
 
 /* These have two uses.  During parsing, these contain the 
  * base address of all relative references.  During evaluation,

--- oleo-1.99.16/src/eval.c     Tue Feb 13 23:38:05 2001
+++ oleo-1.99.16-patched/src/eval.c     Thu Sep  5 09:22:04 2002
@@ -565,7 +565,7 @@
        case CONST_NINF:
        case CONST_NAN:
          p->type = TYP_FLT;
-         p->Float = (byte == CONST_INF) ? __plinf : ((byte == CONST_NINF) ? 
__neinf : __nan);
+         p->Float = (byte == CONST_INF) ? __plinf : ((byte == CONST_NINF) ? 
__neinf : int__nan);
          break;
 
        case VAR:

--- oleo-1.99.16/src/ref.c      Tue Feb 13 23:38:06 2001
+++ oleo-1.99.16-patched/src/ref.c      Thu Sep  5 10:10:15 2002
@@ -263,7 +263,7 @@
 read_new_value (CELLREF row, CELLREF col, char *form, char *val)
 {
   unsigned char *new_bytes;
-  extern double __plinf, __neinf, __nan;
+  extern double __plinf, __neinf, int__nan;
 
   cur_row = row;
   cur_col = col;
@@ -348,7 +348,7 @@
          else if (!stricmp (nname, val))
            {
              SET_TYP (my_cell, TYP_FLT);
-             my_cell->cell_flt = __nan;
+             my_cell->cell_flt = int__nan;
            }
          else
            {

--- oleo-1.99.16/src/utils.c    Tue Feb 13 23:38:06 2001
+++ oleo-1.99.16-patched/src/utils.c    Thu Sep  5 10:36:45 2002
@@ -66,7 +66,7 @@
 #define _IOSTRG 0
 #endif
 
-extern int sys_nerr;
+/*extern int sys_nerr; */
 
 struct id
   {

--- oleo-1.99.16/src/io-utils.c Tue Feb 13 23:38:06 2001
+++ oleo-1.99.16-patched/src/io-utils.c Thu Sep 26 14:31:19 2002
@@ -71,7 +71,7 @@
 
 double __plinf;
 double __neinf;
-double __nan;
+double int__nan;
 
 char nname[] = "#NOT_A_NUMBER";
 char iname[] = "#INFINITY";
@@ -125,7 +125,7 @@
   __neinf = divide (-1., 0.);
   (void) signal (SIGFPE, ignore_sig);
 #endif
-  __nan = __plinf + __neinf;
+  int__nan = __plinf + __neinf;
 }
 
 
--- oleo-1.99.16/src/io-motif.c Fri Mar  9 11:33:29 2001
+++ oleo-1.99.16-patched/src/io-motif.c Thu Feb  7 01:18:02 2002
@@ -3296,7 +3296,7 @@
 #define        HELP_FILE_LENGTH        200000
 
 #ifndef        HTMLDIR
-#define        HTMLDIR                 "/usr/local/share/oleo"
+#define        HTMLDIR                 "@prefix@/share/oleo"
 #endif
 
 static void




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to