Skip to contentSkip to conversation

Remove OSS support for OpenBSD

PATCH Applied Brad Smith 4 participants 4 messages May 24, 2013 – May 26, 2013

lore
Share & tools
lore

Brad Smith

author
#0 lore raw

PATCH 1/1 Remove OSS support for OpenBSD

Remove the OSS support for OpenBSD. The OSS API has not been usable for quite some time.

audio/ossaudio.c +0 -4
index 00be9c9..007c641 100644
@@ -25,11 +25,7 @@
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
-#ifdef __OpenBSD__
-#include <soundcard.h>
-#else
 #include <sys/soundcard.h>
-#endif
 #include "qemu-common.h"
 #include "qemu/main-loop.h"
 #include "qemu/host-utils.h"
configure +2 -3
index 5ae7e4a..eb74510 100755
@@ -468,9 +468,8 @@ NetBSD)
 OpenBSD)
   bsd="yes"
   make="${MAKE-gmake}"
-  audio_drv_list="oss"
-  audio_possible_drivers="oss sdl esd"
-  oss_lib="-lossaudio"
+  audio_drv_list="sdl"
+  audio_possible_drivers="sdl esd"
 ;;
 Darwin)
   bsd="yes"
Signature · 3 lines
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Reviewed-by on v1 1/1
#1 lore raw
Quoted 29 lines · Brad Smith

Remove the OSS support for OpenBSD. The OSS API has not been usable for quite some time.

audio/ossaudio.c +0 -4
index 00be9c9..007c641 100644
@@ -25,11 +25,7 @@
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
-#ifdef __OpenBSD__
-#include <soundcard.h>
-#else
 #include <sys/soundcard.h>
-#endif
 #include "qemu-common.h"
 #include "qemu/main-loop.h"
 #include "qemu/host-utils.h"
configure +0 -0
index 5ae7e4a..eb74510 100755
@@ -468,9 +468,8 @@ NetBSD)
 OpenBSD)

configure NetBSD) · line 475

Quoted 10 lines
configure +2 -3
   bsd="yes"
   make="${MAKE-gmake}"
-  audio_drv_list="oss"
-  audio_possible_drivers="oss sdl esd"
-  oss_lib="-lossaudio"
+  audio_drv_list="sdl"
+  audio_possible_drivers="sdl esd"
 ;;
 Darwin)
   bsd="yes"
Reviewed-by on v1 1/1
#2 lore raw
In reply to Brad Smith

Am 25.05.2013 01:01, schrieb Brad Smith:

Quoted 4 lines

Remove the OSS support for OpenBSD. The OSS API has not been usable for quite some time.

CC'ing qemu-trivial.

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Applied
#3 lore raw
In reply to Brad Smith
Quoted 4 lines · Brad Smith

Remove the OSS support for OpenBSD. The OSS API has not been usable for quite some time.

Thanks, applied.

Quoted 41 lines
audio/ossaudio.c +0 -4
index 00be9c9..007c641 100644
@@ -25,11 +25,7 @@
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <sys/ioctl.h>
-#ifdef __OpenBSD__
-#include <soundcard.h>
-#else
 #include <sys/soundcard.h>
-#endif
 #include "qemu-common.h"
 #include "qemu/main-loop.h"
 #include "qemu/host-utils.h"
configure +2 -4
index 5ae7e4a..eb74510 100755
@@ -468,9 +468,8 @@ NetBSD)
 OpenBSD)
   bsd="yes"
   make="${MAKE-gmake}"
-  audio_drv_list="oss"
-  audio_possible_drivers="oss sdl esd"
-  oss_lib="-lossaudio"
+  audio_drv_list="sdl"
+  audio_possible_drivers="sdl esd"
 ;;
 Darwin)
   bsd="yes"
 
--

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.