diff options
Diffstat (limited to 'graphics/cinepaint/patches/patch-aj')
-rw-r--r-- | graphics/cinepaint/patches/patch-aj | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/cinepaint/patches/patch-aj b/graphics/cinepaint/patches/patch-aj new file mode 100644 index 00000000000..863b4987ad6 --- /dev/null +++ b/graphics/cinepaint/patches/patch-aj @@ -0,0 +1,22 @@ +$NetBSD: patch-aj,v 1.1 2005/03/16 18:32:50 rillig Exp $ + +gcc-2.95.3 cannot handle declarations intermixed with code. + +--- app/depth/levels.c.orig Tue Nov 23 13:01:51 2004 ++++ app/depth/levels.c Wed Mar 16 17:47:55 2005 +@@ -4173,13 +4173,12 @@ levels_reset_callback (GtkWidget * + { + LevelsDialog *ld; + HistogramValues *values; ++ int single, channel; + + ld = levels_dialog; + values = histogram_values (ld->histogram); + +- int single = FALSE, +- channel; +- ++ single = FALSE; + channel = ld->channel; + + if (channel != HISTOGRAM_VALUE) |