From owner-svn-ports-head@FreeBSD.ORG Mon Oct 7 18:01:16 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 3AEC6D9C; Mon, 7 Oct 2013 18:01:16 +0000 (UTC) (envelope-from jhale@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 27B79262B; Mon, 7 Oct 2013 18:01:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r97I1Gkg064547; Mon, 7 Oct 2013 18:01:16 GMT (envelope-from jhale@svn.freebsd.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r97I1FZZ064524; Mon, 7 Oct 2013 18:01:15 GMT (envelope-from jhale@svn.freebsd.org) Message-Id: <201310071801.r97I1FZZ064524@svn.freebsd.org> From: "Jason E. Hale" Date: Mon, 7 Oct 2013 18:01:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329716 - head/finance/libofx/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: Mon, 07 Oct 2013 18:01:16 -0000 Author: jhale Date: Mon Oct 7 18:01:15 2013 New Revision: 329716 URL: http://svnweb.freebsd.org/changeset/ports/329716 Log: - Fix build with libc++ [1] - While here, rename patches so they are consistent with how "make makepatch" names them Submitted by: rm (via email) [1] Added: head/finance/libofx/files/patch-lib__Makefile.am (contents, props changed) head/finance/libofx/files/patch-lib__ofx__preproc.cpp - copied unchanged from r329305, head/finance/libofx/files/patch-lib_ofx_preproc.cpp head/finance/libofx/files/patch-lib__ofx__utilities.cpp - copied unchanged from r329009, head/finance/libofx/files/patch-lib_ofx_utilities.cpp head/finance/libofx/files/patch-ofxconnect__ofxpartner.cpp - copied unchanged from r329009, head/finance/libofx/files/patch-ofxconnect_ofxpartner.cpp Deleted: head/finance/libofx/files/patch-lib_ofx_preproc.cpp head/finance/libofx/files/patch-lib_ofx_utilities.cpp head/finance/libofx/files/patch-ofxconnect_ofxpartner.cpp Added: head/finance/libofx/files/patch-lib__Makefile.am ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/finance/libofx/files/patch-lib__Makefile.am Mon Oct 7 18:01:15 2013 (r329716) @@ -0,0 +1,11 @@ +--- ./lib/Makefile.am.orig 2013-10-07 04:12:01.000000000 -0400 ++++ ./lib/Makefile.am 2013-10-07 04:12:16.000000000 -0400 +@@ -45,7 +45,7 @@ + -DMAKEFILE_DTD_PATH=\"${LIBOFX_DTD_DIR}\" + + #libofx_la_LIBADD = @LIBOBJS@ ${OPENSPLIBS} -lstdc++ +-libofx_la_LIBADD = $(OPENSPLIBS) $(ICONV_LIBS) -lstdc++ ++libofx_la_LIBADD = $(OPENSPLIBS) $(ICONV_LIBS) + libofx_la_LDFLAGS = -no-undefined -version-info @LIBOFX_SO_CURRENT@:@LIBOFX_SO_REVISION@:@LIBOFX_SO_AGE@ + + Copied: head/finance/libofx/files/patch-lib__ofx__preproc.cpp (from r329305, head/finance/libofx/files/patch-lib_ofx_preproc.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/finance/libofx/files/patch-lib__ofx__preproc.cpp Mon Oct 7 18:01:15 2013 (r329716, copy of r329305, head/finance/libofx/files/patch-lib_ofx_preproc.cpp) @@ -0,0 +1,11 @@ +--- ./lib/ofx_preproc.cpp.orig 2013-04-25 14:06:29.000000000 -0400 ++++ ./lib/ofx_preproc.cpp 2013-10-04 06:27:25.000000000 -0400 +@@ -310,7 +310,7 @@ + size_t outbytesleft = inbytesleft * 2 - 1; + iconv_buffer = (char*) malloc (inbytesleft * 2); + memset(iconv_buffer, 0, inbytesleft * 2); +-#if defined(OS_WIN32) || defined(__sun) ++#if defined(OS_WIN32) || defined(__sun) || defined(__FreeBSD__) + const char * inchar = (const char *)s_buffer.c_str(); + #else + char * inchar = (char *)s_buffer.c_str(); Copied: head/finance/libofx/files/patch-lib__ofx__utilities.cpp (from r329009, head/finance/libofx/files/patch-lib_ofx_utilities.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/finance/libofx/files/patch-lib__ofx__utilities.cpp Mon Oct 7 18:01:15 2013 (r329716, copy of r329009, head/finance/libofx/files/patch-lib_ofx_utilities.cpp) @@ -0,0 +1,18 @@ +--- ./lib/ofx_utilities.cpp.orig 2011-04-18 11:51:21.000000000 -0400 ++++ ./lib/ofx_utilities.cpp 2011-06-01 21:09:51.000000000 -0400 +@@ -115,9 +115,14 @@ + char time_zone_specified = false; + string ofxdate_whole; + time_t temptime; ++ int daylight; ++ const struct tm* t; ++ ++ std::time(&temptime); ++ t = localtime(&temptime); ++ daylight = t->tm_isdst; + + time.tm_isdst = daylight; // initialize dst setting +- std::time(&temptime); + local_offset = difftime(mktime(localtime(&temptime)), mktime(gmtime(&temptime))) + (3600 * daylight); + + if (ofxdate.size() != 0) Copied: head/finance/libofx/files/patch-ofxconnect__ofxpartner.cpp (from r329009, head/finance/libofx/files/patch-ofxconnect_ofxpartner.cpp) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/finance/libofx/files/patch-ofxconnect__ofxpartner.cpp Mon Oct 7 18:01:15 2013 (r329716, copy of r329009, head/finance/libofx/files/patch-ofxconnect_ofxpartner.cpp) @@ -0,0 +1,10 @@ +--- ofxconnect/ofxpartner.cpp.orig 2011-03-30 22:30:50.000000000 +0000 ++++ ofxconnect/ofxpartner.cpp +@@ -37,6 +37,7 @@ + #include + #include + #include ++#include + + using std::string; + using std::vector;