Modify the referenced header file

This commit is contained in:
jpzhang 2020-09-01 21:04:23 +08:00
parent 5f26911c3b
commit fc782a71a4
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,15 @@
diff --git a/acinclude.m4 b/acinclude.m4
index a581e1e..c43ffce 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -712,8 +712,8 @@ AC_DEFUN([OVS_CHECK_LINUX_COMPAT], [
[int nf_conncount_add],
[], [OVS_DEFINE([HAVE_UPSTREAM_NF_CONNCOUNT])])])
- OVS_GREP_IFELSE([$KSRC/include/linux/random.h], [prandom_u32])
- OVS_GREP_IFELSE([$KSRC/include/linux/random.h], [prandom_u32_max])
+ OVS_GREP_IFELSE([$KSRC/include/linux/prandom.h], [prandom_u32])
+ OVS_GREP_IFELSE([$KSRC/include/linux/prandom.h], [prandom_u32_max])
OVS_GREP_IFELSE([$KSRC/include/net/rtnetlink.h], [get_link_net])
OVS_GREP_IFELSE([$KSRC/include/net/rtnetlink.h], [name_assign_type])

View File

@ -14,7 +14,7 @@
Name: openvswitch-kmod Name: openvswitch-kmod
Version: 2.12.0 Version: 2.12.0
Release: 1 Release: 2
Summary: Open vSwitch Kernel Modules Summary: Open vSwitch Kernel Modules
License: GPLv2 License: GPLv2
URL: http://www.openvswitch.org/ URL: http://www.openvswitch.org/
@ -86,6 +86,7 @@ Patch63: netdev-afxdp-Avoid-removing-of-XDP-program-if-not-lo.patch
Patch64: system-afxdp.at-Add-test-for-infinite-re-addition-of.patch Patch64: system-afxdp.at-Add-test-for-infinite-re-addition-of.patch
Patch65: ovsdb-cluster.at-Wait-until-leader-is-elected-before.patch Patch65: ovsdb-cluster.at-Wait-until-leader-is-elected-before.patch
Patch66: ovsdb-raft-Fix-the-problem-when-cluster-restarted-af.patch Patch66: ovsdb-raft-Fix-the-problem-when-cluster-restarted-af.patch
Patch67: Modify-the-referenced-header-file.patch
#Source1: openvswitch-init #Source1: openvswitch-init
Buildroot: /tmp/openvswitch-xen-rpm Buildroot: /tmp/openvswitch-xen-rpm
@ -182,7 +183,11 @@ fi
%attr(755,root,root) /usr/share/openvswitch/scripts/ovs-kmod-manage.sh %attr(755,root,root) /usr/share/openvswitch/scripts/ovs-kmod-manage.sh
%changelog %changelog
* Tue Sep 01 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 2.12.0
- Modify the referenced header file
* Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.12.0 * Sat Dec 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.12.0
- Add opensource patch - Add opensource patch
* Fri Nov 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.12.0 * Fri Nov 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.12.0
- First build - First build