Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/fricas/files: fricas-1.1.7.patch
Date: Fri, 22 Jun 2012 07:35:24
Message-Id: 20120622073514.6BF272004C@flycatcher.gentoo.org
grozin      12/06/22 07:35:14

  Added:                fricas-1.1.7.patch
  Log:
  fix a bug in src/graph/view3D/smoothShade3d.c
  
  (Portage version: 2.2.0_alpha110/cvs/Linux i686)

Revision  Changes    Path
1.1                  sci-mathematics/fricas/files/fricas-1.1.7.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/fricas/files/fricas-1.1.7.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/fricas/files/fricas-1.1.7.patch?rev=1.1&content-type=text/plain

Index: fricas-1.1.7.patch
===================================================================
diff -r -U1 fricas-1.1.7.orig/src/graph/view3D/smoothShade3d.c fricas-1.1.7/src/graph/view3D/smoothShade3d.c
--- fricas-1.1.7.orig/src/graph/view3D/smoothShade3d.c	2012-06-19 08:17:01.000000000 +0700
+++ fricas-1.1.7/src/graph/view3D/smoothShade3d.c	2012-06-22 13:38:49.000000000 +0700
@@ -753,3 +753,3 @@
   /* axes label for X */
-  if ((int)axesZ[0][0] >= (int)axesZ[0][2]) {
+  if ((int)axesZ[0][0] >= (int)axesZ[0][1]) {
     if (axesXY[0][2] < axesXY[0][0]) xcoord2 = axesXY[0][2]-5;