Add a fix for libpulse errors

This commit is contained in:
Dave Hibberd 2023-09-14 21:19:05 +01:00
parent 9906b15b9e
commit b69f04d9ef
No known key found for this signature in database
GPG Key ID: 03A1FB7A1904771B
4 changed files with 28 additions and 0 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
qtsoundmodem (0.0.0.67-2) UNRELEASED; urgency=medium
* Fixing libpulse
-- Dave Hibberd <d@vehibberd.com> Thu, 14 Sep 2023 21:17:09 +0100
qtsoundmodem (0.0.0.67-1) unstable; urgency=medium
* New Upstream

1
debian/control vendored
View File

@ -12,5 +12,6 @@ Rules-Requires-Root: no
Package: qtsoundmodem
Architecture: linux-any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: libpulse0
Description: Qt-based Sound Modem & Terminal for packet
QtSoundModem (QtSM) is a multi-platform port of UZ7HO's SoundModem

20
debian/patches/libpulse.patch vendored Normal file
View File

@ -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)
{

View File

@ -1 +1,2 @@
libpulse.patch
build-fix.patch