You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-plugins/vdr-vcd/files/vdr-vcd-0.9_gcc-6.patch

25 lines
681 B

compile fix gcc-6
https://bugs.gentoo.org/show_bug.cgi?id=594274
provided by P.Levine
Signed-of-by: Joerg Bornkessel <hd_brummy@gentoo.org> (2016/Oct/16)
--- vcd-0.9/functions.h.old 2016-09-23 23:59:29.151668778 -0400
+++ vcd-0.9/functions.h 2016-09-23 23:59:33.842225407 -0400
@@ -167,7 +167,7 @@
__u16 playing_time;
__u8 play_item_wait_time;
__u8 auto_pause_wait_time;
- __u16 play_item[];
+ __u16 play_item[1];
} play;
struct {
__u8 header;
@@ -183,7 +183,7 @@
__u8 timeout_wait_time;
__u8 loop_count;
__u16 play_item;
- __u16 selection_offset[];
+ __u16 selection_offset[1];
} selection;
};