[blfs-book] [BLFS Trac] #3716: VLC does not compile anymore with linux-3.7

BLFS Trac trac at linuxfromscratch.org
Sun Dec 16 12:08:14 PST 2012


#3716: VLC does not compile anymore with linux-3.7
-----------------------------+----------------------------------------------
 Reporter:  pierre.labastie  |       Owner:  blfs-book@…                   
     Type:  enhancement      |      Status:  new                           
 Priority:  normal           |   Milestone:  current                       
Component:  BOOK             |     Version:  SVN                           
 Severity:  normal           |    Keywords:                                
-----------------------------+----------------------------------------------
 See http://trac.videolan.org/vlc/ticket/7763

 Upstream has committed a patch, which I have adapted below:
 {{{
 diff -ur vlc-2.0.4.old/modules/access/dtv/linux.c
 vlc-2.0.4/modules/access/dtv/linux.c
 --- vlc-2.0.4.old/modules/access/dtv/linux.c    2012-08-16
 12:41:35.000000000 +0200
 +++ vlc-2.0.4/modules/access/dtv/linux.c        2012-12-16
 20:51:47.464000000 +0100
 @@ -916,7 +916,12 @@
          return -1;
      return dvb_set_props (d, 5, DTV_CLEAR, 0, DTV_DELIVERY_SYSTEM,
 SYS_ISDBS,
                            DTV_FREQUENCY, freq,
 -                          DTV_ISDBS_TS_ID, (uint32_t)ts_id);
 +#if DVBv5(8)
 +                          DTV_STREAM_ID,
 +#else
 +                          DTV_ISDBS_TS_ID,
 +#endif
 +                          (uint32_t)ts_id);
  #else
  # warning ISDB-S needs Linux DVB version 5.1 or later.
      msg_Err (d->obj, "ISDB-S support not compiled-in");
 }}}

 Regards
 Pierre

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/3716>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list