Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: dev-libs/boehm-gc/, dev-libs/boehm-gc/files/
Date: Sat, 29 Dec 2018 18:10:39
Message-Id: 1546107013.ea1d7393a2fc76acc9fa4f1cd5b8d88590a3a4eb.blueness@gentoo
1 commit: ea1d7393a2fc76acc9fa4f1cd5b8d88590a3a4eb
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 29 18:10:13 2018 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 29 18:10:13 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=ea1d7393
7
8 dev-libs/boehm-gc: in tree version works
9
10 Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
11
12 dev-libs/boehm-gc/Manifest | 2 -
13 dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild | 56 ----------------------
14 dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild | 56 ----------------------
15 dev-libs/boehm-gc/files/boehm-gc-7.2e-os_dep.patch | 11 -----
16 .../boehm-gc/files/boehm-gc-7.4.2-getcontext.patch | 12 -----
17 .../boehm-gc/files/boehm-gc-7.4.2-testsuite.patch | 13 -----
18 .../boehm-gc/files/boehm-gc-7.6.0-sys_select.patch | 11 -----
19 dev-libs/boehm-gc/metadata.xml | 8 ----
20 8 files changed, 169 deletions(-)
21
22 diff --git a/dev-libs/boehm-gc/Manifest b/dev-libs/boehm-gc/Manifest
23 deleted file mode 100644
24 index 9901daa..0000000
25 --- a/dev-libs/boehm-gc/Manifest
26 +++ /dev/null
27 @@ -1,2 +0,0 @@
28 -DIST gc-7.4.2.tar.gz 1082597 SHA256 63320ad7c45460e4a40e03f5aa4c6893783f21a16416c3282b994f933312afa2 SHA512 2e21516addf268780641ee55c0cb3ecc2d96fa963faffee5beadcade9c6bf1ee49ee1a75b076b5d49ddde7c839fb94f4c3623ca8412d14c2a5bf6ca30d424a72 WHIRLPOOL 139fb9fbaef30f30f54940d99832b2eb936015620f59ee51b58a45e12d03cb9b05d75d8f91a6d706bafad9498894e77a7205d64f422bf2a4b64be2e9a8a13d90
29 -DIST gc-7.6.0.tar.gz 1111751 SHA256 a14a28b1129be90e55cd6f71127ffc5594e1091d5d54131528c24cd0c03b7d90 SHA512 511e8c01287b1ee9dbec87f0573377de77038b7af053a3f33afed9b3ffa30e2402d6a9bb0ca4f4b81cd808209b47b5718d498cff3de6632a057fe03fad51fc43 WHIRLPOOL add6a8bf6fa2b9c0c1c14ff28dd6db67fe4a78b0de0598da14ededcea06f9d8dbaac6428fc7f0204a8919cd1c62ff5d7f81569684b3b895293713741ae4309ab
30
31 diff --git a/dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild b/dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild
32 deleted file mode 100644
33 index 3a84c83..0000000
34 --- a/dev-libs/boehm-gc/boehm-gc-7.4.2.ebuild
35 +++ /dev/null
36 @@ -1,56 +0,0 @@
37 -# Copyright 1999-2017 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=5
41 -
42 -inherit eutils flag-o-matic
43 -
44 -MY_P="gc-${PV}"
45 -
46 -DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector"
47 -HOMEPAGE="http://www.hboehm.info/gc/"
48 -SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz"
49 -
50 -LICENSE="boehm-gc"
51 -SLOT="0"
52 -KEYWORDS="amd64 arm arm64 ia64 ~mips ppc sparc x86"
53 -IUSE="cxx static-libs threads"
54 -
55 -DEPEND=">=dev-libs/libatomic_ops-7.4
56 - virtual/pkgconfig"
57 -
58 -S="${WORKDIR}/${MY_P}"
59 -
60 -src_prepare() {
61 - epatch "${FILESDIR}"/${PN}-7.2e-os_dep.patch
62 - epatch "${FILESDIR}"/${PN}-7.4.2-getcontext.patch
63 - epatch "${FILESDIR}"/${PN}-7.4.2-testsuite.patch
64 -}
65 -
66 -src_configure() {
67 - local config=(
68 - --with-libatomic-ops
69 - $(use_enable cxx cplusplus)
70 - $(use_enable static-libs static)
71 - $(use threads || echo --disable-threads)
72 - )
73 - append-cppflags -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR
74 - econf "${config[@]}"
75 -}
76 -
77 -src_compile() {
78 - # Workaround build errors. #574566
79 - use ia64 && emake src/ia64_save_regs_in_stack.lo
80 - use sparc && emake src/sparc_mach_dep.lo
81 - default
82 -}
83 -
84 -src_install() {
85 - default
86 - use static-libs || prune_libtool_files
87 -
88 - rm -r "${ED}"/usr/share/gc || die
89 - dodoc README.QUICK doc/README{.environment,.linux,.macros}
90 - dohtml doc/*.html
91 - newman doc/gc.man GC_malloc.1
92 -}
93
94 diff --git a/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild b/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild
95 deleted file mode 100644
96 index f406d5a..0000000
97 --- a/dev-libs/boehm-gc/boehm-gc-7.6.0.ebuild
98 +++ /dev/null
99 @@ -1,56 +0,0 @@
100 -# Copyright 1999-2017 Gentoo Foundation
101 -# Distributed under the terms of the GNU General Public License v2
102 -
103 -EAPI=6
104 -
105 -inherit flag-o-matic ltprune
106 -
107 -MY_P="gc-${PV}"
108 -
109 -DESCRIPTION="The Boehm-Demers-Weiser conservative garbage collector"
110 -HOMEPAGE="http://www.hboehm.info/gc/"
111 -SRC_URI="http://www.hboehm.info/gc/gc_source/${MY_P}.tar.gz"
112 -
113 -LICENSE="boehm-gc"
114 -SLOT="0"
115 -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~sparc ~x86"
116 -IUSE="cxx static-libs threads"
117 -
118 -DEPEND=">=dev-libs/libatomic_ops-7.4
119 - virtual/pkgconfig"
120 -
121 -S="${WORKDIR}/${MY_P}"
122 -
123 -PATCHES=(
124 - "${FILESDIR}"/${PN}-7.4.2-testsuite.patch
125 - "${FILESDIR}"/${PN}-7.6.0-sys_select.patch
126 -)
127 -
128 -src_configure() {
129 - local config=(
130 - --with-libatomic-ops
131 - $(use_enable cxx cplusplus)
132 - $(use_enable static-libs static)
133 - $(use threads || echo --disable-threads)
134 - )
135 - append-cppflags -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR
136 - econf "${config[@]}"
137 -}
138 -
139 -src_compile() {
140 - # Workaround build errors. #574566
141 - use ia64 && emake src/ia64_save_regs_in_stack.lo
142 - use sparc && emake src/sparc_mach_dep.lo
143 - default
144 -}
145 -
146 -src_install() {
147 - default
148 - use static-libs || prune_libtool_files
149 -
150 - rm -r "${ED}"/usr/share/gc || die
151 - dodoc README.QUICK doc/README{.environment,.linux,.macros}
152 - docinto html
153 - dodoc doc/*.html
154 - newman doc/gc.man GC_malloc.1
155 -}
156
157 diff --git a/dev-libs/boehm-gc/files/boehm-gc-7.2e-os_dep.patch b/dev-libs/boehm-gc/files/boehm-gc-7.2e-os_dep.patch
158 deleted file mode 100644
159 index 602cfef..0000000
160 --- a/dev-libs/boehm-gc/files/boehm-gc-7.2e-os_dep.patch
161 +++ /dev/null
162 @@ -1,11 +0,0 @@
163 -taken from sabotage linux
164 ---- gc-7.2.org/os_dep.c 2013-01-03 17:13:21.878000003 +0000
165 -+++ gc-7.2/os_dep.c 2013-01-04 07:57:17.766000002 +0000
166 -@@ -26,6 +26,7 @@
167 - # define __KERNEL__
168 - # include <asm/signal.h>
169 - # undef __KERNEL__
170 -+# elif 1
171 - # else
172 - /* Kernels prior to 2.1.1 defined struct sigcontext_struct instead of */
173 - /* struct sigcontext. libc6 (glibc2) uses "struct sigcontext" in */
174
175 diff --git a/dev-libs/boehm-gc/files/boehm-gc-7.4.2-getcontext.patch b/dev-libs/boehm-gc/files/boehm-gc-7.4.2-getcontext.patch
176 deleted file mode 100644
177 index 53057bf..0000000
178 --- a/dev-libs/boehm-gc/files/boehm-gc-7.4.2-getcontext.patch
179 +++ /dev/null
180 @@ -1,12 +0,0 @@
181 -diff -ur a/mach_dep.c b/gc-7.4.2/mach_dep.c
182 ---- a/mach_dep.c 2014-06-03 08:08:02.000000000 -0200
183 -+++ b/mach_dep.c 2015-04-10 10:54:48.500634001 -0200
184 -@@ -218,7 +218,7 @@
185 -
186 - # if defined(HAVE_PUSH_REGS)
187 - GC_push_regs();
188 --# elif defined(UNIX_LIKE) && !defined(NO_GETCONTEXT)
189 -+# elif 0
190 - /* Older versions of Darwin seem to lack getcontext(). */
191 - /* ARM and MIPS Linux often doesn't support a real */
192 - /* getcontext(). */
193
194 diff --git a/dev-libs/boehm-gc/files/boehm-gc-7.4.2-testsuite.patch b/dev-libs/boehm-gc/files/boehm-gc-7.4.2-testsuite.patch
195 deleted file mode 100644
196 index 7e8e541..0000000
197 --- a/dev-libs/boehm-gc/files/boehm-gc-7.4.2-testsuite.patch
198 +++ /dev/null
199 @@ -1,13 +0,0 @@
200 -Fix wrong assumption on default stack size
201 -
202 ---- a/tests/test.c
203 -+++ b/tests/test.c
204 -@@ -588,7 +588,7 @@
205 - # elif defined(__MACH__) && defined(__ppc64__)
206 - # define BIG 2500
207 - # else
208 --# define BIG 4500
209 -+# define BIG 500
210 - # endif
211 -
212 - A.dummy = 17;
213
214 diff --git a/dev-libs/boehm-gc/files/boehm-gc-7.6.0-sys_select.patch b/dev-libs/boehm-gc/files/boehm-gc-7.6.0-sys_select.patch
215 deleted file mode 100644
216 index ea32ee7..0000000
217 --- a/dev-libs/boehm-gc/files/boehm-gc-7.6.0-sys_select.patch
218 +++ /dev/null
219 @@ -1,11 +0,0 @@
220 -diff -Naur a/pthread_stop_world.c b/pthread_stop_world.c
221 ---- a/pthread_stop_world.c 2017-04-12 09:02:09.320950067 -0700
222 -+++ b/pthread_stop_world.c 2017-04-12 09:13:10.973562426 -0700
223 -@@ -41,6 +41,7 @@
224 -
225 - #else /* !GC_OPENBSD_UTHREADS && !NACL */
226 -
227 -+#include <sys/select.h>
228 - #include <signal.h>
229 - #include <semaphore.h>
230 - #include <errno.h>
231
232 diff --git a/dev-libs/boehm-gc/metadata.xml b/dev-libs/boehm-gc/metadata.xml
233 deleted file mode 100644
234 index 43b420a..0000000
235 --- a/dev-libs/boehm-gc/metadata.xml
236 +++ /dev/null
237 @@ -1,8 +0,0 @@
238 -<?xml version="1.0" encoding="UTF-8"?>
239 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
240 -<pkgmetadata>
241 -<maintainer type="person">
242 - <email>patrick@g.o</email>
243 - <name>Patrick Lauer</name>
244 -</maintainer>
245 -</pkgmetadata>