1 |
commit: 229496dcd84bd840c1e671105d6291b59b5b0368 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jan 7 11:18:31 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jan 7 11:33:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=229496dc |
7 |
|
8 |
dev-libs/log4cpp: cleanup old |
9 |
|
10 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-libs/log4cpp/Manifest | 2 - |
14 |
.../log4cpp/files/log4cpp-1.1-glibc-2.31.patch | 22 -------- |
15 |
dev-libs/log4cpp/log4cpp-1.1.ebuild | 60 ---------------------- |
16 |
3 files changed, 84 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/log4cpp/Manifest b/dev-libs/log4cpp/Manifest |
19 |
deleted file mode 100644 |
20 |
index 11d9fe1e8c7..00000000000 |
21 |
--- a/dev-libs/log4cpp/Manifest |
22 |
+++ /dev/null |
23 |
@@ -1,2 +0,0 @@ |
24 |
-DIST log4cpp-1.1.3.tar.gz 595639 BLAKE2B fc7d643aa70d739e38ec5aba127b4e760a47a064f4032690586c4698ec83a2b7f219d8476650d3bfc5e25563de0852869429ec45171233c6bd5c08b69476b169 SHA512 88e5e10bce8d7d6421c3dcf14aa25385159c4ae52becdc1f3666ab86e1ad3f633786d82afe398c517d4faaa57b3e7b7c0b524361d81c6b9040dbded5cecc19de |
25 |
-DIST log4cpp-1.1.tar.gz 547676 BLAKE2B 3fee8e575b404215d308a0d6c72feef612dcfb9c881c97500937d1a94d1c435108a24ae1ad20f19cedb1613735c22a37354226699fe6cafbf6d23dcd12668271 SHA512 e1a723641c75a0b7f9ad2338134b327cd9a0a1bd67ff76bca726389ad76e8ba0ee5a95abe6f29e05a77980255dc08b0aa5c906395b0a0ad094994c9e450e3ecb |
26 |
|
27 |
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 |
28 |
deleted file mode 100644 |
29 |
index 5b927dfe20f..00000000000 |
30 |
--- a/dev-libs/log4cpp/files/log4cpp-1.1-glibc-2.31.patch |
31 |
+++ /dev/null |
32 |
@@ -1,22 +0,0 @@ |
33 |
-diff --git a/tests/testDailyRollingFileAppender.cpp b/tests/testDailyRollingFileAppender.cpp |
34 |
-index 9958f41..158c08b 100644 |
35 |
---- a/tests/testDailyRollingFileAppender.cpp |
36 |
-+++ b/tests/testDailyRollingFileAppender.cpp |
37 |
-@@ -22,6 +22,7 @@ |
38 |
- |
39 |
- #ifndef WIN32 // only available on Win32 |
40 |
- #include <dirent.h> |
41 |
-+#include <sys/time.h> |
42 |
- #else |
43 |
- #include <direct.h> |
44 |
- #endif |
45 |
-@@ -232,7 +233,8 @@ namespace OnlyManualTesting { |
46 |
- |
47 |
- now += seconds; |
48 |
- |
49 |
-- if (stime(&now) == -1) { |
50 |
-+ struct timeval tv = {.tv_sec = now, .tv_usec = 0}; |
51 |
-+ if (settimeofday(&tv, NULL) < 0) { |
52 |
- std::cerr << "Can not set date. Need admin privileges?" << std::endl; |
53 |
- return -1; |
54 |
- } |
55 |
|
56 |
diff --git a/dev-libs/log4cpp/log4cpp-1.1.ebuild b/dev-libs/log4cpp/log4cpp-1.1.ebuild |
57 |
deleted file mode 100644 |
58 |
index 406828fdb42..00000000000 |
59 |
--- a/dev-libs/log4cpp/log4cpp-1.1.ebuild |
60 |
+++ /dev/null |
61 |
@@ -1,60 +0,0 @@ |
62 |
-# Copyright 1999-2019 Gentoo Authors |
63 |
-# Distributed under the terms of the GNU General Public License v2 |
64 |
- |
65 |
-EAPI=6 |
66 |
- |
67 |
-inherit autotools multilib-minimal |
68 |
- |
69 |
-DESCRIPTION="C++ classes for flexible logging to files, syslog and other destinations" |
70 |
-HOMEPAGE="http://log4cpp.sourceforge.net/" |
71 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
72 |
- |
73 |
-LICENSE="LGPL-2.1" |
74 |
-SLOT="0/5" |
75 |
-KEYWORDS="amd64 ~arm ppc s390 x86" |
76 |
-IUSE="doc static-libs test" |
77 |
-RESTRICT="!test? ( test )" |
78 |
- |
79 |
-DEPEND="doc? ( app-doc/doxygen )" |
80 |
-RDEPEND="" |
81 |
- |
82 |
-PATCHES=( |
83 |
- "${FILESDIR}"/1.0-doc_install_path.patch |
84 |
- "${FILESDIR}"/1.0-gcc43.patch |
85 |
- "${FILESDIR}"/1.0-asneeded.patch |
86 |
- "${FILESDIR}"/${P}-cmath-fix.patch |
87 |
- "${FILESDIR}"/${P}-automake-1.13.patch |
88 |
-) |
89 |
- |
90 |
-S="${WORKDIR}/${PN}" |
91 |
- |
92 |
-MULTILIB_CHOST_TOOLS=( |
93 |
- /usr/bin/log4cpp-config |
94 |
-) |
95 |
- |
96 |
-src_prepare() { |
97 |
- default |
98 |
- |
99 |
- mv configure.{in,ac} || die |
100 |
- |
101 |
- # Build tests conditionally |
102 |
- if ! use test; then |
103 |
- sed -i -e '/^SUBDIRS/s/ tests//' Makefile.am || die |
104 |
- fi |
105 |
- |
106 |
- eautoreconf |
107 |
-} |
108 |
- |
109 |
-multilib_src_configure() { |
110 |
- ECONF_SOURCE=${S} econf \ |
111 |
- --without-idsa \ |
112 |
- $(use_enable doc doxygen) \ |
113 |
- $(use_enable static-libs static) |
114 |
-} |
115 |
- |
116 |
-multilib_src_install_all() { |
117 |
- einstalldocs |
118 |
- |
119 |
- # package installs .pc files |
120 |
- find "${D}" -name '*.la' -delete || die |
121 |
-} |