ports/graphics/wayland/files/patch-tests_queue-test.c
Matthew Rezny e6acde078c Consolidate the Mesa ports, update to 17.0.4, and add Wayland option
* libGL, libEGL, libglesv2, libglapi, and gbm have been moved into mesa-libs,
  graphics/dri has been renamed to mesa-dri, and USE_GL has been adjusted
* mesa-libs has a new WAYLAND option that enables platform support in libEGL
* mesa-dri now depends on graphics/s2tc for compressed texture support [1]
* re-remove obsolete dependency on makedepends [2]
* correct sed fix backported from 17.1 [3]

PR:		218799 (exp-run), 212762 [1], 218552 [2], 218562 [3]
Submitted by:	dbn [1], jbeich [2,3]
Reported by:	afiskon@devzen.ru [1]
Reviewed by:	kwm, johalun0@gmail.com
Approved by:	portmgr, swills (mentor)
Differential Revision:  https://reviews.freebsd.org/D10448
2017-05-12 18:46:53 +00:00

21 lines
399 B
C

--- tests/queue-test.c.orig 2016-10-22 16:23:10 UTC
+++ tests/queue-test.c
@@ -23,6 +23,8 @@
* SOFTWARE.
*/
+#include "../config.h"
+
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
@@ -31,6 +33,9 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <assert.h>
+#ifdef HAVE_SIGNAL_H
+#include <signal.h>
+#endif
#include "wayland-client.h"
#include "wayland-server.h"