CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libdrm: updated to 2.4.49
authorVictor Martinez <pitillo@ono.com>
Sat, 30 Nov 2013 15:09:00 +0000 (16:09 +0100)
committerVictor Martinez <pitillo@ono.com>
Sat, 30 Nov 2013 15:09:00 +0000 (16:09 +0100)
libdrm/.md5sum
libdrm/Pkgfile
libdrm/drm-header-path.patch [new file with mode: 0644]

index 2384f900777fa26d6df9db93e9c48675a1e08907..953d6f8cdd0a709f9321bf88eb56f71820150463 100644 (file)
@@ -1 +1,2 @@
-e043d6d59328887b9e434f4d27aacc09  libdrm-2.4.47.tar.bz2
+5e9c8388b9e3f39eecf66a33b37f4786  drm-header-path.patch
+454fe27645152cbd8be8ccda21acaa24  libdrm-2.4.49.tar.bz2
index e601ba0f53c5a47280b205364d400cf32182538c..1fc6e43ba017dae772cb425fee43150f95648943 100644 (file)
@@ -5,14 +5,14 @@
 # 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 \
diff --git a/libdrm/drm-header-path.patch b/libdrm/drm-header-path.patch
new file mode 100644 (file)
index 0000000..a87f038
--- /dev/null
@@ -0,0 +1,12 @@
+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.