openbsd-ports/net/ettercap/patches/patch-src_ec_plugins_c

13 lines
428 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_ec_plugins_c,v 1.2 2002/10/28 01:19:06 mark Exp $
--- src/ec_plugins.c.orig Fri Mar 8 00:49:56 2002
+++ src/ec_plugins.c Sun Oct 27 17:14:32 2002
@@ -57,7 +57,7 @@
#define RTLD_NOW DL_LAZY
#endif
-#if defined(OPENBSD) || defined(MACOSX)
+#if defined(OPENBSD) && !defined(__ELF__) || defined(MACOSX)
#define SYM_PREFIX "_" // for the symbols loaded with dlsym
#else
#define SYM_PREFIX ""