* [gentoo-commits] repo/gentoo:master commit in: sys-libs/lwp/files/, sys-libs/lwp/
@ 2019-09-11 16:21 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2019-09-11 16:21 UTC (permalink / raw
To: gentoo-commits
commit: 76f3951a370b8164f9d7dfb821c6a6689e863149
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 11 11:27:13 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 11 16:20:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76f3951a
sys-libs/lwp: Drop old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sys-libs/lwp/Manifest | 2 --
sys-libs/lwp/files/lwp-2.0-amd64.patch | 28 ----------------------------
sys-libs/lwp/lwp-2.2.ebuild | 34 ----------------------------------
sys-libs/lwp/lwp-2.6-r1.ebuild | 19 -------------------
4 files changed, 83 deletions(-)
diff --git a/sys-libs/lwp/Manifest b/sys-libs/lwp/Manifest
index 67116fd2175..61b56cb6b27 100644
--- a/sys-libs/lwp/Manifest
+++ b/sys-libs/lwp/Manifest
@@ -1,3 +1 @@
-DIST lwp-2.2.tar.gz 376136 BLAKE2B 2f80ccab5cdc7e910a0ae41416a24a8fd2a6da86799f1393b23fb570d61e6973aa4ebc70fec8d3343465bbc5eea1280fa70d14ca2678d2b2d490333b5cef2f2a SHA512 a5fa52c0483e04fdbface5f0e9cc85bab5db59c4d730a3cb3c538ccaa3a88aaa916b37478e4c5450e77bcc45638987610ba619995a75541d728f138f103c5d7e
-DIST lwp-2.6.tar.gz 372225 BLAKE2B 86b00eee6f2acafd9214c879255936ba40c27a5773d47a1e58375775a80c96b739cc17acf6aacf3b161e53445d947af341a555edbd2cb8783741075bfacaea43 SHA512 ad8374ddf55ef9fddf9ce0b8d7c2ae0dc206e5108a01f278a37486070ab70e5bd7312f057863254b4fc430cfbed2c36f589807813e6a99067933142d5225395b
DIST lwp-2.8.tar.xz 270008 BLAKE2B 67107f880d5052d42166fe429cda14b4d733bcc3e5905cf48b23898e0da590854ca935ea0350c77be75c3f27d2624134c17159e5f2981ac8806bd78906d7de41 SHA512 c56f3b350e888b5bcb2bffb41086f8926e975aafae236be7f1d2153bb178a37564b77d7598db1aa915714ce8e2ed1904663ce2113f5d0853173cf5e189958bf0
diff --git a/sys-libs/lwp/files/lwp-2.0-amd64.patch b/sys-libs/lwp/files/lwp-2.0-amd64.patch
deleted file mode 100644
index 64a1576f089..00000000000
--- a/sys-libs/lwp/files/lwp-2.0-amd64.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -ruN lwp-2.0/src/lwp.c lwp-2.0-fixed/src/lwp.c
---- lwp-2.0/src/lwp.c 2005-03-25 17:50:56.000000000 +0100
-+++ lwp-2.0-fixed/src/lwp.c 2005-05-05 14:32:56.580753096 +0200
-@@ -463,6 +463,16 @@
- #ifndef MMAP_LWP_STACKS
- stackptr = (char *) malloc(stacksize);
- #else
-+ pagesize = getpagesize();
-+
-+#if defined(__x86_64__)
-+ /* [gb] Ensure minimal stack size. Heuristically determined
-+ through tdb test that 2048 is too small when printf() et al. come
-+ into action. */
-+ if (stacksize < pagesize)
-+ stacksize = pagesize;
-+#endif
-+
- #ifdef MAP_ANON
- stackptr = mmap(lwp_stackbase, stacksize, PROT_READ | PROT_WRITE,
- MAP_PRIVATE | MAP_ANON, -1, 0);
-@@ -483,7 +493,6 @@
- perror("stack: ");
- assert(0);
- }
-- pagesize = getpagesize();
- lwp_stackbase += ((stacksize/pagesize) + 2) * pagesize;
- #endif
- if (!stackptr)
diff --git a/sys-libs/lwp/lwp-2.2.ebuild b/sys-libs/lwp/lwp-2.2.ebuild
deleted file mode 100644
index 85cd229c024..00000000000
--- a/sys-libs/lwp/lwp-2.2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils
-
-DESCRIPTION="Light weight process library (used by Coda). This is NOT libwww-perl"
-HOMEPAGE="http://www.coda.cs.cmu.edu/"
-SRC_URI="http://www.coda.cs.cmu.edu/pub/lwp/src/${P}.tar.gz"
-
-SLOT="1"
-LICENSE="LGPL-2.1"
-KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE=""
-
-DEPEND="sys-apps/grep
- sys-apps/sed
- sys-devel/libtool
- sys-devel/gcc"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Was introduced for bug #34542, not sure if still needed
- use amd64 && epatch "${FILESDIR}"/lwp-2.0-amd64.patch
-}
-
-src_install() {
- einstall || die "einstall failed."
- dodoc AUTHORS NEWS PORTING README
-}
diff --git a/sys-libs/lwp/lwp-2.6-r1.ebuild b/sys-libs/lwp/lwp-2.6-r1.ebuild
deleted file mode 100644
index f4206728130..00000000000
--- a/sys-libs/lwp/lwp-2.6-r1.ebuild
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Light-weight process library (used by Coda)"
-HOMEPAGE="http://www.coda.cs.cmu.edu/"
-SRC_URI="http://www.coda.cs.cmu.edu/pub/lwp/src/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="1"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-src_prepare() {
- eapply_user
- # Was introduced for bug #34542, not sure if still needed
- use amd64 && eapply "${FILESDIR}"/lwp-2.0-amd64.patch
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-libs/lwp/files/, sys-libs/lwp/
@ 2025-02-10 8:50 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-02-10 8:50 UTC (permalink / raw
To: gentoo-commits
commit: 6542e01818ccf338bff31589365cf3a7a764cc30
Author: NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Wed Feb 5 19:01:18 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 08:48:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6542e018
sys-libs/lwp: update EAPI 7 -> 8, fix bool
As bool definition is very private, replacement with stdbool.h
doesn't affect ABI or API
Closes: https://bugs.gentoo.org/943734
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40454
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-libs/lwp/files/lwp-2.8-bool.patch | 14 ++++++++++++++
sys-libs/lwp/lwp-2.8-r1.ebuild | 22 ++++++++++++++++++++++
2 files changed, 36 insertions(+)
diff --git a/sys-libs/lwp/files/lwp-2.8-bool.patch b/sys-libs/lwp/files/lwp-2.8-bool.patch
new file mode 100644
index 000000000000..6b5e6d4ed26b
--- /dev/null
+++ b/sys-libs/lwp/files/lwp-2.8-bool.patch
@@ -0,0 +1,14 @@
+Used for declaration of private function only, so change
+causes no visible effects
+https://bugs.gentoo.org/943734
+--- a/src/timer.c
++++ b/src/timer.c
+@@ -48,7 +48,7 @@
+ #include <lwp/timer.h>
+ #include "lwp.private.h"
+
+-typedef unsigned char bool;
++#include <stdbool.h>
+
+ #define expiration TotalTime
+
diff --git a/sys-libs/lwp/lwp-2.8-r1.ebuild b/sys-libs/lwp/lwp-2.8-r1.ebuild
new file mode 100644
index 000000000000..72d4f50f4d8c
--- /dev/null
+++ b/sys-libs/lwp/lwp-2.8-r1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Light-weight process library (used by Coda)"
+HOMEPAGE="http://www.coda.cs.cmu.edu/"
+SRC_URI="http://www.coda.cs.cmu.edu/pub/lwp/src/${P}.tar.xz"
+
+LICENSE="LGPL-2.1"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+
+PATCHES=(
+ "${FILESDIR}"/"${P}"-ia64.patch
+ "${FILESDIR}"/"${P}"-bool.patch
+)
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-10 8:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-11 16:21 [gentoo-commits] repo/gentoo:master commit in: sys-libs/lwp/files/, sys-libs/lwp/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2025-02-10 8:50 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox