From 730e1e4f881506383d61bb18fb5816aa5e333095 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Tue, 30 Sep 2025 21:02:33 +0100 Subject: [PATCH] Add flag to build pie, remove old patches --- debian/patches/cflags.patch | 8 ++++++++ debian/patches/desktop-file.patch | 16 ---------------- debian/patches/series | 1 + debian/patches/version.patch | 10 ---------- 4 files changed, 9 insertions(+), 26 deletions(-) create mode 100644 debian/patches/cflags.patch delete mode 100644 debian/patches/desktop-file.patch delete mode 100644 debian/patches/version.patch diff --git a/debian/patches/cflags.patch b/debian/patches/cflags.patch new file mode 100644 index 0000000..73d5b74 --- /dev/null +++ b/debian/patches/cflags.patch @@ -0,0 +1,8 @@ +--- a/QtTermTCP.pro ++++ b/QtTermTCP.pro +@@ -50,5 +50,3 @@ + RC_ICONS = QtTermTCP.ico + + ICONS = QtTermTCP.icns +- +-QMAKE_LFLAGS += -no-pie diff --git a/debian/patches/desktop-file.patch b/debian/patches/desktop-file.patch deleted file mode 100644 index e92fc11..0000000 --- a/debian/patches/desktop-file.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- /dev/null -+++ b/qttermtcp.desktop -@@ -0,0 +1,13 @@ -+[Desktop Entry] -+Version=1.0 -+Comment=QtTermTCP ax25 client -+Exec=/opt/oarc/QtTermTCP/QtTermTCP -+GenericName=QtTermTPC -+Icon=qttermtcp -+Name=QtTermTCP -+NoDisplay=false -+StartupNotify=true -+Terminal=false -+Type=Application -+Categories=Education;HamRadio -+X-AppImage-Version=1 diff --git a/debian/patches/series b/debian/patches/series index 7d11cd3..a8bf856 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ Sure-whynot +cflags.patch diff --git a/debian/patches/version.patch b/debian/patches/version.patch deleted file mode 100644 index 974e7a2..0000000 --- a/debian/patches/version.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/QtTermTCP.cpp -+++ b/QtTermTCP.cpp -@@ -1,6 +1,6 @@ - // Qt Version of BPQTermTCP - --#define VersionString "0.0.0.66" -+#define VersionString "0.0.0.69" - - // .12 Save font weight - // .13 Display incomplete lines (ie without CR)