summaryrefslogtreecommitdiff
path: root/debian/patches/makefile
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-11-29 16:13:51 +0000
committerDave Hibberd <hibby@debian.org>2024-11-29 16:13:51 +0000
commit6bd281ab3024fbb674604fbfddd5a496619e845e (patch)
tree05e1afd03bf78cbb2dc4e0ff8458c815411294af /debian/patches/makefile
parentc0637b3841ffd51efbc842f53f723912b032c76a (diff)
Tweaks to get functionality
Diffstat (limited to 'debian/patches/makefile')
-rw-r--r--debian/patches/makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/debian/patches/makefile b/debian/patches/makefile
index f042fd9..19cd7e7 100644
--- a/debian/patches/makefile
+++ b/debian/patches/makefile
@@ -1,6 +1,16 @@
--- a/makefile
+++ b/makefile
-@@ -18,9 +18,12 @@
+@@ -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
@@ -12,11 +22,11 @@
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
+all: CFLAGS += -DLINBPQ -MMD -g -fcommon
-+all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lrt -lm -lz -lpthread -lconfig -lpcap
++all: LIBS = -lpaho-mqtt3a -ljansson -lminiupnpc -lrt -lm -lz -lpthread -lconfig -lpcap -lpng
all: linbpq
-@@ -32,12 +35,15 @@
+@@ -32,12 +34,15 @@
linbpq: $(OBJS)