summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/makefile50
-rw-r--r--debian/patches/series2
-rw-r--r--debian/patches/spelling-fixes.patch11
3 files changed, 0 insertions, 63 deletions
diff --git a/debian/patches/makefile b/debian/patches/makefile
deleted file mode 100644
index 1cd608f..0000000
--- a/debian/patches/makefile
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/makefile
-+++ b/makefile
-@@ -2,8 +2,7 @@
-
- # To exclude i2c support run make noi2c
-
--OBJS = pngwtran.o pngrtran.o pngset.o pngrio.o pngwio.o pngtrans.o pngrutil.o pngwutil.o\
-- pngread.o pngwrite.o png.o pngerror.o pngget.o pngmem.o APRSIconData.o AISCommon.o\
-+OBJS = APRSIconData.o AISCommon.o\
- 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,9 +17,12 @@
- # Configuration:
-
- CC = gcc
--
--all: CFLAGS = -DLINBPQ -MMD -g -rdynamic -fcommon
--all: LDFLAGS = -l:libpaho-mqtt3a.a -l:libjansson.a
-+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
-+CFLAGS+=$(shell dpkg-buildflags --get CPPFLAGS)
-+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
-+
-+all: CFLAGS += -DLINBPQ -MMD -g -fcommon -rdynamic
-+all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lrt -lm -lz -lpthread -lconfig -lpcap -lpng
- all: linbpq
-
-
-@@ -32,12 +34,15 @@
-
-
- linbpq: $(OBJS)
-- gcc $(OBJS) -Xlinker -Map=output.map -l:libminiupnpc.a -lrt -lm -lz $(LDFLAGS) -lpthread -lconfig -lpcap -o linbpq
-- sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq
-+ gcc $(OBJS) $(CLFAGS) $(LDFLAGS) $(LIBS) -o linbpq
-+ # sudo setcap "CAP_NET_ADMIN=ep CAP_NET_RAW=ep CAP_NET_BIND_SERVICE=ep" linbpq
-
- -include *.d
-
--clean :
-- rm *.d
-- rm linbpq $(OBJS)
--
-+install:
-+ install -b -m 755 -D -d debian/linbpq/usr/sbin
-+ install -b -m 755 -p linbpq debian/linbpq/usr/sbin
-+
-+clean:
-+ $(RM) *.d
-+ $(RM) linbpq $(OBJS)
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 6c01fdf..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,2 +0,0 @@
-spelling-fixes.patch
-makefile
diff --git a/debian/patches/spelling-fixes.patch b/debian/patches/spelling-fixes.patch
deleted file mode 100644
index 7cb186d..0000000
--- a/debian/patches/spelling-fixes.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/UZ7HODrv.c
-+++ b/UZ7HODrv.c
-@@ -382,7 +382,7 @@
-
- if (AGW->CenterFreq == 0)
- {
-- buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Freqency\r");
-+ buffptr->Len = sprintf((UCHAR *)&buffptr->Data[0], "UZ7HO} Invalid Modem Frequency\r");
- return 1;
- }
-