summaryrefslogtreecommitdiff
path: root/www/php3/patches/patch-aa
blob: 62335b8a62e01a3c3bb6bf39af1677ecba8ec5a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.5 2000/04/13 09:51:23 tron Exp $

--- functions/dl.c.orig	Thu Mar 30 03:22:37 2000
+++ functions/dl.c	Thu Apr 13 11:48:07 2000
@@ -120,7 +120,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)
 		get_module = (php3_module_entry *(*)(void)) dlsym(handle, "_get_module");