aboutsummaryrefslogtreecommitdiffstats
path: root/cad/ngspice_rework/files
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2004-10-13 09:30:33 +0800
committerleeym <leeym@FreeBSD.org>2004-10-13 09:30:33 +0800
commitea6a10f9c8c0cd16f393f1a3ecc1624fd7d2a8f6 (patch)
tree40bd97b18153f784513d2e602343ca08d0029e5f /cad/ngspice_rework/files
parentbe44f0953d6e7f1e56d1a95076a8b1e44f16e242 (diff)
downloadfreebsd-ports-graphics-ea6a10f9c8c0cd16f393f1a3ecc1624fd7d2a8f6.tar.gz
freebsd-ports-graphics-ea6a10f9c8c0cd16f393f1a3ecc1624fd7d2a8f6.tar.zst
freebsd-ports-graphics-ea6a10f9c8c0cd16f393f1a3ecc1624fd7d2a8f6.zip
- upgrade to ngspice_rework-15
- utilize INFO - add USE_LIBTOOL_VER?=15 to eliminate *.la files - make this port portlint clean PR: 72008 Submitted by: leeym Reviewed by: maintainer Approved by: maintainer
Diffstat (limited to 'cad/ngspice_rework/files')
-rw-r--r--cad/ngspice_rework/files/patch-aspice.c11
-rw-r--r--cad/ngspice_rework/files/patch-configure.in11
-rw-r--r--cad/ngspice_rework/files/patch-doc:Makefile.in14
-rw-r--r--cad/ngspice_rework/files/patch-src:frontend:aspice.c11
-rw-r--r--cad/ngspice_rework/files/patch-src:frontend:control.c10
-rw-r--r--cad/ngspice_rework/files/patch-src:frontend:parser:complete.c48
-rw-r--r--cad/ngspice_rework/files/patch-src:frontend:plotting:pvec.c20
-rw-r--r--cad/ngspice_rework/files/patch-src:spicelib:analysis:cktncdump.c12
8 files changed, 40 insertions, 97 deletions
diff --git a/cad/ngspice_rework/files/patch-aspice.c b/cad/ngspice_rework/files/patch-aspice.c
deleted file mode 100644
index 03d123c289a..00000000000
--- a/cad/ngspice_rework/files/patch-aspice.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/frontend/aspice.c Tue Jun 4 21:18:04 2002
-+++ src/frontend/aspice.c Tue Jun 4 21:17:32 2002
-@@ -178,6 +178,8 @@
-
- #if defined(__NetBSD__)
- pid_t status;
-+#elif defined(__FreeBSD__)
-+ int status;
- #else
- union wait status;
- #endif
diff --git a/cad/ngspice_rework/files/patch-configure.in b/cad/ngspice_rework/files/patch-configure.in
deleted file mode 100644
index 7bb26c5835c..00000000000
--- a/cad/ngspice_rework/files/patch-configure.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.in.orig Mon Dec 10 20:21:11 2001
-+++ configure.in Wed Jan 2 13:36:55 2002
-@@ -155,7 +155,7 @@
-
- dnl Look for termios first (posix)
- AC_CHECK_HEADERS(termios.h termio.h sgtty.h , break)
--AC_CHECK_FUNCS(isatty)
-+AC_CHECK_FUNCS(isatty tcgetattr tcsetattr)
-
- dnl Check for a few functions:
- AC_FUNC_VFORK
diff --git a/cad/ngspice_rework/files/patch-doc:Makefile.in b/cad/ngspice_rework/files/patch-doc:Makefile.in
index 77e324c095b..28217c4c620 100644
--- a/cad/ngspice_rework/files/patch-doc:Makefile.in
+++ b/cad/ngspice_rework/files/patch-doc:Makefile.in
@@ -1,11 +1,11 @@
---- doc/Makefile.in.orig Mon Dec 10 20:26:23 2001
-+++ doc/Makefile.in Mon Jan 7 16:54:16 2002
-@@ -69,7 +69,7 @@
- LIBTOOL = @LIBTOOL@
+--- doc/Makefile.in.orig Wed Jan 28 00:25:46 2004
++++ doc/Makefile.in Thu Sep 23 03:19:35 2004
+@@ -85,7 +85,7 @@
LN_S = @LN_S@
+ LTLIB = @LTLIB@
MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
+MAKEINFO = @MAKEINFO@ --no-split
- OBJDUMP = @OBJDUMP@
- OBJEXT = @OBJEXT@
- PACKAGE = @PACKAGE@
+ NUMDEV = @NUMDEV@
+ NUMDEVDIR = @NUMDEVDIR@
+ NUMPARAMDIR = @NUMPARAMDIR@
diff --git a/cad/ngspice_rework/files/patch-src:frontend:aspice.c b/cad/ngspice_rework/files/patch-src:frontend:aspice.c
new file mode 100644
index 00000000000..6fb7e882b6d
--- /dev/null
+++ b/cad/ngspice_rework/files/patch-src:frontend:aspice.c
@@ -0,0 +1,11 @@
+--- src/frontend/aspice.c.orig Thu Sep 23 03:09:22 2004
++++ src/frontend/aspice.c Thu Sep 23 03:08:13 2004
+@@ -178,6 +178,8 @@
+
+ #if defined(__NetBSD__) || defined(SOLARIS)
+ pid_t status;
++#elif defined(__FreeBSD__)
++ int status;
+ #else
+ union wait status;
+ #endif
diff --git a/cad/ngspice_rework/files/patch-src:frontend:control.c b/cad/ngspice_rework/files/patch-src:frontend:control.c
new file mode 100644
index 00000000000..6ac74093fde
--- /dev/null
+++ b/cad/ngspice_rework/files/patch-src:frontend:control.c
@@ -0,0 +1,10 @@
+--- src/frontend/control.c.orig Thu Dec 25 17:30:51 2003
++++ src/frontend/control.c Fri Sep 24 13:02:13 2004
+@@ -822,6 +822,7 @@
+ void
+ cp_resetcontrol(void)
+ {
++ void cp_free_control(void);
+ fprintf(cp_err, "Warning: clearing control structures\n");
+ if (cend[stackp] && cend[stackp]->co_parent)
+ fprintf(cp_err, "Warning: EOF before block terminated\n");
diff --git a/cad/ngspice_rework/files/patch-src:frontend:parser:complete.c b/cad/ngspice_rework/files/patch-src:frontend:parser:complete.c
deleted file mode 100644
index dc4d335d0d6..00000000000
--- a/cad/ngspice_rework/files/patch-src:frontend:parser:complete.c
+++ /dev/null
@@ -1,48 +0,0 @@
---- src/frontend/parser/complete.c.orig Mon Dec 10 20:21:11 2001
-+++ src/frontend/parser/complete.c Wed Jan 2 13:57:11 2002
-@@ -410,11 +410,6 @@
- # else
- # ifdef HAVE_TERMIOS_H
-
--# ifdef __NetBSD__
--# define TCGETS
--# define TCSETS
--# endif
--
- # define TERM_GET TCGETS
- # define TERM_SET TCSETS
- static struct termios sbuf;
-@@ -423,7 +418,7 @@
- # endif
- # endif
-
--# if defined(TERM_GET) || defined(__NetBSD__)
-+# ifdef TERM_GET
- static bool ison = FALSE;
-
- if (cp_nocc || !cp_interactive || (ison == on))
-@@ -431,7 +426,7 @@
- ison = on;
-
- if (ison == TRUE) {
--#ifdef __NetBSD__
-+#if HAVE_TCGETATTR
- tcgetattr(fileno(cp_in),&OS_Buf);
- #else
- (void) ioctl(fileno(cp_in), TERM_GET, (char *) &OS_Buf);
-@@ -440,13 +435,13 @@
- sbuf.c_cc[VEOF] = 0;
- sbuf.c_cc[VEOL] = ESCAPE;
- sbuf.c_cc[VEOL2] = CNTRL_D;
--#ifdef __NetBSD__
-+#if HAVE_TCSETATTR
- tcsetattr(fileno(cp_in),TCSANOW,&sbuf);
- #else
- (void) ioctl(fileno(cp_in), TERM_SET, (char *) &sbuf);
- #endif
- } else {
--#ifdef __NetBSD__
-+#if HAVE_TCSETATTR
- tcsetattr(fileno(cp_in),TCSANOW,&OS_Buf);
- #else
- (void) ioctl(fileno(cp_in), TERM_SET, (char *) &OS_Buf);
diff --git a/cad/ngspice_rework/files/patch-src:frontend:plotting:pvec.c b/cad/ngspice_rework/files/patch-src:frontend:plotting:pvec.c
deleted file mode 100644
index 426f1e713b9..00000000000
--- a/cad/ngspice_rework/files/patch-src:frontend:plotting:pvec.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/frontend/plotting/pvec.c.orig Fri Sep 17 17:30:10 2004
-+++ src/frontend/plotting/pvec.c Fri Sep 17 17:30:33 2004
-@@ -47,8 +47,6 @@
- case GRID_SMITHGRID:
- strcat(buf, ", grid = smithgrid (not xformed)");
- break;
--
-- default:
- }
-
- switch (d->v_plottype) {
-@@ -60,8 +58,6 @@
- case PLOT_POINT:
- strcat(buf, ", plot = point");
- break;
--
-- default:
- }
- if (d->v_defcolor) {
- sprintf(buf2, ", color = %s", d->v_defcolor);
diff --git a/cad/ngspice_rework/files/patch-src:spicelib:analysis:cktncdump.c b/cad/ngspice_rework/files/patch-src:spicelib:analysis:cktncdump.c
new file mode 100644
index 00000000000..471953adaad
--- /dev/null
+++ b/cad/ngspice_rework/files/patch-src:spicelib:analysis:cktncdump.c
@@ -0,0 +1,12 @@
+--- src/spicelib/analysis/cktncdump.c.orig Sun Sep 26 19:16:43 2004
++++ src/spicelib/analysis/cktncdump.c Sun Sep 26 19:16:54 2004
+@@ -4,7 +4,8 @@
+ **********/
+
+ #include "ngspice.h"
+-#include "cktdefs.h" #include "suffix.h"
++#include "cktdefs.h"
++#include "suffix.h"
+
+ void
+ CKTncDump(ckt)