diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2009-01-22 15:47:57 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2009-01-22 15:47:57 +0000 |
commit | f735d3dadd51904d864c49c8dc16fb1e8d61ef78 (patch) | |
tree | 4a457d72344dcfa41fa83b788674fc9903e16f45 /x11-plugins/wmcalendar/files | |
parent | Sparc stable, Bug #255843. (diff) | |
download | gentoo-2-f735d3dadd51904d864c49c8dc16fb1e8d61ef78.tar.gz gentoo-2-f735d3dadd51904d864c49c8dc16fb1e8d61ef78.tar.bz2 gentoo-2-f735d3dadd51904d864c49c8dc16fb1e8d61ef78.zip |
Added patch to rename internal 'kill' function that on some
setups conflicts with glibc definition. No point in creating a new
package revision since the change is really trivial. Closes bug #248626.
Removed old, unused, stale patches.
(Portage version: 2.1.6.4/cvs/Linux 2.6.24-tuxonice-r9 i686)
Diffstat (limited to 'x11-plugins/wmcalendar/files')
3 files changed, 20 insertions, 83 deletions
diff --git a/x11-plugins/wmcalendar/files/wmcalendar-0.5.0-gcc4.patch b/x11-plugins/wmcalendar/files/wmcalendar-0.5.0-gcc4.patch deleted file mode 100644 index a362b93ccf7f..000000000000 --- a/x11-plugins/wmcalendar/files/wmcalendar-0.5.0-gcc4.patch +++ /dev/null @@ -1,53 +0,0 @@ -*** wmcalendar-0.5.0/Src/calendar.c.old Thu Nov 24 13:04:35 2005 ---- wmcalendar-0.5.0/Src/calendar.c Thu Nov 24 13:50:16 2005 -*************** -*** 105,111 **** - prop = icalcomponent_get_first_property(d, ICAL_TRANSP_PROPERTY ); - reocc = icalcomponent_get_first_property(d, ICAL_RRULE_PROPERTY); - if(prop) -! (const char*)transp = icalproperty_get_value_as_string(prop); - if(!strcmp(transp, "OPAQUE")) - value = 1; - else if(!strcmp(transp, "TRANSPARENT")) ---- 105,111 ---- - prop = icalcomponent_get_first_property(d, ICAL_TRANSP_PROPERTY ); - reocc = icalcomponent_get_first_property(d, ICAL_RRULE_PROPERTY); - if(prop) -! transp = (char *)icalproperty_get_value_as_string(prop); - if(!strcmp(transp, "OPAQUE")) - value = 1; - else if(!strcmp(transp, "TRANSPARENT")) -*************** -*** 117,123 **** - /* get desciption */ - prop = icalcomponent_get_first_property(d, ICAL_SUMMARY_PROPERTY); - if(prop) { -! (const char*)text = icalproperty_get_value_as_string(prop); - addCalObj(t1, t2, value, text, d); - if(get_debug())printf("read: %d.%d.%d - %d.%d.%d %s\n", t1.day, t1.month, - t1.year, t2.day, t2.month, t2.year, text); ---- 117,123 ---- - /* get desciption */ - prop = icalcomponent_get_first_property(d, ICAL_SUMMARY_PROPERTY); - if(prop) { -! text = (char *)icalproperty_get_value_as_string(prop); - addCalObj(t1, t2, value, text, d); - if(get_debug())printf("read: %d.%d.%d - %d.%d.%d %s\n", t1.day, t1.month, - t1.year, t2.day, t2.month, t2.year, text); -*************** -*** 321,327 **** - free(calRoot->text); - free(calRoot->comp); - free(calRoot); -! (struct calObj*)calRoot = help; - } - for(i = 0; i < 32; i++) - datetype[i][1] = 0; ---- 321,327 ---- - free(calRoot->text); - free(calRoot->comp); - free(calRoot); -! calRoot = help; - } - for(i = 0; i < 32; i++) - datetype[i][1] = 0; diff --git a/x11-plugins/wmcalendar/files/wmcalendar-0.5.0.makefile.patch b/x11-plugins/wmcalendar/files/wmcalendar-0.5.0.makefile.patch deleted file mode 100644 index d0094df320f9..000000000000 --- a/x11-plugins/wmcalendar/files/wmcalendar-0.5.0.makefile.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -ur wmcalendar-0.5.0/Src/Makefile /wmcalendar-0.5.0/Src/Makefile ---- a/wmcalendar-0.5.0/Src/Makefile 2003-07-15 17:19:26.000000000 +0200 -+++ b/wmcalendar-0.5.0/Src/Makefile 2003-09-17 08:36:48.000000000 +0200 -@@ -1,4 +1,7 @@ --CC = gcc -+ifndef CC -+ CC = gcc -+endif -+ - INCLUDES = `pkg-config --cflags gtk+-2.0` -I. - LFLAGS = `pkg-config --libs gtk+-2.0` - -@@ -6,7 +9,7 @@ - #INCLUDES = `gtk12-config --cflags` -I. - #LFLAGS = `gtk12-config --libs` - X11BASE = /usr/X11R6 --CFLAGS = $(INCLUDES) -DICON_TYPE=$(ICON_TYPE) -+MY_CFLAGS = $(CFLAGS) $(INCLUDES) -DICON_TYPE=$(ICON_TYPE) - INCDIR = -I$(X11BASE)/include/X11 -I$(X11BASE)/include -I$/usr/include -I$/usr/local/include - DESTDIR= /usr/local - LIBDIR = -L/usr/lib -L${X11BASE}/lib -L/usr/local/lib -@@ -24,7 +27,7 @@ - calendar.o - - .c.o: -- $(CC) $(CFLAGS) -D`uname -s` -DHAVE_SYS_TIME_H -c $< -o $*.o $(INCDIR) -+ $(CC) $(MY_CFLAGS) -D`uname -s` -DHAVE_SYS_TIME_H -c $< -o $*.o $(INCDIR) - - - all: wmCalendar.o wmCalendar diff --git a/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-rename_kill_func.patch b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-rename_kill_func.patch new file mode 100644 index 000000000000..9a22a176dd71 --- /dev/null +++ b/x11-plugins/wmcalendar/files/wmcalendar-0.5.2-rename_kill_func.patch @@ -0,0 +1,20 @@ +--- calendar.c 2009-01-22 16:36:23.000000000 +0100 ++++ calendar.c.new 2009-01-22 16:36:07.000000000 +0100 +@@ -48,7 +48,7 @@ + + + +-void kill (GtkWidget * widget) ++void close_app (GtkWidget * widget) + { + gtk_widget_destroy ((GtkWidget*)gtk_widget_get_toplevel(widget)); + gtk_main_quit (); +@@ -193,7 +193,7 @@ + gtk_signal_connect(GTK_OBJECT (event_box), "button_press_event", + GTK_SIGNAL_FUNC (move), NULL); + gtk_signal_connect(GTK_OBJECT (event_box2), "button_press_event", +- (GtkSignalFunc) kill, GTK_OBJECT(dayView)); ++ (GtkSignalFunc) close_app, GTK_OBJECT(dayView)); + + gtk_widget_realize(dayView); + // gtk_window_set_position(GTK_WINDOW (dayView),GTK_WIN_POS_CENTER_ON_PARENT); |