summaryrefslogtreecommitdiff
path: root/usr/src/common/libdrm/patches/util-double-list-h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/common/libdrm/patches/util-double-list-h.patch')
-rw-r--r--usr/src/common/libdrm/patches/util-double-list-h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/src/common/libdrm/patches/util-double-list-h.patch b/usr/src/common/libdrm/patches/util-double-list-h.patch
new file mode 100644
index 0000000..91677ad
--- /dev/null
+++ b/usr/src/common/libdrm/patches/util-double-list-h.patch
@@ -0,0 +1,12 @@
+diff ... libdrm-2.4.71/util_double_list.h
+--- libdrm-2.4.71/util_double_list.h.~1~ Tue Aug 2 16:22:45 2016
++++ libdrm-2.4.71/util_double_list.h Sat Nov 19 10:37:40 2016
+@@ -110,7 +110,7 @@
+ #ifndef container_of
+ #define container_of(ptr, sample, member) \
+ (void *)((char *)(ptr) \
+- - ((char *)&((typeof(sample))0)->member))
++ - ((char *)&((__typeof(sample))0)->member))
+ #endif
+
+ #define LIST_FOR_EACH_ENTRY(pos, head, member) \