ccid: fix compilation under macOS
authorRosen Penev <redacted>
Mon, 4 Oct 2021 23:04:17 +0000 (16:04 -0700)
committerRosen Penev <redacted>
Fri, 8 Oct 2021 16:43:07 +0000 (09:43 -0700)
Remove a bad uname check.

Signed-off-by: Rosen Penev <redacted>
utils/ccid/patches/010-macos.patch [new file with mode: 0644]

diff --git a/utils/ccid/patches/010-macos.patch b/utils/ccid/patches/010-macos.patch
new file mode 100644 (file)
index 0000000..0155cde
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -79,7 +79,7 @@ AC_CHECK_FUNCS(select strerror strncpy m
+ # 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)
git clone https://git.99rst.org/PROJECT