ports/xorg (3.0): libdrm: 2.4.48 -> 2.4.49
commit 09db7eea4bc06400a22f899c32971790d59c3bae Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Nov 23 18:02:58 2013 +1100 libdrm: 2.4.48 -> 2.4.49 diff --git a/libdrm/.md5sum b/libdrm/.md5sum index c69593c..953d6f8 100644 --- a/libdrm/.md5sum +++ b/libdrm/.md5sum @@ -1 +1,2 @@ -68a30979f09715f50d8363de5eb66b38 libdrm-2.4.48.tar.bz2 +5e9c8388b9e3f39eecf66a33b37f4786 drm-header-path.patch +454fe27645152cbd8be8ccda21acaa24 libdrm-2.4.49.tar.bz2 diff --git a/libdrm/Pkgfile b/libdrm/Pkgfile index 8a18246..2b95892 100644 --- a/libdrm/Pkgfile +++ b/libdrm/Pkgfile @@ -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 } diff --git a/libdrm/drm-header-path.patch b/libdrm/drm-header-path.patch new file mode 100644 index 0000000..a87f038 --- /dev/null +++ b/libdrm/drm-header-path.patch @@ -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.
participants (1)
-
crux@crux.nu