aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/mod_php4/files/patch-ext_mcal_config.m42
-rw-r--r--www/mod_php5/files/patch-ext_mcal_config.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/www/mod_php4/files/patch-ext_mcal_config.m4 b/www/mod_php4/files/patch-ext_mcal_config.m4
index 41fee8586645..a9597463f28f 100644
--- a/www/mod_php4/files/patch-ext_mcal_config.m4
+++ b/www/mod_php4/files/patch-ext_mcal_config.m4
@@ -6,7 +6,7 @@
PHP_EXTENSION(mcal,$ext_shared)
+ cat >> confdefs.h <<\EOF
+/* Interfaces to callbacks in libmcal */
-+#include "/usr/local/include/mcal/mcal.h"
++#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) {}
diff --git a/www/mod_php5/files/patch-ext_mcal_config.m4 b/www/mod_php5/files/patch-ext_mcal_config.m4
index 41fee8586645..a9597463f28f 100644
--- a/www/mod_php5/files/patch-ext_mcal_config.m4
+++ b/www/mod_php5/files/patch-ext_mcal_config.m4
@@ -6,7 +6,7 @@
PHP_EXTENSION(mcal,$ext_shared)
+ cat >> confdefs.h <<\EOF
+/* Interfaces to callbacks in libmcal */
-+#include "/usr/local/include/mcal/mcal.h"
++#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) {}