summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-07 11:18:31 +0000
committerSam James <sam@gentoo.org>2021-01-07 11:33:13 +0000
commit229496dcd84bd840c1e671105d6291b59b5b0368 (patch)
tree4722ba0602d1740447a171b2ecffa160cdff1aae /dev-libs/log4cpp/files
parentapp-misc/ledit: cleanup old (diff)
downloadgentoo-229496dcd84bd840c1e671105d6291b59b5b0368.tar.gz
gentoo-229496dcd84bd840c1e671105d6291b59b5b0368.tar.bz2
gentoo-229496dcd84bd840c1e671105d6291b59b5b0368.zip
dev-libs/log4cpp: cleanup old
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/log4cpp/files')
-rw-r--r--dev-libs/log4cpp/files/log4cpp-1.1-glibc-2.31.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/dev-libs/log4cpp/files/log4cpp-1.1-glibc-2.31.patch b/dev-libs/log4cpp/files/log4cpp-1.1-glibc-2.31.patch
deleted file mode 100644
index 5b927dfe20fa..000000000000
--- a/dev-libs/log4cpp/files/log4cpp-1.1-glibc-2.31.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/tests/testDailyRollingFileAppender.cpp b/tests/testDailyRollingFileAppender.cpp
-index 9958f41..158c08b 100644
---- a/tests/testDailyRollingFileAppender.cpp
-+++ b/tests/testDailyRollingFileAppender.cpp
-@@ -22,6 +22,7 @@
-
- #ifndef WIN32 // only available on Win32
- #include <dirent.h>
-+#include <sys/time.h>
- #else
- #include <direct.h>
- #endif
-@@ -232,7 +233,8 @@ namespace OnlyManualTesting {
-
- now += seconds;
-
-- if (stime(&now) == -1) {
-+ struct timeval tv = {.tv_sec = now, .tv_usec = 0};
-+ if (settimeofday(&tv, NULL) < 0) {
- std::cerr << "Can not set date. Need admin privileges?" << std::endl;
- return -1;
- }