ports/183905: [PATCH] devel/gsoap: MAke debug builds C++11 compatible
Michael Gmelin
freebsd at grem.de
Tue Nov 12 19:20:01 UTC 2013
>Number: 183905
>Category: ports
>Synopsis: [PATCH] devel/gsoap: MAke debug builds C++11 compatible
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Nov 12 19:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Michael Gmelin
>Release: FreeBSD 9.1-RELEASE-p2 amd64
>Organization:
Grem Equity GmbH
>Environment:
System: FreeBSD bsd64.grem.de 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #5 r249052M: Fri May 31 17:50:16 UTC
>Description:
gsoap's debug macros contain invalid C++11, I already filed
a patch upstream, the one attached fixes it for the port in
and the current release version.
See also: https://sourceforge.net/p/gsoap2/patches/109/
Port maintainer (sem at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_7 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:
--- gsoap-2.8.10_2.patch begins here ---
diff -ruN ../gsoap.orig/Makefile ./Makefile
--- ../gsoap.orig/Makefile 2013-11-12 19:33:53.817070148 +0100
+++ ./Makefile 2013-11-12 19:33:06.007244597 +0100
@@ -3,7 +3,7 @@
PORTNAME= gsoap
PORTVERSION= 2.8.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}2/gSOAP
DISTNAME= ${PORTNAME}_${PORTVERSION}
diff -ruN ../gsoap.orig/files/patch-gsoap-stdsoap2.h ./files/patch-gsoap-stdsoap2.h
--- ../gsoap.orig/files/patch-gsoap-stdsoap2.h 2013-11-12 19:33:53.558569137 +0100
+++ ./files/patch-gsoap-stdsoap2.h 2013-11-12 19:47:32.957169238 +0100
@@ -1,6 +1,6 @@
--- gsoap/stdsoap2.h.orig 2008-01-27 22:02:36.000000000 +0100
+++ gsoap/stdsoap2.h 2008-07-04 12:35:55.000000000 +0200
-@@ -292,9 +292,6 @@
+@@ -314,9 +314,6 @@
# define HAVE_STRRCHR
# define HAVE_STRTOD
# define HAVE_SSCANF
@@ -10,3 +10,16 @@
# define HAVE_STRTOL
# define HAVE_STRTOUL
# define HAVE_STRTOLL
+@@ -1462,9 +1465,9 @@
+ # endif
+ # ifndef DBGFUN
+ # define DBGFUN(FNAME) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s()\n", __FILE__, __LINE__, FNAME))
+-# define DBGFUN1(FNAME, FMT, ARG) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s("FMT")\n", __FILE__, __LINE__, FNAME, (ARG)))
+-# define DBGFUN2(FNAME, FMT1, ARG1, FMT2, ARG2) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s("FMT1", "FMT2")\n", __FILE__, __LINE__, FNAME, (ARG1), (ARG2)))
+-# define DBGFUN3(FNAME, FMT1, ARG1, FMT2, ARG2, FMT3, ARG3) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s("FMT1", "FMT2", "FMT3")\n", __FILE__, __LINE__, FNAME, (ARG1), (ARG2), (ARG3)))
++# define DBGFUN1(FNAME, FMT, ARG) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s(" FMT ")\n", __FILE__, __LINE__, FNAME, (ARG)))
++# define DBGFUN2(FNAME, FMT1, ARG1, FMT2, ARG2) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s(" FMT1 ", " FMT2 ")\n", __FILE__, __LINE__, FNAME, (ARG1), (ARG2)))
++# define DBGFUN3(FNAME, FMT1, ARG1, FMT2, ARG2, FMT3, ARG3) DBGLOG(TEST, SOAP_MESSAGE(fdebug, "%s(%d): %s(" FMT1 ", " FMT2 ", " FMT3 ")\n", __FILE__, __LINE__, FNAME, (ARG1), (ARG2), (ARG3)))
+ # endif
+ # ifndef DBGHEX
+ # define DBGHEX(DBGFILE, MSG, LEN) \
--- gsoap-2.8.10_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list