Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Feb 2015 22:06:01 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379559 - head/security/libssh
Message-ID:  <201502212206.t1LM61JQ000854@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Feb 21 22:06:00 2015
New Revision: 379559
URL: https://svnweb.freebsd.org/changeset/ports/379559
QAT: https://qat.redports.org/buildarchive/r379559/

Log:
  devel/libssh: Remove -pedantic-error flags and reset port
  
  This port breaks if it violates standards according to the -pedantic flag.
  Accord to gcc-5, it indeed does with dozens of warnings like this:
  
  /wrkdirs/security/libssh/work/libssh-0.6.3/include/libssh/priv.h:200:33:
    error: ISO C does not support '__FUNCTION__' predefined identifier
    [-Wpedantic] _ssh_set_error(error, code, __FUNCTION__, __VA_ARGS__)
  
  The maintainer has been MIA for over a year with PRs on 8 ports.  I'm not
  waiting for this one to time out too.  While here, reset MAINTAINER.
  
  PR:		197785
  Submitted by:	marino
  Approved by:	maintainer reset

Modified:
  head/security/libssh/Makefile

Modified: head/security/libssh/Makefile
==============================================================================
--- head/security/libssh/Makefile	Sat Feb 21 22:01:01 2015	(r379558)
+++ head/security/libssh/Makefile	Sat Feb 21 22:06:00 2015	(r379559)
@@ -7,7 +7,7 @@ PORTREVISION=	1
 CATEGORIES=	security devel
 MASTER_SITES=	https://red.libssh.org/attachments/download/87/
 
-MAINTAINER=	fluffy@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library implementing the SSH1 and SSH2 protocol
 
 LICENSE=	LGPL21
@@ -49,5 +49,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|-lssh_threads|-lssh_threads ${PTHREAD_LIBS}|' \
 		-e 's|$${INCLUDE_INSTALL_DIR}|$${INCLUDE_INSTALL_DIR} ${PTHREAD_CFLAGS}|' \
 		${WRKSRC}/libssh_threads.pc.cmake
+	@${REINPLACE_CMD} -e 's| -pedantic-errors||' \
+		${WRKSRC}/cmake/Modules/DefineCompilerFlags.cmake
 
 .include <bsd.port.mk>



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