gerbera: fix compilation with libcxx 10
authorRosen Penev <redacted>
Tue, 2 Jun 2020 23:07:12 +0000 (16:07 -0700)
committerRosen Penev <redacted>
Tue, 2 Jun 2020 23:07:12 +0000 (16:07 -0700)
Missing header for pid_t.

Signed-off-by: Rosen Penev <redacted>
multimedia/gerbera/Makefile
multimedia/gerbera/patches/020-pid.patch [new file with mode: 0644]

index 54163667b150c42e0e1456cb1b79be26987b1511..f5039c125343540426b128d2252f279363bd1e97 100644 (file)
@@ -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 (file)
index 0000000..23c5885
--- /dev/null
@@ -0,0 +1,22 @@
+--- a/src/util/process.h
++++ b/src/util/process.h
+@@ -35,6 +35,8 @@
+ #include <memory>
+ #include <string>
++#include <unistd.h>
++
+ // forward declaration
+ class Config;
+--- a/src/util/process_executor.h
++++ b/src/util/process_executor.h
+@@ -35,6 +35,8 @@
+ #include <string>
+ #include <vector>
++#include <unistd.h>
++
+ #include "executor.h"
+ class ProcessExecutor : public Executor {
git clone https://git.99rst.org/PROJECT