commit:     e0f1d58281363a0f2be384ecfa395e065119bd50
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 22 01:50:14 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Nov 22 01:50:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0f1d582

dev-libs/concurrencykit: drop old version

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../concurrencykit/concurrencykit-0.7.0.ebuild     | 28 ----------------
 .../concurrencykit/files/concurrencykit-doc.patch  | 24 --------------
 .../files/concurrencykit-glibc-2.30.patch          | 37 ----------------------
 3 files changed, 89 deletions(-)

diff --git a/dev-libs/concurrencykit/concurrencykit-0.7.0.ebuild 
b/dev-libs/concurrencykit/concurrencykit-0.7.0.ebuild
deleted file mode 100644
index 24f79b72508..00000000000
--- a/dev-libs/concurrencykit/concurrencykit-0.7.0.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MY_PN="ck"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A library with concurrency related algorithms and data structures 
in C"
-HOMEPAGE="http://concurrencykit.org";
-SRC_URI="https://github.com/concurrencykit/ck/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0 BSD-2"
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-
-# libck.so name collision #616762
-# these packages have nothing in common
-RDEPEND="!sys-cluster/charm"
-
-# https://github.com/concurrencykit/ck/issues/147
-# https://github.com/concurrencykit/ck/issues/150
-PATCHES=(
-       "${FILESDIR}/${PN}-glibc-2.30.patch"
-       "${FILESDIR}/${PN}-doc.patch"
-)
-
-S="${WORKDIR}/${MY_P}"

diff --git a/dev-libs/concurrencykit/files/concurrencykit-doc.patch 
b/dev-libs/concurrencykit/files/concurrencykit-doc.patch
deleted file mode 100644
index 40aa466bb4e..00000000000
--- a/dev-libs/concurrencykit/files/concurrencykit-doc.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/doc/Makefile.in b/doc/Makefile.in
-index cbad704..f476925 100644
---- a/doc/Makefile.in
-+++ b/doc/Makefile.in
-@@ -1,7 +1,7 @@
- .PHONY: clean install uninstall
- 
- MANDIR=@MANDIR@
--GZIP=@GZIP@
-+GZIP=/bin/echo
- GZIP_SUFFIX=.3@GZIP_SUFFIX@
- BUILD_DIR=@BUILD_DIR@
- SRC_DIR=@SRC_DIR@
-@@ -206,7 +206,9 @@ refcheck:
- 
- install:
-       mkdir -p $(DESTDIR)/$(MANDIR)/man3 || exit
--      cp *$(GZIP_SUFFIX) $(DESTDIR)/$(MANDIR)/man3 || exit
-+      for target in $(OBJECTS); do    \
-+              cp -v $$target $(DESTDIR)/$(MANDIR)/man3/$$target.3 || exit; \
-+      done
- 
- uninstall:
-       for target in $(OBJECTS); do                      \

diff --git a/dev-libs/concurrencykit/files/concurrencykit-glibc-2.30.patch 
b/dev-libs/concurrencykit/files/concurrencykit-glibc-2.30.patch
deleted file mode 100644
index 452421c6312..00000000000
--- a/dev-libs/concurrencykit/files/concurrencykit-glibc-2.30.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-diff --git a/regressions/common.h b/regressions/common.h
-index 6e53483d..9cdc690a 100644
---- a/regressions/common.h
-+++ b/regressions/common.h
-@@ -267,13 +267,11 @@ struct affinity {
- #define AFFINITY_INITIALIZER {0, 0}
- 
- #ifdef __linux__
--#ifndef gettid
- static pid_t
--gettid(void)
-+common_gettid(void)
- {
-       return syscall(__NR_gettid);
- }
--#endif /* gettid */
- 
- CK_CC_UNUSED static int
- aff_iterate(struct affinity *acb)
-@@ -285,7 +283,7 @@ aff_iterate(struct affinity *acb)
-       CPU_ZERO(&s);
-       CPU_SET(c % CORES, &s);
- 
--      if (sched_setaffinity(gettid(), sizeof(s), &s) != 0)
-+      if (sched_setaffinity(common_gettid(), sizeof(s), &s) != 0)
-               perror("WARNING: Could not affine thread");
-       
-         return 0;
-@@ -300,7 +298,7 @@ aff_iterate_core(struct affinity *acb, unsigned int *core)
-       CPU_ZERO(&s);
-       CPU_SET((*core) % CORES, &s);
- 
--      if (sched_setaffinity(gettid(), sizeof(s), &s) != 0)
-+      if (sched_setaffinity(common_gettid(), sizeof(s), &s) != 0)
-               perror("WARNING: Could not affine thread");
-       
-         return 0;

Reply via email to