Mercurial > mplayer.hg
changeset 5880:a04a7dc31ebb
openbsd updates by Bj«Órn Sandell <biorn@dce.chalmers.se>
author | arpi |
---|---|
date | Sun, 28 Apr 2002 01:30:04 +0000 |
parents | d2941f563a6d |
children | 3c5ee5419838 |
files | DOCS/documentation.html configure loader/Makefile loader/loader_objfix.sh |
diffstat | 4 files changed, 38 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/documentation.html Sun Apr 28 01:15:35 2002 +0000 +++ b/DOCS/documentation.html Sun Apr 28 01:30:04 2002 +0000 @@ -242,6 +242,7 @@ <LI><A HREF="#6.4">6.4 StrongARM</A></LI> <LI><A HREF="#6.5">6.5 SGI/Irix</A></LI> <LI><A HREF="#6.6">6.6 QNX</A></LI> + <LI><A HREF="#6.7">6.7 OpenBSD</A></LI> </UL> <LI><A HREF="#A">A. Authors</A></LI> <UL> @@ -1607,6 +1608,28 @@ QNX has only X <I>emulation</I> which is VERY slow. Use SDL.</P> +<P><B><A NAME=6.7>6.7. OpenBSD</A></B></P> + +<P>To build the package you will need GNU make (gmake, +/usr/ports/devel/gmake), native BSD make will not work, and a recent +binutils (including objcopy).</P> + +<P> Presently you must give the option '--disable-mpdvdkit' to +configure, else it won't compile. </P> + +<P>Due to limitations in different versions of gas (relocation vs mmx) +, you'll need to compile in two steps: First make sure that the +non-native as is first in PATH and do a 'gmake -k', then make sure +that the native version i used an do 'gmake'.</P> + +<P>To w32-dll's with <B>MPlayer</B> you will need to re-compile the +kernel with "option USER_LDT".</P> + +<P>If <B>MPlayer</B> complains about not finding '/dev/cdrom' or +'/dev/dvd' make a symbolic link, eg <CODE>ln -s +/dev/(your_cdrom_device) /dev/cdrom</CODE></P> + + <P><B><A NAME=A>Appendix A - Authors</A></B></P> <P>NOTE: Do *NOT* send bugreports, help & feature requests directly to the authors!</P>
--- a/configure Sun Apr 28 01:15:35 2002 +0000 +++ b/configure Sun Apr 28 01:30:04 2002 +0000 @@ -3509,6 +3509,7 @@ _ld_arch="$_ld_arch $_ld_pthread $_ld_dl $_ld_dl_dynamic" bsdos && _ld_arch="$_ld_arch -ldvd" netbsd && _ld_arch="$_ld_arch -li386 -lossaudio" +openbsd && _ld_arch="$_ld_arch -li386 -lossaudio" _def_debug='#undef MP_DEBUG' test "$_debug" && _def_debug='#define MP_DEBUG 1'
--- a/loader/Makefile Sun Apr 28 01:15:35 2002 +0000 +++ b/loader/Makefile Sun Apr 28 01:30:04 2002 +0000 @@ -32,6 +32,9 @@ libloader.a: $(LIB_OBJECTS) stubs.s $(CC) -c ./stubs.s -o stubs.o +ifeq ($(TARGET_OS),OpenBSD) + ./loader_objfix.sh +endif $(AR) -r libloader.a $(LIB_OBJECTS) stubs.o dep:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/loader/loader_objfix.sh Sun Apr 28 01:30:04 2002 +0000 @@ -0,0 +1,11 @@ +#!/bin/sh +# This script fixes up symbol mangling in GNU as code of stubs.s. +# This file is licensed under the GPL, more info at http://www.fsf.org/ +for i in "export_names" \ + "printf" \ + "exp_EH_prolog" \ + "unk_exp1" +do +echo "fixing: $i=_$i" +objcopy --redefine-sym "$i=_$i" stubs.o +done