[patch] shells/fish compiler error fix, version update
William MacKay
foobaz at gmail.com
Thu Nov 7 07:39:33 UTC 2013
The shells/fish port has failed to build on FreeBSD 10 for several
weeks. It fails with errors like:
./io.h:12:12: error: no member named 'tr1' in namespace 'std'
./io.h:183:39: error: no template named 'shared_ptr'; did you mean
'std::shared_ptr'?
This patch fixes the error by telling the compiler to use C++11. It
also updates fish from version 2.0.0 to version 2.1.0.
The patch is pasted below, or you can find it at
<http://frammish.org/fish-patch.txt>.
Will MacKay
diff -u fish-old/Makefile fish-new/Makefile
--- fish-old/Makefile 2013-11-06 23:03:53.690089207 -0800
+++ fish-new/Makefile 2013-11-06 23:28:30.750988987 -0800
@@ -2,7 +2,7 @@
# $FreeBSD: shells/fish/Makefile 328855 2013-09-30 19:58:20Z bsam $
PORTNAME= fish
-PORTVERSION= 2.0.0
+PORTVERSION= 2.1.0
CATEGORIES= shells
MASTER_SITES= http://fishshell.com/files/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}
@@ -19,7 +19,7 @@
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS= --docdir=${WRKDIR}/tmproot
-CPPFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include -std=c++11
LDFLAGS+= -L${LOCALBASE}/lib -pthread ${ICONV_LIB}
MAN1= fish.1 fish_indent.1 fish_pager.1 fishd.1 mimedb.1
diff -u fish-old/distinfo fish-new/distinfo
--- fish-old/distinfo 2013-11-06 23:03:53.691088871 -0800
+++ fish-new/distinfo 2013-11-06 23:26:33.274022156 -0800
@@ -1,2 +1,2 @@
-SHA256 (fish-2.0.0.tar.gz) =
7e4c4a0b3c518769a3d31b235e743de7a8d52f851ad19d2df9d53534e6238303
-SIZE (fish-2.0.0.tar.gz) = 1540652
+SHA256 (fish-2.1.0.tar.gz) =
af527af9d145df5675ca3031c1a87007d4f4753a1cde49da88f4eb883a1cf044
+SIZE (fish-2.1.0.tar.gz) = 1707921
More information about the freebsd-ports
mailing list