multimedia/mkvtoolnix-old: #include <unistd.h>

Fixes out-of-scope errors seen on gcc 4.7.x
This commit is contained in:
marino 2012-11-23 20:19:49 +00:00
parent 6439fd3ff0
commit 1395cdbc98
2 changed files with 14 additions and 1 deletions

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.3 2011/04/15 16:18:02 drochner Exp $
$NetBSD: distinfo,v 1.4 2012/11/23 20:19:49 marino Exp $
SHA1 (mkvtoolnix-2.9.8.tar.bz2) = be2b4b427befaad3d842b3ad3d55fb97b93b0468
RMD160 (mkvtoolnix-2.9.8.tar.bz2) = d0cb8629ad35b29708a0c7777dfe9a4d623a8e10
Size (mkvtoolnix-2.9.8.tar.bz2) = 1093036 bytes
SHA1 (patch-aa) = f34d52914908e54fef20c857c3fde28aa560ff91
SHA1 (patch-src_common_common.cpp) = 8710f2a56bbdfce9d5ff823b3d2834082a5bf672

View file

@ -0,0 +1,12 @@
$NetBSD: patch-src_common_common.cpp,v 1.1 2012/11/23 20:19:50 marino Exp $
--- src/common/common.cpp.orig 2009-08-13 10:32:50.000000000 +0000
+++ src/common/common.cpp
@@ -15,6 +15,7 @@
#include <boost/regex.hpp>
#include <stdlib.h>
+#include <unistd.h>
#include <string>
#ifdef SYS_WINDOWS
# include <windows.h>