openbsd-ports/x11/vlc/patches/patch-include_vlc_config_h
2010-05-05 08:43:35 +00:00

18 lines
541 B
Plaintext

$OpenBSD: patch-include_vlc_config_h,v 1.6 2010/05/05 08:43:35 edd Exp $
--- include/vlc_config.h.orig Fri May 8 20:10:47 2009
+++ include/vlc_config.h Sat May 16 08:47:18 2009
@@ -86,8 +86,13 @@
/* DVD and VCD devices */
#if !defined( WIN32 ) && !defined( UNDER_CE )
+#if defined(__OpenBSD__)
+# define CD_DEVICE "/dev/cd0c"
+# define DVD_DEVICE "/dev/cd0c"
+#else
# define CD_DEVICE "/dev/cdrom"
# define DVD_DEVICE "/dev/dvd"
+#endif
#else
# define CD_DEVICE "D:"
# define DVD_DEVICE NULL