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

Hello,

Currently mesa FTBFS on GNU/Hurd due to a missing struct definition.
The NEW 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.

With this new patch, I have built mesa on both hurd-i386 and linux-
amd64. Sorry for not checking with my previous patch (which was not
correct).

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-10 15:22:44.000000000 +0200
@@ -55,6 +55,10 @@
 
 extern void driDestroyConfigs(const __DRIconfig **configs);
 
+#ifndef __GLXDRIdrawable
+typedef struct __GLXDRIdrawableRec __GLXDRIdrawable;
+#endif
+
 extern __GLXDRIdrawable *
 driFetchDrawable(struct glx_context *gc, GLXDrawable glxDrawable);
 

Reply via email to