pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43330: Upgrade finance/libofx to 0.9.1



>Number:         43330
>Category:       pkg
>Synopsis:       Upgrade finance/libofx to 0.9.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 19 23:35:00 +0000 2010
>Originator:     Gary Duzan
>Release:        NetBSD 5.99.29
>Organization:
        
>Environment:
System: NetBSD brain 5.99.29 NetBSD 5.99.29 (GENERIC) #3: Sun May 2 10:54:14 
EDT 2010 gary@brain:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
        Upgrade finance/libofx to 0.9.1. The latest kmymoney
        (available in wip) wants it.
>How-To-Repeat:
        Just build it.
>Fix:
        Patch included. The iconv change is an educated guess, but
        Linux seems to be the exception.

Index: Makefile
===================================================================
RCS file: /usr2/netbsd-cvs/pkgsrc/finance/libofx/Makefile,v
retrieving revision 1.10
diff -b -u -p -r1.10 Makefile
--- Makefile    17 Jan 2010 12:02:16 -0000      1.10
+++ Makefile    18 May 2010 23:13:01 -0000
@@ -1,8 +1,7 @@
 # $NetBSD: Makefile,v 1.10 2010/01/17 12:02:16 wiz Exp $
 #
 
-DISTNAME=      libofx-0.8.3
-PKGREVISION=   4
+DISTNAME=      libofx-0.9.1
 CATEGORIES=    finance devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=libofx/}
 
Index: distinfo
===================================================================
RCS file: /usr2/netbsd-cvs/pkgsrc/finance/libofx/distinfo,v
retrieving revision 1.6
diff -b -u -p -r1.6 distinfo
--- distinfo    5 Sep 2007 16:42:16 -0000       1.6
+++ distinfo    18 May 2010 23:13:01 -0000
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.6 2007/09/05 16:42:16 drochner Exp $
 
-SHA1 (libofx-0.8.3.tar.gz) = 0fa22f0535c1f50d4b9056f6f86d1429f1c8485f
-RMD160 (libofx-0.8.3.tar.gz) = a5c9acd6af4ce252d5a0941c82436af72961cd7c
-Size (libofx-0.8.3.tar.gz) = 971250 bytes
-SHA1 (patch-aa) = 639e3a0d4204966ff318e27aa9eea79e2783c00e
+SHA1 (libofx-0.9.1.tar.gz) = a12110ddcbff596e26496865570fb4dcb75c08d0
+RMD160 (libofx-0.9.1.tar.gz) = 84b139cb39006f8f6433d490d72e83f103156952
+Size (libofx-0.9.1.tar.gz) = 1177818 bytes
+SHA1 (patch-aa) = dc3df3ee3b6154a529bf407f9f2eacdf07499c2f
 SHA1 (patch-ab) = 1afecedcc76ac45824a13da1d2a39881c734a179
Index: patches/patch-aa
===================================================================
RCS file: /usr2/netbsd-cvs/pkgsrc/finance/libofx/patches/patch-aa,v
retrieving revision 1.3
diff -b -u -p -r1.3 patch-aa
--- patches/patch-aa    3 Sep 2006 13:02:18 -0000       1.3
+++ patches/patch-aa    18 May 2010 23:13:01 -0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2006/09/03 13:02:18 wiz Exp $
+$NetBSD$
 
---- lib/ofx_preproc.cpp.orig   2006-08-25 15:31:15.000000000 +0000
-+++ lib/ofx_preproc.cpp
-@@ -21,6 +21,7 @@
+--- lib/ofx_preproc.cpp.orig   2008-12-06 17:22:57.000000000 -0500
++++ lib/ofx_preproc.cpp        2010-05-18 19:03:57.000000000 -0400
+@@ -22,6 +22,7 @@
  #include <fstream>
  #include <stdlib.h>
  #include <stdio.h>
@@ -10,3 +10,12 @@ $NetBSD: patch-aa,v 1.3 2006/09/03 13:02
  #include <string>
  #include "ParserEventGeneratorKit.h"
  #include "libofx.h"
+@@ -185,7 +186,7 @@ CFCT int ofx_proc_file(LibofxContextPtr 
+           memset(iconv_buffer,0,READ_BUFFER_SIZE * 2);
+           size_t inbytesleft = strlen(s_buffer.c_str());
+           size_t outbytesleft = READ_BUFFER_SIZE * 2 - 1;
+-#ifdef OS_WIN32
++#ifndef OS_LINUX
+           const char * inchar = (const char *)s_buffer.c_str();
+ #else
+           char * inchar = (char *)s_buffer.c_str();


Home | Main Index | Thread Index | Old Index