diff options
author | gson <gson@pkgsrc.org> | 2006-07-13 06:58:37 +0000 |
---|---|---|
committer | gson <gson@pkgsrc.org> | 2006-07-13 06:58:37 +0000 |
commit | eafe386beaa9a33885e78fbff769274c26983820 (patch) | |
tree | 550490f712d334337cc2f92ac33cde9b63bd6e9d /cad | |
parent | 69ed23f3be880c4bc7264d670bde7974ae5f882e (diff) | |
download | pkgsrc-eafe386beaa9a33885e78fbff769274c26983820.tar.gz |
Remove illegal and unnecessary cast on left side of
assignment to make it compile with gcc 4.1.2
Diffstat (limited to 'cad')
-rw-r--r-- | cad/gerbv/distinfo | 3 | ||||
-rw-r--r-- | cad/gerbv/patches/patch-aa | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/cad/gerbv/distinfo b/cad/gerbv/distinfo index ab9c5647d8b..971812da490 100644 --- a/cad/gerbv/distinfo +++ b/cad/gerbv/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.14 2005/03/01 12:07:52 dmcmahill Exp $ +$NetBSD: distinfo,v 1.15 2006/07/13 06:58:37 gson Exp $ SHA1 (gerbv-1.0.1.tar.gz) = 7cc6b59959888cfb83df63f616d86e83f10b7c1f RMD160 (gerbv-1.0.1.tar.gz) = bc1564a43f0cf8d3052735bb424879bdc27ec95f Size (gerbv-1.0.1.tar.gz) = 1033739 bytes +SHA1 (patch-aa) = 5341d1b1bbc075731b79262126768991b0ad534f diff --git a/cad/gerbv/patches/patch-aa b/cad/gerbv/patches/patch-aa new file mode 100644 index 00000000000..b3d37db51aa --- /dev/null +++ b/cad/gerbv/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.5 2006/07/13 06:58:37 gson Exp $ + +--- src/drill.c.orig 2005-01-09 23:51:57.000000000 +0200 ++++ src/drill.c +@@ -217,8 +217,8 @@ parse_drillfile(gerb_file_t *fd) + /* KLUDGE. This function isn't allowed to return anything + but inches */ + if(state->unit == MM) { +- (double)curr_net->start_x /= 25.4; +- (double)curr_net->start_y /= 25.4; ++ curr_net->start_x /= 25.4; ++ curr_net->start_y /= 25.4; + /* KLUDGE. All images, regardless of input format, + are returned in INCH format */ + curr_net->unit = INCH; |