pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cad/gerbv Remove illegal and unnecessary cast on left ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4460d92abb81
branches: trunk
changeset: 516034:4460d92abb81
user: gson <gson%pkgsrc.org@localhost>
date: Thu Jul 13 06:58:37 2006 +0000
description:
Remove illegal and unnecessary cast on left side of
assignment to make it compile with gcc 4.1.2
diffstat:
cad/gerbv/distinfo | 3 ++-
cad/gerbv/patches/patch-aa | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r 8c7a7fb38f85 -r 4460d92abb81 cad/gerbv/distinfo
--- a/cad/gerbv/distinfo Thu Jul 13 00:57:32 2006 +0000
+++ b/cad/gerbv/distinfo Thu Jul 13 06:58:37 2006 +0000
@@ -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 -r 8c7a7fb38f85 -r 4460d92abb81 cad/gerbv/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cad/gerbv/patches/patch-aa Thu Jul 13 06:58:37 2006 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index