From 706e1277edf95c732364fe860042365c7bfc35b8 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 13 Nov 2016 18:28:39 +0100 Subject: [PATCH] pax-utils: update to 1.1.7. --- srcpkgs/pax-utils/patches/musl.patch | 22 ++++++++++++++++++++++ srcpkgs/pax-utils/template | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/pax-utils/patches/musl.patch diff --git a/srcpkgs/pax-utils/patches/musl.patch b/srcpkgs/pax-utils/patches/musl.patch new file mode 100644 index 00000000000..aee8a66c309 --- /dev/null +++ b/srcpkgs/pax-utils/patches/musl.patch @@ -0,0 +1,22 @@ +--- paxldso.h.orig ++++ paxldso.h +@@ -53,16 +53,15 @@ + extern array_t *ldpaths; + extern int ldso_config_load(const char *fname); + #else ++static array_t _ldpaths = array_init_decl; ++static array_t *ldpaths = &_ldpaths; ++ + static inline int ldso_config_load(const char *fname) + { + return 0; + } + #endif + +-#if PAX_LDSO_CACHE || PAX_LDSO_CONFIG + extern void paxldso_cleanup(void); +-#else +-# define paxldso_cleanup() +-#endif + + #endif diff --git a/srcpkgs/pax-utils/template b/srcpkgs/pax-utils/template index e516e900e1e..8a40fff0810 100644 --- a/srcpkgs/pax-utils/template +++ b/srcpkgs/pax-utils/template @@ -1,6 +1,6 @@ # Template file for 'pax-utils' pkgname=pax-utils -version=1.1.6 +version=1.1.7 revision=1 build_style=gnu-configure configure_args="--with-caps" @@ -11,4 +11,4 @@ maintainer="Christian Neukirchen " license="GPL-2" homepage="https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities" distfiles="http://distfiles.gentoo.org/distfiles/${pkgname}-${version}.tar.xz" -checksum=f5436c517bea40f7035ec29a6f34034c739b943f2e3a080d76df5dfd7fd41b12 +checksum=bb9bdbf0888de9444b53b78f7b8069af9832bac7cef0588030b8ce49e8ebad10