Description: Build with -std=gnu17 to workaround FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1097301

--- linuxtv-dvb-apps-1.1.1+rev1500.orig/Make.rules
+++ linuxtv-dvb-apps-1.1.1+rev1500/Make.rules
@@ -1,6 +1,6 @@
 # build rules for linuxtv.org dvb-apps
 
-CFLAGS ?= -g -Wall -W -Wshadow -Wpointer-arith -Wstrict-prototypes
+CFLAGS ?= -g -Wall -W -Wshadow -Wpointer-arith -Wstrict-prototypes -std=gnu17
 
 ifneq ($(lib_name),)
 
--- linuxtv-dvb-apps-1.1.1+rev1500.orig/util/alevt/Makefile
+++ linuxtv-dvb-apps-1.1.1+rev1500/util/alevt/Makefile
@@ -7,7 +7,7 @@ MAN_DIR=man
 DESTDIR=
 PREFIX=/usr
 HOSTCC=$(CC)
-CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I$(USR_X11R6)/include
+CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I$(USR_X11R6)/include -std=gnu17
 EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o
 OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o search.o misc.o hamm.o lang.o $(EXPOBJS)
 TOBJS=alevt-date.o vbi.o fdset.o misc.o hamm.o lang.o
