Browse Source

forgot to add blindcoder's koules/gcc_parser_fix.patch ...

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@983 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
a375c03aef
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      package/blindcoder/koules/gcc_parser_fix.patch

+ 14
- 0
package/blindcoder/koules/gcc_parser_fix.patch

@ -0,0 +1,14 @@
diff -pruN koules-cvs-2003-04-16-orig/koules.c koules-cvs-2003-04-16/koules.c
--- koules-cvs-2003-04-16-orig/koules.c 2003-07-31 07:33:29.000000000 +0200
+++ koules-cvs-2003-04-16/koules.c 2003-07-31 07:28:35.000000000 +0200
@@ -1213,8 +1213,8 @@ creators_points (int radius, int x1, int
r=sqrt((double)((x-midX)*(x-midX) + (y-midY)*(y-midY)));
/* fix by Alexey Bokov 25-06-98 */
-// r=(r*radius/r1)/r*0.9; // why do we multyply by r then divide by r?
- // causing SIGFPE when r==0...
+/* r=(r*radius/r1)/r*0.9; // why do we multyply by r then divide by r?
+ // causing SIGFPE when r==0... */
r=(radius/r1)*0.9;
x2=x1+(x-midX)*r;
y2=y1+(y-midY)*r;

Loading…
Cancel
Save