Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
/*/
!/tests/
!/source
+!/patches/
+!/patches/xref_mips64el_pcrel.patch
/*.log
/*.substvars
* upstream fix bgpd out-of-bounds read CVE-2022-37032 (closes: #1021016)
* upstream fix bgpd UAF CVE-2022-37035 (closes: #1016978)
* libyang-related pcre3 dep replaced with pcre2 (closes: #1000032)
+ * disable ELF magic on mips64el
-- David Lamparter <equinox-debian@diac24.net> Mon, 02 Jan 2023 12:19:01 +0100
--- /dev/null
+xref_mips64el_pcrel.patch
--- /dev/null
+--- frr-8.4.1/lib/xref.h 2021-11-08 04:44:24.000000000 +0100
++++ frr-8.4.1/lib/xref.h 2022-11-29 19:40:16.614404443 +0100
+@@ -195,7 +195,7 @@
+ * some build issue with it just add -DFRR_XREF_NO_NOTE to your build flags
+ * to disable it.
+ */
+-#ifdef FRR_XREF_NO_NOTE
++#if defined(FRR_XREF_NO_NOTE) || defined(__mips64)
+ #define XREF_NOTE ""
+ #else
+