[MPlayer-cvslog] r22797 - trunk/libdha/Makefile

Diego Biurrun diego at biurrun.de
Sat Mar 24 18:53:46 CET 2007


On Sat, Mar 24, 2007 at 07:31:27PM +0200, Ivan Kalvachev wrote:
> 2007/3/24, diego <subversion at mplayerhq.hu>:
> >
> >Log:
> >Remove OpenBSD linking hack.  If this is (still) necessary, it needs to be
> >done properly from configure.
> >
> >--- trunk/libdha/Makefile       (original)
> >+++ trunk/libdha/Makefile       Sat Mar 24 14:25:51 2007
> >@@ -16,12 +16,6 @@ SRCS_MPLAYER = libdha.c \
> >
> >-ifeq ($(TARGET_OS),OpenBSD)
> >-ifeq ($(TARGET_ARCH_X86),yes)
> >-EXTRALIBS += -li386
> >-endif
> >-endif
> 
> It seems like libi386 is required for  i386_iopl() in pci_openbsd.c ,
> #include "machine/sysarch.h".
> 
> In openbsd configure includes libi386 when win32loader is enabled. It
> is always included  for netbsd (32bit arch).

Yes, I'm aware of this.  I thought about adding this unconditionally for
OpenBSD, but I'm not sure if it's correct or not.

> Did you made a test compilation on your OpenBSD box before committing?

No, I don't have access to an OpenBSD box.

> Because your commit message implies you have no idea if this change is
> even supposed to work.

Yes.  It might work, or it might not, I don't know.  Hacks like this one
are unacceptable in any case.  If that linking flag is required, OpenBSD
people have to fix it properly from within configure.

Diego




More information about the MPlayer-cvslog mailing list