Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 1996 10:59:48 +1100
From:      kaveman@magna.com.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/2254: Update of Spice port
Message-ID:  <199612192359.KAA11584@kavemachine.magna.com.au>
Resent-Message-ID: <199612200000.QAA21569@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2254
>Category:       ports
>Synopsis:       Update of spice port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 19 16:00:01 PST 1996
>Last-Modified:
>Originator:     Julian Jenkins
>Organization:
>Release:        FreeBSD 2.1-STABLE i386
>Environment:

	

>Description:

Update of port of SPICE3F4 to use the newly released code from Berkeley
instead of the version hacked to work under Linux.

>How-To-Repeat:

	

>Fix:
	
Patches to update port follow:

*** Makefile.orig	Thu May 23 18:17:39 1996
--- Makefile	Wed Dec 18 21:51:12 1996
***************
*** 5,14 ****
  #
  #
  
! DISTNAME=       spice3f4
  PKGNAME=	spice-3f4
  CATEGORIES+=	cad
! MASTER_SITES=	ftp://sunsite.unc.edu/pub/Linux/apps/circuits/
  
  #PATCH_SITES=	ftp://ic.eecs.berkeley.edu/pub/Spice3/3f4patches
  #PATCHFILES=	grid.patch newcoms.patch spsmp.patch
--- 5,18 ----
  #
  #
  
! #DISTNAME=       spice3f4
! DISTNAME=       sp3f4.kit
  PKGNAME=	spice-3f4
  CATEGORIES+=	cad
! #MASTER_SITES=	ftp://sunsite.unc.edu/pub/Linux/apps/circuits/
! MASTER_SITES=	ftp://ic.eecs.berkeley.edu/pub/Spice3/
! EXTRACT_SUFX=   .tar.Z
! WRKSRC=                ${WRKDIR}
  
  #PATCH_SITES=	ftp://ic.eecs.berkeley.edu/pub/Spice3/3f4patches
  #PATCHFILES=	grid.patch newcoms.patch spsmp.patch
*** files/md5.orig	Thu May 23 18:17:40 1996
--- files/md5	Thu Dec 19 21:49:41 1996
***************
*** 1 ****
! MD5 (spice3f4.tar.gz) = 8b0daf037e68aa675e37e23632150b4d
--- 1 ----
! MD5 (sp3f4.kit.tar.Z) = d55eb08a7f523248b1b509092a444aeb
*** patches/patch-aa.orig	Thu May 23 18:17:40 1996
--- patches/patch-aa	Thu Dec 19 22:48:38 1996
***************
*** 1,11 ****
! *** conf/defaults.orig	Thu Mar 28 21:25:24 1996
! --- conf/defaults	Sun Mar 31 11:04:30 1996
  ***************
! *** 108,119 ****
    #	file listed on the "build" command line.
    
!   # SPICE_DIR	= $(TOP1)/$(SYSTEM)
! ! SPICE_DIR	= $(DIST_DIR)
  ! SPICE_LIB_DIR	= $(SPICE_DIR)/lib
    SPICE_EXEC_DIR	= $(SPICE_DIR)/bin
    
--- 1,11 ----
! *** conf/defaults.orig	Fri Jul 30 07:33:56 1993
! --- conf/defaults	Thu Dec 19 19:14:41 1996
  ***************
! *** 105,116 ****
!   #	identified as and SYSTEM is the name of the per-system definitions
    #	file listed on the "build" command line.
    
! ! SPICE_DIR	= $(TOP1)/$(SYSTEM)
  ! SPICE_LIB_DIR	= $(SPICE_DIR)/lib
    SPICE_EXEC_DIR	= $(SPICE_DIR)/bin
    
***************
*** 14,23 ****
    S_SPICE_EXEC_DIR= $(S_SPICE_DIR)/bin
    
    #	INSTALL_DIRS lists the directories that need to be created before
! --- 108,119 ----
    #	file listed on the "build" command line.
    
-   # SPICE_DIR	= $(TOP1)/$(SYSTEM)
  ! SPICE_DIR	= ${PREFIX}
  ! SPICE_LIB_DIR	= $(SPICE_DIR)/share/spice
    SPICE_EXEC_DIR	= $(SPICE_DIR)/bin
--- 14,23 ----
    S_SPICE_EXEC_DIR= $(S_SPICE_DIR)/bin
    
    #	INSTALL_DIRS lists the directories that need to be created before
! --- 105,116 ----
!   #	identified as and SYSTEM is the name of the per-system definitions
    #	file listed on the "build" command line.
    
  ! SPICE_DIR	= ${PREFIX}
  ! SPICE_LIB_DIR	= $(SPICE_DIR)/share/spice
    SPICE_EXEC_DIR	= $(SPICE_DIR)/bin
***************
*** 28,34 ****
    
    #	INSTALL_DIRS lists the directories that need to be created before
  ***************
! *** 132,142 ****
    #	an extra definition to work around the same strange bug.  See either
    #	file "conf/vax" or "conf/gcc".
    
--- 28,34 ----
    
    #	INSTALL_DIRS lists the directories that need to be created before
  ***************
! *** 129,135 ****
    #	an extra definition to work around the same strange bug.  See either
    #	file "conf/vax" or "conf/gcc".
    
***************
*** 36,46 ****
    
    #	CC_OPT: Default compile options (optimization/debug level, other)
    
! ! CC_OPT		= -g
!   
!   #	CC_OPT_SAFE: Special compile options to override CC_OPT for code
!   #	which typically causes problems for most compilers (bsim1 and bsim2).
! --- 132,142 ----
    #	an extra definition to work around the same strange bug.  See either
    #	file "conf/vax" or "conf/gcc".
    
