head 1.2; access; symbols pkgsrc-2026Q1:1.1.0.16 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.14 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.12 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.10 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.8 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.6 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.4 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.2 pkgsrc-2024Q2-base:1.1; locks; strict; comment @ * @; 1.2 date 2026.06.10.15.19.57; author adam; state dead; branches; next 1.1; commitid fkkzKCpssI2UtgJG; 1.1 date 2024.06.10.09.33.58; author jperkin; state Exp; branches; next ; commitid 9Ns5PAfTw3TZ1qdF; desc @@ 1.2 log @pcsc-lite: updated to 2.5.1 2.5.1 - Fix a bug (introduced in 2.5.0) with multi-slots readers - Add support of Haiku Operating System @ text @$NetBSD: patch-src_configfile.l,v 1.1 2024/06/10 09:33:58 jperkin Exp $ SunOS has no dirent d_type. --- src/configfile.l.orig 2024-06-10 09:29:24.980256046 +0000 +++ src/configfile.l @@@@ -301,9 +301,11 @@@@ int DBGetReaderListDir(const char *reade snprintf(filename, sizeof(filename), "%s/%s", readerconf_dir, direntry->d_name); +#ifndef __sun /* skip non regular files */ if (direntry->d_type == DT_UNKNOWN) { +#endif struct stat st; if (lstat(filename, &st) != 0) @@@@ -319,6 +321,7 @@@@ int DBGetReaderListDir(const char *reade direntry->d_name); continue; } +#ifndef __sun } else if (direntry->d_type != DT_REG) @@@@ -327,6 +330,7 @@@@ int DBGetReaderListDir(const char *reade direntry->d_name); continue; } +#endif /* skip files starting with . like ., .., .svn, etc */ if ('.' == direntry->d_name[0]) @ 1.1 log @pcsc-lite: Fix build on SunOS. @ text @d1 1 a1 1 $NetBSD$ @