1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
Obtained from:	portsmon
This commit is contained in:
Soeren Straarup 2009-01-26 22:13:03 +00:00
parent b53b905c54
commit ee079202bf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226925
4 changed files with 40 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= wmcalendar
PORTVERSION= 0.5.2
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= misc windowmaker
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -17,8 +17,6 @@ COMMENT= A dockable calendar with interface to iCalendar based calendars
LIB_DEPENDS= ical.42:${PORTSDIR}/devel/libical
BROKEN= does not compile
WRKSRC= ${WRKDIR}/${DISTNAME}/Src
USE_XORG= xpm

View File

@ -0,0 +1,20 @@
--- calendar.c.orig 2007-01-15 01:14:32.000000000 +0100
+++ calendar.c 2009-01-26 19:11:27.000000000 +0100
@@ -48,7 +48,7 @@
-void kill (GtkWidget * widget)
+void wmkill (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) wmkill, GTK_OBJECT(dayView));
gtk_widget_realize(dayView);
// gtk_window_set_position(GTK_WINDOW (dayView),GTK_WIN_POS_CENTER_ON_PARENT);

View File

@ -0,0 +1,8 @@
--- calendar.h.orig 2009-01-26 18:35:48.000000000 +0100
+++ calendar.h 2009-01-26 18:36:03.000000000 +0100
@@ -1,4 +1,4 @@
-#include <ical.h>
+#include <libical/ical.h>
#include <stdlib.h>
#include <gtk/gtk.h>
#include <string.h>

View File

@ -0,0 +1,11 @@
--- calendarfunc.h.orig 2009-01-26 19:19:55.000000000 +0100
+++ calendarfunc.h 2009-01-26 19:20:13.000000000 +0100
@@ -22,7 +22,7 @@
#include <unistd.h>
#include <stdlib.h>
-#include <ical.h>
+#include <libical/ical.h>
#define TIMZ 3.0
#define MINAGE 13.5
#define SUNSET 19.5 /*approximate */