From owner-svn-ports-head@FreeBSD.ORG Tue Jun 9 08:06:56 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE1A79E6; Tue, 9 Jun 2015 08:06:56 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AC5501E1C; Tue, 9 Jun 2015 08:06:56 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5986uGC027437; Tue, 9 Jun 2015 08:06:56 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5986tO2027427; Tue, 9 Jun 2015 08:06:55 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201506090806.t5986tO2027427@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Tue, 9 Jun 2015 08:06:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388902 - in head/multimedia/mkvtoolnix: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2015 08:06:56 -0000 Author: ehaupt Date: Tue Jun 9 08:06:54 2015 New Revision: 388902 URL: https://svnweb.freebsd.org/changeset/ports/388902 Log: Mark broken on FreeBSD < 10.0-RELEASE, it does not compile. Add patches that solve a problem with missing headers. A bug report has been submitted upstream. Added: head/multimedia/mkvtoolnix/files/patch-src_common_common.cpp (contents, props changed) head/multimedia/mkvtoolnix/files/patch-src_common_dts.cpp (contents, props changed) head/multimedia/mkvtoolnix/files/patch-src_common_strings_editing.h (contents, props changed) head/multimedia/mkvtoolnix/files/patch-src_input_r__dts.cpp (contents, props changed) head/multimedia/mkvtoolnix/files/patch-src_input_r__wav.cpp (contents, props changed) Modified: head/multimedia/mkvtoolnix/Makefile Modified: head/multimedia/mkvtoolnix/Makefile ============================================================================== --- head/multimedia/mkvtoolnix/Makefile Tue Jun 9 07:55:49 2015 (r388901) +++ head/multimedia/mkvtoolnix/Makefile Tue Jun 9 08:06:54 2015 (r388902) @@ -58,6 +58,10 @@ MAKE_ENV+= V=1 INSTALLS_ICONS= yes .endif +.if ${OSVERSION} < 1000000 +BROKEN= does not compile on FreeBSD < 10.0-RELEASE +.endif + do-build: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV:NPREFIX=*} ./drake ${_MAKE_JOBS}) Added: head/multimedia/mkvtoolnix/files/patch-src_common_common.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mkvtoolnix/files/patch-src_common_common.cpp Tue Jun 9 08:06:54 2015 (r388902) @@ -0,0 +1,13 @@ +--- src/common/common.cpp.orig 2015-06-08 16:28:17.092399114 +0200 ++++ src/common/common.cpp 2015-06-08 16:28:32.292398239 +0200 +@@ -30,6 +30,10 @@ + #include "common/strings/editing.h" + #include "common/translation.h" + ++#ifdef HAVE_UNISTD_H ++#include ++#endif ++ + #if !defined(LIBMATROSKA_VERSION) || (LIBMATROSKA_VERSION <= 0x000801) + #define matroska_init() + #define matroska_done() Added: head/multimedia/mkvtoolnix/files/patch-src_common_dts.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mkvtoolnix/files/patch-src_common_dts.cpp Tue Jun 9 08:06:54 2015 (r388902) @@ -0,0 +1,13 @@ +--- src/common/dts.cpp.orig 2015-06-08 14:19:36 UTC ++++ src/common/dts.cpp +@@ -19,6 +19,10 @@ + #include "common/endian.h" + #include "common/math.h" + ++#ifdef HAVE_UNISTD_H ++#include ++#endif ++ + // --------------------------------------------------------------------------- + + namespace mtx { namespace dts { Added: head/multimedia/mkvtoolnix/files/patch-src_common_strings_editing.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mkvtoolnix/files/patch-src_common_strings_editing.h Tue Jun 9 08:06:54 2015 (r388902) @@ -0,0 +1,10 @@ +--- src/common/strings/editing.h.orig 2015-06-08 16:25:26.833411779 +0200 ++++ src/common/strings/editing.h 2015-06-08 16:25:45.153412704 +0200 +@@ -43,7 +43,6 @@ + extern const std::string empty_string; + + int get_arg_len(const char *fmt, ...); +-int get_varg_len(const char *fmt, va_list ap); + + size_t utf8_strlen(const std::string &s); + Added: head/multimedia/mkvtoolnix/files/patch-src_input_r__dts.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mkvtoolnix/files/patch-src_input_r__dts.cpp Tue Jun 9 08:06:54 2015 (r388902) @@ -0,0 +1,13 @@ +--- src/input/r_dts.cpp.orig 2015-06-08 14:20:03 UTC ++++ src/input/r_dts.cpp +@@ -23,6 +23,10 @@ + #include "merge/input_x.h" + #include "output/p_dts.h" + ++#ifdef HAVE_UNISTD_H ++#include ++#endif ++ + #define READ_SIZE 16384 + + int Added: head/multimedia/mkvtoolnix/files/patch-src_input_r__wav.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/mkvtoolnix/files/patch-src_input_r__wav.cpp Tue Jun 9 08:06:54 2015 (r388902) @@ -0,0 +1,13 @@ +--- src/input/r_wav.cpp.orig 2015-06-08 14:20:26 UTC ++++ src/input/r_wav.cpp +@@ -29,6 +29,10 @@ + #include "output/p_dts.h" + #include "output/p_pcm.h" + ++#ifdef HAVE_UNISTD_H ++#include ++#endif ++ + #define AC3ACM_READ_SIZE 100000 + + wav_demuxer_c::wav_demuxer_c(wav_reader_c *reader,