2004-06-22 04:13:11 -04:00
|
|
|
$OpenBSD: patch-configure,v 1.27 2004/06/22 08:13:11 brad Exp $
|
|
|
|
--- configure.orig 2004-04-26 05:44:06.000000000 -0400
|
|
|
|
+++ configure 2004-05-28 22:12:05.000000000 -0400
|
|
|
|
@@ -440,7 +440,7 @@ if test -z "$_target" ; then
|
|
|
|
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 ;;
|
2004-05-06 03:27:36 -04:00
|
|
|
@@ -4148,7 +4148,7 @@ echores "$_sgiaudio"
|
2002-05-16 07:58:48 -04:00
|
|
|
|
|
|
|
|
|
|
|
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"
|
2004-05-06 03:27:36 -04:00
|
|
|
@@ -4991,7 +4991,7 @@ fi
|
2002-10-14 05:50:48 -04:00
|
|
|
|
|
|
|
|
|
|
|
echocheck "iconv"
|
|
|
|
-if test "$_iconv" = auto ; then
|
|
|
|
+if test "$_iconv" != no ; then
|
|
|
|
_iconv_tmp='#include <iconv.h>'
|
|
|
|
|
|
|
|
cat > $TMPC << EOF
|
2004-05-06 03:27:36 -04:00
|
|
|
@@ -6459,6 +6459,9 @@ $_def_vcd
|
2003-04-21 11:29:16 -04:00
|
|
|
#elif defined(SYS_DARWIN)
|
|
|
|
#define DEFAULT_CDROM_DEVICE "/dev/rdiskN"
|
2003-09-25 16:59:01 -04:00
|
|
|
#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
|
2003-04-21 11:29:16 -04:00
|
|
|
+#elif defined(__OpenBSD__)
|
|
|
|
+#define DEFAULT_CDROM_DEVICE "/dev/rcd0a"
|
2003-09-25 16:59:01 -04:00
|
|
|
+#define DEFAULT_DVD_DEVICE DEFAULT_CDROM_DEVICE
|
2003-04-21 11:29:16 -04:00
|
|
|
#else
|
|
|
|
#define DEFAULT_CDROM_DEVICE "/dev/cdrom"
|
2003-09-25 16:59:01 -04:00
|
|
|
#define DEFAULT_DVD_DEVICE "/dev/dvd"
|