summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-09-29 22:01:12 +0100
committerDave Hibberd <hibby@debian.org>2026-09-29 22:01:12 +0100
commit2c1f6479a711e076470164f0c3d1972085739552 (patch)
treec4d87c01650f6ae82c964677de9dd627a0db39f1
parent1895ec8f1532f7221d47c6d242f4aedda754bf2a (diff)
Patch refresh
-rw-r--r--debian/patches/0003-Backport-M0LTE-build-patch.patch21
-rw-r--r--debian/patches/makefile10
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/spelling-fixes.patch2
4 files changed, 29 insertions, 5 deletions
diff --git a/debian/patches/0003-Backport-M0LTE-build-patch.patch b/debian/patches/0003-Backport-M0LTE-build-patch.patch
new file mode 100644
index 0000000..3a23e1b
--- /dev/null
+++ b/debian/patches/0003-Backport-M0LTE-build-patch.patch
@@ -0,0 +1,21 @@
+From: Dave Hibberd <hibby@debian.org>
+Date: Tue, 29 Sep 2026 21:57:14 +0100
+Subject: Backport M0LTE build patch
+
+---
+ WINMOR.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/WINMOR.c b/WINMOR.c
+index 834636e..0c18c08 100644
+--- a/WINMOR.c
++++ b/WINMOR.c
+@@ -205,7 +205,7 @@ lineloop:
+ Monframe.PORT = TNC->Port;
+ Monframe.LENGTH = 12 + strlen(Line);
+ Monframe.DEST[0] = 1; // Plain Text Monitor
+- strcpy(&Monframe.DEST[1], Line);
++ memcpy(&Monframe.DEST[1], Line, strlen(Line) + 1);
+
+ time(&Monframe.Timestamp);
+ BPQTRACE((MESSAGE *)&Monframe, FALSE);
diff --git a/debian/patches/makefile b/debian/patches/makefile
index 0264756..adfe720 100644
--- a/debian/patches/makefile
+++ b/debian/patches/makefile
@@ -3,9 +3,11 @@ Date: Sat, 20 Sep 2025 15:42:15 +0100
Subject: makefile
---
- makefile | 22 ++++++++++------------
- 1 file changed, 10 insertions(+), 12 deletions(-)
+ makefile | 22 +++++++++++-----------
+ 1 file changed, 11 insertions(+), 11 deletions(-)
+diff --git a/makefile b/makefile
+index b2bd9db..725fac7 100644
--- a/makefile
+++ b/makefile
@@ -2,8 +2,7 @@
@@ -18,7 +20,7 @@ Subject: makefile
upnp.o APRSStdPages.o HSMODEM.o WinRPR.o KISSHF.o TNCEmulators.o bpqhdlc.o SerialPort.o\
adif.o WebMail.o utf8Routines.o VARA.o LzFind.o Alloc.o LzmaDec.o LzmaEnc.o LzmaLib.o \
Multicast.o ARDOP.o IPCode.o FLDigi.o linether.o CMSAuth.o APRSCode.o BPQtoAGW.o KAMPactor.o\
-@@ -18,11 +17,13 @@
+@@ -18,11 +17,13 @@ OBJS = pngwtran.o pngrtran.o pngset.o pngrio.o pngwio.o pngtrans.o pngrutil.o pn
# Configuration:
#Default to Linux
@@ -36,7 +38,7 @@ Subject: makefile
all: linbpq
#other OS
-@@ -74,12 +75,11 @@
+@@ -74,12 +75,11 @@ noi2c: linbpq
linbpq: $(OBJS)
diff --git a/debian/patches/series b/debian/patches/series
index 6c01fdf..f7ae83f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
spelling-fixes.patch
makefile
+0003-Backport-M0LTE-build-patch.patch
diff --git a/debian/patches/spelling-fixes.patch b/debian/patches/spelling-fixes.patch
index 83bca2d..c762df8 100644
--- a/debian/patches/spelling-fixes.patch
+++ b/debian/patches/spelling-fixes.patch
@@ -7,7 +7,7 @@ Subject: spelling-fixes
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/UZ7HODrv.c b/UZ7HODrv.c
-index 2adfe12..75e40ee 100644
+index c5e0368..39e2569 100644
--- a/UZ7HODrv.c
+++ b/UZ7HODrv.c
@@ -387,7 +387,7 @@ int UZ7HOSetFreq(int port, struct TNCINFO * TNC, struct AGWINFO * AGW, PDATAMESS