summaryrefslogtreecommitdiff
path: root/devel/pcsc-cyberjack/files/patch-include_driver_Debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pcsc-cyberjack/files/patch-include_driver_Debug.h')
-rw-r--r--devel/pcsc-cyberjack/files/patch-include_driver_Debug.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/pcsc-cyberjack/files/patch-include_driver_Debug.h b/devel/pcsc-cyberjack/files/patch-include_driver_Debug.h
new file mode 100644
index 000000000000..701743a0990b
--- /dev/null
+++ b/devel/pcsc-cyberjack/files/patch-include_driver_Debug.h
@@ -0,0 +1,19 @@
+--- include/driver/Debug.h.orig 2021-11-03 13:00:16 UTC
++++ include/driver/Debug.h
+@@ -42,14 +42,14 @@ class CJECA32_PRIVATE_CLASS CDebug (public)
+ public:
+ ~CDebug(void);
+
+-#if defined(OS_LINUX) || defined(OS_DARWIN)
++#if defined(OS_LINUX) || defined(OS_DARWIN) || defined(OS_FREEBSD)
+ void setLevelMask(unsigned int nLevelMask);
+ void setLogFileName(const char *fname);
+ #endif
+
+ private:
+ unsigned int m_nLevelMask;
+-#if defined(OS_LINUX) || defined(OS_DARWIN)
++#if defined(OS_LINUX) || defined(OS_DARWIN) || defined(OS_FREEBSD)
+ char *m_logFileName;
+ #endif
+ };