From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH] intel: Fix missing ETIME on BSD operating systems Date: Sat, 10 Nov 2012 12:01:05 -0800 Message-ID: <20121110120105.77192ac1@bwidawsk.net> References: <1352525096-10345-1-git-send-email-ryao@cs.stonybrook.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from shiva.chad-versace.us (209-20-75-48.static.cloud-ips.com [209.20.75.48]) by gabe.freedesktop.org (Postfix) with ESMTP id 8F3D09EB4B for ; Sat, 10 Nov 2012 12:00:41 -0800 (PST) In-Reply-To: <1352525096-10345-1-git-send-email-ryao@cs.stonybrook.edu> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Richard Yao Cc: gentoo-bsd@lists.gentoo.org, intel-gfx@lists.freedesktop.org, David Shao List-Id: intel-gfx@lists.freedesktop.org On Sat, 10 Nov 2012 00:24:56 -0500 Richard Yao wrote: > From: David Shao > > Originally posted to Free Desktop bug #52549 by David Shao. > Resolves Gentoo Bug #433403. > Commit message by Richard Yao. > > Reviewed-by: Richard Yao > Reviewed-by: Kenneth Graunke I've pushed this. Please add bug links as "References:" in the future. Also, I suspect you will want a release as the result of this? Thanks. > --- > 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 > > #include "errno.h" > +#ifndef ETIME > +#define ETIME ETIMEDOUT > +#endif > #include "libdrm_lists.h" > #include "intel_bufmgr.h" > #include "intel_bufmgr_priv.h" -- Ben Widawsky, Intel Open Source Technology Center