pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/libdrm If ETIME is not defined, use ETIMEDOUT.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c17f68d677a6
branches:  trunk
changeset: 327269:c17f68d677a6
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Tue Dec 25 01:13:57 2018 +0000

description:
If ETIME is not defined, use ETIMEDOUT.
via FreeBSD ports.

diffstat:

 x11/libdrm/distinfo                |   4 ++--
 x11/libdrm/patches/patch-libsync.h |  13 ++++++++++---
 2 files changed, 12 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 056c35aaf5ba -r c17f68d677a6 x11/libdrm/distinfo
--- a/x11/libdrm/distinfo       Mon Dec 24 16:34:00 2018 +0000
+++ b/x11/libdrm/distinfo       Tue Dec 25 01:13:57 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.87 2018/10/18 17:12:55 wiz Exp $
+$NetBSD: distinfo,v 1.88 2018/12/25 01:13:57 sevan Exp $
 
 SHA1 (libdrm-2.4.96.tar.bz2) = 51eb4c248a437b3f200bd1cd84461d3e0b60d71e
 RMD160 (libdrm-2.4.96.tar.bz2) = 8e13f0edf61bb0b59aaaf3cdbaadf20916782fe8
@@ -7,7 +7,7 @@
 SHA1 (patch-ac) = 67c998df7dfc0dabc86320ea6d015cede3e464ea
 SHA1 (patch-include_drm_drm.h) = 48a912f40bf2b2a1c23edbe4446fa7869212f17b
 SHA1 (patch-libkms_vmwgfx.c) = d2204c0b79098c6c36b7f282b486c58c6354bd1d
-SHA1 (patch-libsync.h) = 11412aff9e14b1b566a1ef664540b1d8e222102e
+SHA1 (patch-libsync.h) = 51623bae547e7a0c3e41fa282964b2361b1c34ab
 SHA1 (patch-radeon_radeon__bo__gem.c) = 4924fde172b2a2a713d47bf7b60a6b52851d7a8f
 SHA1 (patch-radeon_radeon__cs__gem.c) = 516b5dd6408c10a4f33f2815b3719e34a16d863a
 SHA1 (patch-xf86drm.c) = 9a76f433c3b4688575cd60362396fb74d3294a4b
diff -r 056c35aaf5ba -r c17f68d677a6 x11/libdrm/patches/patch-libsync.h
--- a/x11/libdrm/patches/patch-libsync.h        Mon Dec 24 16:34:00 2018 +0000
+++ b/x11/libdrm/patches/patch-libsync.h        Tue Dec 25 01:13:57 2018 +0000
@@ -1,10 +1,11 @@
-$NetBSD: patch-libsync.h,v 1.1 2018/10/16 15:18:08 jperkin Exp $
+$NetBSD: patch-libsync.h,v 1.2 2018/12/25 01:13:57 sevan Exp $
 
 Fix public header on SunOS.
+If ETIME is not defined, use ETIMEDOUT.
 
---- libsync.h.orig     2018-10-04 14:50:03.000000000 +0000
+--- libsync.h.orig     2018-10-16 14:49:03.000000000 +0000
 +++ libsync.h
-@@ -33,6 +33,9 @@
+@@ -33,8 +33,15 @@
  #include <stdint.h>
  #include <string.h>
  #include <sys/ioctl.h>
@@ -13,4 +14,10 @@
 +#endif
  #include <sys/poll.h>
  #include <unistd.h>
++
++#ifndef ETIME
++#define ETIME ETIMEDOUT
++#endif
  
+ #if defined(__cplusplus)
+ extern "C" {



Home | Main Index | Thread Index | Old Index