$NetBSD: patch-ah,v 1.1 2005/03/16 18:32:50 rillig Exp $ gcc-2.95.3 cannot handle declarations intermixed with code. --- app/depth/commands.c.orig Fri Dec 3 21:25:34 2004 +++ app/depth/commands.c Wed Mar 16 17:38:10 2005 @@ -2136,7 +2136,7 @@ file_pref_cmd_callback (GtkWidget *widge (gpointer)&cms_default_image_profile_name ); gtk_menu_set_active(GTK_MENU(menu), 0); - GSList *profile_file_names = cms_read_standard_profile_dirs(CMS_ANY_PROFILECLASS); + {GSList *profile_file_names = cms_read_standard_profile_dirs(CMS_ANY_PROFILECLASS); GSList *iterator = profile_file_names; gchar *current_filename; CMSProfile *current_profile; @@ -2280,7 +2280,7 @@ file_pref_cmd_callback (GtkWidget *widge gtk_widget_show(label); menu = gtk_menu_new (); - guint8 *value; + {guint8 *value; menuitem = gtk_menu_item_new_with_label ("Perceptual"); gtk_menu_append (GTK_MENU (menu), menuitem); value = g_new(guint8, 1); @@ -2347,7 +2347,7 @@ file_pref_cmd_callback (GtkWidget *widge gtk_widget_show(label); menu = gtk_menu_new (); - guint16 *value16; + {guint16 *value16; menuitem = gtk_menu_item_new_with_label ("CMM default"); gtk_menu_append (GTK_MENU (menu), menuitem); value16 = g_new(guint16, 1); @@ -2558,7 +2558,7 @@ file_pref_cmd_callback (GtkWidget *widge label = gtk_label_new ("Color Management"); gtk_notebook_append_page (GTK_NOTEBOOK(notebook), out_frame, label); gtk_widget_show (notebook); - } + }}}} gtk_widget_show (prefs_dlg); }