--- 36,42 ----
    
    #	CC_OPT: Default compile options (optimization/debug level, other)
    
! --- 129,135 ----
    #	an extra definition to work around the same strange bug.  See either
    #	file "conf/vax" or "conf/gcc".
    
***************
*** 48,59 ****
    
    #	CC_OPT: Default compile options (optimization/debug level, other)
    
- ! CC_OPT		=
-   
-   #	CC_OPT_SAFE: Special compile options to override CC_OPT for code
-   #	which typically causes problems for most compilers (bsim1 and bsim2).
  ***************
! *** 206,212 ****
    #	X_DIR indicates the top of the X11 lib/include hierarchy; it is only
    #	a convenience that is used in the following definitions.
    
--- 44,51 ----
    
    #	CC_OPT: Default compile options (optimization/debug level, other)
    
  ***************
! *** 203,209 ****
    #	X_DIR indicates the top of the X11 lib/include hierarchy; it is only
    #	a convenience that is used in the following definitions.
    
***************
*** 61,67 ****
    
    #	INCX lists the X include directories.  This may be different between
    #	MIT X11r5, X11r4, and your vendor's version of X11, though listing
! --- 206,212 ----
    #	X_DIR indicates the top of the X11 lib/include hierarchy; it is only
    #	a convenience that is used in the following definitions.
    
--- 53,59 ----
    
    #	INCX lists the X include directories.  This may be different between
    #	MIT X11r5, X11r4, and your vendor's version of X11, though listing
! --- 203,209 ----
    #	X_DIR indicates the top of the X11 lib/include hierarchy; it is only
    #	a convenience that is used in the following definitions.
    
***************
*** 70,76 ****
    #	INCX lists the X include directories.  This may be different between
    #	MIT X11r5, X11r4, and your vendor's version of X11, though listing
  ***************
! *** 286,292 ****
    #	code for either or both MFB (a terminal independent graphics
    #	interface) or X11.
    
--- 62,68 ----
    #	INCX lists the X include directories.  This may be different between
    #	MIT X11r5, X11r4, and your vendor's version of X11, though listing
  ***************
! *** 282,288 ****
    #	code for either or both MFB (a terminal independent graphics
    #	interface) or X11.
    
***************
*** 78,84 ****
    
    #	BUGADDR is the e-mail address to send bug reports.  If left blank
    #	the "bug" command in spice will not operate.
! --- 286,292 ----
    #	code for either or both MFB (a terminal independent graphics
    #	interface) or X11.
    
--- 70,76 ----
    
    #	BUGADDR is the e-mail address to send bug reports.  If left blank
    #	the "bug" command in spice will not operate.
! --- 282,288 ----
    #	code for either or both MFB (a terminal independent graphics
    #	interface) or X11.
    
***************
*** 87,101 ****
    #	BUGADDR is the e-mail address to send bug reports.  If left blank
    #	the "bug" command in spice will not operate.
  ***************
! *** 296,302 ****
    #	DEFAULT_EDITOR lists where the default editor used by the "edit"
    #	command is located.
    
! ! DEFAULT_EDITOR	= jove
    
    #	ASCII_RAWFILE indicates that the default format of the spice3 raw data
    #	file should be in human-readable format ( = 1 ) or in the smaller,
! --- 296,302 ----
    #	DEFAULT_EDITOR lists where the default editor used by the "edit"
    #	command is located.
    
--- 79,93 ----
    #	BUGADDR is the e-mail address to send bug reports.  If left blank
    #	the "bug" command in spice will not operate.
  ***************
! *** 292,298 ****
    #	DEFAULT_EDITOR lists where the default editor used by the "edit"
    #	command is located.
    
! ! DEFAULT_EDITOR	= vi
    
    #	ASCII_RAWFILE indicates that the default format of the spice3 raw data
    #	file should be in human-readable format ( = 1 ) or in the smaller,
! --- 292,298 ----
    #	DEFAULT_EDITOR lists where the default editor used by the "edit"
    #	command is located.
    
***************
*** 150,181 ****
    extern char *getenv();
    extern char *getwd();
    extern int rand();
- *** src/lib/misc/math.c.orig	Sat Jun 19 06:13:39 1993
- --- src/lib/misc/math.c	Sun Mar 31 13:38:40 1996
- ***************
- *** 11,17 ****
-   #include "misc.h"
-   #include "suffix.h"
-   
- ! #ifdef HAS_NO_IEEE_LOGB
-   
-   /* changed all instances of logb to normslogb (NJ) */
-   double normslogb(x)
- --- 11,17 ----
-   #include "misc.h"
-   #include "suffix.h"
-   
- ! #if (defined(HAS_NO_IEEE_LOGB) || defined(__FreeBSD__))
-   
-   /* changed all instances of logb to normslogb (NJ) */
-   double normslogb(x)
  ***************
! *** 58,64 ****
    
!   	return x * z;
!   }
! - 
!   #endif
    
!   #ifdef HAS_NO_ERFC
! --- 58,63 ----
--- 142,161 ----
    extern char *getenv();
    extern char *getwd();
    extern int rand();
  ***************
! *** 111,122 ****
! --- 111,124 ----
!   #    endif /* clearerr */
!   #  endif /* HAS_CLEARERR */
    
! + #ifndef __FreeBSD__
!   #  ifndef bzero
!   extern int bzero();
!   #  endif
!   #  ifndef bcopy
!   extern void bcopy();
!   #  endif
! + #endif /* __FreeBSD__ */
    
!   #  ifndef index
!   #    ifdef HAS_INDEX
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612192359.KAA11584>