diff options
-rw-r--r-- | package/libdrm/Makefile | 2 | ||||
-rw-r--r-- | package/libpciaccess/patches/patch-src_linux_sysfs_c | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/package/libdrm/Makefile b/package/libdrm/Makefile index 6782956a3..b54f62793 100644 --- a/package/libdrm/Makefile +++ b/package/libdrm/Makefile @@ -9,7 +9,7 @@ PKG_RELEASE:= 2 PKG_MD5SUM:= 205fbaedfab827a874265420d38547f0 PKG_DESCR:= DRM library PKG_SECTION:= libs -PKG_BUILDDEP:= libpthread-stubs cairo +PKG_BUILDDEP:= libpthread-stubs cairo libpciaccess PKG_URL:= http://dri.freedesktop.org/wiki/ PKG_SITES:= http://dri.freedesktop.org/libdrm/ PKG_OPTS:= dev diff --git a/package/libpciaccess/patches/patch-src_linux_sysfs_c b/package/libpciaccess/patches/patch-src_linux_sysfs_c new file mode 100644 index 000000000..f03152988 --- /dev/null +++ b/package/libpciaccess/patches/patch-src_linux_sysfs_c @@ -0,0 +1,10 @@ +--- libpciaccess-0.13.1.orig/src/linux_sysfs.c 2012-04-09 19:02:57.000000000 +0200 ++++ libpciaccess-0.13.1/src/linux_sysfs.c 2013-10-21 15:25:14.000000000 +0200 +@@ -34,6 +34,7 @@ + + #define _GNU_SOURCE + ++#include <limits.h> + #include <stdlib.h> + #include <string.h> + #include <stdio.h> |