ports/deskutils/ical/files/patch-dispatch.C
Tobias Kortkamp 1d32e97a18 desktuils/ical: Fix build with Clang 6
- 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
2018-07-07 15:35:36 +00:00

11 lines
383 B
C

--- dispatch.C.orig 1994-05-20 03:21:54 UTC
+++ dispatch.C
@@ -24,7 +24,7 @@ int Dispatch(Dispatch_Entry* table, ClientData c, Tcl_
if ((entry->max_arg_count >= 0) && (argc > entry->max_arg_count)) {
TCL_Error(tcl, "too many arguments");
}
- return entry->handler(c, tcl, argc, argv);
+ return entry->handler(c, tcl, argc, (CONST84 char **)argv);
}
}