libdrm: 2.4.48 -> 2.4.49

This commit is contained in:
Danny Rawlins 2013-11-23 18:02:58 +11:00
parent 133cc449cb
commit 09db7eea4b
3 changed files with 27 additions and 8 deletions

View File

@ -1 +1,2 @@
68a30979f09715f50d8363de5eb66b38 libdrm-2.4.48.tar.bz2
5e9c8388b9e3f39eecf66a33b37f4786 drm-header-path.patch
454fe27645152cbd8be8ccda21acaa24 libdrm-2.4.49.tar.bz2

View File

@ -4,14 +4,20 @@
# Depends on: libpthread-stubs xorg-libpciaccess
name=libdrm
version=2.4.48
version=2.4.49
release=1
source=(http://dri.freedesktop.org/libdrm/libdrm-$version.tar.bz2)
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
./configure --prefix=/usr --mandir=/usr/man --disable-manpages
make
make DESTDIR=$PKG install
cd $name-$version
patch -p 1 -i $SRC/drm-header-path.patch
./configure \
--prefix=/usr \
--mandir=/usr/man \
--disable-manpages
make
make DESTDIR=$PKG install
}

View File

@ -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.