Date: Mon, 7 Jun 2010 11:50:40 +0300 (EEST) From: Andriy Gapon <avg@icyb.net.ua> To: FreeBSD-gnats-submit@FreeBSD.org Cc: multimedia@FreeBSD.org Subject: ports/147643: [PATCH] multimedia/mkvtoolnix: fix compilation with gcc44 Message-ID: <201006070850.o578oe6Q078059@trant.local.> Resent-Message-ID: <201006070900.o5790Gdh086292@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 147643 >Category: ports >Synopsis: [PATCH] multimedia/mkvtoolnix: fix compilation with gcc44 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jun 07 09:00:16 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andriy Gapon >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >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 <cstdarg> + #include <string> + #include <vector> + --- mkvtoolnix-3.3.0_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006070850.o578oe6Q078059>