Bug 14741

Summary: xorg/driver/xf86-video-mga - Replace ALLOCATE_LOCAL macros with xalloc and compile warning fixes
Product: xorg Reporter: Paulo César Pereira de Andrade <pcpa>
Component: Driver/mgaAssignee: Tilman Sauerbeck <tilman>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: patch
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
0001-Replace-ALLOCATE_LOCAL-DEALLOCATE_LOCAL-with-xalloc.patch
none
0002-Compile-warning-fixes.patch
none
0002-Compile-warning-fixes.patch none

Description Paulo César Pereira de Andrade 2008-02-28 22:25:54 UTC
Created attachment 14701 [details] [review]
0001-Replace-ALLOCATE_LOCAL-DEALLOCATE_LOCAL-with-xalloc.patch

This is required, otherwise it will be compiled with ALLOCATE_LOCAL
at all as missing function calls.

   I posted this patch at xorg@ some time ago. Posting again
to avoid it being lost.
Comment 1 Paulo César Pereira de Andrade 2008-03-07 14:12:30 UTC
Created attachment 14940 [details] [review]
0002-Compile-warning-fixes.patch
Comment 2 Paulo César Pereira de Andrade 2008-03-07 14:14:18 UTC
  Added a patch for some compiler warning fixes.

  Only patch 0001 should really be applied as the macros ALLOCATE_LOCAL
and DEALLOCATE_LOCAL no longer exists, and are being compiled as
function calls in git master or X Server 1.5.
Comment 3 Paulo César Pereira de Andrade 2008-03-15 18:12:26 UTC
Created attachment 15164 [details] [review]
0002-Compile-warning-fixes.patch

  Remade patch 2 to avoid one warning about whitespace error
when git am'ing it.
  Also added some minor changes to not mix declarations and code.
Comment 4 Tilman Sauerbeck 2008-03-16 01:26:46 UTC
Applied patch 1 in 0c61ccde7857dc7514881636144f95df51edaddf.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.