From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Dec 7 17:00:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82AAC676 for ; Sat, 7 Dec 2013 17:00:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 561CB1931 for ; Sat, 7 Dec 2013 17:00:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rB7H0164030608 for ; Sat, 7 Dec 2013 17:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rB7H01du030607; Sat, 7 Dec 2013 17:00:01 GMT (envelope-from gnats) Resent-Date: Sat, 7 Dec 2013 17:00:01 GMT Resent-Message-Id: <201312071700.rB7H01du030607@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Christoph Moench-Tegeder Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26C58668 for ; Sat, 7 Dec 2013 16:59:51 +0000 (UTC) Received: from smtp.burggraben.net (base.exwg.net [IPv6:2a01:4f8:140:50a2::2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id AAEA61926 for ; Sat, 7 Dec 2013 16:59:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 4DA3D60008B for ; Sat, 7 Dec 2013 17:59:49 +0100 (CET) Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g+8-Yn-Hbbvf for ; Sat, 7 Dec 2013 17:59:48 +0100 (CET) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7b43:1:6a05:caff:fe01:aae9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Sat, 7 Dec 2013 17:59:48 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id F206831016; Sat, 7 Dec 2013 17:59:46 +0100 (CET) Message-Id: <20131207165946.F206831016@elch.exwg.net> Date: Sat, 7 Dec 2013 17:59:46 +0100 (CET) From: Christoph Moench-Tegeder To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/184569: math/octave-forge-paralles : fix build with gcc47 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Christoph Moench-Tegeder List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Dec 2013 17:00:01 -0000 >Number: 184569 >Category: ports >Synopsis: math/octave-forge-paralles : fix build with gcc47 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Dec 07 17:00:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Christoph Moench-Tegeder >Release: FreeBSD 9.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD elch.exwg.net 9.2-RELEASE FreeBSD 9.2-RELEASE #11 r255911: Fri Sep 27 17:09:40 CEST 2013 cmt@elch.exwg.net:/usr/obj/usr/src/sys/ELCH amd64 lang/gcc47 gcc47-4.7.4.20131130 math/octave-forge-parallel octave-forge-parallel-2.0.5_5 >Description: Hi, in an effort towards upgrading lang/gcc to gcc 4.7, I'm helping gerald@ in making ports gcc47-safe. Please consider the following patch to your port. If you approve of the patch, gerald@ has offered his help in commiting it. If you're commiting yourself or have someone else commit this (or another patch to the same effect), can you please add an additional reference to ports/183342 in the commit message? In my test environment, the port built successfully with lang/gcc47. >How-To-Repeat: >Fix: GCC 4.7 dows not include sys/types.h and unistd.h on it's own anymore. # add sys/types.h and unistd.h in a number of files $ svn status A files/patch-connect.cc A files/patch-pserver.cc A files/patch-recv.c A files/patch-send.cc Index: files/patch-connect.cc =================================================================== --- files/patch-connect.cc (revision 0) +++ files/patch-connect.cc (working copy) @@ -0,0 +1,12 @@ +--- connect.cc.orig 2013-11-16 22:26:59.000000000 +0100 ++++ connect.cc 2013-11-16 22:27:54.000000000 +0100 +@@ -25,7 +25,9 @@ + #include + #include + ++#include + #include ++#include + #include + #include + #include // reported necessary for FreeBSD-8 Index: files/patch-pserver.cc =================================================================== --- files/patch-pserver.cc (revision 0) +++ files/patch-pserver.cc (working copy) @@ -0,0 +1,19 @@ +--- pserver.cc.orig 2013-11-16 22:30:37.000000000 +0100 ++++ pserver.cc 2013-11-16 22:31:47.000000000 +0100 +@@ -27,6 +27,7 @@ + #include + #include + ++#include + #include + #include + #include +@@ -34,6 +35,8 @@ + #include + #include + #include // reported necessary for FreeBSD-8 ++#include ++#include + + #include "sock-stream.h" + Index: files/patch-recv.c =================================================================== --- files/patch-recv.c (revision 0) +++ files/patch-recv.c (working copy) @@ -0,0 +1,14 @@ +--- recv.cc.orig 2013-11-16 22:29:55.000000000 +0100 ++++ recv.cc 2013-11-16 22:30:24.000000000 +0100 +@@ -22,9 +22,11 @@ + #include + #include + ++#include + #include + #include + #include ++#include + #include + + Index: files/patch-send.cc =================================================================== --- files/patch-send.cc (revision 0) +++ files/patch-send.cc (working copy) @@ -0,0 +1,15 @@ +--- send.cc.orig 2013-11-16 22:35:29.000000000 +0100 ++++ send.cc 2013-11-16 22:35:56.000000000 +0100 +@@ -21,10 +21,12 @@ + #include + #include + ++#include + #include + #include + #include + #include ++#include + + + DEFUN_DLD (send, args, , "send (X, sockets)\n\ Regards, Christoph >Release-Note: >Audit-Trail: >Unformatted: