openbsd-ports/x11/mplayer/patches/patch-configure
sturm d0e57c8908 SECURITY UPDATE to 0.92
fixes a remotely exploitable buffer overflow in ASX headers that could
be used to make mplayer run arbitrary code

from maintainer Bjoern Sandell
2003-09-25 20:59:01 +00:00

32 lines
991 B
Plaintext

$OpenBSD: patch-configure,v 1.22 2003/09/25 20:59:01 sturm Exp $
--- configure.orig 2003-08-09 16:12:30.000000000 +0200
+++ configure 2003-08-24 10:47:19.000000000 +0200
@@ -3524,7 +3524,7 @@ echores "$_sgiaudio"
echocheck "VCD support"
-if linux || bsdos || freebsd || netbsd || sunos ; then
+if linux || bsdos || freebsd || netbsd || openbsd || sunos ; then
_inputmodules="vcd $_inputmodules"
_def_vcd='#define HAVE_VCD 1'
echores "ok"
@@ -4173,7 +4173,7 @@ fi
echocheck "iconv"
-if test "$_iconv" = auto ; then
+if test "$_iconv" != no ; then
_iconv_tmp='#include <iconv.h>'
cat > $TMPC << EOF
@@ -5406,6 +5406,9 @@ $_def_vcd
#elif defined(SYS_DARWIN)
#define DEFAULT_CDROM_DEVICE "/dev/rdiskN"
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
+#elif defined(__OpenBSD__)
+#define DEFAULT_CDROM_DEVICE "/dev/rcd0a"
+#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
#else
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
#define DEFAULT_DVD_DEVICE "/dev/dvd"