1 |
commit: 768370d85c30546d335256c1b567d549893b0947 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 16 21:45:00 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 17 13:00:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=768370d8 |
7 |
|
8 |
dev-libs/dietlibc: drop 0.34_pre20140729-r1, EAPI-6-- |
9 |
|
10 |
Closes: https://bugs.gentoo.org/676460 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-libs/dietlibc/Manifest | 1 - |
14 |
.../dietlibc/dietlibc-0.34_pre20140729-r1.ebuild | 69 ---------------------- |
15 |
.../files/dietlibc-0.34_pre20140729-dyn-lib.patch | 22 ------- |
16 |
3 files changed, 92 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/dietlibc/Manifest b/dev-libs/dietlibc/Manifest |
19 |
index 09f53a3ba4b0..62d833af56e9 100644 |
20 |
--- a/dev-libs/dietlibc/Manifest |
21 |
+++ b/dev-libs/dietlibc/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
DIST dietlibc-0.34.tar.xz 662732 BLAKE2B ac709f19f98c298ee424f8320cbc7bca997156323e64d3a219251146b4257185f27519262914d3df044638ecfcf06e1e3680d8af226704dca65d6e4be20b3dc4 SHA512 2b38528c0ccf50e426f587b6448fed997fab1147eecc9e1af2f3fb3efe3d8f3997656d8e66e7cf1045ceb1f602cef43456c62ba83ff494f9c9816721bdb4d6c6 |
24 |
-DIST dietlibc-0.34_pre20140729.tar.bz2 670195 BLAKE2B 9479c97c09b0c8c7e5d85536afd962613e9f5fbcb1aff3ef9b2aace19d246b2d0b637f00c3abee0a2c06f170263e85ffba94247171afc47e40c8ab0e95fe5191 SHA512 a0bb5465f7fc985fd074dfcc4039003ec26b6b5fde5f2ccc53322067bd1a6459e742c9debeffda0b5146e287baa8e49f74f4a8ffafdf1daacacec4768d13db36 |
25 |
|
26 |
diff --git a/dev-libs/dietlibc/dietlibc-0.34_pre20140729-r1.ebuild b/dev-libs/dietlibc/dietlibc-0.34_pre20140729-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index ebed03a51dea..000000000000 |
29 |
--- a/dev-libs/dietlibc/dietlibc-0.34_pre20140729-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,69 +0,0 @@ |
32 |
-# Copyright 1999-2020 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=6 |
36 |
-inherit flag-o-matic toolchain-funcs |
37 |
- |
38 |
-DESCRIPTION="A libc optimized for small size" |
39 |
-HOMEPAGE="http://www.fefe.de/dietlibc/" |
40 |
-SRC_URI="https://dev.gentoo.org/~patrick/${P}.tar.bz2" |
41 |
- |
42 |
-LICENSE="GPL-2" |
43 |
-SLOT="0" |
44 |
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips sparc x86 ~amd64-linux ~x86-linux" |
45 |
-IUSE="" |
46 |
- |
47 |
-DEPEND="" |
48 |
-RDEPEND="" |
49 |
- |
50 |
-DIETHOME="/usr/diet" |
51 |
- |
52 |
-S="${WORKDIR}/dietlibc" |
53 |
- |
54 |
-src_prepare() { |
55 |
- default |
56 |
- |
57 |
- # use __DYN_LIB instead of __PIC__ in i386 socketcalls, bug #644116 |
58 |
- eapply "${FILESDIR}"/${P}-dyn-lib.patch |
59 |
- |
60 |
- # Replace sparc64 related C[XX]FLAGS (see bug #45716) |
61 |
- use sparc && replace-sparc64-flags |
62 |
- |
63 |
- # gcc-hppa suffers support for SSP, compilation will fail |
64 |
- use hppa && strip-unsupported-flags |
65 |
- |
66 |
- # Makefile does not append CFLAGS |
67 |
- append-flags -nostdinc -W -Wall -Wextra -Wchar-subscripts \ |
68 |
- -Wmissing-prototypes -Wmissing-declarations -Wno-switch \ |
69 |
- -Wno-unused -Wredundant-decls -fno-strict-aliasing |
70 |
- |
71 |
- # Disable ssp for we default to it on >=gcc-4.8.3 |
72 |
- append-flags $(test-flags -fno-stack-protector) |
73 |
- |
74 |
- # only use -nopie on archs that support it |
75 |
- tc-enables-pie && append-flags -no-pie |
76 |
- |
77 |
- sed -i -e 's:strip::' Makefile || die |
78 |
- append-flags -Wa,--noexecstack |
79 |
-} |
80 |
- |
81 |
-src_compile() { |
82 |
- emake -j1 prefix="${EPREFIX}"${DIETHOME} \ |
83 |
- CC="$(tc-getCC)" \ |
84 |
- CFLAGS="${CFLAGS}" \ |
85 |
- STRIP=":" |
86 |
-} |
87 |
- |
88 |
-src_install() { |
89 |
- emake -j1 prefix="${EPREFIX}"${DIETHOME} \ |
90 |
- DESTDIR="${D}" \ |
91 |
- install-bin \ |
92 |
- install-headers \ |
93 |
- install-profiling |
94 |
- |
95 |
- dobin "${ED}"${DIETHOME}/bin/* |
96 |
- doman "${ED}"${DIETHOME}/man/*/* |
97 |
- rm -r "${ED}"${DIETHOME}/{man,bin} || die |
98 |
- |
99 |
- dodoc AUTHOR BUGS CAVEAT CHANGES README THANKS TODO PORTING |
100 |
-} |
101 |
|
102 |
diff --git a/dev-libs/dietlibc/files/dietlibc-0.34_pre20140729-dyn-lib.patch b/dev-libs/dietlibc/files/dietlibc-0.34_pre20140729-dyn-lib.patch |
103 |
deleted file mode 100644 |
104 |
index fe3fcb072f63..000000000000 |
105 |
--- a/dev-libs/dietlibc/files/dietlibc-0.34_pre20140729-dyn-lib.patch |
106 |
+++ /dev/null |
107 |
@@ -1,22 +0,0 @@ |
108 |
-From 843c667c1b516c0764840c6e4d41188f9c96a415 Mon Sep 17 00:00:00 2001 |
109 |
-From: leitner <leitner> |
110 |
-Date: Mon, 4 Sep 2017 21:59:50 +0000 |
111 |
-Subject: [PATCH] use __DYN_LIB instead of __PIC__ in i386 socketcalls |
112 |
- |
113 |
---- |
114 |
- i386/syscalls.h | 2 +- |
115 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
116 |
- |
117 |
-diff --git a/i386/syscalls.h b/i386/syscalls.h |
118 |
-index 11d6f1d5..14ac517b 100644 |
119 |
---- a/i386/syscalls.h |
120 |
-+++ b/i386/syscalls.h |
121 |
-@@ -416,7 +416,7 @@ sym: \ |
122 |
- .Lend##sym: ; \ |
123 |
- .size sym,.Lend##sym-sym |
124 |
- |
125 |
--#ifndef __PIC__ |
126 |
-+#ifndef __DYN_LIB |
127 |
- #define __socketcall(name,NAME) \ |
128 |
- .text; \ |
129 |
- .type name,@function; \ |