From 02f334b943bb2e3890a89a9401b576e06ac3f9cf Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 18 Dec 2005 22:56:15 +0000 Subject: Added patch-aa for compatibility with ISO C90. --- x11/xfce4-notes-plugin/distinfo | 3 ++- x11/xfce4-notes-plugin/patches/patch-aa | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 x11/xfce4-notes-plugin/patches/patch-aa (limited to 'x11') diff --git a/x11/xfce4-notes-plugin/distinfo b/x11/xfce4-notes-plugin/distinfo index 8e84bb1f575..8f38382882b 100644 --- a/x11/xfce4-notes-plugin/distinfo +++ b/x11/xfce4-notes-plugin/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2005/10/28 07:03:31 martti Exp $ +$NetBSD: distinfo,v 1.5 2005/12/18 22:56:15 rillig Exp $ SHA1 (xfce4-notes-plugin-0.11.1.tar.gz) = f0955bb680b9c7f98e86cb743d695bc5b0edd2d1 RMD160 (xfce4-notes-plugin-0.11.1.tar.gz) = 67df2aad40cbfa7f7a544ab1a050a1b974885eed Size (xfce4-notes-plugin-0.11.1.tar.gz) = 339966 bytes +SHA1 (patch-aa) = 1a1ba3c7f9f97f34046cf5fd37260d32a767899f diff --git a/x11/xfce4-notes-plugin/patches/patch-aa b/x11/xfce4-notes-plugin/patches/patch-aa new file mode 100644 index 00000000000..94dc09abdf9 --- /dev/null +++ b/x11/xfce4-notes-plugin/patches/patch-aa @@ -0,0 +1,26 @@ +$NetBSD: patch-aa,v 1.1 2005/12/18 22:56:15 rillig Exp $ + +Keywords: c90 + +--- panel-plugin/notes.c.orig Sat Oct 1 18:30:35 2005 ++++ panel-plugin/notes.c Sun Dec 18 23:52:08 2005 +@@ -148,9 +148,6 @@ notes_create_note (void) + + _note *note; + +- /* create or note structure */ +- note = g_new(_note, 1); +- + GtkWidget *main_w; + GtkWidget *table; + GtkWidget *text_view; +@@ -169,6 +166,9 @@ notes_create_note (void) + GtkWidget *hbox; + + GtkWidget *button_close_image; ++ ++ /* create or note structure */ ++ note = g_new(_note, 1); + + main_w = gtk_window_new (GTK_WINDOW_TOPLEVEL); + gtk_window_set_title (GTK_WINDOW (main_w), _("main_w")); -- cgit v1.2.3