From db69c14a612016e49823b1daaf450de2db097a8c Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 2 Jun 2020 16:07:12 -0700 Subject: [PATCH] gerbera: fix compilation with libcxx 10 Missing header for pid_t. Signed-off-by: Rosen Penev --- multimedia/gerbera/Makefile | 2 +- multimedia/gerbera/patches/020-pid.patch | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 multimedia/gerbera/patches/020-pid.patch diff --git a/multimedia/gerbera/Makefile b/multimedia/gerbera/Makefile index 54163667b..f5039c125 100644 --- a/multimedia/gerbera/Makefile +++ b/multimedia/gerbera/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gerbera PKG_VERSION:=1.5.0 -PKG_RELEASE:=6 +PKG_RELEASE:=7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/gerbera/gerbera/tar.gz/v$(PKG_VERSION)? diff --git a/multimedia/gerbera/patches/020-pid.patch b/multimedia/gerbera/patches/020-pid.patch new file mode 100644 index 000000000..23c588511 --- /dev/null +++ b/multimedia/gerbera/patches/020-pid.patch @@ -0,0 +1,22 @@ +--- a/src/util/process.h ++++ b/src/util/process.h +@@ -35,6 +35,8 @@ + #include + #include + ++#include ++ + // forward declaration + class Config; + +--- a/src/util/process_executor.h ++++ b/src/util/process_executor.h +@@ -35,6 +35,8 @@ + #include + #include + ++#include ++ + #include "executor.h" + + class ProcessExecutor : public Executor {