summaryrefslogtreecommitdiff
path: root/debian/patches/libpulse.patch
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-09-14 21:19:05 +0100
committerDave Hibberd <d@vehibberd.com>2023-09-14 21:31:03 +0100
commitb69f04d9efec711f1d291d3ec071ebbf0ebfbcca (patch)
tree7b46f0965643407a79f95919ec67e9b5401423fa /debian/patches/libpulse.patch
parent9906b15b9ec867049b5ee4f7bb92826c6b4289bb (diff)
Add a fix for libpulse errors
Diffstat (limited to 'debian/patches/libpulse.patch')
-rw-r--r--debian/patches/libpulse.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/libpulse.patch b/debian/patches/libpulse.patch
new file mode 100644
index 0000000..f425823
--- /dev/null
+++ b/debian/patches/libpulse.patch
@@ -0,0 +1,20 @@
+--- a/pulse.c
++++ b/pulse.c
+@@ -67,7 +67,7 @@
+ if (handle)
+ return handle; // already done
+
+- handle = dlopen("libpulse.so", RTLD_LAZY);
++ handle = dlopen("libpulse.so.0", RTLD_LAZY);
+
+ if (!handle)
+ {
+@@ -91,7 +91,7 @@
+ if ((ppa_operation_unref = getModule(handle, "pa_operation_unref")) == NULL) return NULL;
+ if ((ppa_operation_get_state = getModule(handle, "pa_operation_get_state")) == NULL) return NULL;
+
+- shandle = dlopen("libpulse-simple.so", RTLD_LAZY);
++ shandle = dlopen("libpulse-simple.so.0", RTLD_LAZY);
+
+ if (!shandle)
+ {