diff --git a/utils/ccid/Makefile b/utils/ccid/Makefile index 963552b71d..e0413565b2 100644 --- a/utils/ccid/Makefile +++ b/utils/ccid/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ccid -PKG_VERSION:=1.5.4 +PKG_VERSION:=1.6.2 PKG_RELEASE:=1 -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://ccid.apdu.fr/files/ -PKG_HASH:=6e832adc172ecdcfdee2b56f33144684882cbe972daff1938e7a9c73a64f88bf +PKG_HASH:=41958410950157e622f9d91c9e78c7b708db74e22f71190c581d24d20564d449 PKG_MAINTAINER:=Daniel Golle PKG_LICENSE:=LGPL-2.1-or-later PKG_LICENSE_FILES:=COPYING diff --git a/utils/ccid/patches/010-macos.patch b/utils/ccid/patches/010-macos.patch index 7d25c0896b..114ee44457 100644 --- a/utils/ccid/patches/010-macos.patch +++ b/utils/ccid/patches/010-macos.patch @@ -1,11 +1,11 @@ --- a/configure.ac +++ b/configure.ac -@@ -83,7 +83,7 @@ AC_CHECK_FUNCS(select strerror strncpy m +@@ -82,7 +82,7 @@ AC_CHECK_FUNCS(strlcpy strlcat secure_ge # Select OS specific versions of source files. AC_SUBST(BUNDLE_HOST) AC_SUBST(DYN_LIB_EXT) -BUNDLE_HOST=`uname | sed -e s,/,_,` +BUNDLE_HOST=Linux DYN_LIB_EXT="so" - case "$BUNDLE_HOST" in - Darwin) + AS_CASE([$BUNDLE_HOST], + [Darwin], [BUNDLE_HOST=MacOS DYN_LIB_EXT="dylib"],