diff options
author | jkim <jkim@FreeBSD.org> | 2014-04-16 01:08:46 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2014-04-16 01:08:46 +0800 |
commit | e7d81164e0d0957f697416d9030cf827ae936d92 (patch) | |
tree | 7021a18006254c2bb0ef08c89ff88800d98db52a /x11/libxshmfence | |
parent | e825d7331a54716878eb741b33b6d4a409fe1a39 (diff) | |
download | freebsd-ports-gnome-e7d81164e0d0957f697416d9030cf827ae936d92.tar.gz freebsd-ports-gnome-e7d81164e0d0957f697416d9030cf827ae936d92.tar.zst freebsd-ports-gnome-e7d81164e0d0957f697416d9030cf827ae936d92.zip |
Fix build on head.
Diffstat (limited to 'x11/libxshmfence')
-rw-r--r-- | x11/libxshmfence/files/patch-src__xshmfence_futex.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/x11/libxshmfence/files/patch-src__xshmfence_futex.h b/x11/libxshmfence/files/patch-src__xshmfence_futex.h index 58c42a9a8b4e..253d9d54f947 100644 --- a/x11/libxshmfence/files/patch-src__xshmfence_futex.h +++ b/x11/libxshmfence/files/patch-src__xshmfence_futex.h @@ -1,19 +1,20 @@ ---- src/xshmfence_futex.h 2013-11-20 17:13:08.000000000 -0500 -+++ src/xshmfence_futex.h 2013-12-09 15:52:29.000000000 -0500 +--- src/xshmfence_futex.h ++++ src/xshmfence_futex.h @@ -1,5 +1,6 @@ /* * Copyright © 2013 Keith Packard -+ * Copyright © 2013 Jung-uk Kim <jkim@FreeBSD.org> ++ * Copyright © 2013-2014 Jung-uk Kim <jkim@FreeBSD.org> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that -@@ -24,6 +25,27 @@ +@@ -24,6 +25,28 @@ #define _XSHMFENCE_FUTEX_H_ #include <errno.h> + +#ifdef HAVE_UMTX + ++#include <sys/limits.h> +#include <sys/types.h> +#include <sys/umtx.h> + @@ -35,7 +36,7 @@ #include <stdint.h> #include <values.h> #include <linux/futex.h> -@@ -43,6 +65,8 @@ +@@ -43,6 +66,8 @@ return sys_futex(addr, FUTEX_WAIT, value, NULL, NULL, 0); } |