diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/xml2doc/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/xml2doc/files')
-rw-r--r-- | app-text/xml2doc/files/xml2doc-pointer_fix.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-text/xml2doc/files/xml2doc-pointer_fix.patch b/app-text/xml2doc/files/xml2doc-pointer_fix.patch new file mode 100644 index 000000000000..b6adabe3c1a3 --- /dev/null +++ b/app-text/xml2doc/files/xml2doc-pointer_fix.patch @@ -0,0 +1,20 @@ +diff -NurdpB xml2doc/src/output_info.c xml2doc-patched/src/output_info.c +--- xml2doc/src/output_info.c 2003-04-25 05:11:27.000000000 -0500 ++++ xml2doc-patched/src/output_info.c 2007-03-14 15:07:59.000000000 -0500 +@@ -9,11 +9,11 @@ void output_info() + *subject = xmlGetProp(Doc[n].cur,"subject"), + *keywords = xmlGetProp(Doc[n].cur,"keywords"), + *trapped = xmlGetProp(Doc[n].cur,"trapped"); +- struct time_t *timet; +- struct tm *clk; +- +- time((time_t *)&timet); +- clk=localtime((const time_t *)&timet); ++ time_t timet; ++ struct tm *clk; ++ ++ time(&timet); ++ clk=localtime(&timet); + + switch(DocS.output) + { |