[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PowerPC: Need help with xfig

Roland Rosenfeld <roland@spinnaker.de> writes:

> So maybe someone of you can track down the problem (maybe compiling
> with gcc272 helps?) or can check out with a debugger what exactly
> causes the segfault in set_line_stuff()?

i finally got xfig to work on the powerpc. because of sloppy
programming one of the functions wasn't prototyped correctly. just
apply this patch:

--- u_draw.c-orig       Sun Jan 16 19:16:10 2000
+++ u_draw.c    Sun Jan 16 19:11:18 2000
@@ -40,6 +40,10 @@
 #include "w_setup.h"
 #include "w_zoom.h"
+void curve(Window, int, int, int, int, Boolean, Boolean, int,
+            int, int, int, int,
+            int, int, int, float,int, int, int, int);
 /* declarations for splines */
 #define         HIGH_PRECISION    0.5
@@ -1894,7 +1898,7 @@
-curve(window, xstart, ystart, xend, yend, draw_points, draw_center,
+void curve(window, xstart, ystart, xend, yend, draw_points, draw_center,
        direction, a, b, xoff, yoff, op, thick,
        style, style_val, fill_style, pen_color, fill_color, cap_style)
     Window         window;


| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |

Reply to: