Skip to content

Commit

Permalink
Unbreak the build:
Browse files Browse the repository at this point in the history
- Update MASTER_SITES.
- Add missing dependency.
- Regenerate patches.


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@526857 35697150-7ecd-e111-bb59-0022644237b5
  • Loading branch information
hrs-allbsd committed Feb 22, 2020
1 parent 6b681aa commit 63d3a6e
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 51 deletions.
18 changes: 7 additions & 11 deletions cad/spice/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,22 @@

PORTNAME= spice
PORTVERSION= 3f5.2
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES= cad
MASTER_SITES= http://embedded.eecs.berkeley.edu/pubs/downloads/spice/:srcs \
http://www-device.eecs.berkeley.edu/~bsim/Files/BSIM3/ftpv330/src/:bsim3 \
http://www-device.eecs.berkeley.edu/~bsim/Files/BSIM4/BSIM480/:bsim4 \
MASTER_SITES= https://ptolemy.berkeley.edu/projects/embedded/pubs/downloads/spice/:srcs \
http://home.hiroshima-u.ac.jp/usdl/HiSIM2/:hisim2 \
LOCAL/hrs/${PORTNAME}:docs
LOCAL/hrs/${PORTNAME}
DISTFILES= spice3f5${EXTRACT_SUFX}:srcs \
BSIM3v330.tar.Z:bsim3 \
BSIM480_Code.zip:bsim4 \
BSIM3v330.tar.Z \
BSIM480_Code.zip \
HiSIM_2.8.0_Release_20140605.zip:hisim2 \
cp.ps:docs toc.ps:docs doc.ps:docs
cp.ps toc.ps doc.ps
DIST_SUBDIR= spice
EXTRACT_ONLY= spice3f5${EXTRACT_SUFX}

MAINTAINER= [email protected]
COMMENT= General-purpose circuit simulation program

BROKEN= unfetchable

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT

Expand All @@ -47,7 +43,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES X11 DEV_BSIM3 DEV_BSIM4 DEV_HISIM2
OPTIONS_DEFAULT=X11

X11_USES= xorg
X11_USE= XORG=x11,xaw,xext,xmu,xt
X11_USE= XORG=x11,xaw,xext,xmu,xorgproto,xt
X11_CONFIGURE_ENV= WITH_X11=yes
DEV_BSIM3_DESC= BSIM3v3 MOS Transistor Model Support
DEV_BSIM3_LICENSE= BSIML
Expand Down
6 changes: 3 additions & 3 deletions cad/spice/files/patch-src_bin_help.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- src/bin/help.c.orig 2011-06-24 19:12:52.000000000 +0000
+++ src/bin/help.c 2011-06-24 19:13:19.000000000 +0000
@@ -46,7 +46,7 @@
--- src/bin/help.c.orig 1993-04-22 00:35:08 UTC
+++ src/bin/help.c
@@ -46,7 +46,7 @@ bool cp_interactive = false;
char *hlp_filelist[] = { "spice", 0 };

/* ARGSUSED */
Expand Down
6 changes: 3 additions & 3 deletions cad/spice/files/patch-src_bin_main.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- src/bin/main.c.orig 2011-06-24 16:53:54.000000000 +0000
+++ src/bin/main.c 2011-06-24 16:54:24.000000000 +0000
@@ -183,7 +183,7 @@
--- src/bin/main.c.orig 1993-07-29 05:48:32 UTC
+++ src/bin/main.c
@@ -183,7 +183,7 @@ if_tranparams(ckt, start, stop, step) struct circ *ckt

char *hlp_filelist[] = { "spice", 0 };

Expand Down
11 changes: 11 additions & 0 deletions cad/spice/files/patch-src_bin_proc2mod.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- src/bin/proc2mod.c.orig 1992-09-17 12:33:34 UTC
+++ src/bin/proc2mod.c
@@ -51,7 +51,7 @@ FILE *p = NULL;
char *dataline;


