summaryrefslogtreecommitdiff
path: root/cad/ng-spice/patches
diff options
context:
space:
mode:
Diffstat (limited to 'cad/ng-spice/patches')
-rw-r--r--cad/ng-spice/patches/patch-ab20
-rw-r--r--cad/ng-spice/patches/patch-ac134
-rw-r--r--cad/ng-spice/patches/patch-ad8
-rw-r--r--cad/ng-spice/patches/patch-ae8
-rw-r--r--cad/ng-spice/patches/patch-af6
5 files changed, 98 insertions, 78 deletions
diff --git a/cad/ng-spice/patches/patch-ab b/cad/ng-spice/patches/patch-ab
index 55f3166a770..acceb371392 100644
--- a/cad/ng-spice/patches/patch-ab
+++ b/cad/ng-spice/patches/patch-ab
@@ -1,17 +1,17 @@
-$NetBSD: patch-ab,v 1.3 2004/12/02 00:06:40 dmcmahill Exp $
+$NetBSD: patch-ab,v 1.4 2004/12/02 13:33:32 dmcmahill Exp $
---- src/Makefile.am.orig Tue Jan 27 21:57:20 2004
+--- src/Makefile.am.orig Sat Feb 14 19:19:27 2004
+++ src/Makefile.am
-@@ -2,7 +2,7 @@
+@@ -4,7 +4,7 @@ SUBDIRS = misc maths frontend spicelib i
+ DIST_SUBDIRS = misc maths frontend spicelib include xspice ciderlib
- SUBDIRS = misc maths frontend spicelib include @XSPICEDIR@ @CIDERDIR@
+ bin_PROGRAMS = ngspice ngnutmeg nghelp ngsconvert ngproc2mod ngmultidec \
+- makeidx
++ ngmakeidx
--bin_PROGRAMS = ngspice ngnutmeg nghelp ngsconvert ngproc2mod ngmultidec makeidx
-+bin_PROGRAMS = ngspice ngnutmeg nghelp ngsconvert ngproc2mod ngmultidec ngmakeidx
-
- EXTRA_DIST = ngspice.txt ngspice.idx spinit setplot spectrum @CIDERSCRIPTS@
-
-@@ -166,14 +166,14 @@ ngmultidec_LDADD = \
+ EXTRA_DIST = ngspice.txt ngspice.idx setplot spectrum \
+ devload devaxis ciderinit winmain.c
+@@ -169,14 +169,14 @@ ngmultidec_LDADD = \
maths/sparse/libsparse.a \
misc/libmisc.a
diff --git a/cad/ng-spice/patches/patch-ac b/cad/ng-spice/patches/patch-ac
index 3301d7fdd7d..8ef2e9eecac 100644
--- a/cad/ng-spice/patches/patch-ac
+++ b/cad/ng-spice/patches/patch-ac
@@ -1,74 +1,92 @@
-$NetBSD: patch-ac,v 1.3 2004/12/02 00:06:40 dmcmahill Exp $
+$NetBSD: patch-ac,v 1.4 2004/12/02 13:33:32 dmcmahill Exp $
---- src/Makefile.in.orig Wed Jan 28 00:25:46 2004
+--- src/Makefile.in.orig Mon Sep 6 09:49:02 2004
+++ src/Makefile.in
-@@ -106,7 +106,7 @@ YACC = @YACC@
+@@ -15,7 +15,7 @@
+ @SET_MAKE@
- SUBDIRS = misc maths frontend spicelib include @XSPICEDIR@ @CIDERDIR@
--bin_PROGRAMS = ngspice ngnutmeg nghelp ngsconvert ngproc2mod ngmultidec makeidx
-+bin_PROGRAMS = ngspice ngnutmeg nghelp ngsconvert ngproc2mod ngmultidec ngmakeidx
-
- EXTRA_DIST = ngspice.txt ngspice.idx spinit setplot spectrum @CIDERSCRIPTS@
-
-@@ -153,7 +153,7 @@ ngmultidec_SOURCES = ngmultidec.c
- ngmultidec_LDADD = maths/sparse/libsparse.a misc/libmisc.a
+-SOURCES = $(makeidx_SOURCES) $(nghelp_SOURCES) $(ngmultidec_SOURCES) $(ngnutmeg_SOURCES) $(ngproc2mod_SOURCES) $(ngsconvert_SOURCES) $(ngspice_SOURCES)
++SOURCES = $(ngmakeidx_SOURCES) $(nghelp_SOURCES) $(ngmultidec_SOURCES) $(ngnutmeg_SOURCES) $(ngproc2mod_SOURCES) $(ngsconvert_SOURCES) $(ngspice_SOURCES)
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@
+@@ -40,7 +40,7 @@ POST_UNINSTALL = :
+ host_triplet = @host@
+ bin_PROGRAMS = ngspice$(EXEEXT) ngnutmeg$(EXEEXT) nghelp$(EXEEXT) \
+ ngsconvert$(EXEEXT) ngproc2mod$(EXEEXT) ngmultidec$(EXEEXT) \
+- makeidx$(EXEEXT)
++ ngmakeidx$(EXEEXT)
+ subdir = src
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ $(srcdir)/spinit.in ChangeLog
+@@ -54,9 +54,9 @@ CONFIG_CLEAN_FILES = spinit
+ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(helpdatadir)" "$(DESTDIR)$(initdatadir)"
+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+ PROGRAMS = $(bin_PROGRAMS)
+-am_makeidx_OBJECTS = makeidx.$(OBJEXT)
+-makeidx_OBJECTS = $(am_makeidx_OBJECTS)
+-makeidx_LDADD = $(LDADD)
++am_ngmakeidx_OBJECTS = makeidx.$(OBJEXT)
++ngmakeidx_OBJECTS = $(am_ngmakeidx_OBJECTS)
++ngmakeidx_LDADD = $(LDADD)
+ am_nghelp_OBJECTS = nghelp.$(OBJEXT)
+ nghelp_OBJECTS = $(am_nghelp_OBJECTS)
+ nghelp_DEPENDENCIES = frontend/help/libhlp.a \
+@@ -130,7 +130,7 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(t
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
+ @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/conf.Po ./$(DEPDIR)/main.Po \
+-@AMDEP_TRUE@ ./$(DEPDIR)/makeidx.Po ./$(DEPDIR)/nghelp.Po \
++@AMDEP_TRUE@ ./$(DEPDIR)/ngmakeidx.Po ./$(DEPDIR)/nghelp.Po \
+ @AMDEP_TRUE@ ./$(DEPDIR)/ngmultidec.Po ./$(DEPDIR)/ngnutmeg.Po \
+ @AMDEP_TRUE@ ./$(DEPDIR)/ngproc2mod.Po \
+ @AMDEP_TRUE@ ./$(DEPDIR)/ngsconvert.Po ./$(DEPDIR)/ngspice.Po
+@@ -142,10 +142,10 @@ LTCOMPILE = $(LIBTOOL) --mode=compile $(
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+-SOURCES = $(makeidx_SOURCES) $(nghelp_SOURCES) $(ngmultidec_SOURCES) \
++SOURCES = $(ngmakeidx_SOURCES) $(nghelp_SOURCES) $(ngmultidec_SOURCES) \
+ $(ngnutmeg_SOURCES) $(ngproc2mod_SOURCES) \
+ $(ngsconvert_SOURCES) $(ngspice_SOURCES)
+-DIST_SOURCES = $(makeidx_SOURCES) $(nghelp_SOURCES) \
++DIST_SOURCES = $(ngmakeidx_SOURCES) $(nghelp_SOURCES) \
+ $(ngmultidec_SOURCES) $(ngnutmeg_SOURCES) \
+ $(ngproc2mod_SOURCES) $(ngsconvert_SOURCES) $(ngspice_SOURCES)
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
+@@ -416,7 +416,7 @@ ngmultidec_LDADD = \
+ maths/sparse/libsparse.a \
+ misc/libmisc.a
-makeidx_SOURCES = makeidx.c
+ngmakeidx_SOURCES = makeidx.c
-
INCLUDES = -I$(top_srcdir)/src/include -I$(top_srcdir)/src/spicelib/devices @X_CFLAGS@
-
-@@ -165,7 +165,7 @@ CONFIG_HEADER = ../config.h
- CONFIG_CLEAN_FILES = spinit
- bin_PROGRAMS = ngspice$(EXEEXT) ngnutmeg$(EXEEXT) nghelp$(EXEEXT) \
- ngsconvert$(EXEEXT) ngproc2mod$(EXEEXT) ngmultidec$(EXEEXT) \
--makeidx$(EXEEXT)
-+ngmakeidx$(EXEEXT)
- PROGRAMS = $(bin_PROGRAMS)
-
-
-@@ -233,10 +233,10 @@ ngproc2mod_LDFLAGS =
- ngmultidec_OBJECTS = ngmultidec.$(OBJEXT)
- ngmultidec_DEPENDENCIES = maths/sparse/libsparse.a misc/libmisc.a
- ngmultidec_LDFLAGS =
--makeidx_OBJECTS = makeidx.$(OBJEXT)
--makeidx_LDADD = $(LDADD)
--makeidx_DEPENDENCIES =
--makeidx_LDFLAGS =
-+ngmakeidx_OBJECTS = makeidx.$(OBJEXT)
-+ngmakeidx_LDADD = $(LDADD)
-+ngmakeidx_DEPENDENCIES =
-+ngmakeidx_LDFLAGS =
- CFLAGS = @CFLAGS@
- COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
- LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-@@ -254,8 +254,8 @@ GZIP_ENV = --best
- DEP_FILES = .deps/conf.P .deps/main.P .deps/makeidx.P .deps/nghelp.P \
- .deps/ngmultidec.P .deps/ngnutmeg.P .deps/ngproc2mod.P \
- .deps/ngsconvert.P .deps/ngspice.P
--SOURCES = $(ngspice_SOURCES) $(ngnutmeg_SOURCES) $(nghelp_SOURCES) $(ngsconvert_SOURCES) $(ngproc2mod_SOURCES) $(ngmultidec_SOURCES) $(makeidx_SOURCES)
--OBJECTS = $(ngspice_OBJECTS) $(ngnutmeg_OBJECTS) $(nghelp_OBJECTS) $(ngsconvert_OBJECTS) $(ngproc2mod_OBJECTS) $(ngmultidec_OBJECTS) $(makeidx_OBJECTS)
-+SOURCES = $(ngspice_SOURCES) $(ngnutmeg_SOURCES) $(nghelp_SOURCES) $(ngsconvert_SOURCES) $(ngproc2mod_SOURCES) $(ngmultidec_SOURCES) $(ngmakeidx_SOURCES)
-+OBJECTS = $(ngspice_OBJECTS) $(ngnutmeg_OBJECTS) $(nghelp_OBJECTS) $(ngsconvert_OBJECTS) $(ngproc2mod_OBJECTS) $(ngmultidec_OBJECTS) $(ngmakeidx_OBJECTS)
-
- all: all-redirect
- .SUFFIXES:
-@@ -357,9 +357,9 @@ ngmultidec$(EXEEXT): $(ngmultidec_OBJECT
- @rm -f ngmultidec$(EXEEXT)
- $(LINK) $(ngmultidec_LDFLAGS) $(ngmultidec_OBJECTS) $(ngmultidec_LDADD) $(LIBS)
-
--makeidx$(EXEEXT): $(makeidx_OBJECTS) $(makeidx_DEPENDENCIES)
+ MAINTAINERCLEANFILES = Makefile.in
+ all: all-recursive
+@@ -482,9 +482,9 @@ clean-binPROGRAMS:
+ echo " rm -f $$p $$f"; \
+ rm -f $$p $$f ; \
+ done
+-makeidx$(EXEEXT): $(makeidx_OBJECTS) $(makeidx_DEPENDENCIES)
- @rm -f makeidx$(EXEEXT)
- $(LINK) $(makeidx_LDFLAGS) $(makeidx_OBJECTS) $(makeidx_LDADD) $(LIBS)
-+ngmakeidx$(EXEEXT): $(ngmakeidx_OBJECTS) $(ngmakeidx_DEPENDENCIES)
++ngmakeidx$(EXEEXT): $(ngmakeidx_OBJECTS) $(ngmakeidx_DEPENDENCIES)
+ @rm -f ngmakeidx$(EXEEXT)
+ $(LINK) $(ngmakeidx_LDFLAGS) $(ngmakeidx_OBJECTS) $(ngmakeidx_LDADD) $(LIBS)
+ nghelp$(EXEEXT): $(nghelp_OBJECTS) $(nghelp_DEPENDENCIES)
+ @rm -f nghelp$(EXEEXT)
+ $(LINK) $(nghelp_LDFLAGS) $(nghelp_OBJECTS) $(nghelp_LDADD) $(LIBS)
+@@ -512,7 +512,7 @@ distclean-compile:
- install-helpdataDATA: $(helpdata_DATA)
- @$(NORMAL_INSTALL)
-@@ -644,8 +644,8 @@ winmain.o: winmain.c
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/conf.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/main.Po@am__quote@
+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/makeidx.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ngmakeidx.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/nghelp.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ngmultidec.Po@am__quote@
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ngnutmeg.Po@am__quote@
+@@ -858,8 +858,8 @@ winmain.o: winmain.c
spice.o: main.c
$(COMPILE) -DSIMULATOR -o spice.o -c $(srcdir)/main.c
@@ -76,6 +94,6 @@ $NetBSD: patch-ac,v 1.3 2004/12/02 00:06:40 dmcmahill Exp $
- ./makeidx $(srcdir)/ngspice.txt
+ngspice.idx: ngmakeidx
+ ./ngmakeidx $(srcdir)/ngspice.txt
-
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/cad/ng-spice/patches/patch-ad b/cad/ng-spice/patches/patch-ad
index 01a536020f7..f09480e5ff1 100644
--- a/cad/ng-spice/patches/patch-ad
+++ b/cad/ng-spice/patches/patch-ad
@@ -1,13 +1,13 @@
-$NetBSD: patch-ad,v 1.4 2004/12/02 00:06:40 dmcmahill Exp $
+$NetBSD: patch-ad,v 1.5 2004/12/02 13:33:32 dmcmahill Exp $
---- configure.in.orig Wed Jan 28 00:07:29 2004
+--- configure.in.orig Sun Aug 15 08:51:13 2004
+++ configure.in
-@@ -160,7 +160,7 @@ fi
+@@ -161,7 +161,7 @@ fi
if test "$enable_debug" = "no"; then
AC_MSG_WARN(Removing debugging option!)
- CFLAGS=" "
-+ CFLAGS="`echo $CFLAGS | sed 's;-g;;g'`"
++ CFLAGS="`echo $CFLAGS | sed 's;-g;;g'` "
fi
diff --git a/cad/ng-spice/patches/patch-ae b/cad/ng-spice/patches/patch-ae
index 526688f47aa..ac6817eb0b9 100644
--- a/cad/ng-spice/patches/patch-ae
+++ b/cad/ng-spice/patches/patch-ae
@@ -1,13 +1,13 @@
-$NetBSD: patch-ae,v 1.4 2004/12/02 00:06:40 dmcmahill Exp $
+$NetBSD: patch-ae,v 1.5 2004/12/02 13:33:32 dmcmahill Exp $
---- configure.orig Wed Jan 28 00:25:53 2004
+--- configure.orig Mon Sep 6 09:49:40 2004
+++ configure
-@@ -2986,7 +2986,7 @@ fi
+@@ -3295,7 +3295,7 @@ fi
if test "$enable_debug" = "no"; then
{ echo "$as_me:$LINENO: WARNING: Removing debugging option!" >&5
echo "$as_me: WARNING: Removing debugging option!" >&2;}
- CFLAGS=" "
-+ CFLAGS="`echo $CFLAGS | sed 's;-g;;g'`"
++ CFLAGS="`echo $CFLAGS | sed 's;-g;;g'` "
fi
diff --git a/cad/ng-spice/patches/patch-af b/cad/ng-spice/patches/patch-af
index e8643ff2ec5..614219a93fa 100644
--- a/cad/ng-spice/patches/patch-af
+++ b/cad/ng-spice/patches/patch-af
@@ -1,17 +1,19 @@
-$NetBSD: patch-af,v 1.1 2004/12/02 00:06:40 dmcmahill Exp $
+$NetBSD: patch-af,v 1.2 2004/12/02 13:33:32 dmcmahill Exp $
--- doc/ngspice.texi.orig Sun Nov 2 14:16:21 2003
+++ doc/ngspice.texi
-@@ -6,6 +6,13 @@
+@@ -6,6 +6,15 @@
@c %**end of header
@ifinfo
++@format
+INFO-DIR-SECTION Simulation
+START-INFO-DIR-ENTRY
+* Ngspice: (ngspice). General-purpose circuit simulation program for
+ nonlinear dc, nonlinear transient, and linear
+ ac analyses
+END-INFO-DIR-ENTRY
++@end format
+
This file documents NGSPICE.