Update of /cvsroot/fink/experimental/jaguar
In directory usw-pr-cvs1:/tmp/cvs-serv17662

Added Files:
        spice-3f5sfix-3.info spice-3f5sfix-3.patch 
Log Message:
Damn libtermcap, this will probably work on 10.1 also, but I haven't tested it yet

--- NEW FILE: spice-3f5sfix-3.info ---
Package: spice
Version: 3f5sfix
Revision: 3
Depends: x11
Source: http://metalab.unc.edu/pub/Linux/apps/circuits/spice%v.tar.gz
PatchScript: sed 's|@FINK_PREFIX@|%p|g' < %a/%f.patch | sed 's|@FINK_INSTALL@|%i|g' | 
patch -p1
CompileScript: ./util/build fink
InstallScript: <<
 ./util/build fink install
 mkdir -p %i/share/man/man1
 install -c -m 644 man/man1/*.1 %i/share/man/man1
 mv %i/bin/help %i/bin/spice_help
<<
DocFiles: readme readme.Linux notes/spice2
Description: SPICE - circuit simulation
DescDetail: <<
A general-purpose circuit simulation program for nonlinear dc, nonlinear
transient, and linear ac analyses. Circuits may contain resistors,
capacitors, inductors, mutual inductors, independent voltage and 
current sources, four types of dependent sources, lossless and lossy 
transmission lines (two separate implementations), switches,uniform 
distributed RC lines, and the five mostcommon semiconductor devices: 
diodes, BJTs, JFETs, MESFETs, and MOS FETs.
<<
DescPort: <<
Did very little. No optimization because the compiler seg faults on grid.c, made some 
mods to grid.c to make it compile at all.
ng-spice on sourceforge might be the way to go, when they have it working :-)
UNIX man pages are installed but according to the docs they are old and may be out of 
date.
<<
License: BSD
Homepage: http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE/
Maintainer: Peter O'Gorman <[EMAIL PROTECTED]>

--- NEW FILE: spice-3f5sfix-3.patch ---
diff -Naur spice3f5sfix/conf/fink spice3f5sfix.new/conf/fink
--- spice3f5sfix/conf/fink      Thu Jan  1 09:00:00 1970
+++ spice3f5sfix.new/conf/fink  Mon Dec 17 13:23:53 2001
@@ -0,0 +1,30 @@
+# Fink 
+
+FINK_DIR        = @FINK_PREFIX@
+FINK_INSTALL_DIR= @FINK_INSTALL@
+DEFAULT_EDITOR  = pico
+ASCII_RAWFILE  = 0
+INTERFACE_OPTS = -DWANT_X11
+MAKE            = make
+X_DIR           = /usr/X11R6
+INCX            = -I$(X_DIR)/include -I$(X_DIR)/include/X11        \
+                  -I$(X_DIR)/include/X11/Xmu                       \
+                  -I$(X_DIR)/include/X11/Xaw
+LIBX            = -L$(X_DIR)/lib -lXaw -lXt -lXext -lXmu -lSM -lICE -lX11 -ltermcap
+
+VERSION         = 3f5sfix
+LDFLAGS                =  
+CC              = /usr/bin/cc
+
+CC_OPT         = -no-cpp-precomp
+
+BUG_ADDR        = [EMAIL PROTECTED]
+SPICE_DIR       = $(FINK_INSTALL_DIR)
+SPICE_LIB_DIR   = $(SPICE_DIR)/lib/spice
+SPICE_EXEC_DIR  = $(SPICE_DIR)/bin
+
+S_SPICE_DIR     = $(FINK_DIR)
+S_SPICE_LIB_DIR        = $(S_SPICE_DIR)/lib/spice
+S_SPICE_EXEC_DIR= $(S_SPICE_DIR)/bin
+
+INSTALL_DIRS    = $(SPICE_DIR) $(SPICE_EXEC_DIR) $(SPICE_LIB_DIR)
diff -Naur spice3f5sfix/src/include/misc.h spice3f5sfix.new/src/include/misc.h
--- spice3f5sfix/src/include/misc.h     Thu Dec  1 07:17:02 1994
+++ spice3f5sfix.new/src/include/misc.h Sun Dec 16 18:20:55 2001
@@ -86,7 +86,9 @@
 extern char *realloc();
 extern char *getenv();
 extern int errno;
+#if 0
 extern char *sys_errlist[];
+#endif
 extern char *getenv();
 extern char *getwd();
 extern int rand();
diff -Naur spice3f5sfix/src/include/port.h spice3f5sfix.new/src/include/port.h
--- spice3f5sfix/src/include/port.h     Thu Dec  1 06:04:36 1994
+++ spice3f5sfix.new/src/include/port.h Sun Dec 16 18:08:12 2001
@@ -51,6 +51,11 @@
 #  define CONFIGURED
 #endif
 
+#ifdef __APPLE__
+#  include "os_bsd.h"
+#  define CONFIGURED
+#endif
+
 #ifdef NeXT
 #  include "os_bsd.h"
 #  define CONFIGURED
diff -Naur spice3f5sfix/src/lib/fte/grid.c spice3f5sfix.new/src/lib/fte/grid.c
--- spice3f5sfix/src/lib/fte/grid.c     Sun May 30 16:14:12 1999
+++ spice3f5sfix.new/src/lib/fte/grid.c Sun Dec 16 19:07:41 2001
@@ -30,6 +30,12 @@
 
 typedef enum { x_axis, y_axis } Axis;
 
+void drawloggrid( );
+    
+void drawlingrid( );
+
+
+
 /* note: scaleunits is static and never changed in this file
     ie, can get rid of it */
 static bool scaleunits = true;
@@ -474,7 +480,7 @@
     return (dd);
 }
 
-static
+void
 drawlingrid(graph, units, spacing, nsp, dst, lmt, hmt, onedec, mult, mag,
     digits, axis)
     GRAPH *graph;
@@ -662,7 +668,7 @@
 
 }
 
-static
+void
 drawloggrid(graph, units, hmt, lmt, decsp, subs, pp, axis)
     GRAPH *graph;
     char *units;



-------------------------------------------------------
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