gnucash-on-windows master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Thu Apr 29 12:29:47 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/8df2b7dd (commit)
	 via  https://github.com/Gnucash/gnucash-on-windows/commit/3ce43901 (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/6f460475 (commit)



commit 8df2b7ddd57472ab61547a1bcb6d3c787158fa20
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Apr 27 12:26:38 2021 -0700

    MinGW-w64 provides _mkgmtime() instead of *nix's timegm().
    
    Simple macro workaround.

diff --git a/gnucash.modules b/gnucash.modules
index 769ec72..7726724 100644
--- a/gnucash.modules
+++ b/gnucash.modules
@@ -216,7 +216,9 @@
 
   <autotools id="libofx" autogen-sh='autoreconf'>
     <branch repo="sourceforge" module="libofx/libofx-0.10.2.tar.gz"
-	    version="0.10.2"/>
+	    version="0.10.2">
+      <patch file="libofx1.10.2-win32-timegm.patch" strip="1"/>
+    </branch>
     <dependencies>
       <dep package="OpenSP"/>
     </dependencies>
diff --git a/patches/libofx1.10.2-win32-timegm.patch b/patches/libofx1.10.2-win32-timegm.patch
new file mode 100644
index 0000000..8fec409
--- /dev/null
+++ b/patches/libofx1.10.2-win32-timegm.patch
@@ -0,0 +1,10 @@
+--- a/lib/ofx_utilities.cpp	2021-04-23 13:33:07.000000000 -0700
++++ b/lib/ofx_utilities.cpp	2021-04-27 12:03:02.591314600 -0700
+@@ -30,6 +30,7 @@
+ 
+ #ifdef __WIN32__
+ # define DIRSEP "\\"
++# define timegm(tm) _mkgmtime(tm)
+ #else
+ # define DIRSEP "/"
+ #endif

commit 3ce43901504df05782f65e7bc4d4e8402d93fec2
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Tue Apr 27 03:01:15 2021 +0200

    Update libofx to 0.10.2
    
    Addresses underlying causes of GnuCash bugs
    https://bugs.gnucash.org/show_bug.cgi?id=636340 and
    https://bugs.gnucash.org/show_bug.cgi?id=797848

diff --git a/gnucash.modules b/gnucash.modules
index 9604b74..769ec72 100644
--- a/gnucash.modules
+++ b/gnucash.modules
@@ -215,8 +215,8 @@
   </autotools>
 
   <autotools id="libofx" autogen-sh='autoreconf'>
-    <branch repo="sourceforge" module="libofx/libofx-0.10.1.tar.gz"
-	    version="0.10.1"/>
+    <branch repo="sourceforge" module="libofx/libofx-0.10.2.tar.gz"
+	    version="0.10.2"/>
     <dependencies>
       <dep package="OpenSP"/>
     </dependencies>



Summary of changes:
 gnucash.modules                         |  6 ++++--
 patches/libofx1.10.2-win32-timegm.patch | 10 ++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)
 create mode 100644 patches/libofx1.10.2-win32-timegm.patch



More information about the gnucash-changes mailing list