diff --git a/libnl3.spec b/libnl3.spec index f55ab18e6aa09ce2aa5af19bcfabe53353c6bef9..cd0aaf81e0625ea49afb65a793b58bef26b2dd1a 100644 --- a/libnl3.spec +++ b/libnl3.spec @@ -1,6 +1,6 @@ Name: libnl3 Version: 3.7.0 -Release: 2 +Release: 3 Summary: Providing APIs to netlink protocol based Linux kernel interfaces License: LGPLv2 URL: http://www.infradead.org/~tgr/libnl/ @@ -9,6 +9,8 @@ Source: https://github.com/thom311/libnl/releases/download/libnl3_7_0/lib Patch6000: backport-prevent-segfault-in-af_request_type.patch Patch6001: backport-fix-bridge-info-parsing.patch +Patch9000: solve-redefinition-of-struct-ipv6_mreq.patch + BuildRequires: flex bison libtool autoconf automake swig Requires: %{name} = %{version}-%{release} @@ -92,6 +94,12 @@ cd python %{python3_sitearch}/netlink-*.egg-info %changelog +* Fri Jan 12 2024 chengyechun - 3.7.0-3 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Use the user-mode IPv6 header file + * Mon Aug 14 2023 chengyechun - 3.7.0-2 - Type:bugfix - ID:NA diff --git a/solve-redefinition-of-struct-ipv6_mreq.patch b/solve-redefinition-of-struct-ipv6_mreq.patch new file mode 100644 index 0000000000000000000000000000000000000000..af3b66c80d3ac67e667a41e2c7bfadfe09274ec9 --- /dev/null +++ b/solve-redefinition-of-struct-ipv6_mreq.patch @@ -0,0 +1,12 @@ +diff -uNrp libnl-3.2.28/include/linux-private/linux/if_bridge.h libnl-3.2.28-new//include/linux-private/linux/if_bridge.h +--- libnl-3.2.28/include/linux-private/linux/if_bridge.h 2016-06-29 17:04:28.000000000 +0800 ++++ libnl-3.2.28-new//include/linux-private/linux/if_bridge.h 2016-11-26 13:46:11.000000000 +0800 +@@ -15,7 +15,7 @@ + + #include + #include +-#include ++#include + + #define SYSFS_BRIDGE_ATTR "bridge" + #define SYSFS_BRIDGE_FDB "brforward"