Start patching build issues

This commit is contained in:
Hibby 2024-09-06 18:22:43 +01:00
parent e567985320
commit aa1cb2b414
Signed by: hibby
SSH Key Fingerprint: SHA256:Y6XbnzN0FEB1R/exPF5hUbHUgE/Nn7M1uT566fxo6pE
4 changed files with 29 additions and 2 deletions

11
debian/patches/fix-bookworm-build.patch vendored Normal file
View File

@ -0,0 +1,11 @@
--- a/tcpCode.cpp
+++ b/tcpCode.cpp
@@ -467,7 +467,7 @@
QByteArray datas = FLRigsock->readAll();
- qDebug(datas.data());
+ qDebug() << "SetPTT Failed";
}

View File

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

16
debian/patches/tstringlist.patch vendored Normal file
View File

@ -0,0 +1,16 @@
--- a/ax25_demod.c
+++ b/ax25_demod.c
@@ -4376,11 +4376,11 @@
word k, len, i;
Byte zeros, ones;
- TStringList need_frames;
+ TStringList: need_frames;
s = data;
- CreateStringList(&need_frames);
+ need_frames = TStringList.Create;
len = data->Length;
memcpy(crc, &data->Data[data->Length - 18], 18);

3
debian/rules vendored
View File

@ -1,8 +1,7 @@
#!/usr/bin/make -f
export QT_SELECT=5
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DEB_CFLAGS_MAINT_STRIP=-Werror=implicit-function-declaration
export DEB_BUILD_MAINT_OPTIONS=hardening=+all,qa=-bug-implicit-func
%:
dh $@