aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Aaltonen <tjaalton@debian.org>2020-05-21 11:03:46 +0300
committerTimo Aaltonen <tjaalton@debian.org>2020-05-21 11:03:46 +0300
commitaf3298d1fe5935d3fd82a5a1a23d8fe0cb1c7c61 (patch)
treece50be27d2625134bb1e83cde3811e3baaf6e7a9
parent6de2a8474f667a53156b23cb7998b1cbe657df14 (diff)
src_glx_dri_common.h.diff: A new attempt to fix hurd ftbfs. (Closes: #960197)
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/src_glx_dri_common.h.diff13
3 files changed, 16 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 296c85f88e2..c5b7e4dddf1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
mesa (20.0.7-1) UNRELEASED; urgency=medium
* New upstream release.
+ * src_glx_dri_common.h.diff: A new attempt to fix hurd ftbfs. (Closes:
+ #960197)
-- Timo Aaltonen <tjaalton@debian.org> Thu, 21 May 2020 11:02:36 +0300
diff --git a/debian/patches/series b/debian/patches/series
index 038adcbc217..10bd782af67 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ fix-python-shebang.diff
path_max.diff
fix-build-with-llvm-10.diff
fix-ppc64el.patch
+src_glx_dri_common.h.diff
diff --git a/debian/patches/src_glx_dri_common.h.diff b/debian/patches/src_glx_dri_common.h.diff
new file mode 100644
index 00000000000..895f930ca87
--- /dev/null
+++ b/debian/patches/src_glx_dri_common.h.diff
@@ -0,0 +1,13 @@
+--- 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);
+