aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php4
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-11-30 09:02:54 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-11-30 09:02:54 +0000
commitfa1d4984f47e31bc7f44d9726db3897193d9e45e (patch)
treea2881345b15a402fc4084b255ff7e7838836c53f /www/mod_php4
parentff90c04b0e698d9fa255cdb76d5476ea6e34bbe9 (diff)
downloadports-fa1d4984f47e31bc7f44d9726db3897193d9e45e.tar.gz
ports-fa1d4984f47e31bc7f44d9726db3897193d9e45e.zip
Notes
Diffstat (limited to 'www/mod_php4')
-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
+