openbsd-ports/x11/kde4/kmix/patches/patch-backends_kmix-backends_cpp
2013-04-24 12:12:22 +00:00

26 lines
729 B
Plaintext

$OpenBSD: patch-backends_kmix-backends_cpp,v 1.1.1.1 2013/04/24 12:12:22 zhuk Exp $
--- backends/kmix-backends.cpp.orig Fri Sep 14 11:54:39 2012
+++ backends/kmix-backends.cpp Fri Sep 14 15:32:28 2012
@@ -23,8 +23,11 @@
/* This code is being #include'd from mixer.cpp */
#include <config.h>
-#include <config-alsa.h>
+#if defined(HAVE_LIBASOUND2)
+# include <config-alsa.h>
+#endif
+
#include "mixer_backend.h"
#include "core/mixer.h"
@@ -41,7 +44,7 @@
#define OSS_MIXER
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(_UNIXWARE)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__bsdi__) || defined(_UNIXWARE)
#define OSS_MIXER
#endif