From: Richard Yao <ryao@gentoo.org>
To: intel-gfx@lists.freedesktop.org
Cc: gentoo-bsd@lists.gentoo.org, David Shao <davshao@gmail.com>
Subject: [PATCH] intel: Fix missing ETIME on BSD operating systems
Date: Fri, 9 Nov 2012 17:06:48 -0500 [thread overview]
Message-ID: <1352498808-8235-1-git-send-email-ryao@gentoo.org> (raw)
From: David Shao <davshao@gmail.com>
Originally posted to Free Desktop bug #52549 by David Shao.
Resolves Gentoo Bug #433403.
Commit message by Richard Yao.
Reviewed-by: Richard Yao <ryao@gentoo.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
---
intel/intel_bufmgr_gem.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 8d45839..512bc6f 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -54,6 +54,9 @@
#include <stdbool.h>
#include "errno.h"
+#ifndef ETIME
+#define ETIME ETIMEDOUT
+#endif
#include "libdrm_lists.h"
#include "intel_bufmgr.h"
#include "intel_bufmgr_priv.h"
--
1.7.8.6
next reply other threads:[~2012-11-09 22:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-09 22:06 Richard Yao [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-11-10 5:06 [PATCH] intel: Fix missing ETIME on BSD operating systems Richard Yao
2012-11-10 5:23 Richard Yao
2012-11-10 5:24 Richard Yao
2012-11-10 20:01 ` Ben Widawsky
2012-11-10 20:12 ` Eric Anholt
2012-11-10 21:36 ` Richard Yao
2012-11-11 17:26 ` Ben Widawsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352498808-8235-1-git-send-email-ryao@gentoo.org \
--to=ryao@gentoo.org \
--cc=davshao@gmail.com \
--cc=gentoo-bsd@lists.gentoo.org \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox