Gentoo Archives: gentoo-commits

From: "Michele Noberasco (s4t4n)" <s4t4n@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/wmcalendar/files: wmcalendar-0.5.2-rename_kill_func.patch wmcalendar-0.5.0-gcc4.patch wmcalendar-0.5.0.makefile.patch
Date: Thu, 22 Jan 2009 15:48:03
Message-Id: E1LQ1mf-0008G4-5u@stork.gentoo.org
1 s4t4n 09/01/22 15:47:57
2
3 Added: wmcalendar-0.5.2-rename_kill_func.patch
4 Removed: wmcalendar-0.5.0-gcc4.patch
5 wmcalendar-0.5.0.makefile.patch
6 Log:
7 Added patch to rename internal 'kill' function that on some
8 setups conflicts with glibc definition. No point in creating a new
9 package revision since the change is really trivial. Closes bug #248626.
10 Removed old, unused, stale patches.
11 (Portage version: 2.1.6.4/cvs/Linux 2.6.24-tuxonice-r9 i686)
12
13 Revision Changes Path
14 1.1 x11-plugins/wmcalendar/files/wmcalendar-0.5.2-rename_kill_func.patch
15
16 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-rename_kill_func.patch?rev=1.1&view=markup
17 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-rename_kill_func.patch?rev=1.1&content-type=text/plain
18
19 Index: wmcalendar-0.5.2-rename_kill_func.patch
20 ===================================================================
21 --- calendar.c 2009-01-22 16:36:23.000000000 +0100
22 +++ calendar.c.new 2009-01-22 16:36:07.000000000 +0100
23 @@ -48,7 +48,7 @@
24
25
26
27 -void kill (GtkWidget * widget)
28 +void close_app (GtkWidget * widget)
29 {
30 gtk_widget_destroy ((GtkWidget*)gtk_widget_get_toplevel(widget));
31 gtk_main_quit ();
32 @@ -193,7 +193,7 @@
33 gtk_signal_connect(GTK_OBJECT (event_box), "button_press_event",
34 GTK_SIGNAL_FUNC (move), NULL);
35 gtk_signal_connect(GTK_OBJECT (event_box2), "button_press_event",
36 - (GtkSignalFunc) kill, GTK_OBJECT(dayView));
37 + (GtkSignalFunc) close_app, GTK_OBJECT(dayView));
38
39 gtk_widget_realize(dayView);
40 // gtk_window_set_position(GTK_WINDOW (dayView),GTK_WIN_POS_CENTER_ON_PARENT);