From tkato432@yahoo.com  Wed Mar 19 18:31:36 2014
Return-Path: <tkato432@yahoo.com>
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 ESMTPS id 8E0814C4
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 19 Mar 2014 18:31:36 +0000 (UTC)
Received: from omta02.auone-net.jp (mail-or1-f17.auone-net.jp [106.187.231.17])
	by mx1.freebsd.org (Postfix) with ESMTP id 61575BFF
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 19 Mar 2014 18:31:36 +0000 (UTC)
Received: from coppermine.my.domain (ZT028161.ppp.dion.ne.jp [59.128.28.161])
	by omta02.auone-net.jp (au one net mail) with ESMTP id 7D09B1560005
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 20 Mar 2014 03:31:33 +0900 (JST)
Message-Id: <20140320032619.d70c652ae0b62427cc8bcffc@yahoo.com>
Date: Thu, 20 Mar 2014 03:26:19 +0900
From: KATO Tsuguru <tkato432@yahoo.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: net/easysoap: Fix build on -current

>Number:         187762
>Category:       ports
>Synopsis:       net/easysoap: Fix build on -current
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 19 18:40:08 UTC 2014
>Closed-Date:    Sat May 17 08:54:36 UTC 2014
>Last-Modified:  Sat May 17 08:54:36 UTC 2014
>Originator:     KATO Tsuguru
>Release:        FreeBSD 8.4-RELEASE-p7 i386
>Organization:
>Environment:
>Description:
- Fix build on -current
- Add LICENSE

New file:
files/patch-src__SOAPSSLContext.cpp

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/easysoap/Makefile net/easysoap/Makefile
--- /usr/ports/net/easysoap/Makefile	2014-03-02 00:23:55.000000000 +0900
+++ net/easysoap/Makefile	2014-03-20 00:00:00.000000000 +0900
@@ -3,7 +3,7 @@
 
 PORTNAME=	easysoap
 PORTVERSION=	0.8.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/SWANSONG
 DISTNAME=	EasySoap++-${PORTVERSION}
@@ -11,22 +11,16 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ SOAP Library based on expat
 
-LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
+LICENSE=	LGPL21
+
+LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
 
 USE_OPENSSL=	yes
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
-CPPFLAGS+=	-I${LOCALBASE}/include
+USE_AUTOTOOLS=	libtool
+CONFIGURE_ENV=	ac_cv_lib_stdcpp_main=no
 USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
