diff options
| -rw-r--r-- | meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch | 27 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch b/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch new file mode 100644 index 0000000000..60f2079d37 --- /dev/null +++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp/0001-include-string.h-for-strncpy.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | From d49b4fb8063ecd89617587e5ea566cc9da9393ef Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 31 Aug 2022 19:09:18 -0700 | ||
| 4 | Subject: [PATCH] include string.h for strncpy() | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 9 | --- | ||
| 10 | interface.c | 1 + | ||
| 11 | 1 file changed, 1 insertion(+) | ||
| 12 | |||
| 13 | diff --git a/interface.c b/interface.c | ||
| 14 | index 65bdff0..5228db9 100644 | ||
| 15 | --- a/interface.c | ||
| 16 | +++ b/interface.c | ||
| 17 | @@ -5,6 +5,7 @@ | ||
| 18 | * @note SPDX-License-Identifier: GPL-2.0+ | ||
| 19 | */ | ||
| 20 | #include <stdlib.h> | ||
| 21 | +#include <string.h> | ||
| 22 | #include "interface.h" | ||
| 23 | |||
| 24 | struct interface { | ||
| 25 | -- | ||
| 26 | 2.37.3 | ||
| 27 | |||
diff --git a/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb index 9c0f56e736..bb4871e14f 100644 --- a/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb +++ b/meta-oe/recipes-connectivity/linuxptp/linuxptp_3.1.1.bb | |||
| @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
| 6 | SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v3.1/linuxptp-${PV}.tgz \ | 6 | SRC_URI = "http://sourceforge.net/projects/linuxptp/files/v3.1/linuxptp-${PV}.tgz \ |
| 7 | file://build-Allow-CC-and-prefix-to-be-overriden.patch \ | 7 | file://build-Allow-CC-and-prefix-to-be-overriden.patch \ |
| 8 | file://Use-cross-cpp-in-incdefs.patch \ | 8 | file://Use-cross-cpp-in-incdefs.patch \ |
| 9 | file://0001-include-string.h-for-strncpy.patch \ | ||
| 9 | " | 10 | " |
| 10 | 11 | ||
| 11 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/linuxptp/files/" | 12 | UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/linuxptp/files/" |
