[beignet] 02/04: Don't pointlessly warn on Wayland. (Closes: #882486)

Rebecca Palmer rnpalmer-guest at moszumanska.debian.org
Tue Mar 13 22:42:43 UTC 2018


This is an automated email from the git hooks/post-receive script.

rnpalmer-guest pushed a commit to branch master
in repository beignet.

commit b027e6f195e74c40aac6d785fae9567d7c106022
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Date:   Tue Mar 13 07:26:20 2018 +0000

    Don't pointlessly warn on Wayland.  (Closes: #882486)
---
 debian/changelog                             |  1 +
 debian/patches/disable-wayland-warning.patch | 17 +++++++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 19 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f14d372..e05cfcf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 beignet (1.3.2-2) UNRELEASED; urgency=medium
 
   * Remove sometimes-broken optimization.  (Closes: #885423)
+  * Don't pointlessly warn on Wayland.  (Closes: #882486)
 
  -- Rebecca N. Palmer <rebecca_palmer at zoho.com>  Tue, 13 Mar 2018 07:17:57 +0000
 
diff --git a/debian/patches/disable-wayland-warning.patch b/debian/patches/disable-wayland-warning.patch
new file mode 100644
index 0000000..46b6a60
--- /dev/null
+++ b/debian/patches/disable-wayland-warning.patch
@@ -0,0 +1,17 @@
+Description: Disable expected-under-Wayland warning
+
+Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
+Bug-Debian: https://bugs.debian.org/882486
+Forwarded: https://lists.freedesktop.org/archives/beignet/2018-January/009182.html
+
+--- beignet-1.3.2.orig/src/intel/intel_driver.c
++++ beignet-1.3.2/src/intel/intel_driver.c
+@@ -235,8 +235,6 @@ if(intel->x11_display) {
+     intel_driver_init_shared(intel, intel->dri_ctx);
+     Xfree(driver_name);
+   }
+-  else
+-    fprintf(stderr, "X server found. dri2 connection failed! \n");
+ }
+ #endif
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 6de50a1..54b3025 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@ static-llvm.patch
 grammar.patch
 clearer-type-errors.patch
 885423.patch
+disable-wayland-warning.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git



More information about the Pkg-opencl-commits mailing list