summaryrefslogtreecommitdiffstats
path: root/debian/patches/102993.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/102993.patch')
-rw-r--r--debian/patches/102993.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/102993.patch b/debian/patches/102993.patch
new file mode 100644
index 00000000..6b0c0e9b
--- /dev/null
+++ b/debian/patches/102993.patch
@@ -0,0 +1,13 @@
+Index: include/iprt/string.h
+===================================================================
+--- a/include/iprt/string.h (revision 102992)
++++ b/include/iprt/string.h (revision 102993)
+@@ -258,7 +258,7 @@
+ * @param a_cbDst Size of destination buffer.
+ */
+ #if defined(RT_OS_LINUX) && defined(__KERNEL__)
+-# if (RTLNX_VER_MIN(3,16,60))
++# if (RTLNX_VER_MIN(4,3,0))
+ # define RT_STRSCPY(a_pDst, a_pSrc, a_cbDst) (void)strscpy((a_pDst), (a_pSrc), (a_cbDst))
+ # else /* < 3.16.60 */
+ # define RT_STRSCPY(a_pDst, a_pSrc, a_cbDst) strlcpy((a_pDst), (a_pSrc), (a_cbDst))