pkgsrc/www/php3/patches/patch-aa
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

16 lines
423 B
Text

$NetBSD: patch-aa,v 1.4 1999/05/03 19:45:44 tv Exp $
--- functions/dl.c.orig Sun May 2 14:34:53 1999
+++ functions/dl.c Sun May 2 14:35:15 1999
@@ -123,7 +123,11 @@
#endif
RETURN_FALSE;
}
+#ifdef __ELF__
get_module = (php3_module_entry *(*)(void)) dlsym(handle, "get_module");
+#else
+ get_module = (php3_module_entry *(*)(void)) dlsym(handle, "_get_module");
+#endif
if (!get_module) {
dlclose(handle);