mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
- Submitter becomes maintainer - While here add missing dependencies http://beefy11.nyi.freebsd.org/data/head-i386-default/p473790_s335878/logs/ical-2.2_4.log PR: 226799 Reported by: bob@immure.com Submitted by: fbsd@opal.com
30 lines
694 B
C
30 lines
694 B
C
--- ical.h.orig 1996-02-10 03:17:36 UTC
|
|
+++ ical.h
|
|
@@ -4,6 +4,11 @@
|
|
|
|
#include <tcl.h>
|
|
|
|
+// That was introduced in tcl8.4
|
|
+#ifndef CONST84
|
|
+#define CONST84
|
|
+#endif
|
|
+
|
|
// Proc for triggering tcl code based on changes
|
|
// to calendars/items.
|
|
|
|
@@ -25,13 +30,13 @@ extern void trigger(Tcl_Interp*, char const* ttype, ch
|
|
|
|
#define TCL_Return(tcl,str) \
|
|
do { \
|
|
- Tcl_SetResult(tcl, (str), TCL_STATIC); \
|
|
+ Tcl_SetResult(tcl, ((char *)(str)), TCL_STATIC); \
|
|
return TCL_OK; \
|
|
} while (0)
|
|
|
|
#define TCL_Error(tcl,str) \
|
|
do { \
|
|
- Tcl_SetResult(tcl, (str), TCL_STATIC); \
|
|
+ Tcl_SetResult(tcl, ((char *)(str)), TCL_STATIC); \
|
|
return TCL_ERROR; \
|
|
} while (0)
|
|
|