summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-09-06 18:22:43 +0100
committerDave Hibberd <hibby@debian.org>2024-09-06 18:39:12 +0100
commitaa1cb2b414a00d2908e12cb2598d1a2075ec19a8 (patch)
tree95defe1538e8bd9646fee66027fa38516ad04b1c /debian
parente5679853201b4f5a931a97dd13227b85d1364d64 (diff)
Start patching build issues
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/fix-bookworm-build.patch11
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/tstringlist.patch16
-rwxr-xr-xdebian/rules3
4 files changed, 29 insertions, 2 deletions
diff --git a/debian/patches/fix-bookworm-build.patch b/debian/patches/fix-bookworm-build.patch
new file mode 100644
index 0000000..3d0d51e
--- /dev/null
+++ b/debian/patches/fix-bookworm-build.patch
@@ -0,0 +1,11 @@
+--- a/tcpCode.cpp
++++ b/tcpCode.cpp
+@@ -467,7 +467,7 @@
+
+ QByteArray datas = FLRigsock->readAll();
+
+- qDebug(datas.data());
++ qDebug() << "SetPTT Failed";
+ }
+
+
diff --git a/debian/patches/series b/debian/patches/series
index eded4b2..1923af4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix-bookworm-build.patch
libpulse.patch
build-fix.patch
diff --git a/debian/patches/tstringlist.patch b/debian/patches/tstringlist.patch
new file mode 100644
index 0000000..f535a89
--- /dev/null
+++ b/debian/patches/tstringlist.patch
@@ -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);
diff --git a/debian/rules b/debian/rules
index 34f94ab..384f60f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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 $@