[Xorg-driver-geode] [Bug 84541] New: driver can fail to compile when config.h is used

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 30 23:50:06 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=84541

          Priority: medium
            Bug ID: 84541
          Assignee: xorg-driver-geode at lists.x.org
           Summary: driver can fail to compile when config.h is used
        QA Contact: xorg-driver-geode at lists.x.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: brian.lloyd at familyhonor.net
          Hardware: Other
            Status: NEW
           Version: 7.7 (2011)
         Component: Driver/geode
           Product: xorg

Created attachment 107165
  --> https://bugs.freedesktop.org/attachment.cgi?id=107165&action=edit
adds standard config.h include to top of file

The src/lx_memory.c file uses the xf86.h header file.  This file must have
HAVE_STRNDUP defined before calling it when the building platform has a strndup
function.  When using config.h, this file doesn't have that define and so fails
to compile.

The attached patch adds the conditional config.h to this file so it may compile
on the affected platforms.

The patch is trivial and may be included and used under whatever licensing
desired.

Signed-off-by: Brian A. Lloyd <brian.lloyd at familyhonor.net>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-driver-geode/attachments/20141001/df336183/attachment.html>


More information about the Xorg-driver-geode mailing list