# HG changeset patch # User diego # Date 1089629058 0 # Node ID 9d9e74f6473be39fcecd227fa5220273dc3428b0 # Parent d4e22e1f39f8837173a052fac4e8560b3807d41e OpenBSD portability fixes from the OpenBSD ports tree diff -r d4e22e1f39f8 -r 9d9e74f6473b configure --- a/configure Mon Jul 12 08:55:10 2004 +0000 +++ b/configure Mon Jul 12 10:44:18 2004 +0000 @@ -445,7 +445,7 @@ i[3-9]86*|x86|x86pc|k5|k6|k6_2|k6_3|k6-2|k6-3|pentium*|athlon*|i586_i686|i586-i686) host_arch=i386 ;; ia64) host_arch=ia64 ;; x86_64|amd64) host_arch=x86_64 ;; - ppc) host_arch=ppc ;; + macppc|ppc) host_arch=ppc ;; alpha) host_arch=alpha ;; sparc*) host_arch=sparc ;; parisc*|hppa*|9000*) host_arch=hppa ;; @@ -4329,7 +4329,7 @@ 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" @@ -6654,6 +6654,9 @@ #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"