[MPlayer-dev-eng] [PATCH] OpenBSD vidix
Björn Sandell
biorn at dce.chalmers.se
Wed May 15 01:33:38 CEST 2002
Patch to fix dlsym/a.out problem:
Index: vidix/vidixlib.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/vidixlib.c,v
retrieving revision 1.10
diff -u -r1.10 vidixlib.c
--- vidix/vidixlib.c 27 Apr 2002 22:42:27 -0000 1.10
+++ vidix/vidixlib.c 14 May 2002 20:00:45 -0000
@@ -24,6 +24,10 @@
#include <dlfcn.h> /* GLIBC specific. Exists under cygwin too! */
#include <dirent.h>
+#if defined(__OpenBSD__) && !defined(__ELF__)
+#define dlsym(h,s) dlsym(h, "_" s)
+#endif
+
#include "vidixlib.h"
#include "../bswap.h"
Björn Sandell DCE/DFS Sysadmin IT department
Chalmers University of Technology www.dce.chalmers.se
More information about the MPlayer-dev-eng
mailing list