[MPlayer-dev-eng] [PATCH] OpenBSD vidix

Arpi arpi at thot.banki.hu
Wed May 15 02:13:27 CEST 2002


Hi,

hmm. isn't this recursive?

> 
> 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
> 
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
> 
> 


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list