summaryrefslogtreecommitdiff
path: root/cad/magic/patches/patch-extflat_EFvisit.c
diff options
context:
space:
mode:
Diffstat (limited to 'cad/magic/patches/patch-extflat_EFvisit.c')
-rw-r--r--cad/magic/patches/patch-extflat_EFvisit.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/cad/magic/patches/patch-extflat_EFvisit.c b/cad/magic/patches/patch-extflat_EFvisit.c
new file mode 100644
index 00000000000..45e6a38349d
--- /dev/null
+++ b/cad/magic/patches/patch-extflat_EFvisit.c
@@ -0,0 +1,26 @@
+$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 $
+
+--- 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;