diff options
author | dirk <dirk@FreeBSD.org> | 2001-11-30 09:02:54 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2001-11-30 09:02:54 +0000 |
commit | 52190508404176cc04a9558f0c6b58b07b002794 (patch) | |
tree | 531fb3857cc2797ef51e7606d94f2ba6f6a31700 /www/mod_php5 | |
parent | 32b70ed23fa54cd1d1161e20f292385acc34b3db (diff) | |
download | FreeBSD-ports-52190508404176cc04a9558f0c6b58b07b002794.zip FreeBSD-ports-52190508404176cc04a9558f0c6b58b07b002794.tar.gz |
Provide function stubs for mcal to get around problems with certain
combinations of support options.
Submitted by: Thierry Thomas <thierry@thomas.as>
Diffstat (limited to 'www/mod_php5')
-rw-r--r-- | www/mod_php5/files/patch-ext_mcal_config.m4 | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/www/mod_php5/files/patch-ext_mcal_config.m4 b/www/mod_php5/files/patch-ext_mcal_config.m4 index c6c6399..41fee85 100644 --- a/www/mod_php5/files/patch-ext_mcal_config.m4 +++ b/www/mod_php5/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 + |