[Bug 730570] New: dvbsrc: fix building with newer kernel headers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 22 03:30:21 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=730570
  GStreamer | gst-plugins-bad | git

           Summary: dvbsrc: fix building with newer kernel headers
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: m.olbrich at pengutronix.de
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=276975)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=276975)
patch

c400eef3772b7dc470eefae02a1288c2b125e25c introduced some defines to handle
older kernel headers. However, the check is done before the corresponding
kernel header (dvb/frontend.h) is included. As a result the macros are
always defined with results in 'redefined' errors with newer kernel
headers.
Move the check after the include to fix this.

Note: this is only compile-time tested.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list