Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2013 02:50:29 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/179215: biology/avida: Fix build with clang
Message-ID:  <20130603025029.494ead1ea3faf555ea1ca3b4@yahoo.com>
Resent-Message-ID: <201306021810.r52IA21w099463@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179215
>Category:       ports
>Synopsis:       biology/avida: Fix build with clang
>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:   Sun Jun 02 18:10:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build with clang

New file:
files/patch-avida-core__source__tools__tArray.h

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/biology/avida/files/patch-avida-core__source__tools__tArray.h biology/avida/files/patch-avida-core__source__tools__tArray.h
--- /usr/ports/biology/avida/files/patch-avida-core__source__tools__tArray.h	1970-01-01 09:00:00.000000000 +0900
+++ biology/avida/files/patch-avida-core__source__tools__tArray.h	2013-06-03 00:00:00.000000000 +0900
@@ -0,0 +1,10 @@
+--- avida-core/source/tools/tArray.h.orig
++++ avida-core/source/tools/tArray.h
+@@ -23,6 +23,7 @@
+ #ifndef tArray_h
+ #define tArray_h
+ 
++#include <cstdlib>
+ #include <cassert>
+ 
+ #ifndef NULL
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130603025029.494ead1ea3faf555ea1ca3b4>