libgpg-error: update to 1.38; use new gen-lock-obj.sh.
gen-lock-obj.sh was supposed to be in 1.38 but was left of the of the tar file so I added it back.
This commit is contained in:
parent
351f8c2bfa
commit
e79f72db82
2 changed files with 9 additions and 37 deletions
|
@ -1,25 +0,0 @@
|
|||
## 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:
|
||||
##
|
|
@ -1,28 +1,25 @@
|
|||
# Template file for 'libgpg-error'
|
||||
pkgname=libgpg-error
|
||||
version=1.37
|
||||
version=1.38
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
short_desc="Library for error values used by GnuPG component"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-2.1-or-later, GPL-2.0-or-later"
|
||||
homepage="https://www.gnupg.org"
|
||||
distfiles="https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2"
|
||||
checksum=b32d6ff72a73cf79797f7f2d039e95e9c6f92f0c1450215410840ab62aea9763
|
||||
distfiles="https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2
|
||||
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob_plain;f=src/gen-lock-obj.sh;h=13858cfbf6c5f69f5f5fd64cd6fcc6a6c80eca3b>gen-lock-obj.sh"
|
||||
checksum="d8988275aa69d7149f931c10442e9e34c0242674249e171592b430ff7b3afd02
|
||||
83892a9ebe3e19e8fd754a7ad02b6c81240e64554aab6490a4ea5aa36ea49a81"
|
||||
skip_extraction="gen-lock-obj.sh"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends="qemu-user-static"
|
||||
fi
|
||||
|
||||
post_configure() {
|
||||
local lock_obj_pub=src/syscfg/lock-obj-pub.${XBPS_CROSS_TRIPLET#*-}.h
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
$CC -DHAVE_CONFIG_H -I. -pthread -o gen-posix-lock-obj src/gen-posix-lock-obj.c
|
||||
qemu-${XBPS_TARGET_QEMU_MACHINE}-static -L ${XBPS_CROSS_BASE} \
|
||||
gen-posix-lock-obj > $lock_obj_pub
|
||||
msg_normal "Generated $lock_obj_pub ...\n"
|
||||
cat $lock_obj_pub
|
||||
fi
|
||||
pre_configure() {
|
||||
cp -p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/gen-lock-obj.sh ${wrksrc}/src
|
||||
chmod +x ${wrksrc}/src/gen-lock-obj.sh
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue