[Openchrome-devel] [Bug 94660] New: fix compilation after recent rename

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 22 12:59:57 UTC 2016


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

            Bug ID: 94660
           Summary: fix compilation after recent rename
           Product: xorg
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/openchrome
          Assignee: openchrome-devel at lists.freedesktop.org
          Reporter: bensberg at justemail.net

Created attachment 122480
  --> https://bugs.freedesktop.org/attachment.cgi?id=122480&action=edit
renames also the prototype

When renaming UnmapMem to UnmapMMIO it was forgotten to rename also the
prototype in the header file.  Attached patch fixes that.

However, with that fix I still cannot compile openchrome.  (I have started
using -Werror, to not allow any warnings to slip by unnoticed: export
CFLAGS="-g -O2 -Werror" && ./configure && make clean all).

via_ums.c: In functie ‘ums_create’:
via_ums.c:657:11: fout: impliciete declaratie van functie ‘xf86InitFBManager’
[-Werror=implicit-function-declaration]
     ret = xf86InitFBManager(pScreen, &AvailFBArea);
           ^
via_ums.c:668:9: fout: impliciete declaratie van functie
‘xf86InitFBManagerLinear’ [-Werror=implicit-function-declaration]
         xf86InitFBManagerLinear(pScreen, offset, size);

It seems some xf86 header include is missing.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/openchrome-devel/attachments/20160322/8f1e7641/attachment.html>


More information about the Openchrome-devel mailing list