summaryrefslogtreecommitdiff
path: root/cad/gerbv
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gerbv')
-rw-r--r--cad/gerbv/Makefile3
-rw-r--r--cad/gerbv/distinfo3
-rw-r--r--cad/gerbv/patches/patch-aa17
3 files changed, 21 insertions, 2 deletions
diff --git a/cad/gerbv/Makefile b/cad/gerbv/Makefile
index fa0cba1b1da..eb25037098e 100644
--- a/cad/gerbv/Makefile
+++ b/cad/gerbv/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2003/01/07 03:56:17 uebayasi Exp $
+# $NetBSD: Makefile,v 1.10 2003/02/05 19:19:27 dmcmahill Exp $
#
DISTNAME= gerbv-0.11
+PKGREVISION= 1
CATEGORIES= cad
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gerbv/}
diff --git a/cad/gerbv/distinfo b/cad/gerbv/distinfo
index 730ccfecc26..4d2fad486e6 100644
--- a/cad/gerbv/distinfo
+++ b/cad/gerbv/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.7 2002/11/22 00:41:14 dmcmahill Exp $
+$NetBSD: distinfo,v 1.8 2003/02/05 19:19:27 dmcmahill Exp $
SHA1 (gerbv-0.11.tar.gz) = d2caf38d0bc18fb87be218254c8ab0cd191c72eb
Size (gerbv-0.11.tar.gz) = 961551 bytes
+SHA1 (patch-aa) = b754f8eb900ea3e03b2e1bf7b5e5263d6e449152
diff --git a/cad/gerbv/patches/patch-aa b/cad/gerbv/patches/patch-aa
new file mode 100644
index 00000000000..24812abe83b
--- /dev/null
+++ b/cad/gerbv/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.3 2003/02/05 19:19:28 dmcmahill Exp $
+
+fix reading drill files when the coordinates have +/- prefixes
+
+--- src/drill.c.orig Fri Nov 15 16:55:55 2002
++++ src/drill.c Fri Jan 31 12:07:52 2003
+@@ -341,6 +341,8 @@
+ int local_state = 0;
+ while ((read = gerb_fgetc(fd)) != EOF &&
+- (isdigit(read) || read == ',' || read == '.')) {
+- if(read != ',' && read != '.') length ++;
++ (isdigit(read) || read == '+' || read == '-'
++ || read == ',' || read == '.')) {
++ if(read != '+' && read != '-'
++ && read != ',' && read != '.') length ++;
+ switch (local_state) {
+ case 0: