summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-03-07 22:05:12 +0000
committerjoerg <joerg@pkgsrc.org>2013-03-07 22:05:12 +0000
commitcd590cf591d305d2b9c75c485e81116d13eaf676 (patch)
treebcd9e2afc9b2aca4d6e3dcf6d6fe367f89193140 /cad
parent117c12f72638d17ecc600aabc89bf3714adddccd (diff)
downloadpkgsrc-cd590cf591d305d2b9c75c485e81116d13eaf676.tar.gz
Remove accidentally duplicated patches.
Diffstat (limited to 'cad')
-rw-r--r--cad/magic/distinfo29
-rw-r--r--cad/magic/patches/patch-calma_CalmaRdcl.c33
-rw-r--r--cad/magic/patches/patch-calma_CalmaRead.c61
-rw-r--r--cad/magic/patches/patch-cif_CIFrdtech.c42
-rw-r--r--cad/magic/patches/patch-cif_cif.h15
-rw-r--r--cad/magic/patches/patch-ext2sim_ext2sim.c49
-rw-r--r--cad/magic/patches/patch-ext2spice_ext2spice.c45
-rw-r--r--cad/magic/patches/patch-extflat_EFvisit.c15
-rw-r--r--cad/magic/patches/patch-grouter_grouteChan.c44
-rw-r--r--cad/magic/patches/patch-grouter_grouteDens.c15
-rw-r--r--cad/magic/patches/patch-lef_defRead.c35
-rw-r--r--cad/magic/patches/patch-mzrouter_mzDebug.c18
-rw-r--r--cad/magic/patches/patch-mzrouter_mzSearch.c15
-rw-r--r--cad/magic/patches/patch-netmenu_NMbutton.c15
-rw-r--r--cad/magic/patches/patch-netmenu_NMmain.c35
-rw-r--r--cad/magic/patches/patch-netmenu_NMnetlist.c87
-rw-r--r--cad/magic/patches/patch-netmenu_NMshowcell.c34
-rw-r--r--cad/magic/patches/patch-netmenu_NMshowpt.c21
-rw-r--r--cad/magic/patches/patch-netmenu_NMwiring.c28
-rw-r--r--cad/magic/patches/patch-netmenu_netmenu.h31
-rw-r--r--cad/magic/patches/patch-netmenu_nmInt.h52
-rw-r--r--cad/magic/patches/patch-plow_PlowMain.c38
-rw-r--r--cad/magic/patches/patch-plow_PlowRules1.c19
-rw-r--r--cad/magic/patches/patch-plow_PlowRules2.c42
-rw-r--r--cad/magic/patches/patch-textio_textio.h22
-rw-r--r--cad/magic/patches/patch-utils_LIBtextio.c34
-rw-r--r--cad/magic/patches/patch-windows_windDisp.c15
-rw-r--r--cad/magic/patches/patch-windows_windows.h15
28 files changed, 28 insertions, 876 deletions
diff --git a/cad/magic/distinfo b/cad/magic/distinfo
index a7c5840e440..48ae7e63c81 100644
--- a/cad/magic/distinfo
+++ b/cad/magic/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: distinfo,v 1.16 2013/03/07 22:05:12 joerg Exp $
SHA1 (magic-7.5.188.tgz) = f7a8dfb90f1d1416bdaf4b056972bc6d406c75d4
RMD160 (magic-7.5.188.tgz) = b677df676ba2aa9f9e9b211445d577a85a309e27
@@ -41,30 +41,3 @@ SHA1 (patch-textio_textio.h) = 65ff52d07b7b8acd62ae78bb1441ef9dad5c0cf6
SHA1 (patch-utils_LIBtextio.c) = 636f5ab202f5ca1bbdc8fc735bd887ce100e2ad4
SHA1 (patch-windows_windDisp.c) = 7d9d22b016d21158b72177368c928dbd9b61d122
SHA1 (patch-windows_windows.h) = d644b85becdb840d642fb8c20287783f97a0442e
-SHA1 (patch-calma_CalmaRdcl.c) = 6a970e305e7c4396782b03af006ea9a129eb6b4f
-SHA1 (patch-calma_CalmaRead.c) = 37109053df7ade1febf63b1c6c8b8b9683ce7779
-SHA1 (patch-cif_CIFrdtech.c) = bb265e262087b5e133c491ab177ba0b4bd5a473b
-SHA1 (patch-cif_cif.h) = 639b45f765a33c9c0572cbf70ee31dc64de60a59
-SHA1 (patch-ext2sim_ext2sim.c) = 4a2f1752759935a6e6dde76c61bc6fb81ea47312
-SHA1 (patch-ext2spice_ext2spice.c) = a41c2b35cf6a9ff2a17d8d51311d668bb1bc6855
-SHA1 (patch-extflat_EFvisit.c) = 05f7495a0d582029415c6ea0c6833b4865659ce3
-SHA1 (patch-grouter_grouteChan.c) = 15a86fd92fe78a3f77f084e7d94afc187eca86b7
-SHA1 (patch-grouter_grouteDens.c) = 980b8b700e125bc69c28bf0ef54a5b8bb5b9a9b2
-SHA1 (patch-lef_defRead.c) = 0e41cb16bc79500d22b339d253048b512f1d0a7d
-SHA1 (patch-mzrouter_mzDebug.c) = 24c0c2ffe73070610b279d9f5c0b1574bd849419
-SHA1 (patch-mzrouter_mzSearch.c) = 6047015f35eba1d49a8b518a2e79427137c932eb
-SHA1 (patch-netmenu_NMbutton.c) = 97a19364ef4d1cf8f9cfb57e15f19cb23d2372f3
-SHA1 (patch-netmenu_NMmain.c) = f6f1945384d85ff67aebe591aa38510bf2a073b5
-SHA1 (patch-netmenu_NMnetlist.c) = 5f47fbe265bf65821715231941548bea603f6e59
-SHA1 (patch-netmenu_NMshowcell.c) = 386daf0d318a6c19c9a6394716bdabe77ca20cbf
-SHA1 (patch-netmenu_NMshowpt.c) = b78fd39a3fd447da4cd62ee35d3a2d39b7055169
-SHA1 (patch-netmenu_NMwiring.c) = f5be8e2c42448e09b362d41c44fe5ec99c2c3185
-SHA1 (patch-netmenu_netmenu.h) = 55e468da9d9dc931c0a1841a3f5fc97e17b0cbdc
-SHA1 (patch-netmenu_nmInt.h) = c740acc02d52f998a1771332d6088c05c277922f
-SHA1 (patch-plow_PlowMain.c) = 85231c66d036a7310b22eca6cac70538e38c7623
-SHA1 (patch-plow_PlowRules1.c) = 76cb7b0b0bf14e8556db1e0f76ab76ac67896a3e
-SHA1 (patch-plow_PlowRules2.c) = 64a0fbb2cd3b9aa8d5cd8d90778fcb1a4c934614
-SHA1 (patch-textio_textio.h) = 65ff52d07b7b8acd62ae78bb1441ef9dad5c0cf6
-SHA1 (patch-utils_LIBtextio.c) = 636f5ab202f5ca1bbdc8fc735bd887ce100e2ad4
-SHA1 (patch-windows_windDisp.c) = 7d9d22b016d21158b72177368c928dbd9b61d122
-SHA1 (patch-windows_windows.h) = d644b85becdb840d642fb8c20287783f97a0442e
diff --git a/cad/magic/patches/patch-calma_CalmaRdcl.c b/cad/magic/patches/patch-calma_CalmaRdcl.c
index 06afb5137fd..a34dfbbd6d3 100644
--- a/cad/magic/patches/patch-calma_CalmaRdcl.c
+++ b/cad/magic/patches/patch-calma_CalmaRdcl.c
@@ -1,35 +1,4 @@
-$NetBSD: patch-calma_CalmaRdcl.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- calma/CalmaRdcl.c.orig 2013-03-02 22:21:58.000000000 +0000
-+++ calma/CalmaRdcl.c
-@@ -46,6 +46,8 @@ static char rcsid[] __attribute__ ((unus
- #include "calma/calmaInt.h"
- #include "calma/calma.h"
-
-+void calmaReadError(char *format, ...);
-+
- int calmaNonManhattan;
-
- extern void CIFPaintCurrent();
-@@ -53,7 +55,7 @@ extern void CIFPaintCurrent();
- extern HashTable calmaDefInitHash;
-
- /* forward declarations */
--bool calmaElementSref();
-+void calmaElementSref();
- bool calmaParseElement();
-
- /* Structure used when flattening the GDS hierarchy on read-in */
-@@ -520,7 +522,7 @@ calmaParseElement(pnsrefs, pnpaths)
- * ----------------------------------------------------------------------------
- */
-
--bool
-+void
- calmaElementSref()
- {
- int nbytes, rtype, cols, rows, nref, n, i, savescale;
-$NetBSD: patch-calma_CalmaRdcl.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-calma_CalmaRdcl.c,v 1.2 2013/03/07 22:05:12 joerg Exp $
--- calma/CalmaRdcl.c.orig 2013-03-02 22:21:58.000000000 +0000
+++ calma/CalmaRdcl.c
diff --git a/cad/magic/patches/patch-calma_CalmaRead.c b/cad/magic/patches/patch-calma_CalmaRead.c
index 03f115a5dd7..032aa8fc5d4 100644
--- a/cad/magic/patches/patch-calma_CalmaRead.c
+++ b/cad/magic/patches/patch-calma_CalmaRead.c
@@ -1,63 +1,4 @@
-$NetBSD: patch-calma_CalmaRead.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- calma/CalmaRead.c.orig 2013-03-02 22:21:53.000000000 +0000
-+++ calma/CalmaRead.c
-@@ -24,6 +24,7 @@ static char rcsid[] __attribute__ ((unus
- #include <string.h>
- #include <sys/types.h>
- #include <unistd.h>
-+#include <stdarg.h>
-
- #include <netinet/in.h>
-
-@@ -77,6 +78,8 @@ extern void calmaUnexpected();
-
- bool calmaParseUnits();
-
-+void calmaReadError(char *format, ...);
-+
- /*
- * Scaling.
- * Multiply all coordinates by calmaReadScale1, then divide them
-@@ -437,10 +440,10 @@ calmaRecordName(rtype)
- */
-
- /*VARARGS1*/
--calmaReadError(format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10)
-- char *format;
-- char *a1, *a2, *a3, *a4, *a5, *a6, *a7, *a8, *a9, *a10;
-+void calmaReadError(char *format, ...)
- {
-+ va_list ap;
-+ va_start(ap, format);
- calmaTotalErrors++;
- if (CIFWarningLevel == CIF_WARN_NONE) return;
-
-@@ -453,20 +456,20 @@ calmaReadError(format, a1, a2, a3, a4, a
- {
- fprintf(calmaErrorFile, "Error while reading cell \"%s\": ",
- cifReadCellDef->cd_name);
-- fprintf(calmaErrorFile, format, a1, a2, a3, a4, a5, a6, a7,
-- a8, a9, a10);
-+ vfprintf(calmaErrorFile, format, ap);
- }
- }
- else
- {
- TxError("Error while reading cell \"%s\": ", cifReadCellDef->cd_name);
-- TxError(format, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);
-+ VTxError(format, ap);
- }
- }
- else if ((calmaTotalErrors == 100) && (CIFWarningLevel == CIF_WARN_LIMIT))
- {
- TxError("Error limit set: Remaining errors will not be reported.\n");
- }
-+ va_end(ap);
- }
-
- /*
-$NetBSD: patch-calma_CalmaRead.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-calma_CalmaRead.c,v 1.2 2013/03/07 22:05:12 joerg Exp $
--- calma/CalmaRead.c.orig 2013-03-02 22:21:53.000000000 +0000
+++ calma/CalmaRead.c
diff --git a/cad/magic/patches/patch-cif_CIFrdtech.c b/cad/magic/patches/patch-cif_CIFrdtech.c
index 150ac0a7330..9bd0e7cd595 100644
--- a/cad/magic/patches/patch-cif_CIFrdtech.c
+++ b/cad/magic/patches/patch-cif_CIFrdtech.c
@@ -1,44 +1,4 @@
-$NetBSD: patch-cif_CIFrdtech.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- cif/CIFrdtech.c.orig 2013-03-02 22:29:11.000000000 +0000
-+++ cif/CIFrdtech.c
-@@ -39,6 +39,7 @@ static char rcsid[] __attribute__ ((unus
- #include "cif/CIFread.h"
- #include "calma/calmaInt.h"
- #include "utils/malloc.h"
-+#include "cif/cif.h"
-
- /* Pointer to a list of all the CIF-reading styles: */
-
-@@ -1181,17 +1182,15 @@ cifParseCalmaNums(str, numArray, numNums
- * ----------------------------------------------------------------------------
- */
-
--int
--CIFTechInputScale(n, d, opt)
-- int n, d;
-- bool opt;
-+void
-+CIFTechInputScale(int n, int d, bool opt)
- {
- CIFReadStyle *istyle = cifCurReadStyle;
- CIFReadLayer *cl;
- CIFOp *op;
- int lmult, i, lgcf;
-
-- if (istyle == NULL) return 0;
-+ if (istyle == NULL) return;
-
- /* fprintf(stderr, "CIF input style %s:\n", istyle->crs_name); */
-
-@@ -1244,6 +1243,5 @@ CIFTechInputScale(n, d, opt)
- op->co_distance /= lmult;
- }
- }
-- return lmult;
- }
-
-$NetBSD: patch-cif_CIFrdtech.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-cif_CIFrdtech.c,v 1.2 2013/03/07 22:05:12 joerg Exp $
--- cif/CIFrdtech.c.orig 2013-03-02 22:29:11.000000000 +0000
+++ cif/CIFrdtech.c
diff --git a/cad/magic/patches/patch-cif_cif.h b/cad/magic/patches/patch-cif_cif.h
index 5ee31455e05..5fdf204167b 100644
--- a/cad/magic/patches/patch-cif_cif.h
+++ b/cad/magic/patches/patch-cif_cif.h
@@ -1,17 +1,4 @@
-$NetBSD: patch-cif_cif.h,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- cif/cif.h.orig 2013-03-02 22:30:15.000000000 +0000
-+++ cif/cif.h
-@@ -50,7 +50,7 @@ extern void CIFTechInit();
- extern bool CIFTechLine();
- extern void CIFTechFinal();
- extern void CIFTechOutputScale();
--extern void CIFTechInputScale();
-+extern void CIFTechInputScale(int, int, bool);
- extern bool CIFTechLimitScale();
- extern void CIFReadTechStyleInit();
- extern void CIFReadTechInit();
-$NetBSD: patch-cif_cif.h,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-cif_cif.h,v 1.2 2013/03/07 22:05:12 joerg Exp $
--- cif/cif.h.orig 2013-03-02 22:30:15.000000000 +0000
+++ cif/cif.h
diff --git a/cad/magic/patches/patch-ext2sim_ext2sim.c b/cad/magic/patches/patch-ext2sim_ext2sim.c
index 2055409138b..679d05ba6e4 100644
--- a/cad/magic/patches/patch-ext2sim_ext2sim.c
+++ b/cad/magic/patches/patch-ext2sim_ext2sim.c
@@ -1,51 +1,4 @@
-$NetBSD: patch-ext2sim_ext2sim.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- ext2sim/ext2sim.c.orig 2013-03-02 22:16:49.000000000 +0000
-+++ ext2sim/ext2sim.c
-@@ -171,6 +171,11 @@ devMerge *devMergeList = NULL ;
- /* Forward declaration */
- int _ext2sim_start();
-
-+static void
-+simdevOutNode(HierName *prefix, HierName *suffix, char *name, FILE *outf);
-+static void
-+simdevSubstrate( HierName *prefix, HierName *suffix, int type, int scale, bool doAP, FILE *outf);
-+
- /*
- * ----------------------------------------------------------------------------
- *
-@@ -1161,13 +1166,8 @@ simdevVisit(dev, hierName, trans)
- return 0;
- }
-
--int
--simdevSubstrate( prefix, suffix, type, scale, doAP, outf)
--HierName *prefix;
--HierName *suffix;
--int type, scale;
--bool doAP;
--FILE *outf;
-+static void
-+simdevSubstrate( HierName *prefix, HierName *suffix, int type, int scale, bool doAP, FILE *outf)
- {
- HashEntry *he;
- EFNodeName *nn;
-@@ -1305,12 +1305,8 @@ bool simnAPHier(dterm, hierName, resClas
- * ----------------------------------------------------------------------------
- */
-
--int
--simdevOutNode(prefix, suffix, name, outf)
-- HierName *prefix;
-- HierName *suffix;
-- char *name;
-- FILE *outf;
-+static void
-+simdevOutNode(HierName *prefix, HierName *suffix, char *name, FILE *outf)
- {
- HashEntry *he;
- EFNodeName *nn;
-$NetBSD: patch-ext2sim_ext2sim.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-ext2sim_ext2sim.c,v 1.2 2013/03/07 22:05:12 joerg Exp $
--- ext2sim/ext2sim.c.orig 2013-03-02 22:16:49.000000000 +0000
+++ ext2sim/ext2sim.c
diff --git a/cad/magic/patches/patch-ext2spice_ext2spice.c b/cad/magic/patches/patch-ext2spice_ext2spice.c
index 8f626a1c269..35d4fdbd0e2 100644
--- a/cad/magic/patches/patch-ext2spice_ext2spice.c
+++ b/cad/magic/patches/patch-ext2spice_ext2spice.c
@@ -1,47 +1,4 @@
-$NetBSD: patch-ext2spice_ext2spice.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- ext2spice/ext2spice.c.orig 2013-03-02 22:14:04.000000000 +0000
-+++ ext2spice/ext2spice.c
-@@ -223,6 +223,8 @@ devMerge *devMergeList = NULL ;
-
-
- void topVisit();
-+void spcnAP(EFNode *node, int resClass, int scale, char *sterm, float m, FILE *outf, int w);
-+void spcdevOutNode(HierName *prefix, HierName *suffix, char *name, FILE *outf);
-
- #ifdef MAGIC_WRAPPER
-
-@@ -2084,13 +2086,7 @@ FILE *outf;
- *
- * ----------------------------------------------------------------------------
- */
--int spcnAP(node, resClass, scale, sterm, m, outf, w)
-- EFNode *node;
-- int resClass, scale;
-- char *sterm;
-- float m;
-- FILE *outf;
-- int w;
-+void spcnAP(EFNode *node, int resClass, int scale, char *sterm, float m, FILE *outf, int w)
- {
- char fmt[30];
- float dsc ;
-@@ -2191,12 +2187,8 @@ int spcnAPHier(dterm, hierName, resClass
- * ----------------------------------------------------------------------------
- */
-
--int
--spcdevOutNode(prefix, suffix, name, outf)
-- HierName *prefix;
-- HierName *suffix;
-- char *name;
-- FILE *outf;
-+void
-+spcdevOutNode(HierName *prefix, HierName *suffix, char *name, FILE *outf)
- {
- HashEntry *he;
- EFNodeName *nn;
-$NetBSD: patch-ext2spice_ext2spice.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-ext2spice_ext2spice.c,v 1.2 2013/03/07 22:05:12 joerg Exp $
--- ext2spice/ext2spice.c.orig 2013-03-02 22:14:04.000000000 +0000
+++ ext2spice/ext2spice.c
diff --git a/cad/magic/patches/patch-extflat_EFvisit.c b/cad/magic/patches/patch-extflat_EFvisit.c
index 45e6a38349d..2f58b4e71ac 100644
--- a/cad/magic/patches/patch-extflat_EFvisit.c
+++ b/cad/magic/patches/patch-extflat_EFvisit.c
@@ -1,17 +1,4 @@
-$NetBSD: patch-extflat_EFvisit.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- extflat/EFvisit.c.orig 2013-03-02 22:43:10.000000000 +0000
-+++ extflat/EFvisit.c
-@@ -576,7 +576,7 @@ efVisitSingleResist(hc, name1, name2, re
- return 0;
-
- if ((he = EFHNLook(hc->hc_hierName, name2, "resist(2)")) == NULL)
-- return;
-+ return 0;
- n2 = ((EFNodeName *) HashGetValue(he))->efnn_node;
- if (n2->efnode_flags & EF_KILLED)
- return 0;
-$NetBSD: patch-extflat_EFvisit.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-extflat_EFvisit.c,v 1.2 2013/03/07 22:05:12 joerg Exp $
--- extflat/EFvisit.c.orig 2013-03-02 22:43:10.000000000 +0000
+++ extflat/EFvisit.c
diff --git a/cad/magic/patches/patch-grouter_grouteChan.c b/cad/magic/patches/patch-grouter_grouteChan.c
index 20eb385db31..ac855043676 100644
--- a/cad/magic/patches/patch-grouter_grouteChan.c
+++ b/cad/magic/patches/patch-grouter_grouteChan.c
@@ -1,46 +1,4 @@
-$NetBSD: patch-grouter_grouteChan.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- grouter/grouteChan.c.orig 2013-03-02 22:19:28.000000000 +0000
-+++ grouter/grouteChan.c
-@@ -131,6 +131,11 @@ PaintArea *glChanPaintList;
- * ----------------------------------------------------------------------------
- */
-
-+static void
-+glChanShowTiles(char *mesg);
-+static void
-+glChanShowFunc(Tile *tile);
-+
- void
- glChanBuildMap(chanList)
- GCRChannel *chanList; /* List of all channels in routing problem */
-@@ -435,11 +440,9 @@ glChanSetClient(tile, cdata)
- return 0;
- }
-
--int
--glChanShowTiles(mesg)
-- char *mesg;
-+static void
-+glChanShowTiles(char *mesg)
- {
-- int glChanShowFunc();
- char answer[100], m[1024];
-
- DBWAreaChanged(glChanDef, &TiPlaneRect, DBW_ALLWINDOWS, 0);
-@@ -452,9 +455,8 @@ glChanShowTiles(mesg)
- &DBAllTypeBits, glChanShowFunc, (ClientData) NULL);
- }
-
--int
--glChanShowFunc(tile)
-- Tile *tile;
-+static void
-+glChanShowFunc(Tile *tile)
- {
- GCRChannel *ch;
- char mesg[1024];
-$NetBSD: patch-grouter_grouteChan.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-grouter_grouteChan.c,v 1.2 2013/03/07 22:05:12 joerg Exp $
--- grouter/grouteChan.c.orig 2013-03-02 22:19:28.000000000 +0000
+++ grouter/grouteChan.c
diff --git a/cad/magic/patches/patch-grouter_grouteDens.c b/cad/magic/patches/patch-grouter_grouteDens.c
index 57c0d275e7d..04d8c9bbf48 100644
--- a/cad/magic/patches/patch-grouter_grouteDens.c
+++ b/cad/magic/patches/patch-grouter_grouteDens.c
@@ -1,17 +1,4 @@
-$NetBSD: patch-grouter_grouteDens.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- grouter/grouteDens.c.orig 2013-03-02 22:20:54.000000000 +0000
-+++ grouter/grouteDens.c
-@@ -78,7 +78,7 @@ glDensAdjust(dens, srcPin, dstPin, netid
- ASSERT(srcPin->gcr_ch == dstPin->gcr_ch, "glDensAdjust");
-
- if (DebugIsSet(glDebugID, glDebGreedy))
-- return;
-+ return FALSE;
-
- /*
- * Find the first and last column where this net (netId)
-$NetBSD: patch-grouter_grouteDens.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-grouter_grouteDens.c,v 1.2 2013/03/07 22:05:12 joerg Exp $
--- grouter/grouteDens.c.orig 2013-03-02 22:20:54.000000000 +0000
+++ grouter/grouteDens.c
diff --git a/cad/magic/patches/patch-lef_defRead.c b/cad/magic/patches/patch-lef_defRead.c
index 3573fd1d993..10d36848a9a 100644
--- a/cad/magic/patches/patch-lef_defRead.c
+++ b/cad/magic/patches/patch-lef_defRead.c
@@ -1,37 +1,4 @@
-$NetBSD: patch-lef_defRead.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
-
---- lef/defRead.c.orig 2013-03-02 22:27:45.000000000 +0000
-+++ lef/defRead.c
-@@ -568,12 +568,8 @@ enum def_orient {DEF_NORTH, DEF_SOUTH, D
- DEF_FLIPPED_NORTH, DEF_FLIPPED_SOUTH, DEF_FLIPPED_EAST,
- DEF_FLIPPED_WEST};
-
--int
--DefReadLocation(use, f, oscale, tptr)
-- CellUse *use;
-- FILE *f;
-- float oscale;
-- Transform *tptr;
-+static void
-+DefReadLocation(CellUse *use, FILE *f, float oscale, Transform *tptr)
- {
- Rect *r, tr;
- int keyword;
-@@ -645,11 +641,11 @@ DefReadLocation(use, f, oscale, tptr)
- GeoTranslateTrans(&t2, (int)roundf(x / oscale), (int)roundf(y / oscale), tptr);
- if (use)
- DBSetTrans(use, tptr);
-- return 0;
-+ return;
-
- parse_error:
- LefError("Cannot parse location: must be ( X Y ) orient\n");
-- return -1;
-+ return;
- }
-
- /*
-$NetBSD: patch-lef_defRead.c,v 1.1 2013/03/03 01:11:10 joerg Exp $
+$NetBSD: patch-lef_defRead.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- lef/defRead.c.orig 2013-03-02 22:27:45.000000000 +0000
+++ lef/defRead.c
diff --git a/cad/magic/patches/patch-mzrouter_mzDebug.c b/cad/magic/patches/patch-mzrouter_mzDebug.c
index b3f97c3a7c9..caa64f3e59e 100644
--- a/cad/magic/patches/patch-mzrouter_mzDebug.c
+++ b/cad/magic/patches/patch-mzrouter_mzDebug.c
@@ -1,20 +1,4 @@
-$NetBSD: patch-mzrouter_mzDebug.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- mzrouter/mzDebug.c.orig 2013-03-02 22:18:25.000000000 +0000
-+++ mzrouter/mzDebug.c
-@@ -412,9 +412,8 @@ mzPrintRP(path)
- }
-
- /* mzPrintPathHead -- */
--int
--mzPrintPathHead(path)
-- RoutePath *path;
-+void
-+mzPrintPathHead(RoutePath *path)
- {
-
- if(path==NULL)
-$NetBSD: patch-mzrouter_mzDebug.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-mzrouter_mzDebug.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- mzrouter/mzDebug.c.orig 2013-03-02 22:18:25.000000000 +0000
+++ mzrouter/mzDebug.c
diff --git a/cad/magic/patches/patch-mzrouter_mzSearch.c b/cad/magic/patches/patch-mzrouter_mzSearch.c
index ed7701e888b..0d3345ec8b9 100644
--- a/cad/magic/patches/patch-mzrouter_mzSearch.c
+++ b/cad/magic/patches/patch-mzrouter_mzSearch.c
@@ -1,17 +1,4 @@
-$NetBSD: patch-mzrouter_mzSearch.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- mzrouter/mzSearch.c.orig 2013-03-02 22:18:40.000000000 +0000
-+++ mzrouter/mzSearch.c
-@@ -154,6 +154,8 @@ extern void mzBloomInit();
- extern void mzMakeStatReport();
- extern void mzExtendPath(RoutePath *);
-
-+void mzPrintPathHead(RoutePath *path);
-+
-
- /*
- * ----------------------------------------------------------------------------
-$NetBSD: patch-mzrouter_mzSearch.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-mzrouter_mzSearch.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- mzrouter/mzSearch.c.orig 2013-03-02 22:18:40.000000000 +0000
+++ mzrouter/mzSearch.c
diff --git a/cad/magic/patches/patch-netmenu_NMbutton.c b/cad/magic/patches/patch-netmenu_NMbutton.c
index 13e918c1341..4c7315fc8a9 100644
--- a/cad/magic/patches/patch-netmenu_NMbutton.c
+++ b/cad/magic/patches/patch-netmenu_NMbutton.c
@@ -1,17 +1,4 @@
-$NetBSD: patch-netmenu_NMbutton.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- netmenu/NMbutton.c.orig 2013-03-02 22:48:07.000000000 +0000
-+++ netmenu/NMbutton.c
-@@ -79,7 +79,7 @@ NMButtonNetList(window, cmd, nmButton, p
- else
- {
- TxPrintf("New net list name: ");
-- if (TxGetLine(newName, MAXLENGTH) == NULL) newName[0] == 0;
-+ if (TxGetLine(newName, MAXLENGTH) == NULL) newName[0] = 0;
- if (newName[0] == 0) return;
- NMNewNetlist(newName);
- }
-$NetBSD: patch-netmenu_NMbutton.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-netmenu_NMbutton.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- netmenu/NMbutton.c.orig 2013-03-02 22:48:07.000000000 +0000
+++ netmenu/NMbutton.c
diff --git a/cad/magic/patches/patch-netmenu_NMmain.c b/cad/magic/patches/patch-netmenu_NMmain.c
index 427918fcb19..c7d076b7d0a 100644
--- a/cad/magic/patches/patch-netmenu_NMmain.c
+++ b/cad/magic/patches/patch-netmenu_NMmain.c
@@ -1,37 +1,4 @@
-$NetBSD: patch-netmenu_NMmain.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- netmenu/NMmain.c.orig 2013-03-02 22:39:15.000000000 +0000
-+++ netmenu/NMmain.c
-@@ -238,13 +238,8 @@ NMreposition(window, newScreenArea, fina
- * ----------------------------------------------------------------------------
- */
-
--int
--NMredisplay(w, rootArea, clipArea)
-- MagWindow *w; /* The window containing the area. */
-- Rect *rootArea; /* Redisplay area in surface coordinates. */
-- Rect *clipArea; /* Screen area to clip to. If NULL, use
-- * screen area of window. */
--
-+void
-+NMredisplay(MagWindow *w, Rect *rootArea, Rect *clipArea)
- {
- Rect clip, screenR;
- Point screenP;
-@@ -356,10 +351,8 @@ NMredisplay(w, rootArea, clipArea)
- * ----------------------------------------------------------------------------
- */
-
--int
--NMcommand(w, cmd)
-- MagWindow *w; /* Net-list menu window. */
-- TxCommand *cmd;
-+void
-+NMcommand(MagWindow *w, TxCommand *cmd)
- {
- NetButton *nb;
- Point surfacePoint;
-$NetBSD: patch-netmenu_NMmain.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-netmenu_NMmain.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- netmenu/NMmain.c.orig 2013-03-02 22:39:15.000000000 +0000
+++ netmenu/NMmain.c
diff --git a/cad/magic/patches/patch-netmenu_NMnetlist.c b/cad/magic/patches/patch-netmenu_NMnetlist.c
index 10ad71946fa..43a36b29204 100644
--- a/cad/magic/patches/patch-netmenu_NMnetlist.c
+++ b/cad/magic/patches/patch-netmenu_NMnetlist.c
@@ -1,89 +1,4 @@
-$NetBSD: patch-netmenu_NMnetlist.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- netmenu/NMnetlist.c.orig 2006-04-10 22:03:14.000000000 +0000
-+++ netmenu/NMnetlist.c
-@@ -216,9 +216,8 @@ NMAddTerm(new, other)
- * ----------------------------------------------------------------------------
- */
-
--int
--NMDeleteTerm(name)
-- char *name; /* Name of a terminal. */
-+void
-+NMDeleteTerm(char *name)
- {
- HashEntry *h;
- NetEntry *entry;
-@@ -256,10 +255,8 @@ NMDeleteTerm(name)
- * ----------------------------------------------------------------------------
- */
-
--int
--NMJoinNets(termA, termB)
-- char *termA; /* Name of a terminal in first net. */
-- char *termB; /* Name of a terminal in second net. */
-+void
-+NMJoinNets(char *termA, char *termB)
- {
- HashEntry *ha, *hb;
- NetEntry *netA, *netB, *tmp;
-@@ -327,11 +324,8 @@ NMJoinNets(termA, termB)
- * ----------------------------------------------------------------------------
- */
-
--int
--NMDeleteNet(net)
-- char *net; /* Name of one of the terminals in the net
-- * to be deleted.
-- */
-+void
-+NMDeleteNet(char *net)
- {
- HashEntry *h;
- NetEntry *ne, *next;
-@@ -377,12 +371,8 @@ NMDeleteNet(net)
- * ----------------------------------------------------------------------------
- */
-
--int
--NMNewNetlist(name)
-- char *name; /* Name of the netlist file. If NULL,
-- * then the netlist file association
-- * is eliminated.
-- */
-+void
-+NMNewNetlist(char *name)
- {
- Netlist *new;
- FILE *file;
-@@ -741,13 +731,8 @@ NMTermInList(name)
- * ----------------------------------------------------------------------------
- */
-
--int
--NMWriteNetlist(fileName)
-- char *fileName; /* If non-NULL, gives name of file in
-- * which to write current netlist. If NULL,
-- * the netlist gets written to the place
-- * from which it was read.
-- */
-+void
-+NMWriteNetlist(char *fileName)
- {
- FILE *file;
- int nmWriteNetsFunc();
-@@ -876,8 +861,8 @@ NMCheckWritten()
- * ----------------------------------------------------------------------------
- */
-
--int
--NMWriteAll()
-+void
-+NMWriteAll(void)
- {
- Netlist *nl, *saveCurrent;
- static char *(options[]) = {"write", "skip", "abort", NULL};
-$NetBSD: patch-netmenu_NMnetlist.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-netmenu_NMnetlist.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- netmenu/NMnetlist.c.orig 2006-04-10 22:03:14.000000000 +0000
+++ netmenu/NMnetlist.c
diff --git a/cad/magic/patches/patch-netmenu_NMshowcell.c b/cad/magic/patches/patch-netmenu_NMshowcell.c
index dd5859f9574..bfa33f3f7ec 100644
--- a/cad/magic/patches/patch-netmenu_NMshowcell.c
+++ b/cad/magic/patches/patch-netmenu_NMshowcell.c
@@ -1,36 +1,4 @@
-$NetBSD: patch-netmenu_NMshowcell.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- netmenu/NMshowcell.c.orig 2013-03-02 22:58:33.000000000 +0000
-+++ netmenu/NMshowcell.c
-@@ -77,13 +77,8 @@ static CellDef *nmscShowDef = NULL;
- static Plane *nmscPlane; /* Shared between procs below. */
- extern int nmscRedrawFunc(); /* Forward declaration. */
-
--int
--NMRedrawCell(window, plane)
-- MagWindow *window; /* Window in which to redisplay. */
-- Plane *plane; /* Non-space tiles on this plane indicate,
-- * in root cell coordinates, the areas where
-- * highlight information must be redrawn.
-- */
-+void
-+NMRedrawCell(MagWindow *window, Plane *plane)
- {
- int i;
- Rect area;
-@@ -319,9 +314,8 @@ NMShowUnderBox()
- * ----------------------------------------------------------------------------
- */
-
--int
--NMShowRoutedNet(netName)
-- char * netName;
-+void
-+NMShowRoutedNet(char *netName)
- {
- int nmShowRoutedNetFunc();
-
-$NetBSD: patch-netmenu_NMshowcell.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-netmenu_NMshowcell.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- netmenu/NMshowcell.c.orig 2013-03-02 22:58:33.000000000 +0000
+++ netmenu/NMshowcell.c
diff --git a/cad/magic/patches/patch-netmenu_NMshowpt.c b/cad/magic/patches/patch-netmenu_NMshowpt.c
index 540f75a47d1..12eeded4aef 100644
--- a/cad/magic/patches/patch-netmenu_NMshowpt.c
+++ b/cad/magic/patches/patch-netmenu_NMshowpt.c
@@ -1,23 +1,4 @@
-$NetBSD: patch-netmenu_NMshowpt.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- netmenu/NMshowpt.c.orig 2006-04-10 22:03:14.000000000 +0000
-+++ netmenu/NMshowpt.c
-@@ -71,12 +71,8 @@ static int nmspArrayUsed = 0; /* Number
- * ----------------------------------------------------------------------------
- */
-
--int
--NMRedrawPoints(window, plane)
-- MagWindow *window; /* Window in which to redisplay. */
-- Plane *plane; /* Non-space tiles on this plane indicate
-- * the areas where highlights must be redrawn.
-- */
-+void
-+NMRedrawPoints(MagWindow *window, Plane *plane)
- {
- int i;
- Rect dbArea, screen;
-$NetBSD: patch-netmenu_NMshowpt.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-netmenu_NMshowpt.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- netmenu/NMshowpt.c.orig 2006-04-10 22:03:14.000000000 +0000
+++ netmenu/NMshowpt.c
diff --git a/cad/magic/patches/patch-netmenu_NMwiring.c b/cad/magic/patches/patch-netmenu_NMwiring.c
index 7c9da288b31..4c08966e58b 100644
--- a/cad/magic/patches/patch-netmenu_NMwiring.c
+++ b/cad/magic/patches/patch-netmenu_NMwiring.c
@@ -1,30 +1,4 @@
-$NetBSD: patch-netmenu_NMwiring.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- netmenu/NMwiring.c.orig 2013-03-02 23:01:19.000000000 +0000
-+++ netmenu/NMwiring.c
-@@ -152,8 +152,8 @@ nmwRipTileFunc(tile, plane, listHead)
- * ----------------------------------------------------------------------------
- */
-
--int
--NMRipup()
-+void
-+NMRipup(void)
- {
- struct nmwarea *list;
- Rect area;
-@@ -531,8 +531,8 @@ nmwNetTileFunc(tile, plane, netPtr)
- * ----------------------------------------------------------------------------
- */
-
--int
--NMExtract()
-+void
-+NMExtract(void)
- {
- Rect area;
- char *net = NULL;
-$NetBSD: patch-netmenu_NMwiring.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-netmenu_NMwiring.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- netmenu/NMwiring.c.orig 2013-03-02 23:01:19.000000000 +0000
+++ netmenu/NMwiring.c
diff --git a/cad/magic/patches/patch-netmenu_netmenu.h b/cad/magic/patches/patch-netmenu_netmenu.h
index 6e0e376d272..1f70576f035 100644
--- a/cad/magic/patches/patch-netmenu_netmenu.h
+++ b/cad/magic/patches/patch-netmenu_netmenu.h
@@ -1,33 +1,4 @@
-$NetBSD: patch-netmenu_netmenu.h,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- netmenu/netmenu.h.orig 2013-03-02 22:53:01.000000000 +0000
-+++ netmenu/netmenu.h
-@@ -32,12 +32,7 @@
-
- extern void NMinit();
- extern void NMUnsetCell();
--extern int NMNewNetlist();
--extern int NMWriteNetlist();
- extern char *NMAddTerm();
--extern int NMDeleteTerm();
--extern int NMJoinNets();
--extern int NMDeleteNet();
- extern int NMEnumNets();
- extern int NMEnumTerms();
- extern char *NMNthNet();
-@@ -47,6 +42,11 @@ extern bool NMHasList();
- extern void NMFlushNetlist();
- extern char *NMNetlistName();
-
-+void NMJoinNets(char *termA, char *termB);
-+void NMDeleteNet(char *net);
-+void NMNewNetlist(char *name);
-+void NMWriteNetlist(char *fileName);
-+
- /* button functions, now exported to the command-line "netlist" command */
- extern void NMButtonLeft();
- extern void NMButtonMiddle();
-$NetBSD: patch-netmenu_netmenu.h,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-netmenu_netmenu.h,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- netmenu/netmenu.h.orig 2013-03-02 22:53:01.000000000 +0000
+++ netmenu/netmenu.h
diff --git a/cad/magic/patches/patch-netmenu_nmInt.h b/cad/magic/patches/patch-netmenu_nmInt.h
index ddc210b10bf..bf2ad0cd052 100644
--- a/cad/magic/patches/patch-netmenu_nmInt.h
+++ b/cad/magic/patches/patch-netmenu_nmInt.h
@@ -1,54 +1,4 @@
-$NetBSD: patch-netmenu_nmInt.h,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- netmenu/nmInt.h.orig 2006-04-10 22:03:14.000000000 +0000
-+++ netmenu/nmInt.h
-@@ -24,6 +24,8 @@
- #define _NMINT_H
-
- #include "windows/windows.h"
-+#include "textio/txcommands.h"
-+#include "tiles/tile.h"
-
- /* The declarations below define the elements displayed in the
- * net-list menu. There are three kinds of things:
-@@ -108,26 +110,30 @@ extern void NMAddPoint();
- extern void NMDeletePoint();
- extern void NMClearPoints();
- extern void NMUpdatePoints();
--extern int NMRedrawPoints();
-
--extern int NMRedrawCell();
- extern void NMShowCell();
- extern void NMUnsetCell();
- extern void NMShowUnderBox();
--extern int NMShowRoutedNet();
- extern void NMShowLabel();
-
--extern int NMRipup();
- extern int NMRipupList();
--extern int NMExtract();
- extern void NMSelectNet();
-
- extern bool NMCheckWritten();
--extern int NMWriteAll();
-
- extern void NMUndo();
- extern void NMUndoInit();
-
-+void NMcommand(MagWindow *w, TxCommand *cmd);
-+void NMredisplay(MagWindow *w, Rect *rootArea, Rect *clipArea);
-+void NMDeleteTerm(char *name);
-+void NMWriteAll(void);
-+void NMRedrawPoints(MagWindow *window, Plane *plane);
-+void NMRedrawCell(MagWindow *window, Plane *plane);
-+void NMShowRoutedNet(char *netName);
-+void NMRipup(void);
-+void NMExtract(void);
-+
- /* Various global variables (within this module): */
-
- extern char * NMCurNetName;
-$NetBSD: patch-netmenu_nmInt.h,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-netmenu_nmInt.h,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- netmenu/nmInt.h.orig 2006-04-10 22:03:14.000000000 +0000
+++ netmenu/nmInt.h
diff --git a/cad/magic/patches/patch-plow_PlowMain.c b/cad/magic/patches/patch-plow_PlowMain.c
index 12a17ddfc6f..6f6e73f0a3e 100644
--- a/cad/magic/patches/patch-plow_PlowMain.c
+++ b/cad/magic/patches/patch-plow_PlowMain.c
@@ -1,40 +1,4 @@
-$NetBSD: patch-plow_PlowMain.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- plow/PlowMain.c.orig 2013-03-02 22:35:26.000000000 +0000
-+++ plow/PlowMain.c
-@@ -84,11 +84,15 @@ RuleTableEntry *plowCellRulesPtr = plowC
- extern int prClearUmbra();
- extern int prUmbra();
- extern int prPenumbraTop(), prPenumbraBot();
--extern int prFixedPenumbraTop(), prFixedPenumbraBot();
--extern int prSliverTop(), prSliverBot();
-+extern int prFixedPenumbraTop();
-+void prFixedPenumbraBot(Edge *edge);
-+void prSliverBot(Edge *edge, PlowRule *rules);
-+void prIllegalBot(Edge *edge);
-+void prCoverBot(Edge *edge);
-+extern int prSliverTop();
- extern int prInSliver();
--extern int prIllegalTop(), prIllegalBot();
--extern int prCoverTop(), prCoverBot();
-+extern int prIllegalTop();
-+extern int prCoverTop();
- extern int prFixedLHS(), prFixedRHS(), prFixedDragStubs();
- extern int prContactLHS(), prContactRHS();
- extern int prFindCells();
-@@ -1171,9 +1175,8 @@ plowFindSelCell(yankUse, editUse)
- * ----------------------------------------------------------------------------
- */
-
--int
--PlowExtendJogHorizon(edge)
-- Edge *edge; /* Edge being moved */
-+static void
-+PlowExtendJogHorizon(Edge *edge)
- {
- int horizonTop, horizonBot, eTop, eBot;
- Tile *tpR, *tpL;
-$NetBSD: patch-plow_PlowMain.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-plow_PlowMain.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- plow/PlowMain.c.orig 2013-03-02 22:35:26.000000000 +0000
+++ plow/PlowMain.c
diff --git a/cad/magic/patches/patch-plow_PlowRules1.c b/cad/magic/patches/patch-plow_PlowRules1.c
index beba426a2f3..a34341e700c 100644
--- a/cad/magic/patches/patch-plow_PlowRules1.c
+++ b/cad/magic/patches/patch-plow_PlowRules1.c
@@ -1,21 +1,4 @@
-$NetBSD: patch-plow_PlowRules1.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- plow/PlowRules1.c.orig 2013-03-02 22:36:15.000000000 +0000
-+++ plow/PlowRules1.c
-@@ -529,10 +529,8 @@ prSliverTop(edge, rules)
- }
- }
-
--int
--prSliverBot(edge, rules)
-- Edge *edge;
-- PlowRule *rules;
-+void
-+prSliverBot(Edge *edge, PlowRule *rules)
- {
- TileTypeBitMask insideTypes;
- PlowRule *pr;
-$NetBSD: patch-plow_PlowRules1.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-plow_PlowRules1.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- plow/PlowRules1.c.orig 2013-03-02 22:36:15.000000000 +0000
+++ plow/PlowRules1.c
diff --git a/cad/magic/patches/patch-plow_PlowRules2.c b/cad/magic/patches/patch-plow_PlowRules2.c
index 107cd040190..3c18af0a1bd 100644
--- a/cad/magic/patches/patch-plow_PlowRules2.c
+++ b/cad/magic/patches/patch-plow_PlowRules2.c
@@ -1,44 +1,4 @@
-$NetBSD: patch-plow_PlowRules2.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- plow/PlowRules2.c.orig 2013-03-02 22:36:54.000000000 +0000
-+++ plow/PlowRules2.c
-@@ -235,9 +235,8 @@ prFixedPenumbraTop(edge)
- }
- }
-
--int
--prFixedPenumbraBot(edge)
-- Edge *edge; /* Edge being moved */
-+void
-+prFixedPenumbraBot(Edge *edge)
- {
- struct applyRule ar;
- PlowRule *pr;
-@@ -499,9 +498,8 @@ prCoverTop(edge)
- }
- }
-
--int
--prCoverBot(edge)
-- Edge *edge; /* Edge being moved */
-+void
-+prCoverBot(Edge *edge)
- {
- TileType ltype, rtype;
- PlowRule *pr;
-@@ -585,9 +583,8 @@ prIllegalTop(edge)
- plowCoverTopProc, (ClientData) &ar);
- }
-
--int
--prIllegalBot(edge)
-- Edge *edge;
-+void
-+prIllegalBot(Edge *edge)
- {
- TileTypeBitMask insideTypes;
- struct applyRule ar;
-$NetBSD: patch-plow_PlowRules2.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-plow_PlowRules2.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- plow/PlowRules2.c.orig 2013-03-02 22:36:54.000000000 +0000
+++ plow/PlowRules2.c
diff --git a/cad/magic/patches/patch-textio_textio.h b/cad/magic/patches/patch-textio_textio.h
index 3f1d33427f4..b56c91516d0 100644
--- a/cad/magic/patches/patch-textio_textio.h
+++ b/cad/magic/patches/patch-textio_textio.h
@@ -1,24 +1,4 @@
-$NetBSD: patch-textio_textio.h,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- textio/textio.h.orig 2013-03-02 22:26:17.000000000 +0000
-+++ textio/textio.h
-@@ -25,6 +25,7 @@
- #ifndef _TEXTIO_H
- #define _TEXTIO_H
-
-+#include <stdarg.h>
- #include "utils/magic.h"
-
- #ifdef MAGIC_WRAPPER
-@@ -65,6 +66,7 @@ extern void TxUseMore();
- extern void TxStopMore();
-
- /* printing procedures with variable arguments lists */
-+extern void VTxError(char *, va_list);
- extern void TxError(char *, ...);
- extern void TxPrintf(char *, ...);
- extern char *TxPrintString(char *, ...);
-$NetBSD: patch-textio_textio.h,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-textio_textio.h,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- textio/textio.h.orig 2013-03-02 22:26:17.000000000 +0000
+++ textio/textio.h
diff --git a/cad/magic/patches/patch-utils_LIBtextio.c b/cad/magic/patches/patch-utils_LIBtextio.c
index 4cd9a1d43eb..e576f81741f 100644
--- a/cad/magic/patches/patch-utils_LIBtextio.c
+++ b/cad/magic/patches/patch-utils_LIBtextio.c
@@ -1,36 +1,4 @@
-$NetBSD: patch-utils_LIBtextio.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- utils/LIBtextio.c.orig 2013-03-02 22:24:58.000000000 +0000
-+++ utils/LIBtextio.c
-@@ -94,18 +94,23 @@ TxFlush()
- *
- * ----------------------------------------------------------------------------
- */
-+void
-+VTxError(char *fmt, va_list va)
-+{
-+ (void) fflush(stdout);
-+ (void) fflush(stderr);
-+ vfprintf(stderr, fmt, ap);
-+ (void) fflush(stderr);
-+}
-
- void
- TxError(char *fmt, ...)
- {
- va_list ap;
-
-- (void) fflush(stdout);
-- (void) fflush(stderr);
- va_start(ap, fmt);
-- vfprintf(stderr, fmt, ap);
-+ VTxError(fmt, ap);
- va_end(ap);
-- (void) fflush(stderr);
- }
-
-
-$NetBSD: patch-utils_LIBtextio.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-utils_LIBtextio.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- utils/LIBtextio.c.orig 2013-03-02 22:24:58.000000000 +0000
+++ utils/LIBtextio.c
diff --git a/cad/magic/patches/patch-windows_windDisp.c b/cad/magic/patches/patch-windows_windDisp.c
index a7d4b204b4e..7db995a0078 100644
--- a/cad/magic/patches/patch-windows_windDisp.c
+++ b/cad/magic/patches/patch-windows_windDisp.c
@@ -1,17 +1,4 @@
-$NetBSD: patch-windows_windDisp.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- windows/windDisp.c.orig 2013-03-02 22:33:23.000000000 +0000
-+++ windows/windDisp.c
-@@ -76,7 +76,7 @@ bool windSomeSeparateRedisplay = FALSE;
- * ----------------------------------------------------------------------------
- */
-
--int windCheckOnlyWindow(MagWindow **w, WindClient client)
-+void windCheckOnlyWindow(MagWindow **w, WindClient client)
- {
- MagWindow *sw, *tw;
- int wct = 0;
-$NetBSD: patch-windows_windDisp.c,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-windows_windDisp.c,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- windows/windDisp.c.orig 2013-03-02 22:33:23.000000000 +0000
+++ windows/windDisp.c
diff --git a/cad/magic/patches/patch-windows_windows.h b/cad/magic/patches/patch-windows_windows.h
index ceb1b5fd413..2fb1c58e8a9 100644
--- a/cad/magic/patches/patch-windows_windows.h
+++ b/cad/magic/patches/patch-windows_windows.h
@@ -1,17 +1,4 @@
-$NetBSD: patch-windows_windows.h,v 1.1 2013/03/03 01:11:11 joerg Exp $
-
---- windows/windows.h.orig 2013-03-02 22:33:29.000000000 +0000
-+++ windows/windows.h
-@@ -246,7 +246,7 @@ extern int WindExecute();
- extern void WindAddCommand();
- extern int WindReplaceCommand();
- extern char **WindGetCommandTable();
--extern int windCheckOnlyWindow(MagWindow **, WindClient);
-+extern void windCheckOnlyWindow(MagWindow **, WindClient);
-
-
- /* searching procs */
-$NetBSD: patch-windows_windows.h,v 1.1 2013/03/03 01:11:11 joerg Exp $
+$NetBSD: patch-windows_windows.h,v 1.2 2013/03/07 22:05:13 joerg Exp $
--- windows/windows.h.orig 2013-03-02 22:33:29.000000000 +0000
+++ windows/windows.h