Date: Fri, 27 Aug 2010 22:38:10 GMT From: Ganael Laplanche <ganael.laplanche@martymac.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/150055: Port fix: archivers/par2cmdline-tbb - Allow build with gcc44 Message-ID: <201008272238.o7RMcAGC079443@www.freebsd.org> Resent-Message-ID: <201008272240.o7RMe7kr067106@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 150055 >Category: ports >Synopsis: Port fix: archivers/par2cmdline-tbb - Allow build with gcc44 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Aug 27 22:40:07 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Ganael Laplanche >Release: 8.0-STABLE >Organization: http://contribs.martymac.org >Environment: FreeBSD home.martymac.com 8.0-STABLE FreeBSD 8.0-STABLE #6: Wed Apr 28 10:33:53 UTC 2010 root@home.martymac.com:/usr/obj/usr/src/sys/MYKERNEL amd64 >Description: Par2cmdline-tbb uses auto_ptr without including <memory>. Building with base gcc is OK, but fails with gcc44. The attached patch fixes that issue. Submitted by: Andriy Gapon <avg@icyb.net.ua> >How-To-Repeat: >Fix: Patch attached with submission follows: diff -aurN par2cmdline-tbb.orig/files/patch-par2cmdline.h par2cmdline-tbb/files/patch-par2cmdline.h --- par2cmdline-tbb.orig/files/patch-par2cmdline.h 1970-01-01 01:00:00.000000000 +0100 +++ par2cmdline-tbb/files/patch-par2cmdline.h 2010-08-28 00:22:25.156508110 +0200 @@ -0,0 +1,10 @@ +--- par2cmdline.h.orig 2010-08-28 00:21:07.730518551 +0200 ++++ par2cmdline.h 2010-08-28 00:21:42.779186595 +0200 +@@ -428,6 +428,7 @@ + #include <vector> + #include <map> + #include <algorithm> ++#include <memory> + + #include <ctype.h> + #include <iostream> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008272238.o7RMcAGC079443>