Control: tags -1 + patch

Dear maintainer,

the attached patch fixes the FTBFS with GCC 9.

Kind regards,
  Reiner
diff -Nru bombardier-0.8.3+nmu1/Makefile bombardier-0.8.3+nmu2/Makefile
--- bombardier-0.8.3+nmu1/Makefile	2009-10-11 14:40:32.000000000 +0200
+++ bombardier-0.8.3+nmu2/Makefile	2019-10-04 22:36:08.000000000 +0200
@@ -5,14 +5,15 @@
 
 CC=gcc
 CFLAGS=-Wall -g -O2 -pedantic
-LDFLAGS=-lncurses -g
+LDFLAGS=-g
+LIBS=-lncurses
 OBJS=bombardier.o display.o date.o randomhouse.o step.o hof.o signal.o gcurses.o
 DESTDIR=/
 
 all: bombardier
 
 bombardier: $(OBJS)
-	$(CC) $(LDFLAGS) -o $@ $(OBJS)
+	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
 
 clean:
 	rm -f $(OBJS) bombardier

Attachment: signature.asc
Description: PGP signature

Reply via email to