From owner-svn-ports-head@FreeBSD.ORG Tue Jun 9 14:09:04 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 2BB79348; Tue, 9 Jun 2015 14:09:04 +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 19F1318BE; Tue, 9 Jun 2015 14:09:04 +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 t59E93MA005685; Tue, 9 Jun 2015 14:09:03 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t59E931s005683; Tue, 9 Jun 2015 14:09:03 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <201506091409.t59E931s005683@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 14:09:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388936 - head/multimedia/mkvtoolnix 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 14:09:04 -0000 Author: ehaupt Date: Tue Jun 9 14:09:03 2015 New Revision: 388936 URL: https://svnweb.freebsd.org/changeset/ports/388936 Log: Fix build on FreeBSD 8/9. Thanks to tijl@ for the solution. Modified: head/multimedia/mkvtoolnix/Makefile Modified: head/multimedia/mkvtoolnix/Makefile ============================================================================== --- head/multimedia/mkvtoolnix/Makefile Tue Jun 9 13:58:24 2015 (r388935) +++ head/multimedia/mkvtoolnix/Makefile Tue Jun 9 14:09:03 2015 (r388936) @@ -59,7 +59,27 @@ INSTALLS_ICONS= yes .endif .if ${OSVERSION} < 1000000 -BROKEN= does not compile on FreeBSD < 10.0-RELEASE +post-patch: + @${REINPLACE_CMD} -e 's|std::llround|llround|g' \ + ${WRKSRC}/src/common/hevc.cpp \ + ${WRKSRC}/src/common/mpeg4_p10.cpp \ + ${WRKSRC}/src/common/theora.cpp \ + ${WRKSRC}/src/extract/cuesheets.cpp \ + ${WRKSRC}/src/extract/xtr_avi.cpp \ + ${WRKSRC}/src/info/mkvinfo.cpp \ + ${WRKSRC}/src/input/r_avi.cpp \ + ${WRKSRC}/src/input/r_matroska.cpp \ + ${WRKSRC}/src/input/r_ogm.cpp \ + ${WRKSRC}/src/input/r_tta.cpp \ + ${WRKSRC}/src/merge/cluster_helper.h \ + ${WRKSRC}/src/merge/generic_packetizer.cpp \ + ${WRKSRC}/src/merge/output_control.cpp \ + ${WRKSRC}/src/merge/timecode_factory.h \ + ${WRKSRC}/src/output/p_dirac.cpp \ + ${WRKSRC}/src/output/p_hevc.cpp \ + ${WRKSRC}/src/output/p_mpeg4_p10.cpp \ + ${WRKSRC}/src/output/p_tta.cpp \ + ${WRKSRC}/src/output/p_wavpack.cpp .endif do-build: