ccid: fix compilation under macOS
authorRosen Penev <rosenp@gmail.com>
Mon, 4 Oct 2021 23:04:17 +0000 (16:04 -0700)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 15 Nov 2021 20:00:54 +0000 (20:00 +0000)
Remove a bad uname check.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 7a7d1a5d2cbf626119b4bc7598fdbe2d0afa3743)

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)