diff options
-rw-r--r-- | x11/gtk2/distinfo | 3 | ||||
-rw-r--r-- | x11/gtk2/patches/patch-aj | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/x11/gtk2/distinfo b/x11/gtk2/distinfo index c18f99b7ce8..70416ccd930 100644 --- a/x11/gtk2/distinfo +++ b/x11/gtk2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.57 2006/01/12 17:31:03 wiz Exp $ +$NetBSD: distinfo,v 1.58 2006/01/28 02:54:32 rillig Exp $ SHA1 (gtk+-2.8.10.tar.bz2) = 12daab07fc27c9715cc70d89e6f92a6f5d6de0b9 RMD160 (gtk+-2.8.10.tar.bz2) = f549c1de4d938b3bc6780eab0766ec5020070568 @@ -12,3 +12,4 @@ SHA1 (patch-af) = cac12b7a8fb37d906d70f1654d7c98f51b1e42fc SHA1 (patch-ag) = 2166d1832ecd928583e4a1b7e9a6a37b37f2b403 SHA1 (patch-ah) = bb6d8fdcaba561af678e2a86aa92ca4e864e573f SHA1 (patch-ai) = eb525ab295ca2661acc0d0a0e82fdda7ff1b929e +SHA1 (patch-aj) = ed95e08ca3fd5db47e32975b07d89a63007e33bf diff --git a/x11/gtk2/patches/patch-aj b/x11/gtk2/patches/patch-aj new file mode 100644 index 00000000000..f51aedf7f2d --- /dev/null +++ b/x11/gtk2/patches/patch-aj @@ -0,0 +1,18 @@ +$NetBSD: patch-aj,v 1.7 2006/01/28 02:54:32 rillig Exp $ + +MIPSpro does not allow non-constant initializers. + +--- demos/gtk-demo/editable_cells.c.orig 2005-05-25 08:28:30.000000000 +0200 ++++ demos/gtk-demo/editable_cells.c 2006-01-28 02:41:16.000000000 +0100 +@@ -121,7 +121,10 @@ create_numbers_model (void) + /* add numbers */ + for (i = 0; i < N_NUMBERS; i++) + { +- char str[2] = { '0' + i, '\0' }; ++ char str[2]; ++ ++ str[0] = '0' + i; ++ str[1] = '\0'; + + gtk_list_store_append (model, &iter); + |