From owner-svn-ports-head@FreeBSD.ORG Sat Sep 7 15:45:24 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EEEA26FF; Sat, 7 Sep 2013 15:45:23 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CC6862747; Sat, 7 Sep 2013 15:45:23 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r87FjNlq082214; Sat, 7 Sep 2013 15:45:23 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r87FjNNk082212; Sat, 7 Sep 2013 15:45:23 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201309071545.r87FjNNk082212@svn.freebsd.org> From: Pietro Cerutti Date: Sat, 7 Sep 2013 15:45:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326642 - in head/net-p2p/dclib: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 15:45:24 -0000 Author: gahr Date: Sat Sep 7 15:45:23 2013 New Revision: 326642 URL: http://svnweb.freebsd.org/changeset/ports/326642 Log: - Fix build on CURRENT (change in OpenSSL API) - While at it, trim Makefile headers and use new LIB_DEPENDS format Reported by: pkg-fallout Added: head/net-p2p/dclib/files/extra-dclib-core_cssl.cpp (contents, props changed) Modified: head/net-p2p/dclib/Makefile (contents, props changed) Modified: head/net-p2p/dclib/Makefile ============================================================================== --- head/net-p2p/dclib/Makefile Sat Sep 7 14:56:48 2013 (r326641) +++ head/net-p2p/dclib/Makefile Sat Sep 7 15:45:23 2013 (r326642) @@ -1,11 +1,6 @@ -# ex: ts=8 -# New ports collection makefile for: dclib -# Date created: Wed 10 Jul 2002 -# Whom: Sverrir Valgeirsson and -# Amar Takhar et al -# +# Created by: Sverrir Valgeirsson and +# Amar Takhar et al # $FreeBSD$ -# PORTNAME= dclib PORTVERSION= 0.3.23 @@ -16,7 +11,7 @@ MASTER_SITES= SF/wxdcgui/${PORTNAME}/${P MAINTAINER= gahr@FreeBSD.org COMMENT= Direct connect interface library for valknut -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg +LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg WRKSRC= ${WRKDIR}/${DISTNAME} @@ -27,6 +22,12 @@ USE_GNOME= libxml2 CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +.include + +.if ${OSVERSION} >= 1000015 +EXTRA_PATCHES= ${FILESDIR}/extra-dclib-core_cssl.cpp +.endif + post-extract: ${CHMOD} 0755 ${WRKSRC}/admin/install-sh @@ -41,4 +42,4 @@ post-patch: ${REINPLACE_CMD} -e 's|-D_XOPEN_SOURCE=500||g; \ s|-D_BSD_SOURCE||g' ${WRKSRC}/configure ${WRKSRC}/configure.in -.include +.include Added: head/net-p2p/dclib/files/extra-dclib-core_cssl.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-p2p/dclib/files/extra-dclib-core_cssl.cpp Sat Sep 7 15:45:23 2013 (r326642) @@ -0,0 +1,38 @@ +--- dclib/core/cssl.cpp.orig 2013-09-07 16:26:31.000000000 +0200 ++++ dclib/core/cssl.cpp 2013-09-07 16:28:11.000000000 +0200 +@@ -86,7 +86,7 @@ + /** */ + SSL_CTX * CSSL::InitClientCTX() + { +- SSL_METHOD *method; ++ const SSL_METHOD *method; + SSL_CTX *ctx = NULL; + + method = SSLv23_client_method(); /* Create new client-method instance */ +@@ -109,7 +109,7 @@ + /** */ + SSL_CTX * CSSL::InitServerCTX() + { +- SSL_METHOD *method; ++ const SSL_METHOD *method; + SSL_CTX *ctx = NULL; + + method = SSLv23_server_method(); /* Create new client-method instance */ +@@ -130,7 +130,7 @@ + /** */ + SSL_CTX * CSSL::NewTLSv1ClientCTX() + { +- SSL_METHOD * method = TLSv1_client_method(); ++ const SSL_METHOD * method = TLSv1_client_method(); + SSL_CTX * ctx = NULL; + + if ( method != NULL ) +@@ -149,7 +149,7 @@ + /** */ + SSL_CTX * CSSL::NewTLSv1ServerCTX() + { +- SSL_METHOD * method = TLSv1_server_method(); ++ const SSL_METHOD * method = TLSv1_server_method(); + SSL_CTX * ctx = NULL; + + if ( method != NULL )