openbsd-ports/misc/xnc/patches/patch-pluginman_cxx
2001-07-13 14:03:16 +00:00

15 lines
481 B
Plaintext

$OpenBSD: patch-pluginman_cxx,v 1.1 2001/07/13 14:03:23 reinhard Exp $
--- pluginman.cxx.orig Tue Apr 17 10:45:25 2001
+++ pluginman.cxx Wed Jul 11 18:07:05 2001
@@ -69,6 +69,10 @@ dlsym(void* vhandle, const char *name)
#define RTLD_LAZY 0
#endif
+#ifndef __ELF__ /* a.out systems need to prefix an */
+#define dlsym(x,y) dlsym(x, "_" y) /* underscore to symbol names */
+#endif
+
#endif
////////////////////////////////////////////////////////////////////////////