From 560c9564346f2c663320a072e2685f9c846e5a08 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 11 Mar 2017 01:13:58 +0100 Subject: Mesa.patches: Adapt Mesa to CreatePixmap allocation hint ABI bump. --- .../Mesa.patches/4001_CreatePixmap-AllocationHints.patch | 13 +++++++++++++ nx-X11/extras/Mesa.patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch create mode 100644 nx-X11/extras/Mesa.patches/series diff --git a/nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch b/nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch new file mode 100644 index 000000000..f2caf2812 --- /dev/null +++ b/nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch @@ -0,0 +1,13 @@ +Index: Mesa/include/GL/xmesa_xf86.h +=================================================================== +--- Mesa.orig/include/GL/xmesa_xf86.h ++++ Mesa/include/GL/xmesa_xf86.h +@@ -130,7 +130,7 @@ do { \ + + /* CreatePixmap returns a PixmapPtr; so, it cannot be inside braces */ + #define XMesaCreatePixmap(__d,__b,__w,__h,__depth) \ +- (*__d->CreatePixmap)(__d, __w, __h, __depth) ++ (*__d->CreatePixmap)(__d, __w, __h, __depth, 0) + + #define XMesaFreePixmap(__d,__b) \ + (*__d->DestroyPixmap)(__b) diff --git a/nx-X11/extras/Mesa.patches/series b/nx-X11/extras/Mesa.patches/series new file mode 100644 index 000000000..2ddad71d6 --- /dev/null +++ b/nx-X11/extras/Mesa.patches/series @@ -0,0 +1 @@ +4001_CreatePixmap-AllocationHints.patch -- cgit v1.2.3