summaryrefslogtreecommitdiff
path: root/net-misc/linuxptp
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/linuxptp')
-rw-r--r--net-misc/linuxptp/Manifest3
-rw-r--r--net-misc/linuxptp/files/linuxptp-3.1.1-string-include.patch21
-rw-r--r--net-misc/linuxptp/linuxptp-3.1.1-r1.ebuild (renamed from net-misc/linuxptp/linuxptp-3.1.1.ebuild)1
3 files changed, 24 insertions, 1 deletions
diff --git a/net-misc/linuxptp/Manifest b/net-misc/linuxptp/Manifest
index c1144f5adeb1..77abf044d8fe 100644
--- a/net-misc/linuxptp/Manifest
+++ b/net-misc/linuxptp/Manifest
@@ -1,4 +1,5 @@
AUX linuxptp-2.0_nettstamp-systypes.patch 1374 BLAKE2B 2b90a983e99cea7c686cbb28eb7c53fece2ad22dda0a898fa3ba0a867686d500f288e24c18c473729d48deda99565069b4983ee02f56214bab6367e6a19ff9cd SHA512 e9e0ae1be45c1d3d71cbf9c7df30584e52d8169755f516e920eb49e52c0dea5e388c36e92d9d000112d7630631cdc97d2eaa55fab1413d13d145a4970b1b7120
+AUX linuxptp-3.1.1-string-include.patch 630 BLAKE2B 7b9dbbb6988282f0a600414440708663ef802896b3b8a674eea4937bb6edc013526faffb2647c1995b881f41699eda868cee9adeca8efb9e49633c1b8af880c8 SHA512 898f30ce82bae0c070814825a11d050fcbbcd6b769c4207bb988ec69edc8a31d920475e86e847ec99e815f18c147640763f3e123517222f273a1953abd366fc7
AUX linuxptp-3.1.1-user_cpp.patch 329 BLAKE2B e99f87e5e8c42ac3eff67b8fea87994718ab7531dac0a69b609cd2fda0e3d88762439c1dbcfe9b76ef07bea8a159476e32624c146c9a89756e22560b691d0b27 SHA512 03a40f08cd783a16849ebfbf033e1f0a953d8aac31c56ea69adad4e4c2fede3a8acc7ecc8bc62706b9fbc7271fb5781c95fd7f7b03aa4c67da8a2afae65dfa19
AUX phc2sysAT.service 248 BLAKE2B b0e1926a7755314bd0def600e81dbf7b60707216ff3844194512511ce99407cc88da7a2c83e019b20571098eba3f2297c1a1fe54da47f8fb5e07a58c20a007a2 SHA512 55f048ae44eb43894aad957b35842b0b21aa27e922be85bd286847281f8716bdde9b8187ca90d90d31c9d4587de4c35eebaf0e47498f9b950279037e03069086
AUX ptp4lAT.service 242 BLAKE2B 2b0ca6ca5b7e4adde39ca360713af02450c0d36b1f4a2393350a59d80dcb0cc26000862546b732aac9f6b89ed6fdec0175485685cc3343d2d33fc48d671cca03 SHA512 f182fc52ebfc8fa878d94604fd398d071fcf8347cc8c251a2f8f78fbce518181c543f2eae971ecfb768bc9337c816d894ab150b37ce1642e854a65792324a50b
@@ -6,5 +7,5 @@ AUX timemaster.service 234 BLAKE2B c59cfb10a85db09dc48830b166e6c3338949a2f12b417
DIST linuxptp-2.0.tgz 184942 BLAKE2B 79ef9d3c379769a71e652a77f05ab661db444a76a339e72106055cf900de9cabfe303c48760f11701fefe5e641d07b73fc5a250078bedf7faa3ae995ace24da3 SHA512 c33487a803f8cc461f790d9a137d5cf8b35cb6d292bdd2cf7a16aa666359d8c5e24667473be843182bef1e9f8d5c6af8aab8918978f10bf08257dd408bba66d6
DIST linuxptp-3.1.1.tgz 218784 BLAKE2B 5b46580a0e1b6e003f5f03e512c4f9b348c086f356fd47d3480da5e8223ba291fdb213798c696c37759896a99bccf21cd7e7daddce5aa5ed5701afb0e622a755 SHA512 c3c40987fe68480a8473097ebc3c506fb4f8f3b6456bbe637b2b3cb0b3e0182f1513b511fdc04b3607d5f7d8bd1bd22502bb86eb13f9fa4fa63a3331846b33ec
EBUILD linuxptp-2.0-r1.ebuild 1042 BLAKE2B c1ca710e95c14a358dfa16ee99fbe0fe5594e7e7c403a987a79b03eb9a74464a3f72a7f585c0ec779d5aceceb8f5a25afc4d3f55ac4a0038fde8fd5b4a992f42 SHA512 3cd615b214e0f519f6ec63fbadc36169aee412742debeffbf3364b05d301cae2361a7d0ad9ac79567e25713f38744160f359abb72fad840eeafd5c0d53364017
-EBUILD linuxptp-3.1.1.ebuild 1197 BLAKE2B c9c46db95d7c8d7ef267218a50d348cc862473e7c251a051992f7a4b5b29b72f1626e0811c8abcb3335b6f337384ea84e3d45759152ab73092e781dc40062c95 SHA512 1afb7a7eea3a5d1f89002ee9802eff08268e45ca16ea4ded9cdbe66f9017a5226a847ca506f024cf40546a48c0564351ee93cb7d7d603291681a99b855132f25
+EBUILD linuxptp-3.1.1-r1.ebuild 1245 BLAKE2B 29e16fbdc8f434df6a414486d105e902a5975bc2798e9982db79837f6b336aaa6a76baac9a93adb2926c6875f5620ae374d1ad14e44b119e13f8da6b838de338 SHA512 ca38c01ccb87e25039e0cad058a00ab5e338aa05b0bf55b96b5017e672122074e74f6878f56e4f76257e3d9eb93cb789cf196d1667646818e4c7073342137ce0
MISC metadata.xml 434 BLAKE2B 6294b76d69b7459ff51a8b3f679ca7bfd940a70088eb53be6e15092465a3cb01f4a7b8b5430244b871321c320ec389ac1b05b239f3eef54e9284e881910e13cf SHA512 7f2fb3921793510144e823c70d1ac263297d3591055c680fc8192dd8402e8a763bc8de8882f9c441e060e23cebaa5e6c684873d82738a6ae8f54b6e027b5c837
diff --git a/net-misc/linuxptp/files/linuxptp-3.1.1-string-include.patch b/net-misc/linuxptp/files/linuxptp-3.1.1-string-include.patch
new file mode 100644
index 000000000000..622a87f67ec0
--- /dev/null
+++ b/net-misc/linuxptp/files/linuxptp-3.1.1-string-include.patch
@@ -0,0 +1,21 @@
+https://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&id=aec96f23775b946cf99c39e7274bcc8fdd4711ca
+https://sourceforge.net/p/linuxptp/mailman/message/37603438/
+
+From d49b4fb8063ecd89617587e5ea566cc9da9393ef Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 31 Aug 2022 19:09:18 -0700
+Subject: [PATCH] include string.h for strncpy()
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/interface.c
++++ b/interface.c
+@@ -5,6 +5,7 @@
+ * @note SPDX-License-Identifier: GPL-2.0+
+ */
+ #include <stdlib.h>
++#include <string.h>
+ #include "interface.h"
+
+ struct interface {
diff --git a/net-misc/linuxptp/linuxptp-3.1.1.ebuild b/net-misc/linuxptp/linuxptp-3.1.1-r1.ebuild
index 281c2325d00b..df701b773917 100644
--- a/net-misc/linuxptp/linuxptp-3.1.1.ebuild
+++ b/net-misc/linuxptp/linuxptp-3.1.1-r1.ebuild
@@ -19,6 +19,7 @@ CONFIG_CHECK="~NETWORK_PHY_TIMESTAMPING ~PPS ~PTP_1588_CLOCK"
PATCHES=(
"${FILESDIR}"/${PN}-3.1.1-user_cpp.patch
+ "${FILESDIR}"/${PN}-3.1.1-string-include.patch
)
pkg_setup() {