From 9a986daad4423eabdc1adea233466b2c24c478b2 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Sat, 5 Mar 2016 21:14:47 -0500 Subject: [PATCH] openvswitch: update to 2.5.0. --- srcpkgs/openvswitch/patches/musl-WAIT_ANY.patch | 11 +++++++++++ srcpkgs/openvswitch/template | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/openvswitch/patches/musl-WAIT_ANY.patch diff --git a/srcpkgs/openvswitch/patches/musl-WAIT_ANY.patch b/srcpkgs/openvswitch/patches/musl-WAIT_ANY.patch new file mode 100644 index 0000000000..c6b27b6c8d --- /dev/null +++ b/srcpkgs/openvswitch/patches/musl-WAIT_ANY.patch @@ -0,0 +1,11 @@ +--- tests/test-ovn.c.bck 2016-03-05 21:40:04.525571040 -0500 ++++ tests/test-ovn.c 2016-03-05 21:40:13.844101533 -0500 +@@ -1043,7 +1043,7 @@ + int status; + pid_t pid; + +- pid = waitpid(WAIT_ANY, &status, 0); ++ pid = waitpid(-1, &status, 0); + if (pid < 0) { + ovs_fatal(errno, "waitpid failed"); + } else if (WIFEXITED(status)) { diff --git a/srcpkgs/openvswitch/template b/srcpkgs/openvswitch/template index 25e713ca84..63b5e4ad17 100644 --- a/srcpkgs/openvswitch/template +++ b/srcpkgs/openvswitch/template @@ -1,6 +1,6 @@ # Template file for 'openvswitch' pkgname=openvswitch -version=2.4.0 +version=2.5.0 revision=1 build_style=gnu-configure configure_args="--with-rundir=/run/openvswitch" @@ -12,7 +12,7 @@ maintainer="Renato Aguiar " license="Apache-2.0" homepage="http://openvswitch.org/" distfiles="http://openvswitch.org/releases/${pkgname}-${version}.tar.gz" -checksum=424c5a8dea1c5b153e8c1803bb041d0495e81379fb6f386dd58ee903a7681b9a +checksum=34da54fbad503205b1a66b48ca4312679e1ce5b04763a9fb86050b2b25d66f21 only_for_archs="i686 i686-musl x86_64 x86_64-musl" _completiondir="/usr/share/bash-completion/completions" make_install_args+=" completiondir=${_completiondir}"