pkgsrc/www/php3/patches/patch-ac
tv 0e52b10d4f Make the php3 pkg work and add full dynamic module support. This includes:
- the CGI-based interpreter, xbase support binaries, and php2 converter
- compiled-in support for Berkeley DB (ndbm), yp, zlib, dBase (xbase),
  and filePro
- the ability to compile PHP3 extensions as dynamic modules (such as support
  for MySQL/PostgreSQL/freeODBC) that may be exchanged freely between
  different server interfaces to PHP (abstractions.c and php.h/tls.h patches)
1999-05-03 19:45:43 +00:00

27 lines
524 B
Text

$NetBSD: patch-ac,v 1.1 1999/05/03 19:45:44 tv Exp $
--- tls.h.orig Sun May 2 15:36:41 1999
+++ tls.h Sun May 2 15:38:32 1999
@@ -120,9 +120,13 @@
int php3_preprocess;
#if APACHE
request_rec *php3_rqst;
+#else
+ void *__php3_rqst;
#endif
#if USE_SAPI
struct sapi_request_info *sapi_rqst;
+#else
+ void *__sapi_rqst;
#endif
#if WIN32|WINNT
unsigned int wintimer_counter;
@@ -177,6 +181,8 @@
/*info.c*/
#if APACHE
module *top_module;
+#else
+ void *__top_module;
#endif
/*pageinfo.c*/
long page_uid;