summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/libgcrypt/Makefile6
-rw-r--r--package/libpciaccess/patches/patch-src_linux_sysfs_c11
2 files changed, 15 insertions, 2 deletions
diff --git a/package/libgcrypt/Makefile b/package/libgcrypt/Makefile
index 4a1856d68..189b82cce 100644
--- a/package/libgcrypt/Makefile
+++ b/package/libgcrypt/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= libgcrypt
PKG_VERSION:= 1.5.0
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 78f8f8bec4580f75b25816f7896d0389
PKG_DESCR:= GNU crypto library
PKG_SECTION:= libs
@@ -26,5 +26,9 @@ libgcrypt-install:
${INSTALL_DIR} ${IDIR_LIBGCRYPT}/usr/lib
${CP} ${WRKINST}/usr/lib/libgcrypt.so* \
${IDIR_LIBGCRYPT}/usr/lib
+ # provides own automake macros
+ ${INSTALL_DIR} ${STAGING_HOST_DIR}/usr/share/aclocal
+ ${CP} ${WRKINST}//usr/share/aclocal/libgcrypt.m4 \
+ ${STAGING_HOST_DIR}/usr/share/aclocal
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpciaccess/patches/patch-src_linux_sysfs_c b/package/libpciaccess/patches/patch-src_linux_sysfs_c
index f03152988..ad31ac509 100644
--- a/package/libpciaccess/patches/patch-src_linux_sysfs_c
+++ b/package/libpciaccess/patches/patch-src_linux_sysfs_c
@@ -1,5 +1,5 @@
--- 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
++++ libpciaccess-0.13.1/src/linux_sysfs.c 2013-12-01 18:26:04.000000000 +0100
@@ -34,6 +34,7 @@
#define _GNU_SOURCE
@@ -8,3 +8,12 @@
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+@@ -45,7 +46,7 @@
+ #include <dirent.h>
+ #include <errno.h>
+
+-#if defined(__i386__) || defined(__x86_64__) || defined(__arm__)
++#if defined(__i386__) || defined(__x86_64__)
+ #include <sys/io.h>
+ #else
+ #define inb(x) -1