libgpg-error: grrr fixed cross build.
This commit is contained in:
parent
fe50ef9e1c
commit
4268d19692
2 changed files with 31 additions and 0 deletions
25
srcpkgs/libgpg-error/files/lock-obj-pub.arm.h
Normal file
25
srcpkgs/libgpg-error/files/lock-obj-pub.arm.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
## lock-obj-pub.x86_64-unknown-linux-gnu.h
|
||||
## File created by gen-posix-lock-obj - DO NOT EDIT
|
||||
## To be included by mkheader into gpg-error.h
|
||||
|
||||
typedef struct
|
||||
{
|
||||
long _vers;
|
||||
union {
|
||||
volatile char _priv[24];
|
||||
long _x_align;
|
||||
long *_xp_align;
|
||||
} u;
|
||||
} gpgrt_lock_t;
|
||||
|
||||
#define GPGRT_LOCK_INITIALIZER {1,{{0,0,0,0,0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0, \
|
||||
0,0,0,0,0,0,0,0}}}
|
||||
##
|
||||
## Local Variables:
|
||||
## mode: c
|
||||
## buffer-read-only: t
|
||||
## End:
|
||||
##
|
|
@ -10,6 +10,12 @@ license="LGPL-2.1"
|
|||
distfiles="ftp://ftp.gnupg.org/gcrypt/libgpg-error/$pkgname-$version.tar.bz2"
|
||||
checksum=f8aba9038d8a46cefe6a6c4a7e4527144c029eb4e3ca1ed27011b962102c9b0a
|
||||
|
||||
post_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
cp ${FILESDIR}/lock-obj-pub.arm.h \
|
||||
src/syscfg/lock-obj-pub.${XBPS_CROSS_TRIPLET#*-}.h
|
||||
fi
|
||||
}
|
||||
post_install() {
|
||||
rm -rf ${DESTDIR}/usr/share/common-lisp
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue