summaryrefslogtreecommitdiff
path: root/net-misc/frr/files/frr-8.4.2-musl-gcc12.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/frr/files/frr-8.4.2-musl-gcc12.patch')
-rw-r--r--net-misc/frr/files/frr-8.4.2-musl-gcc12.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-misc/frr/files/frr-8.4.2-musl-gcc12.patch b/net-misc/frr/files/frr-8.4.2-musl-gcc12.patch
new file mode 100644
index 000000000000..3c9374aefd6d
--- /dev/null
+++ b/net-misc/frr/files/frr-8.4.2-musl-gcc12.patch
@@ -0,0 +1,21 @@
+https://github.com/FRRouting/frr/pull/12741
+
+From def86a45a473a45bf8ac39ac4b82be3d09ae9cae Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sat, 4 Feb 2023 23:29:59 +0000
+Subject: [PATCH] pceplib: add <time.h> include for time_t
+
+Fixes build on musl. Used for time_t in the header.
+
+Bug: https://bugs.gentoo.org/862558
+--- a/pceplib/pcep_utils_counters.h
++++ b/pceplib/pcep_utils_counters.h
+@@ -30,6 +30,7 @@
+
+ #include <stdbool.h>
+ #include <stdint.h>
++#include <time.h>
+
+ #ifdef __cplusplus
+ extern "C" {
+