aboutsummaryrefslogtreecommitdiff
path: root/devel/pcsc-cyberjack/files/patch-cjeca32_RSCTCriticalSection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pcsc-cyberjack/files/patch-cjeca32_RSCTCriticalSection.cpp')
-rw-r--r--devel/pcsc-cyberjack/files/patch-cjeca32_RSCTCriticalSection.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/pcsc-cyberjack/files/patch-cjeca32_RSCTCriticalSection.cpp b/devel/pcsc-cyberjack/files/patch-cjeca32_RSCTCriticalSection.cpp
new file mode 100644
index 000000000000..f80f57292a1f
--- /dev/null
+++ b/devel/pcsc-cyberjack/files/patch-cjeca32_RSCTCriticalSection.cpp
@@ -0,0 +1,11 @@
+--- cjeca32/RSCTCriticalSection.cpp.orig 2021-11-03 13:00:16 UTC
++++ cjeca32/RSCTCriticalSection.cpp
+@@ -22,7 +22,7 @@ void CRSCTCriticalSection::Leave(void)
+ LeaveCriticalSection(&m_hCritSec);
+ }
+
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_FREEBSD)
+
+ CRSCTCriticalSection::CRSCTCriticalSection(void){
+ }