Added a patch needed for gcc-2.95.3. Approved by wiz.

This commit is contained in:
rillig 2005-03-16 13:18:34 +00:00
parent e14c2755e9
commit 60a259b209
2 changed files with 22 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.7 2005/02/26 17:26:52 jmmv Exp $
$NetBSD: distinfo,v 1.8 2005/03/16 13:18:34 rillig Exp $
SHA1 (nautilus-cd-burner-2.8.7.tar.bz2) = 84d33dc0a8561283ebc867fc39f2e1a3787ce776
RMD160 (nautilus-cd-burner-2.8.7.tar.bz2) = 1a4ec3c2a64b150e352727cf1e9101616b083872
@ -6,3 +6,4 @@ Size (nautilus-cd-burner-2.8.7.tar.bz2) = 561727 bytes
SHA1 (patch-aa) = e3a00bb52a0327f0f7587c4ea7030128adc70fb8
SHA1 (patch-ab) = df9449617dcb2d759af503d054d29bee9f1234b4
SHA1 (patch-ac) = b4eb3f033e23e0f2764bcd01c2bf0185593e587a
SHA1 (patch-ad) = 1afd01abaac1abc9973166d7b25e950a1ada4e15

View file

@ -0,0 +1,20 @@
$NetBSD: patch-ad,v 1.1 2005/03/16 13:18:34 rillig Exp $
gcc-2.95.3 does not like code intermixed with declarations.
--- bacon-cd-selection.c.orig Wed Nov 10 14:10:39 2004
+++ bacon-cd-selection.c Wed Mar 16 09:27:27 2005
@@ -179,11 +179,11 @@ cdrom_combo_box (BaconCdSelection *bcs,
static void
bacon_cd_selection_init (BaconCdSelection *bcs)
{
- bcs->priv = g_new0 (BaconCdSelectionPrivate, 1);
-
GtkCellRenderer *cell;
GtkListStore *store;
+ bcs->priv = g_new0 (BaconCdSelectionPrivate, 1);
+
store = gtk_list_store_new (1, G_TYPE_STRING);
gtk_combo_box_set_model (GTK_COMBO_BOX (bcs),
GTK_TREE_MODEL (store));