diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /net-libs/libnipper/files | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'net-libs/libnipper/files')
-rw-r--r-- | net-libs/libnipper/files/libnipper-0.12.6-gcc12-time.patch | 11 | ||||
-rw-r--r-- | net-libs/libnipper/files/libnipper-0.12.6-wformat-security.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/net-libs/libnipper/files/libnipper-0.12.6-gcc12-time.patch b/net-libs/libnipper/files/libnipper-0.12.6-gcc12-time.patch new file mode 100644 index 000000000000..b07c640a37d1 --- /dev/null +++ b/net-libs/libnipper/files/libnipper-0.12.6-gcc12-time.patch @@ -0,0 +1,11 @@ +https://bugs.gentoo.org/851666 +--- a/report/report-text.cpp ++++ b/report/report-text.cpp +@@ -34,6 +34,7 @@ + #include "../device/general/general.h" + #include "report.h" + ++#include <ctime> + + int Report::writeText(const char *theText, Device::paragraphStruct *paragraph, bool expandAbbreviations, bool hideMarkup) + { diff --git a/net-libs/libnipper/files/libnipper-0.12.6-wformat-security.patch b/net-libs/libnipper/files/libnipper-0.12.6-wformat-security.patch new file mode 100644 index 000000000000..d2bf917a9c59 --- /dev/null +++ b/net-libs/libnipper/files/libnipper-0.12.6-wformat-security.patch @@ -0,0 +1,11 @@ +--- a/report/report-table.cpp ++++ b/report/report-table.cpp +@@ -359,7 +359,7 @@ int Report::writeTable(Device::paragraphStruct *paragraph) + else if (config->reportFormat == Config::XML) + fprintf(outFile, ">"); + if (cellPointer->cellData.empty()) +- fprintf(outFile, config->emptyTableCell); ++ fprintf(outFile, "%s", config->emptyTableCell); + else + errorCode = writeText(cellPointer->cellData.c_str(), paragraph); + if (errorCode != 0) |