$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));
