Date: Thu, 26 Sep 2013 16:26:21 GMT From: Gustau Pérez i Querol <gustau.perez@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182415: [PATCH] Fix build of games/brutalchess with clang Message-ID: <201309261626.r8QGQL90057177@oldred.freebsd.org> Resent-Message-ID: <201309261630.r8QGU0BO083194@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182415 >Category: ports >Synopsis: [PATCH] Fix build of games/brutalchess with clang >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: Thu Sep 26 16:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Gustau Pérez i Querol >Release: FreeBSD HED r255411 >Organization: >Environment: FreeBSD hast16 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r255411+a9b6160 >Description: The build of games/brutalchess fails after the removal of gcc in base. The full URL of the build fail is: http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2013-09-26_00h44m15s/logs/brutalchess-0.5.2_10.log The attached shar file contains two patches that fix the build. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # patch-src-xboardplayer.cpp # patch-src-faileplayer.cpp # echo x - patch-src-xboardplayer.cpp sed 's/^X//' >patch-src-xboardplayer.cpp << '1f075925c8dc060960afdf3397e1380f' X--- src/xboardplayer.cpp.orig 2013-09-26 17:56:11.459895168 +0000 X+++ src/xboardplayer.cpp 2013-09-26 17:56:28.541896823 +0000 X@@ -14,6 +14,7 @@ X #include <cassert> X #include <sstream> X #include <string> X+#include <unistd.h> X X using namespace std; X 1f075925c8dc060960afdf3397e1380f echo x - patch-src-faileplayer.cpp sed 's/^X//' >patch-src-faileplayer.cpp << 'f77d845599e8454183b837b34570fa8f' X--- src/faileplayer.cpp.orig 2013-09-26 17:56:03.930896577 +0000 X+++ src/faileplayer.cpp 2013-09-26 17:56:21.336893851 +0000 X@@ -14,6 +14,7 @@ X #include <cassert> X #include <sstream> X #include <string> X+#include <unistd.h> X X using namespace std; X f77d845599e8454183b837b34570fa8f exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309261626.r8QGQL90057177>