1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/graphics/gimp-app-devel/files/patch-ab
1997-04-08 22:07:03 +00:00

30 lines
937 B
Plaintext

*****
***** patches for plug-ins
*****
--- /a/gimp-0.99.6/plug-ins/url.c Mon Mar 10 04:57:12 1997
+++ plug-ins/url.c Wed Mar 12 21:56:39 1997
@@ -146,8 +146,8 @@
}
else if (pid == 0)
{
- execlp ("wget", "wget", filename, "-O", tmpname, NULL);
- g_warning ("url: exec failed: wget: %s\n", g_strerror(errno));
+ execlp ("fetch", "fetch", filename, "-p -o", tmpname, NULL);
+ g_warning ("url: exec failed: fetch: %s\n", g_strerror(errno));
_exit(127);
}
else
--- plug-ins/nova.c~ Tue Apr 8 10:34:29 1997
+++ plug-ins/nova.c Tue Apr 8 10:34:36 1997
@@ -1010,7 +1010,7 @@
l = sqrt( u*u + v*v );
/* This algorithm is still under construction. */
- c = (atan2(u,v)/(2*PI)+0.51) * pvals.nspoke;
+ c = (atan2(u,v)/(2*M_PI)+0.51) * pvals.nspoke;
i=(int)floor(c); c-=i; i%=pvals.nspoke;
w1=spoke[i]*(1-c)+spoke[(i+1)%pvals.nspoke]*c;
w1*=w1;