mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Unbreak.
Obtained from: portsmon
This commit is contained in:
parent
b53b905c54
commit
ee079202bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226925
@ -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
|
||||
|
20
misc/wmcalendar/files/patch-calendar.c
Normal file
20
misc/wmcalendar/files/patch-calendar.c
Normal 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);
|
8
misc/wmcalendar/files/patch-calendar.h
Normal file
8
misc/wmcalendar/files/patch-calendar.h
Normal 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>
|
11
misc/wmcalendar/files/patch-calendarfunc.h
Normal file
11
misc/wmcalendar/files/patch-calendarfunc.h
Normal 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 */
|
Loading…
Reference in New Issue
Block a user