[ngspice] 20/61: Added patches to svn
Andreas Tille
tille at debian.org
Tue Dec 12 14:08:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository ngspice.
commit f729dd424fd91ace36586175bcc1500fe4d6eeb7
Author: Gudjon I. Gudjonsson <gudjon at gudjon.org>
Date: Thu Mar 17 08:51:42 2011 +0000
Added patches to svn
---
debian/patches/01_fix_manpages.patch | 38 ++++++++++++++++++++++++++++++++++++
debian/patches/02_fix_spelling.patch | 34 ++++++++++++++++++++++++++++++++
debian/patches/series | 2 ++
3 files changed, 74 insertions(+)
diff --git a/debian/patches/01_fix_manpages.patch b/debian/patches/01_fix_manpages.patch
new file mode 100644
index 0000000..69136e4
--- /dev/null
+++ b/debian/patches/01_fix_manpages.patch
@@ -0,0 +1,38 @@
+Fix minor spelling errors in manpages
+--- a/man/man1/ngnutmeg.1
++++ b/man/man1/ngnutmeg.1
+@@ -5,14 +5,14 @@
+
+ (woman-find-file buffer-file-name)
+
+-(let* ((man-args (concat "-l " buffer-file-name))
++(let* ((man-args (concat "\-l " buffer-file-name))
+ (bufname (concat "*Man " man-args "*")))
+ (when (get-buffer bufname)
+ (kill-buffer bufname))
+ (man man-args))
+
+ (compile
+- (concat "groff -t -e -man -Tps "
++ (concat "groff \-t \-e \-man \-Tps "
+ buffer-file-name
+ " > /tmp/tmp.ps && gv /tmp/tmp.ps"))
+
+--- a/man/man1/ngspice.1
++++ b/man/man1/ngspice.1
+@@ -5,13 +5,13 @@
+
+ (woman-find-file buffer-file-name)
+
+-(let* ((man-args (concat "-l " buffer-file-name))
++(let* ((man-args (concat "\-l " buffer-file-name))
+ (bufname (concat "*Man " man-args "*")))
+ (when (get-buffer bufname)
+ (kill-buffer bufname))
+ (man man-args))
+
+-(compile (concat "groff -t -e -man -Tps "
++(compile (concat "groff \-t \-e \-man \-Tps "
+ buffer-file-name
+ " > /tmp/tmp.ps && gv /tmp/tmp.ps"))
+
diff --git a/debian/patches/02_fix_spelling.patch b/debian/patches/02_fix_spelling.patch
new file mode 100644
index 0000000..a4a04ec
--- /dev/null
+++ b/debian/patches/02_fix_spelling.patch
@@ -0,0 +1,34 @@
+Fix minor spelling errors in program
+--- a/src/frontend/outitf.c
++++ b/src/frontend/outitf.c
+@@ -291,7 +291,7 @@
+ };
+ if (parseSpecial(tmpname, namebuf, parambuf, depbuf)) {
+ if (*depbuf) { fprintf( stderr,
+- "Warning : unexpected dependant variable on %s\n", tmpname);
++ "Warning : unexpected dependent variable on %s\n", tmpname);
+ } else {
+ addSpecialDesc(run, tmpname, namebuf, parambuf, depind);
+ }
+--- a/src/spicelib/analysis/cktpzstr.c
++++ b/src/spicelib/analysis/cktpzstr.c
+@@ -396,7 +396,7 @@
+ break;
+
+ default:
+- MERROR(E_PANIC, "Step type unkown");
++ MERROR(E_PANIC, "Step type unknown");
+ break;
+ }
+
+--- a/src/spicelib/devices/hisim/hsm1eval1_1.c
++++ b/src/spicelib/devices/hisim/hsm1eval1_1.c
+@@ -1231,7 +1231,7 @@
+ * - Psa : Analytical solution of
+ * Cox( Vgp - Psa ) = cnst0 * Qacc
+ * where Qacc is the 3-dgree series of (fdep)^{1/2}.
+-* The unkown is transformed to Chi=beta(Ps0-Vbs).
++* The unknown is transformed to Chi=beta(Ps0-Vbs).
+ * - Ps0_min : |Ps0_min| when Vbs=0.
+ *-----------------*/
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..87089f4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+01_fix_manpages.patch
+02_fix_spelling.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ngspice.git
More information about the debian-science-commits
mailing list