aboutsummaryrefslogtreecommitdiff
path: root/devel/libunistring/files/patch-lib_unistr_u8-strncpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libunistring/files/patch-lib_unistr_u8-strncpy.c')
-rw-r--r--devel/libunistring/files/patch-lib_unistr_u8-strncpy.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/devel/libunistring/files/patch-lib_unistr_u8-strncpy.c b/devel/libunistring/files/patch-lib_unistr_u8-strncpy.c
deleted file mode 100644
index 5bde3fdec11d..000000000000
--- a/devel/libunistring/files/patch-lib_unistr_u8-strncpy.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- lib/unistr/u8-strncpy.c.orig 2024-01-29 00:58:11 UTC
-+++ lib/unistr/u8-strncpy.c
-@@ -28,10 +28,6 @@
- /* Specification. */
- #include "unistr.h"
-
--#include <string.h>
--
--uint8_t *
--u8_strncpy (uint8_t *dest, const uint8_t *src, size_t n)
--{
-- return (uint8_t *) strncpy ((char *) dest, (const char *) src, n);
--}
-+#define FUNC u8_strncpy
-+#define UNIT uint8_t
-+#include "u-strncpy.h"