diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:34 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:17:34 +0000 |
commit | 8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0 (patch) | |
tree | 041e487e60a900d7d85f57307892acb586640822 /debian/patches/102999.patch | |
parent | Adding upstream version 7.0.14-dfsg. (diff) | |
download | virtualbox-8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0.tar.xz virtualbox-8784fb72e8eee3d983d30ac46e0ec3709d4f0ab0.zip |
Adding debian version 7.0.14-dfsg-4.debian/7.0.14-dfsg-4
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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__ */ |