# HG changeset patch
# User arpi
# Date 1019957404 0
# Node ID a04a7dc31ebbeb5ce374fe3c7442154dbd6fcdf5
# Parent d2941f563a6df187db97bd4980bbad1fb43f43e5
openbsd updates by Bj«Órn Sandell
@@ -1607,6 +1608,28 @@
QNX has only X emulation which is VERY slow. Use SDL.
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).
+ +Presently you must give the option '--disable-mpdvdkit' to +configure, else it won't compile.
+ +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'.
+ +To w32-dll's with MPlayer you will need to re-compile the +kernel with "option USER_LDT".
+ +If MPlayer complains about not finding '/dev/cdrom' or
+'/dev/dvd' make a symbolic link, eg ln -s
+/dev/(your_cdrom_device) /dev/cdrom
NOTE: Do *NOT* send bugreports, help & feature requests directly to the authors!
diff -r d2941f563a6d -r a04a7dc31ebb configure --- 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' diff -r d2941f563a6d -r a04a7dc31ebb loader/Makefile --- 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: diff -r d2941f563a6d -r a04a7dc31ebb loader/loader_objfix.sh --- /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