apulse/apulse-alsa.patch
Takashi Iwai 1e5af7a2e1 Accepting request 688625 from home:olh:branches:multimedia:libs
- Use alsa API properly. Consumers are expected to use
  <alsa/asoundlib.h> instead of <asoundlib.h>.
  This is in preparation of an change to pkgconfig(alsa) to
  not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333)
  apulse-alsa.patch

OBS-URL: https://build.opensuse.org/request/show/688625
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/apulse?expand=0&rev=23
2019-03-28 07:09:52 +00:00

23 lines
378 B
Diff

--- a/src/apulse.h
+++ b/src/apulse.h
@@ -26,7 +26,7 @@
#define _GNU_SOURCE
#include "ringbuffer.h"
-#include <asoundlib.h>
+#include <alsa/asoundlib.h>
#include <glib.h>
#include <poll.h>
#include <pthread.h>
--- a/src/util.h
+++ b/src/util.h
@@ -24,7 +24,7 @@
#pragma once
-#include <asoundlib.h>
+#include <alsa/asoundlib.h>
#include <pulse/pulseaudio.h>
int