[Bug 723507] New: gst-plugins-base: Add missing HAVE_X check

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Feb 2 17:36:49 PST 2014


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

           Summary: gst-plugins-base: Add missing HAVE_X check
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: All
            Status: UNCONFIRMED
          Severity: trivial
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sebras at hotmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


If I configure gst-plugins-base like so:
./configure --disable-x

and I try to build it:
make -j10

I will end up with an error message:
jsseek.c:3000:72: error: ‘embed_xid’ undeclared (first use in this function)
   g_assert (embed_xid != 0);

This is due to the variable embed_xid only being declared if HAVE_X is set.
In this situation HAVE_X is not set but the reference to embed_xid is still
there.
The attached patch fixes this issue.

-- 
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