From c338f6cea62e697906bb11879b6618c8aaf152dc Mon Sep 17 00:00:00 2001 From: PoroCYon Date: Wed, 2 Jun 2021 13:13:10 +0200 Subject: [PATCH] eid-mw: update to 5.0.22 --- ...-int8_t-errors-when-compiling-for-aa.patch | 58 +++++++++++++++++++ srcpkgs/eid-mw/template | 15 +++-- 2 files changed, 68 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/eid-mw/patches/0001-fix-unknown-type-int8_t-errors-when-compiling-for-aa.patch diff --git a/srcpkgs/eid-mw/patches/0001-fix-unknown-type-int8_t-errors-when-compiling-for-aa.patch b/srcpkgs/eid-mw/patches/0001-fix-unknown-type-int8_t-errors-when-compiling-for-aa.patch new file mode 100644 index 000000000000..87a21def3d87 --- /dev/null +++ b/srcpkgs/eid-mw/patches/0001-fix-unknown-type-int8_t-errors-when-compiling-for-aa.patch @@ -0,0 +1,58 @@ +From 0da930d0d2bf7c3f840cbcdf8d2eb3a411868fae Mon Sep 17 00:00:00 2001 +From: PoroCYon +Date: Wed, 2 Jun 2021 13:57:00 +0200 +Subject: [PATCH] fix 'unknown type int8_t' errors when compiling for + aarch64-musl + +--- + plugins_tools/eid-viewer/test/testlib.c | 4 ++-- + tests/unit/testlib.c | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git plugins_tools/eid-viewer/test/testlib.c plugins_tools/eid-viewer/test/testlib.c +index 91b381a8..c1794229 100644 +--- plugins_tools/eid-viewer/test/testlib.c ++++ plugins_tools/eid-viewer/test/testlib.c +@@ -23,8 +23,6 @@ + #pragma pack(push, cryptoki, 1) + #include "pkcs11.h" + #pragma pack(pop, cryptoki) +-#include +-#include + #include + #else + #include +@@ -38,6 +36,8 @@ + #include + #include + #include ++#include ++#include + + + #include "serial_io.h" +diff --git tests/unit/testlib.c tests/unit/testlib.c +index 32c77a73..0c1b0fe2 100644 +--- tests/unit/testlib.c ++++ tests/unit/testlib.c +@@ -23,8 +23,6 @@ + #pragma pack(push, cryptoki, 1) + #include "pkcs11.h" + #pragma pack(pop, cryptoki) +-#include +-#include + #include + #else + #include +@@ -37,6 +35,8 @@ + #include + #include + #include ++#include ++#include + + #include "testlib.h" + +-- +2.31.1 + diff --git a/srcpkgs/eid-mw/template b/srcpkgs/eid-mw/template index 0734bdb13018..5c1bd4c92c7f 100644 --- a/srcpkgs/eid-mw/template +++ b/srcpkgs/eid-mw/template @@ -1,18 +1,23 @@ # Template file for 'eid-mw' pkgname=eid-mw -version=4.4.16 -revision=4 +version=5.0.22 +revision=1 build_style=gnu-configure hostmakedepends="pkg-config automake gettext gettext-devel libtool glib-devel - gdk-pixbuf-devel" -makedepends="gtk+3-devel libcurl-devel openssl-devel libproxy-devel pcsclite-devel" + gdk-pixbuf-devel libassuan-devel autoconf-archive" +makedepends="gtk+3-devel libcurl-devel openssl-devel libproxy-devel + pcsclite-devel libassuan-devel" depends="pcsc-acsccid pcsc-ccid pcsc-tools" short_desc="Middleware for Belgian eID" maintainer="Andrew Benson " license="LGPL-3.0-or-later" homepage="https://eid.belgium.be/en" distfiles="https://github.com/Fedict/eid-mw/archive/v${version}.tar.gz" -checksum=bed50b2d3161767ef73cb23d5ce63d5039eebfcc7ae3a6045a22dd3ee07b0357 +checksum=c4ed06a4146de95b10de5056b9c174a85cd71c7a794f2f0faf010d51c8792a59 + +if [ "$XBPS_LIBC" = "glibc" ]; then + makedepends+="libbsd-devel" +fi pre_configure() { autoreconf -fi