-	    ${WRKSRC}/configure
-
-post-install:
-	@${RM} -f ${PREFIX}/lib/libeasysoap.la
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/net/easysoap/files/patch-src__SOAPSSLContext.cpp net/easysoap/files/patch-src__SOAPSSLContext.cpp
--- /usr/ports/net/easysoap/files/patch-src__SOAPSSLContext.cpp	1970-01-01 09:00:00.000000000 +0900
+++ net/easysoap/files/patch-src__SOAPSSLContext.cpp	2014-03-20 00:00:00.000000000 +0900
@@ -0,0 +1,23 @@
+--- src/SOAPSSLContext.cpp.orig
++++ src/SOAPSSLContext.cpp
+@@ -143,16 +143,16 @@
+         switch(methodType)
+         {
+         case SOAPSSLContext::SSL_v2:
+-                method = SSLv2_client_method();
++                method = const_cast<SSL_METHOD*>(SSLv2_client_method());
+                 break;
+         case SOAPSSLContext::SSL_v23:
+-                method = SSLv23_client_method();
++                method = const_cast<SSL_METHOD*>(SSLv23_client_method());
+                 break; 
+         case SOAPSSLContext::SSL_v3:
+-                method = SSLv3_client_method();
++                method = const_cast<SSL_METHOD*>(SSLv3_client_method());
+                 break; 
+         case SOAPSSLContext::TLS_v1:
+-                method = TLSv1_client_method();
++                method = const_cast<SSL_METHOD*>(TLSv1_client_method());
+                 break; 
+         default:
+                 break;
diff -urN /usr/ports/net/easysoap/pkg-plist net/easysoap/pkg-plist
--- /usr/ports/net/easysoap/pkg-plist	2014-01-23 04:12:00.000000000 +0900
+++ net/easysoap/pkg-plist	2014-03-20 00:00:00.000000000 +0900
@@ -41,6 +41,7 @@
 include/easysoap/es_msvc.h
 include/easysoap/es_mwerks.h
 lib/libeasysoap.a
+lib/libeasysoap.la
 lib/libeasysoap.so
 lib/libeasysoap.so.0
 @dirrm include/easysoap
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Mar 19 18:40:56 UTC 2014 
Responsible-Changed-Why:  
miwi@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187762 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/187762: commit references a PR
Date: Sat, 26 Apr 2014 02:36:58 +0000 (UTC)

 Author: miwi
 Date: Sat Apr 26 02:36:52 2014
 New Revision: 352217
 URL: http://svnweb.freebsd.org/changeset/ports/352217
 QAT: https://qat.redports.org/buildarchive/r352217/
 
 Log:
   - Fix build on -current
   - Add LICENSE
   - Stage support
   
   PR:		187762
   Submitted by:	ports fury
 
 Added:
   head/net/easysoap/files/patch-src__SOAPSSLContext.cpp   (contents, props changed)
 Modified:
   head/net/easysoap/Makefile
   head/net/easysoap/pkg-plist
 
 Modified: head/net/easysoap/Makefile
 ==============================================================================
 --- head/net/easysoap/Makefile	Sat Apr 26 02:35:37 2014	(r352216)
 +++ head/net/easysoap/Makefile	Sat Apr 26 02:36:52 2014	(r352217)
 @@ -3,7 +3,7 @@
  
  PORTNAME=	easysoap
  PORTVERSION=	0.8.0
 -PORTREVISION=	3
 +PORTREVISION=	4
  CATEGORIES=	net
  MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/SWANSONG
  DISTNAME=	EasySoap++-${PORTVERSION}
 @@ -11,22 +11,16 @@ DISTNAME=	EasySoap++-${PORTVERSION}
  MAINTAINER=	ports@FreeBSD.org
  COMMENT=	C++ SOAP Library based on expat
  
 -LIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
 +LICENSE=	LGPL21
 +
 +LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
  
  USE_OPENSSL=	yes
 -GNU_CONFIGURE=	yes
 -CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib"
 -CPPFLAGS+=	-I${LOCALBASE}/include
 +USE_AUTOTOOLS=	libtool
 +CONFIGURE_ENV=	ac_cv_lib_stdcpp_main=no
  USE_LDCONFIG=	yes
  
 -NO_STAGE=	yes
 -.include <bsd.port.pre.mk>
 -
 -post-patch:
 -	@${REINPLACE_CMD} -e 's|echo aout|echo elf|g' \
 -	    ${WRKSRC}/configure
 -
 -post-install:
 -	@${RM} -f ${PREFIX}/lib/libeasysoap.la
 +CPPFLAGS+=	-I${LOCALBASE}/include
 +LDFLAGS+=	-L${LOCALBASE}/lib
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 
 Added: head/net/easysoap/files/patch-src__SOAPSSLContext.cpp
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/net/easysoap/files/patch-src__SOAPSSLContext.cpp	Sat Apr 26 02:36:52 2014	(r352217)
 @@ -0,0 +1,23 @@
 +--- src/SOAPSSLContext.cpp.orig
 ++++ src/SOAPSSLContext.cpp
 +@@ -143,16 +143,16 @@
 +         switch(methodType)
 +         {
 +         case SOAPSSLContext::SSL_v2:
 +-                method = SSLv2_client_method();
 ++                method = const_cast<SSL_METHOD*>(SSLv2_client_method());
 +                 break;
 +         case SOAPSSLContext::SSL_v23:
 +-                method = SSLv23_client_method();
 ++                method = const_cast<SSL_METHOD*>(SSLv23_client_method());
 +                 break; 
 +         case SOAPSSLContext::SSL_v3:
 +-                method = SSLv3_client_method();
 ++                method = const_cast<SSL_METHOD*>(SSLv3_client_method());
 +                 break; 
 +         case SOAPSSLContext::TLS_v1:
 +-                method = TLSv1_client_method();
 ++                method = const_cast<SSL_METHOD*>(TLSv1_client_method());
 +                 break; 
 +         default:
 +                 break;
 
 Modified: head/net/easysoap/pkg-plist
 ==============================================================================
 --- head/net/easysoap/pkg-plist	Sat Apr 26 02:35:37 2014	(r352216)
 +++ head/net/easysoap/pkg-plist	Sat Apr 26 02:36:52 2014	(r352217)
 @@ -41,6 +41,7 @@ include/easysoap/es_config.h
  include/easysoap/es_msvc.h
  include/easysoap/es_mwerks.h
  lib/libeasysoap.a
 +lib/libeasysoap.la
  lib/libeasysoap.so
  lib/libeasysoap.so.0
  @dirrm include/easysoap
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat May 17 08:54:36 UTC 2014 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=187762 
>Unformatted:
