cvs: /php4/dl setup /php4/dl/calendar calendar.c
| From: | Evan Klinger | Date: | Fri, 17 Dec 1999 04:20:41 +0000 |
| Subject: | cvs: /php4/dl setup /php4/dl/calendar calendar.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8026@lists.php.net to get a copy of this message | ||
evan Thu Dec 16 23:20:41 1999 EDT
Modified files:
/php4/dl setup
/php4/dl/calendar calendar.c
Log:
Fix for #2347 (compiling calendar), remove compile warnings.
Index: php4/dl/setup
diff -u php4/dl/setup:1.1 php4/dl/setup:1.2
--- php4/dl/setup:1.1 Wed Apr 7 17:02:53 1999
+++ php4/dl/setup Thu Dec 16 23:20:39 1999
@@ -25,7 +25,7 @@
if [ ! ".$CCDLFLAGS" = "." ]; then
echo "To use extensions on your OS, you will need to recompile PHP."
- echo "You need to edit the Makefile in the php3 directory and add "
+ echo "You need to edit the Makefile in the php4 directory and add "
echo "$CCDLFLAGS to the start of the LDFLAGS line at the top of the "
echo "Makefile. Then type: 'make clean; make' "
echo "You can still go ahead and build the extensions now by typing"
@@ -36,7 +36,7 @@
echo "Configuration file. "
fi
-CC="$CC $OPT $CCFLAGS -I. -I.. $LFLAGS"
+CC="$CC $OPT $CCFLAGS -I. -I.. -I../libzend $LFLAGS"
LD="$LD $LDDLFLAGS $CCDLFLAGS"
sed "s,@CC@,$CC,
Index: php4/dl/calendar/calendar.c
diff -u php4/dl/calendar/calendar.c:1.1 php4/dl/calendar/calendar.c:1.2
--- php4/dl/calendar/calendar.c:1.1 Wed Apr 7 17:02:53 1999
+++ php4/dl/calendar/calendar.c Thu Dec 16 23:20:40 1999
@@ -27,8 +27,11 @@
};
-php3_module_entry calendar_module_entry = {
- "Calendar", calendar_functions, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, NULL
+zend_module_entry calendar_module_entry = {
+ "Calendar",
+ calendar_functions,
+ NULL, NULL, NULL, NULL, NULL,
+ STANDARD_MODULE_PROPERTIES,
};