From owner-freebsd-multimedia@FreeBSD.ORG Mon Jun 7 08:50:41 2010 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E558B1065673; Mon, 7 Jun 2010 08:50:41 +0000 (UTC) (envelope-from avg@pautina.in.ua) Received: from smtp.pautina-nau.net (smtp.pautina-nau.net [194.0.89.243]) by mx1.freebsd.org (Postfix) with ESMTP id A11A88FC1E; Mon, 7 Jun 2010 08:50:41 +0000 (UTC) Received: from [92.249.64.71] (helo=trant.local.) by smtp.pautina-nau.net with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1OLY2a-0001Hl-Mj; Mon, 07 Jun 2010 11:50:40 +0300 Received: from trant.local. (localhost [127.0.0.1]) by trant.local. (8.14.4/8.14.4) with ESMTP id o578oe5g078060; Mon, 7 Jun 2010 11:50:40 +0300 (EEST) (envelope-from avg@trant.local) Received: (from root@localhost) by trant.local. (8.14.4/8.14.4/Submit) id o578oe6Q078059; Mon, 7 Jun 2010 11:50:40 +0300 (EEST) (envelope-from avg) Date: Mon, 7 Jun 2010 11:50:40 +0300 (EEST) Message-Id: <201006070850.o578oe6Q078059@trant.local.> To: FreeBSD-gnats-submit@freebsd.org From: Andriy Gapon X-send-pr-version: 3.113 X-GNATS-Notify: X-Sender-IP: 92.249.64.71 X-Sender-User: unknown Cc: multimedia@freebsd.org Subject: [PATCH] multimedia/mkvtoolnix: fix compilation with gcc44 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jun 2010 08:50:42 -0000 >Submitter-Id: current-users >Originator: Andriy Gapon >Organization: >Confidential: no >Synopsis: [PATCH] multimedia/mkvtoolnix: fix compilation with gcc44 >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 9.0-CURRENT amd64 >Environment: >Description: I am trying to use lang/gcc44 to build as much of my ports as possible. Many ports including this one have problems outlined here: http://gcc.gnu.org/gcc-4.3/porting_to.html under section "Header dependency cleanup" Added file(s): - files/patch-src_common_strings_editing.h Port maintainer (multimedia@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99 Patchfile created via update-patches target. Testing note: To test this change a patch from ports/147639 is need as a prerequisite and LDFLAGS should have -Wl,-rpath-link=/usr/local/lib/gcc44:/lib:/usr/lib in them. Otherwise configure target would not succeed. This is because software's configure script uses C compiler (gcc44) to link a program with a shared library compiled from C++ code. This works only by chance with a base compiler. >How-To-Repeat: >Fix: --- mkvtoolnix-3.3.0_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/multimedia/mkvtoolnix.orig/files/patch-src_common_strings_editing.h /usr/ports/multimedia/mkvtoolnix/files/patch-src_common_strings_editing.h --- /usr/ports/multimedia/mkvtoolnix.orig/files/patch-src_common_strings_editing.h 1970-01-01 03:00:00.000000000 +0300 +++ /usr/ports/multimedia/mkvtoolnix/files/patch-src_common_strings_editing.h 2010-06-07 11:43:38.995345630 +0300 @@ -0,0 +1,10 @@ +--- src/common/strings/editing.h.orig 2010-06-07 11:37:20.115133180 +0300 ++++ src/common/strings/editing.h 2010-06-07 11:37:40.477006374 +0300 +@@ -16,6 +16,7 @@ + + #include "common/os.h" + ++#include + #include + #include + --- mkvtoolnix-3.3.0_2.patch ends here ---