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

Bug#959975: mesa: FTBFS on hurd-i386



Source: mesa
Version: 20.0.6-1
Severity: important
Tags: ftbfs, patch
User: debian-hurd@lists.debian.org
Usertags: hurd

Hello,

Currently mesa FTBFS on GNU/Hurd due to a missing struct definition. Version 
20-0.4-2 built successfully earlier. The attached patch
src_glx_dri_common.h.diff fixes that problem. Strangely this problem does not
occur for other builds. Probably this is due to that all other architectures use
llvm for the build while the build for Hurd is with gcc.

This patch is also needed to build 20.1.0~rc1-1 from experimental together with
a new PATH_MAX patch. That patch will be submitted in a separate bug report.

Thanks!
--- a/src/glx/dri_common.h	2020-04-30 00:48:24.000000000 +0200
+++ b/src/glx/dri_common.h	2020-05-07 17:15:37.000000000 +0200
@@ -55,7 +55,7 @@
 
 extern void driDestroyConfigs(const __DRIconfig **configs);
 
-extern __GLXDRIdrawable *
+extern struct __GLXDRIdrawable *
 driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable);
 
 extern void

Reply to: