eid-mw: update to 5.0.22

This commit is contained in:
PoroCYon 2021-06-02 13:13:10 +02:00 committed by Érico Nogueira Rolim
parent 7be883241c
commit 432c94a40a
2 changed files with 68 additions and 5 deletions

View file

@ -0,0 +1,58 @@
From 0da930d0d2bf7c3f840cbcdf8d2eb3a411868fae Mon Sep 17 00:00:00 2001
From: PoroCYon <porocyon@titandemo.org>
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 <stdio.h>
-#include <stdint.h>
#include <tchar.h>
#else
#include <unix.h>
@@ -38,6 +36,8 @@
#include <stdarg.h>
#include <stdbool.h>
#include <errno.h>
+#include <stdio.h>
+#include <stdint.h>
#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 <stdio.h>
-#include <stdint.h>
#include <tchar.h>
#else
#include <unix.h>
@@ -37,6 +35,8 @@
#include <stdarg.h>
#include <stdbool.h>
#include <errno.h>
+#include <stdio.h>
+#include <stdint.h>
#include "testlib.h"
--
2.31.1

View file

@ -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 <abenson+void@gmail.com>"
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_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libbsd-devel"
fi
pre_configure() {
autoreconf -fi