Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2019 05:47:20 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r494551 - head/devel/gzstream
Message-ID:  <201903040547.x245lKpa049763@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Mar  4 05:47:19 2019
New Revision: 494551
URL: https://svnweb.freebsd.org/changeset/ports/494551

Log:
  devel/gzstream: unbreak with libc++ 8
  
  In file included from gzstream.C:29:
  In file included from ./gzstream.h:33:
  In file included from /usr/include/c++/v1/iostream:38:
  In file included from /usr/include/c++/v1/ios:216:
  In file included from /usr/include/c++/v1/__locale:15:
  In file included from /usr/include/c++/v1/string:505:
  In file included from /usr/include/c++/v1/string_view:176:
  In file included from /usr/include/c++/v1/__string:57:
  In file included from /usr/include/c++/v1/algorithm:640:
  In file included from /usr/include/c++/v1/initializer_list:47:
  In file included from /usr/include/c++/v1/cstddef:38:
  ./version:1:1: error: expected unqualified-id
  1.5 (08 Jan 2003)
  ^
  
  PR:		236192

Modified:
  head/devel/gzstream/Makefile   (contents, props changed)

Modified: head/devel/gzstream/Makefile
==============================================================================
--- head/devel/gzstream/Makefile	Mon Mar  4 05:38:22 2019	(r494550)
+++ head/devel/gzstream/Makefile	Mon Mar  4 05:47:19 2019	(r494551)
@@ -20,11 +20,12 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 PLIST_FILES=	lib/lib${PORTNAME}.so lib/lib${PORTNAME}.so.0 \
 		include/${PORTNAME}.h
 ALL_TARGET=	default
-CFLAGS+=	-fPIC -I.
+CFLAGS+=	-fPIC -iquote.
 
 post-patch:
 	@${REINPLACE_CMD} -e 's/=/?=/;s/\.a/.so/g;s/CPPFL/CXXFL/g;\
 		s/{AR}/{CC} $${CFLAGS} -lz -shared -Wl,-soname=lib${PORTNAME}.so.0 -o/' ${WRKSRC}/${MAKEFILE}
+	@${REINPLACE_CMD} -e '/gzstream\.h/y/<>/""/' ${WRKSRC}/gzstream.C
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/lib${PORTNAME}.so ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0



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