Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/polyml/files/, dev-lang/polyml/
Date: Mon, 29 Aug 2022 18:39:58
Message-Id: 1661798347.4e07503d8fa2ade5324d476c38586a59b4b03253.asturm@gentoo
1 commit: 4e07503d8fa2ade5324d476c38586a59b4b03253
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 28 14:20:13 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 18:39:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e07503d
7
8 dev-lang/polyml: drop 5.8, 5.8.2, EAPI-6--
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 dev-lang/polyml/Manifest | 2 -
13 dev-lang/polyml/files/polyml-5.6-configure.patch | 11 -----
14 dev-lang/polyml/files/polyml-5.6-ffi3.patch | 18 -------
15 dev-lang/polyml/files/polyml-5.8.2-glibc234.patch | 30 ------------
16 dev-lang/polyml/polyml-5.8.2.ebuild | 56 ---------------------
17 dev-lang/polyml/polyml-5.8.ebuild | 59 -----------------------
18 6 files changed, 176 deletions(-)
19
20 diff --git a/dev-lang/polyml/Manifest b/dev-lang/polyml/Manifest
21 index 1e2942cc24af..caf41184c810 100644
22 --- a/dev-lang/polyml/Manifest
23 +++ b/dev-lang/polyml/Manifest
24 @@ -1,3 +1 @@
25 -DIST polyml-5.8.2.tar.gz 8819392 BLAKE2B 28abec92f8372779ca2b431a069f43a38f0560056edc37b615d5ddc48a9d5b17f2d56c35de3e8f38a1449873d2a7cfc419f6305c790ab77590a8b785f7cfc092 SHA512 c1bac59b837762b500496eb8bf0294db76e3707b77984e5a31860b96a2fb2f406db610da5241c6ec2c00f623d76c16957e811cc808f60a3d220c15fa70440282
26 -DIST polyml-5.8.tar.gz 9817105 BLAKE2B 93992c8baa78017bfda6c2151d1f48805829b77c0b7ed9bec87c951fc4a4236459ed59aab1eca88ed4a1d7aa10eb9734f93324583e012b18bb7d8cce84b5a35b SHA512 50baed79b50b14bd87acc637de93fd6d0f05e61fe0f03682a12a1d2c5f382313488d48f84b49ad915b01acc5a3a5769fb05fcaa7b24499c56402ddd3ba393930
27 DIST polyml-5.9.tar.gz 3764115 BLAKE2B ae0ca0dcac2c1b5b54e4e4c4c7362a9ba99846ff7a1358a2332a8b887eb9c21e83851c9ecde44df3bebeef5cdfe3d4b73c09776a08cfc2db6ec70024ffedc50d SHA512 e996cbe820216e854a50ba214f2a2a0291ee3279eb35be4126b6558bc1582732a236156fb8d0f548b31fca4a496db62ece83d902b6f5e72de64507fdef602e45
28
29 diff --git a/dev-lang/polyml/files/polyml-5.6-configure.patch b/dev-lang/polyml/files/polyml-5.6-configure.patch
30 deleted file mode 100644
31 index ba3b6bbbd5ac..000000000000
32 --- a/dev-lang/polyml/files/polyml-5.6-configure.patch
33 +++ /dev/null
34 @@ -1,11 +0,0 @@
35 ---- a/configure.ac 2019-04-05 10:27:19.026197625 +0200
36 -+++ b/configure.ac 2019-04-05 10:28:10.187291374 +0200
37 -@@ -133,7 +133,7 @@
38 - # Solaris needs -lsocket, -lnsl and -lrt
39 - AC_SEARCH_LIBS([gethostbyname], [nsl])
40 - AC_SEARCH_LIBS([getsockopt], [socket])
41 --AC_SEARCH_LIBS([sem_wait], [rt])
42 -+AC_SEARCH_LIBS([sem_wait], [rt] [pthread])
43 -
44 - # Check for X and Motif headers and libraries
45 - AC_PATH_X
46
47 diff --git a/dev-lang/polyml/files/polyml-5.6-ffi3.patch b/dev-lang/polyml/files/polyml-5.6-ffi3.patch
48 deleted file mode 100644
49 index bf15871d2742..000000000000
50 --- a/dev-lang/polyml/files/polyml-5.6-ffi3.patch
51 +++ /dev/null
52 @@ -1,18 +0,0 @@
53 ---- a/libpolyml/polyffi.cpp 2019-04-05 23:10:23.509729312 +0200
54 -+++ b/libpolyml/polyffi.cpp 2019-04-05 23:10:38.895485058 +0200
55 -@@ -89,7 +89,6 @@
56 - // Unfortunately the ABI entries are enums rather than #defines so we
57 - // can't test individual entries.
58 - #ifdef X86_WIN32
59 -- {"sysv", FFI_SYSV},
60 - {"stdcall", FFI_STDCALL},
61 - {"thiscall", FFI_THISCALL},
62 - {"fastcall", FFI_FASTCALL},
63 -@@ -97,7 +96,6 @@
64 - #elif defined(X86_WIN64)
65 - {"win64", FFI_WIN64},
66 - #elif defined(X86_ANY)
67 -- {"sysv", FFI_SYSV},
68 - {"unix64", FFI_UNIX64},
69 - #endif
70 - { "default", FFI_DEFAULT_ABI}
71
72 diff --git a/dev-lang/polyml/files/polyml-5.8.2-glibc234.patch b/dev-lang/polyml/files/polyml-5.8.2-glibc234.patch
73 deleted file mode 100644
74 index 9636cc61f245..000000000000
75 --- a/dev-lang/polyml/files/polyml-5.8.2-glibc234.patch
76 +++ /dev/null
77 @@ -1,30 +0,0 @@
78 -From 3e27444bea771e25102430bfa632edf8d106c91c Mon Sep 17 00:00:00 2001
79 -From: Jerry James <loganjerry@×××××.com>
80 -Date: Mon, 9 Aug 2021 15:37:39 -0600
81 -Subject: [PATCH] Adapt to nonconstant PTHREAD_STACK_MIN in glibc 2.34+
82 -
83 ----
84 - libpolyml/sighandler.cpp | 10 +++++-----
85 - 1 file changed, 5 insertions(+), 5 deletions(-)
86 -
87 -diff --git a/libpolyml/sighandler.cpp b/libpolyml/sighandler.cpp
88 -index fd6f6e3e..5d22b000 100644
89 ---- a/libpolyml/sighandler.cpp
90 -+++ b/libpolyml/sighandler.cpp
91 -@@ -547,11 +547,11 @@ void SigHandler::Init(void)
92 - pthread_attr_t attrs;
93 - pthread_attr_init(&attrs);
94 - #ifdef PTHREAD_STACK_MIN
95 --#if (PTHREAD_STACK_MIN < 4096)
96 -- pthread_attr_setstacksize(&attrs, 4096); // But not too small: FreeBSD makes it 2k
97 --#else
98 -- pthread_attr_setstacksize(&attrs, PTHREAD_STACK_MIN); // Only small stack.
99 --#endif
100 -+ // In glibc 2.34 and later, PTHREAD_STACK_MIN may expand to a function call
101 -+ size_t stacksize = PTHREAD_STACK_MIN; // Only small stack.
102 -+ if (stacksize < 4096U) // But not too small: FreeBSD makes it 2k
103 -+ stacksize = 4096U;
104 -+ pthread_attr_setstacksize(&attrs, stacksize);
105 - #endif
106 - threadRunning = pthread_create(&detectionThreadId, &attrs, SignalDetectionThread, 0) == 0;
107 - pthread_attr_destroy(&attrs);
108
109 diff --git a/dev-lang/polyml/polyml-5.8.2.ebuild b/dev-lang/polyml/polyml-5.8.2.ebuild
110 deleted file mode 100644
111 index 81e526fa0fbd..000000000000
112 --- a/dev-lang/polyml/polyml-5.8.2.ebuild
113 +++ /dev/null
114 @@ -1,56 +0,0 @@
115 -# Copyright 1999-2022 Gentoo Authors
116 -# Distributed under the terms of the GNU General Public License v2
117 -
118 -EAPI="6"
119 -
120 -inherit autotools pax-utils
121 -
122 -DESCRIPTION="Poly/ML is a full implementation of Standard ML"
123 -HOMEPAGE="https://www.polyml.org"
124 -SRC_URI="https://codeload.github.com/polyml/polyml/tar.gz/v${PV} -> ${P}.tar.gz"
125 -
126 -LICENSE="LGPL-2.1"
127 -SLOT="0/${PV}"
128 -KEYWORDS="~amd64 ~x86"
129 -IUSE="X +gmp portable test"
130 -RESTRICT="!test? ( test )"
131 -
132 -RDEPEND="X? ( x11-libs/motif:0 )
133 - gmp? ( >=dev-libs/gmp-5 )
134 - dev-libs/libffi:="
135 -DEPEND="${RDEPEND}"
136 -
137 -PATCHES=(
138 - "${FILESDIR}"/${PN}-5.8.2-configure.patch
139 - "${FILESDIR}"/${PN}-5.8.2-glibc234.patch
140 -)
141 -
142 -src_prepare() {
143 - default
144 - eautoreconf
145 -}
146 -
147 -src_configure() {
148 - econf \
149 - --enable-shared \
150 - --disable-static \
151 - --with-pic=pic-only \
152 - $(use_with X x) \
153 - $(use_with gmp) \
154 - $(use_enable !portable native-codegeneration)
155 -}
156 -
157 -src_compile() {
158 - # Bug 453146 - dev-lang/polyml-5.5.0: fails to build (pax kernel?)
159 - pushd libpolyml || die "Could not cd to libpolyml"
160 - emake
161 - popd
162 - emake polyimport
163 - pax-mark m "${S}/.libs/polyimport"
164 - emake
165 - pax-mark m "${S}/.libs/poly"
166 -}
167 -
168 -src_test() {
169 - emake tests
170 -}
171
172 diff --git a/dev-lang/polyml/polyml-5.8.ebuild b/dev-lang/polyml/polyml-5.8.ebuild
173 deleted file mode 100644
174 index eb2c706f99a2..000000000000
175 --- a/dev-lang/polyml/polyml-5.8.ebuild
176 +++ /dev/null
177 @@ -1,59 +0,0 @@
178 -# Copyright 1999-2022 Gentoo Authors
179 -# Distributed under the terms of the GNU General Public License v2
180 -
181 -EAPI="6"
182 -
183 -inherit autotools pax-utils
184 -
185 -DESCRIPTION="Poly/ML is a full implementation of Standard ML"
186 -HOMEPAGE="https://www.polyml.org"
187 -SRC_URI="https://codeload.github.com/polyml/polyml/tar.gz/v${PV} -> ${P}.tar.gz"
188 -
189 -LICENSE="LGPL-2.1"
190 -SLOT="0/${PV}"
191 -KEYWORDS="~amd64 ~x86"
192 -IUSE="X +gmp portable test +threads"
193 -RESTRICT="!test? ( test )"
194 -
195 -RDEPEND="X? ( x11-libs/motif:0 )
196 - gmp? ( >=dev-libs/gmp-5 )
197 - elibc_glibc? ( threads? ( >=sys-libs/glibc-2.13 ) )
198 - dev-libs/libffi:="
199 -DEPEND="${RDEPEND}"
200 -
201 -PATCHES=(
202 - "${FILESDIR}"/${PN}-5.6-configure.patch
203 - "${FILESDIR}"/${PN}-5.6-ffi3.patch
204 -)
205 -
206 -src_prepare() {
207 - default
208 - eautoreconf
209 -}
210 -
211 -src_configure() {
212 - econf \
213 - --enable-shared \
214 - --disable-static \
215 - --with-system-libffi \
216 - --with-pic=pic-only \
217 - $(use_with X x) \
218 - $(use_with gmp) \
219 - $(use_with portable) \
220 - $(use_with threads)
221 -}
222 -
223 -src_compile() {
224 - # Bug 453146 - dev-lang/polyml-5.5.0: fails to build (pax kernel?)
225 - pushd libpolyml || die "Could not cd to libpolyml"
226 - emake
227 - popd
228 - emake polyimport
229 - pax-mark m "${S}/.libs/polyimport"
230 - emake
231 - pax-mark m "${S}/.libs/poly"
232 -}
233 -
234 -src_test() {
235 - emake tests
236 -}