summaryrefslogtreecommitdiff
path: root/multimedia/mkvtoolnix/patches
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-11-23 20:19:16 +0000
committermarino <marino@pkgsrc.org>2012-11-23 20:19:16 +0000
commita52063299db80ad60d5091e8c53ac83fe1ad346c (patch)
tree917e42d3c5bc02a8935004c0070029c8797b14da /multimedia/mkvtoolnix/patches
parent9be04f633ea5b7c7c72def6e0ad8088f0c408c54 (diff)
downloadpkgsrc-a52063299db80ad60d5091e8c53ac83fe1ad346c.tar.gz
multimedia/mkvtoolnix: #include <unistd.h>
Fixes out-of-scope errors seen on gcc 4.7.x
Diffstat (limited to 'multimedia/mkvtoolnix/patches')
-rw-r--r--multimedia/mkvtoolnix/patches/patch-src_common_common.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/mkvtoolnix/patches/patch-src_common_common.cpp b/multimedia/mkvtoolnix/patches/patch-src_common_common.cpp
new file mode 100644
index 00000000000..f07b0ed7eaf
--- /dev/null
+++ b/multimedia/mkvtoolnix/patches/patch-src_common_common.cpp
@@ -0,0 +1,12 @@
+$NetBSD: patch-src_common_common.cpp,v 1.1 2012/11/23 20:19:16 marino Exp $
+
+--- src/common/common.cpp.orig 2011-10-09 09:48:12.000000000 +0000
++++ src/common/common.cpp
+@@ -14,6 +14,7 @@
+ #include "common/common_pch.h"
+
+ #include <stdlib.h>
++#include <unistd.h>
+ #ifdef SYS_WINDOWS
+ # include <windows.h>
+ #endif