From cc940c6a3fb34da7d99b54e93fa3073e5e82b95d Mon Sep 17 00:00:00 2001 From: Max Hausch Date: Wed, 2 Feb 2022 09:35:44 +0100 Subject: [PATCH] Fix ofsoftswitch13 compilation and pin the commit Currently the make step of the ofsoftswitch13 master fails. Until https://github.com/CPqD/ofsoftswitch13/pull/313 is merged, this will fix the compilation. --- util/install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/install.sh b/util/install.sh index fd584b888..c37ed18df 100755 --- a/util/install.sh +++ b/util/install.sh @@ -134,7 +134,7 @@ OVS_BUILDSUFFIX=-ignore # was -2 OVS_PACKAGE_NAME=ovs-$OVS_RELEASE-core-$DIST_LC-$RELEASE-$ARCH$OVS_BUILDSUFFIX.tar OVS_TAG=v$OVS_RELEASE -OF13_SWITCH_REV=${OF13_SWITCH_REV:-""} +OF13_SWITCH_REV=${OF13_SWITCH_REV:-"aaebdbce3dae0f3d9af62f059e3ec5a2813469c4"} function kernel { @@ -290,6 +290,7 @@ function of13 { # Resume the install: cd $BUILD_DIR/ofsoftswitch13 ./boot.sh + sed -i 's/^AM_CFLAGS = -Wstrict-prototypes -Werror$/AM_CFLAGS = -Wstrict-prototypes -Werror -Wno-error=stringop-truncation -Wno-error=format-truncation=/g' Makefile.am ./configure make sudo make install