Sisyphus repository
Last update: 26 january 2022 | SRPMs: 17491 | Visits: 22841657
en ru br
ALT Linux repos
S:2.7.0-alt1
5.0: 2.1.0-alt1
4.1: 1.0.1-alt1.1
4.0: 1.0.1-alt1.1
3.0: 1.0.1-alt1

Other repositories
Upstream:2.0.1

Group :: Graphics
RPM: gerbv

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: gerbv-gcc4.patch
Download


--- src/drill.c.orig	2005-01-10 00:51:57 +0300
+++ src/drill.c	2006-05-29 02:29:11 +0400
@@ -217,8 +217,8 @@
 	    /* 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;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin