Hello,

A simple patch to allow compilation of w_scan with gcc-10 is attached.
The package builds now using

CC=gcc-10 fakeroot ./debian/rules binary

The created w_scan is able to produce a valid channel
configuration file for dvb-c in germany.

#! /bin/sh
OFILE=dvb_c_channels_`date --iso`.conf
./w_scan -fc -c DE -R 0 -X | tee $OFILE

Regards,
Axel
diff --git a/si_types.h b/si_types.h
index e20b9bd..c2416f3 100644
--- a/si_types.h
+++ b/si_types.h
@@ -74,7 +74,7 @@ typedef struct section_buf {
 #define SUBTITLES_MAX     (32)

 struct transponder;
-struct service {
+typedef struct service {
   /*----------------------------*/
   void *   prev;
   void *   next;
@@ -141,7 +141,7 @@ struct cell {
   struct transposer transposers[16];
 };

-struct transponder {
+typedef struct transponder {
   /*----------------------------*/
   void *   prev;
   void *   next;
_______________________________________________
pkg-vdr-dvb-devel mailing list
pkg-vdr-dvb-devel@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-vdr-dvb-devel

Reply via email to