summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-09-30 21:02:33 +0100
committerDave Hibberd <hibby@debian.org>2025-09-30 21:02:33 +0100
commit730e1e4f881506383d61bb18fb5816aa5e333095 (patch)
tree3cc073fa0cb03d43c83544e9919701eb693d9f29
parent771b1db2654be62e6dc8f2675e2f5efc5007c1b2 (diff)
Add flag to build pie, remove old patches
-rw-r--r--debian/patches/cflags.patch8
-rw-r--r--debian/patches/desktop-file.patch16
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/version.patch10
4 files changed, 9 insertions, 26 deletions
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)