From a53b6ee4519a7657164610ac14a82c57b1273bf6 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 23 Nov 2015 06:54:36 -0500 Subject: [PATCH] Use STL. Software that uses the shared library, such as Kodi, assume that TinyXML was compiled with STL activated. --- tinyxml.h | 2 ++ xmltest.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/tinyxml.h b/tinyxml.h index a3589e5..6cbfc7d 100644 --- a/tinyxml.h +++ b/tinyxml.h @@ -43,6 +43,8 @@ distribution. #define DEBUG #endif +#define TIXML_USE_STL 1 + #ifdef TIXML_USE_STL #include #include diff --git a/xmltest.cpp b/xmltest.cpp index 663c157..057dbfe 100644 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -2,6 +2,7 @@ Test program for TinyXML. */ +#define TIXML_USE_STL 1 #ifdef TIXML_USE_STL #include -- 2.5.0 Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2019-10-23cve: Rewrite to read the JSON feed instead of the XML feed....The XML feed was discontinued on Oct. 16th, 2019: <https://nvd.nist.gov/General/News/XML-Vulnerability-Feed-Retirement-Phase-3> * guix/cve.scm (string->date*): New procedure. (<cve-item>, <cve>, <cve-reference>): New record types. (cpe-match->cve-configuration, configuration-data->cve-configurations) (json->cve-items, version-matches?): New procedures. (yearly-feed-uri): Change URL to refer to JSON feed. (cpe->product-alist, %parse-vulnerability-feed) (xml->vulnerabilities): Remove. (cve-configuration->package-list, merge-package-lists) (cve-item->vulnerability, json->vulnerabilities): New procedures. (write-cache): Use 'json->vulnerabilities' instead of 'xml->vulnerabilities', and remove 'parameterize'. (vulnerabilities->lookup-proc): Use 'version-matches?' when VERSION is true. * tests/cve.scm (%sample): Use 'tests/cve-sample.json'. (%expected-vulnerabilities): Rewrite accordingly. ("json->cve-items", "cve-item-published-date") ("json->vulnerabilities"): New tests. ("xml->vulnerabilities"): Remove. ("vulnerabilities->lookup-proc"): Adjust to new vulnerabilities. * tests/cve-sample.json: New file. * tests/cve-sample.xml: Remove. * Makefile.am (EXTRA_DIST): Adjust accordingly. * doc/guix.texi (Invoking guix lint): Update nist.gov URLs. Ludovic Courtès