diff options
Diffstat (limited to 'graphics/cinepaint/patches/patch-ai')
-rw-r--r-- | graphics/cinepaint/patches/patch-ai | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/cinepaint/patches/patch-ai b/graphics/cinepaint/patches/patch-ai new file mode 100644 index 00000000000..6d867979cf4 --- /dev/null +++ b/graphics/cinepaint/patches/patch-ai @@ -0,0 +1,22 @@ +$NetBSD: patch-ai,v 1.1 2005/03/16 18:32:50 rillig Exp $ + +gcc-2.95.3 cannot handle declarations intermixed with code. + +--- app/depth/layer.c.orig Tue Dec 28 17:22:01 2004 ++++ app/depth/layer.c Wed Mar 16 17:39:33 2005 +@@ -197,6 +197,7 @@ layer_new ( + ) + { + Layer * layer; ++ SplineTool *st; + + if (width == 0 || height == 0) { + g_message ("Zero width or height layers not allowed."); +@@ -233,7 +234,6 @@ layer_new ( + layer->fs.num_segs = 0; + + /* spline layer variables */ +- SplineTool *st; + layer->sl.splines=(DL_list*)malloc(sizeof(DL_list)); + DL_init((DL_node*)layer->sl.splines); + st=(SplineTool*)malloc(sizeof(SplineTool)); |