Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 18:28:27 +0100 (CET)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/184974: [patch] biology/clustalw: fix build with clang/libc++
Message-ID:  <201312181728.rBIHSRvN011420@kalimero.tijl.coosemans.org>
Resent-Message-ID: <201312181730.rBIHU0jr098751@freefall.freebsd.org>

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

>Number:         184974
>Category:       ports
>Synopsis:       [patch] biology/clustalw: fix build with clang/libc++
>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:   Wed Dec 18 17:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Tijl Coosemans
>Release:        FreeBSD 11.0-CURRENT i386
>Organization:
>Environment:
>Description:
- Fix build with clang/libc++.
- Support staging.
>How-To-Repeat:
>Fix:

--- clustalw.patch begins here ---
Index: biology/clustalw/Makefile
===================================================================
--- biology/clustalw/Makefile	(revision 336709)
+++ biology/clustalw/Makefile	(working copy)
@@ -10,7 +10,7 @@ MASTER_SITES=	ftp://ftp.ebi.ac.uk/pub/so
 MASTER_SITE_SUBDIR=	${PORTVERSION}
 
 MAINTAINER=	wen@FreeBSD.org
-COMMENT=	A multiple alignment program for DNA or proteins
+COMMENT=	Multiple alignment program for DNA or proteins
 
 RESTRICTED=	No commercial use.
 
@@ -20,8 +20,7 @@ GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/clustalw bin/clustalw2
 
-NO_STAGE=	yes
 post-install:
-	${LN} -sf clustalw2 ${PREFIX}/bin/clustalw
+	${LN} -sf clustalw2 ${STAGEDIR}${PREFIX}/bin/clustalw
 
 .include <bsd.port.mk>
Index: biology/clustalw/files/patch-src-general-VectorOutOfRange.h
===================================================================
--- biology/clustalw/files/patch-src-general-VectorOutOfRange.h	(revision 0)
+++ biology/clustalw/files/patch-src-general-VectorOutOfRange.h	(working copy)
@@ -0,0 +1,10 @@
+--- src/general/VectorOutOfRange.h.orig	2013-12-18 18:06:35.000000000 +0100
++++ src/general/VectorOutOfRange.h	2013-12-18 18:07:03.000000000 +0100
+@@ -5,6 +5,7 @@
+  */
+ #include <stdexcept>
+ #include <exception>
++#include <string>
+ namespace clustalw
+ {
+ 

Property changes on: biology/clustalw/files/patch-src-general-VectorOutOfRange.h
___________________________________________________________________
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- clustalw.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?201312181728.rBIHSRvN011420>