-void
+int
main() {
char *typeline;
char *prname;
11 changes: 0 additions & 11 deletions cad/spice/files/patch-src_bin_procmod.c

This file was deleted.

6 changes: 3 additions & 3 deletions cad/spice/files/patch-src_lib_cp_complete.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- src/lib/cp/complete.c Wed Jun 19 05:55:38 1991
+++ src/lib/cp/complete.c Sat Mar 17 11:51:56 2007
@@ -445,14 +445,14 @@
--- src/lib/cp/complete.c.orig 1991-06-19 03:55:38 UTC
+++ src/lib/cp/complete.c
@@ -445,14 +445,14 @@ cp_ccon(on)
ison = on;

if (ison == true) {
Expand Down
6 changes: 3 additions & 3 deletions cad/spice/files/patch-src_lib_cp_lexical.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- src/lib/cp/lexical.c.orig 2013-05-01 05:15:32.000000000 +0900
+++ src/lib/cp/lexical.c 2013-05-01 05:16:36.000000000 +0900
@@ -145,7 +145,7 @@
--- src/lib/cp/lexical.c.orig 1993-04-06 00:48:45 UTC
+++ src/lib/cp/lexical.c
@@ -145,7 +145,7 @@ gotchar:
switch (c) {
case ' ':
case '\t':
Expand Down
6 changes: 3 additions & 3 deletions cad/spice/files/patch-src_lib_cp_unixcom.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- src/lib/cp/unixcom.c.orig 2011-06-24 16:24:35.000000000 +0000
+++ src/lib/cp/unixcom.c 2011-06-24 16:30:47.000000000 +0000
@@ -6,6 +6,7 @@
--- src/lib/cp/unixcom.c.orig 1993-04-14 01:15:50 UTC
+++ src/lib/cp/unixcom.c
@@ -6,6 +6,7 @@ Author: 1985 Wayne A. Christopher, U. C. Berkeley CAD
/*
* Routines to do execution of unix commands.
*/
Expand Down
6 changes: 3 additions & 3 deletions cad/spice/files/patch-src_lib_dev_bjt_makedefs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- src/lib/dev/bjt/makedefs~ Fri May 31 23:16:08 1991
+++ src/lib/dev/bjt/makedefs Mon Dec 8 14:16:57 2003
@@ -14,6 +14,8 @@
--- src/lib/dev/bjt/makedefs.orig 1991-05-31 21:16:08 UTC
+++ src/lib/dev/bjt/makedefs
@@ -14,6 +14,8 @@ COBJS = bjt.o bjtacld.o bjtask.o bjtconv.o bjtdel.o b
bjtsacl.o bjtsetup.o bjtsload.o bjtsprt.o bjtsset.o \
bjtsupd.o bjttemp.o bjttrunc.o

Expand Down
8 changes: 4 additions & 4 deletions cad/spice/files/patch-src_lib_fte_dotcards.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- src/lib/fte/dotcards.c.orig 1993-07-30 13:44:28.000000000 +0900
+++ src/lib/fte/dotcards.c 2013-05-01 05:07:55.000000000 +0900
@@ -405,11 +405,17 @@
--- src/lib/fte/dotcards.c.orig 1993-07-30 04:44:28 UTC
+++ src/lib/fte/dotcards.c
@@ -405,11 +405,17 @@ fixem(string)
char *string;
{
char buf[BSIZE_SP], *s, *t, *ss = string;
Expand All @@ -18,7 +18,7 @@
for (t = s; *t && (*t != ')'); t++)
;
*t = '\0';
@@ -589,6 +595,10 @@
@@ -589,6 +595,10 @@ gettoks(s)

if (c)
*c = 0;
Expand Down
8 changes: 4 additions & 4 deletions cad/spice/files/patch-src_lib_mfb_mfbcaps.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
--- src/lib/mfb/mfbcaps.c.orig 1991-04-01 22:32:50.000000000 +0000
+++ src/lib/mfb/mfbcaps.c 2011-06-24 19:53:27.000000000 +0000
@@ -26,6 +26,7 @@
--- src/lib/mfb/mfbcaps.c.orig 1991-04-01 22:32:50 UTC
+++ src/lib/mfb/mfbcaps.c
@@ -26,6 +26,7 @@ Author: -C- 1982 Giles Billingsley
#include "spice.h"
#include "mfb.h"
#include <ctype.h>
+#include <string.h>
#include "suffix.h"


@@ -43,9 +44,9 @@
@@ -43,9 +44,9 @@ static int hopcount; /* detect infinite loops in

FILE *POpen();
char *strcpy();
Expand Down
6 changes: 3 additions & 3 deletions cad/spice/files/patch-util_build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- util/build.orig Thu Jul 29 03:46:39 1993
+++ util/build Thu Jul 17 00:47:50 2003
@@ -96,7 +96,7 @@
--- util/build.orig 1993-07-29 08:46:39 UTC
+++ util/build
@@ -96,7 +96,7 @@ DIR4=`basename ${TOP3}`

TMP_LEADER="${TMP_DIR}/buildl$$"
TMP_TRAILER="${TMP_DIR}/buildt$$"
Expand Down

0 comments on commit 63d3a6e

Please sign in to comment.