tags 368802 + patch confirmed upstream
stop

        Hi,

On Wed, May 24, 2006, Ian B. MacDonald wrote:
> /usr/src/modules/fglrx/firegl_public.h:274:5: warning: "FIREGL_VMA_INFO"
> is not defined

 I don't get this error, I simply get a #error "unknown or undefined
 architecture configured" with the current fglrx-driver.

 The attached trivial patch permits building fglrx under Xen for me, and
 the resulting driver seems to work like a charm.


 Flavio, let me know if you want me to upload it.

   Bye,
-- 
Loïc Minier <[EMAIL PROTECTED]>
--- fglrx-driver-8.28.8/debian/changelog
+++ fglrx-driver-8.28.8/debian/changelog
@@ -1,3 +1,10 @@
+fglrx-driver (8.28.8-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New patch, 12-CONFIG_X86_XEN, to allow building for Xen; closes: #368802.
+
+ -- Loic Minier <[EMAIL PROTECTED]>  Fri, 10 Nov 2006 11:30:48 +0100
+
 fglrx-driver (8.28.8-3) unstable; urgency=low
 
   * Explicitly call moc-qt3, not just moc, when building the control panel.
--- fglrx-driver-8.28.8.orig/debian/patches/12-CONFIG_X86_XEN.patch
+++ fglrx-driver-8.28.8/debian/patches/12-CONFIG_X86_XEN.patch
@@ -0,0 +1,18 @@
+--- firegl_public.c    2006-11-10 11:29:11.000000000 +0100
++++ firegl_public.c    2006-11-10 11:29:35.000000000 +0100
+@@ -36,6 +36,7 @@
+ 
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,71)
+ #if !defined(CONFIG_X86_PC) 
++#if !defined(CONFIG_X86_XEN)
+ #if !defined(CONFIG_X86_64)
+ #if !defined(CONFIG_X86_VOYAGER)
+ #if !defined(CONFIG_X86_NUMAQ)
+@@ -52,6 +53,7 @@
+ #endif
+ #endif
+ #endif
++#endif
+ #endif /* LINUX_VERSION_CODE */
+ 
+ /* The dirty-page-tracking patch included in NLD 9 SMP kernels defines

Reply via email to