libgpg-error: update to libgpg-error-1.18

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2015-04-09 10:31:21 +02:00
parent 234ad56af4
commit 9df5e4f92a
2 changed files with 25 additions and 13 deletions

View File

@ -17,7 +17,7 @@
################################################################################
PKG_NAME="libgpg-error"
PKG_VERSION="1.12"
PKG_VERSION="1.18"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
@ -34,6 +34,30 @@ PKG_AUTORECONF="yes"
PKG_CONFIGURE_OPTS_TARGET="CC_FOR_BUILD=$HOST_CC --enable-static --disable-shared --disable-nls --disable-rpath --with-gnu-ld"
pre_configure_target() {
# inspired by openembedded
case ${TARGET_ARCH} in
aarch64)
GPGERROR_TUPLE=aarch64-unknown-linux-gnu
GPGERROR_TARGET=linux-gnueabi
;;
arm)
GPGERROR_TUPLE=arm-unknown-linux-gnueabi
GPGERROR_TARGET=linux-gnueabi
;;
i386)
GPGERROR_TUPLE=i486-pc-linux-gnu
GPGERROR_TARGET=linux-gnu
;;
x86_64)
GPGERROR_TUPLE=x86_64-pc-linux-gnu
GPGERROR_TARGET=linux-gnu
;;
esac
cp $ROOT/$PKG_BUILD/src/syscfg/lock-obj-pub.$GPGERROR_TUPLE.h $ROOT/$PKG_BUILD/src/syscfg/lock-obj-pub.$GPGERROR_TARGET.h
}
post_makeinstall_target() {
rm -rf $INSTALL/usr/bin
rm -rf $INSTALL/usr/share

View File

@ -1,12 +0,0 @@
diff -Naur libgpg-error-1.10/configure.ac libgpg-error-1.10.patch/configure.ac
--- libgpg-error-1.10/configure.ac 2010-10-26 11:13:48.000000000 +0200
+++ libgpg-error-1.10.patch/configure.ac 2012-04-11 10:19:39.115582454 +0200
@@ -112,7 +112,7 @@
# Note, that autogen.sh greps for the next line.
-AM_GNU_GETTEXT_VERSION([0.17])
+AM_GNU_GETTEXT_VERSION([0.18])
AM_GNU_GETTEXT([external])
# Checks for header files.