-e043d6d59328887b9e434f4d27aacc09 libdrm-2.4.47.tar.bz2
+5e9c8388b9e3f39eecf66a33b37f4786 drm-header-path.patch
+454fe27645152cbd8be8ccda21acaa24 libdrm-2.4.49.tar.bz2
# Depends on: libpthread-stubs xorg-libpciaccess
name=libdrm
-version=2.4.47
-release=2
-source=(http://dri.freedesktop.org/libdrm/libdrm-$version.tar.bz2)
+version=2.4.49
+release=1
+source=(http://dri.freedesktop.org/libdrm/libdrm-$version.tar.bz2
+ drm-header-path.patch)
build() {
cd $name-$version
-
- sed -i "s/drm\/drm.h/drm.h/" include/drm/qxl_drm.h
+ patch -p 1 -i $SRC/drm-header-path.patch
./configure --prefix=/usr \
--mandir=/usr/man \
--- /dev/null
+diff -pruN libdrm-2.4.49.orig/include/drm/qxl_drm.h libdrm-2.4.49/include/drm/qxl_drm.h
+--- libdrm-2.4.49.orig/include/drm/qxl_drm.h 2013-11-23 06:51:11.230361834 +0000
++++ libdrm-2.4.49/include/drm/qxl_drm.h 2013-11-23 06:52:16.104005907 +0000
+@@ -25,7 +25,7 @@
+ #define QXL_DRM_H
+
+ #include <stddef.h>
+-#include "drm/drm.h"
++#include "drm.h"
+
+ /* Please note that modifications to all structs defined here are
+ * subject to backwards-compatibility constraints.