mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Fix the quote price editor adds price data as wrong date. Bump the
PORTREVISION. More details by the submitter: "gnucash quote price editor consume date string and convert the string by strptime(3) then get time_t by mktime(3). And struct tm, a mktime argument is not initialized and mktime detects insane structure and returns -1. So the entry is always added as epoch -1 date." PR: ports/138410 Submitted by: Takanori Watanabe <takawata@init-main.com>
This commit is contained in:
parent
7f1bc9ce2c
commit
e9ddf6b3f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262355
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
PORTNAME= gnucash
|
PORTNAME= gnucash
|
||||||
PORTVERSION= 2.2.9
|
PORTVERSION= 2.2.9
|
||||||
PORTREVISION= 9
|
PORTREVISION= 10
|
||||||
CATEGORIES= finance gnome
|
CATEGORIES= finance gnome
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} \
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20%28stable%29/${PORTVERSION} \
|
||||||
http://www.gnucash.org/pub/gnucash/sources/stable/
|
http://www.gnucash.org/pub/gnucash/sources/stable/
|
||||||
|
11
finance/gnucash/files/patch-src_app-utils_guile-util.c
Normal file
11
finance/gnucash/files/patch-src_app-utils_guile-util.c
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- src/app-utils/guile-util.c.orig 2008-01-08 10:06:47.000000000 +0900
|
||||||
|
+++ src/app-utils/guile-util.c 2009-09-01 03:04:30.000000000 +0900
|
||||||
|
@@ -1304,6 +1304,8 @@
|
||||||
|
|
||||||
|
g_return_val_if_fail(s && format, -1);
|
||||||
|
|
||||||
|
+ bzero(&tm, sizeof(tm));
|
||||||
|
+
|
||||||
|
if (!strptime(s, format, &tm))
|
||||||
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user