diff options
Diffstat (limited to 'debian/patches/102999.patch')
-rw-r--r-- | debian/patches/102999.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/102999.patch b/debian/patches/102999.patch new file mode 100644 index 00000000..2c0e3ef3 --- /dev/null +++ b/debian/patches/102999.patch @@ -0,0 +1,22 @@ +Index: include/iprt/string.h +=================================================================== +--- a/include/iprt/string.h (revision 102998) ++++ b/include/iprt/string.h (revision 102999) +@@ -249,7 +249,7 @@ + * Copy string and NULL-terminate output buffer. + * + * This macro should mostly be used in Linux kernel code. This is +- * the replacement for deprecated strlcpy. It was deprecated since 3.16.60 ++ * the replacement for deprecated strlcpy. It was deprecated since 4.3.0 + * when strscpy was introduced as an alternative. Finally, strlcpy was + * completely removed from kernel code in 6.8.0. + * +@@ -264,7 +264,7 @@ + ssize_t _ret; \ + _ret = strscpy((a_pDst), (a_pSrc), (a_cbDst)); \ + } +-# else /* < 3.16.60 */ ++# else /* < 4.3.0 */ + # define RT_STRSCPY(a_pDst, a_pSrc, a_cbDst) strlcpy((a_pDst), (a_pSrc), (a_cbDst)) + # endif + #else /* !RT_OS_LINUX && !__KERNEL__ */ |