aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php4/files')
-rw-r--r--www/mod_php4/files/patch-ext_mcal_config.m421
1 files changed, 13 insertions, 8 deletions
diff --git a/www/mod_php4/files/patch-ext_mcal_config.m4 b/www/mod_php4/files/patch-ext_mcal_config.m4
index c6c639940c6e..41fee8586645 100644
--- a/www/mod_php4/files/patch-ext_mcal_config.m4
+++ b/www/mod_php4/files/patch-ext_mcal_config.m4
@@ -1,12 +1,17 @@
--- ext/mcal/config.m4.orig Tue Mar 27 22:34:31 2001
-+++ ext/mcal/config.m4 Mon Nov 26 18:22:29 2001
-@@ -40,7 +40,8 @@
- fi
-
- PHP_ADD_INCLUDE($MCAL_INCLUDE)
-- PHP_ADD_LIBRARY_WITH_PATH(mcal, $MCAL_LIBRARY, MCAL_SHARED_LIBADD)
-+ PHP_ADD_LIBPATH($MCAL_LIBRARY, MCAL_SHARED_LIBADD)
-+ PHP_ADD_LIBRARY(mcal, 1, MCAL_SHARED_LIBADD)
++++ ext/mcal/config.m4 Fri Nov 30 09:26:56 2001
+@@ -44,5 +44,14 @@
PHP_SUBST(MCAL_SHARED_LIBADD)
AC_DEFINE(HAVE_MCAL,1,[ ])
PHP_EXTENSION(mcal,$ext_shared)
++ cat >> confdefs.h <<\EOF
++/* Interfaces to callbacks in libmcal */
++#include "/usr/local/include/mcal/mcal.h"
++void cc_searched (unsigned long cal_uid) {}
++void cc_fetched(const CALEVENT *event) {}
++void cc_login(const char **user, const char **pwd) {}
++void cc_vlog(const char *fmt,va_list ap) {}
++void cc_vdlog(const char *fmt,va_list ap) {}
++EOF
+ fi
+