summaryrefslogtreecommitdiff
path: root/graphics/gimp1/files/patch-ab
blob: 27354846adb6127a66964b2fc9e978b68a4a40fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
*****
***** 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;