diff options
author | 2019-09-09 11:04:18 +0200 | |
---|---|---|
committer | 2019-09-09 11:04:18 +0200 | |
commit | fd69a7de8e7168a5b4db9f2ede66b84a5b23b8f1 (patch) | |
tree | e2a92c6ead07391a3a3f13c02ae17879045ab9f5 | |
parent | sunlesssea-2.2.4.3141 - bump (diff) | |
download | eroen-fd69a7de8e7168a5b4db9f2ede66b84a5b23b8f1.tar.gz eroen-fd69a7de8e7168a5b4db9f2ede66b84a5b23b8f1.tar.bz2 eroen-fd69a7de8e7168a5b4db9f2ede66b84a5b23b8f1.zip |
synfig-1.3.11 - add patch for ffmpeg/cmake
Signed-off-by: Erik Moen <eroen-overlay@occam.eroen.eu>
-rw-r--r-- | media-gfx/synfig/files/fix-ffmpeg-with-cmake-build.patch | 24 | ||||
-rw-r--r-- | media-gfx/synfig/synfig-1.3.11.ebuild | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/media-gfx/synfig/files/fix-ffmpeg-with-cmake-build.patch b/media-gfx/synfig/files/fix-ffmpeg-with-cmake-build.patch new file mode 100644 index 0000000..0982374 --- /dev/null +++ b/media-gfx/synfig/files/fix-ffmpeg-with-cmake-build.patch @@ -0,0 +1,24 @@ +fix ffmpeg with cmake build + +From: eroen <eroen@occam.eroen.eu> + + +--- + synfig-core/src/modules/mod_ffmpeg/CMakeLists.txt | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/synfig-core/src/modules/mod_ffmpeg/CMakeLists.txt b/synfig-core/src/modules/mod_ffmpeg/CMakeLists.txt +index 00a3d0160..49b034e22 100644 +--- a/src/modules/mod_ffmpeg/CMakeLists.txt ++++ b/src/modules/mod_ffmpeg/CMakeLists.txt +@@ -1,5 +1,10 @@ + add_library(mod_ffmpeg MODULE "") + ++if (UNIX) ++ add_definitions(-DHAVE_FORK -DHAVE_PIPE -DHAVE_WAITPID) ++ add_definitions(-DHAVE_SYS_WAIT_H) ++endif (UNIX) ++ + target_sources(mod_ffmpeg + PUBLIC + "${CMAKE_CURRENT_LIST_DIR}/main.cpp" diff --git a/media-gfx/synfig/synfig-1.3.11.ebuild b/media-gfx/synfig/synfig-1.3.11.ebuild index 9886391..6bb24cf 100644 --- a/media-gfx/synfig/synfig-1.3.11.ebuild +++ b/media-gfx/synfig/synfig-1.3.11.ebuild @@ -38,6 +38,7 @@ DEPEND="${RDEPEND} PATCHES=( "$FILESDIR"/synfig-1.3.10-install-libraries-to-lib64.patch + "$FILESDIR"/fix-ffmpeg-with-cmake-build.patch ) src_configure() { |