Created attachment 14702 [details] [review] 0001-Replace-ALLOCATE_LOCAL-DEALLOCATE_LOCAL-with-xalloc.patch Just remade patches I posted some time ago at xorg@ mailing list. Please consider applying.
Created attachment 14703 [details] [review] 0002-Remove-declaration-and-call-to-non-existing-function.patch
Created attachment 14919 [details] [review] 0003-Compile-warning-fixes.patch
Added compile warning fixes patch. Patch 0001-Replace-ALLOCATE_LOCAL-DEALLOCATE_LOCAL-with-xalloc.patch should be applied if compiling with git master or 1.5 branch, otherwise the savage driver will fail due to unresolved symbols (i.e. ALLOCATE_LOCAL was previously a macro to choose between alloca/xalloc, but now it is compiled as a "missing" function call).
Created attachment 15359 [details] [review] 0001-Remove-declaration-and-call-to-non-existing-function.patch Regenerate patches agains't current git master. Patch1 (Attachment 14702 [details]) was fixed in commit 6adc23cb19bfd331221df8dccb2dc88b8fc77821
Created attachment 15360 [details] [review] 0002-Compile-warning-fixes.patch Cast printf format arguments and remove unused variables. Remaining warnings are about unused variable pScreen, but it is an argument to REGION macros, that may be defined as function calls instead of "inlined", and then the argument would be used. And two other warnings due to assigning pciaddr_t (an unsigned long long) to a pointer, that should only generate a warning on 32 bit architecture.
Created attachment 15858 [details] [review] 0002-Compile-warning-fixes.patch Patch2 remade to match current sources. Patch1 should still apply cleanly.
Comment on attachment 15359 [details] [review] 0001-Remove-declaration-and-call-to-non-existing-function.patch Obsoleted by commit 09c4dcc658b07f2672388eb4ab5fee3ebe190fc9
Only remaining problems are arguably the warnings about void *. gcc should generate correct code to convert "%ld" format with drm_handle_t argument, and mixed code and declarations should not be a problem because xorg compilation requires c99 features.
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.