[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#255270: xfree86: libglide3 has now ia64 and amd64 support



On Sat, Jun 19, 2004 at 11:58:45PM +0200, Guillem Jover wrote:
> I've ported libglide3 to amd64 and ia64. So now xfree86 can Build-Depend
> on libglide3-dev on those arches.
> 
> Attached the patch (against branches/4.3.0/sid) that enables those.

Hmm Imake *is not* autoconf... I forgot to enable the real stuff. O:>

Ok, here is the second patch that should be applied with addition to
the first one.

I could merge debian/patches/003_linux.cf_and_xfree86.cf.diff
with this patch if desired. I've not done so because don't know how
do you want to handle this.

regards,
guillem
--- xc.old/config/cf/linux.cf	2004-06-21 04:07:32.000000000 +0200
+++ xc/config/cf/linux.cf	2004-06-21 03:52:01.000000000 +0200
@@ -222,11 +222,11 @@
 #    define HasGlide2			YES
 #    define Glide2IncDir		/usr/include/glide
 #   endif /* i386Architecture */
-/* Glide3 only works on alpha and i386. */
-#   if defined(i386Architecture) || defined(AlphaArchitecture)
+/* Glide3 only works on alpha, amd64, ia64 and i386. */
+#   if defined(i386Architecture) || defined(AlphaArchitecture) || defined(ia64Architecture) || defined(x86_64Architecture)
 #    define HasGlide3			YES
 #    define Glide3IncDir		/usr/include/glide3
-#   endif /* i386Architecture || AlphaArchitecture */
+#   endif /* i386Architecture || AlphaArchitecture || ia64Architecture || x86_64Architecture */
 /* Enable extended instruction set support. */
 #   ifdef i386Architecture
 #    define HasX86Support		YES
--- xc.old/config/cf/xfree86.cf	2004-06-21 04:07:29.000000000 +0200
+++ xc/config/cf/xfree86.cf	2004-06-21 04:00:19.000000000 +0200
@@ -477,8 +477,11 @@
 				vga dummy fbdev vesa
 # endif
 
-/* DRI tdfx driver needs Glide, which is not available for x86_64 */
-# define TdfxDriDriver		/**/
+# if HasGlide3
+#  define TdfxDriDriver		tdfx
+# else
+#  define TdfxDriDriver		/**/
+# endif
 
 # define DevelDRIDrivers	/**/
 

Reply to: