Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#3716 closed defect (fixed)

VLC does not compile anymore with linux-3.7

Reported by: Pierre Labastie Owned by: blfs-book@…
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

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

Change History (4)

comment:1 by Armin K, 9 years ago

Type: enhancementdefect

I think this should be fixed with VLC 2.0.5. Can you confirm?

in reply to:  1 comment:2 by Pierre Labastie, 9 years ago

Replying to Krejzi:

I think this should be fixed with VLC 2.0.5. Can you confirm?

I confirm that VLC 2.0.5 builds with linux 3.7. I cannot test though because I have no sound card. For me, VLC is just required for building KDE.

While we are at it, I think that the instructions should have --disable-libgcrypt. Without that switch, `configure' throws an error if libgcrypt is not installed. But libgcrypt is mentioned as an optional dependency.

comment:3 by Armin K, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in r10892

Added libgcrypt to recommended dependencies and added --disable-libgcrypt to command explanations.

comment:4 by bdubbs@…, 8 years ago

Milestone: current

Milestone current deleted

Note: See TracTickets for help on using tickets.