From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4924E1382C5 for ; Wed, 24 Mar 2021 19:51:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 985B0E08AD; Wed, 24 Mar 2021 19:51:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7115FE08AD for ; Wed, 24 Mar 2021 19:51:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 060C334087C for ; Wed, 24 Mar 2021 19:51:52 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68DF45B9 for ; Wed, 24 Mar 2021 19:51:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1616615486.0bf2ad14f82df0cfe05eda3cf3cb1c157095a025.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcgroup/files/, dev-libs/libcgroup/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libcgroup/files/libcgroup-0.41-slibtool.patch dev-libs/libcgroup/libcgroup-0.41-r6.ebuild X-VCS-Directories: dev-libs/libcgroup/files/ dev-libs/libcgroup/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0bf2ad14f82df0cfe05eda3cf3cb1c157095a025 X-VCS-Branch: master Date: Wed, 24 Mar 2021 19:51:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a2bfa54a-bdd6-4e47-8ec0-4b9681a78131 X-Archives-Hash: d6c0511e55a5cae987175e072ac9d66e commit: 0bf2ad14f82df0cfe05eda3cf3cb1c157095a025 Author: Sam James gentoo org> AuthorDate: Wed Mar 24 19:51:26 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 24 19:51:26 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf2ad14 dev-libs/libcgroup: fix build with slibtool Thanks-to: orbea riseup.net> Closes: https://bugs.gentoo.org/777450 Signed-off-by: Sam James gentoo.org> .../libcgroup/files/libcgroup-0.41-slibtool.patch | 59 ++++++++++++++++++++++ dev-libs/libcgroup/libcgroup-0.41-r6.ebuild | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) diff --git a/dev-libs/libcgroup/files/libcgroup-0.41-slibtool.patch b/dev-libs/libcgroup/files/libcgroup-0.41-slibtool.patch new file mode 100644 index 00000000000..114209116bf --- /dev/null +++ b/dev-libs/libcgroup/files/libcgroup-0.41-slibtool.patch @@ -0,0 +1,59 @@ +https://bugs.gentoo.org/777450 + +commit 0c710d2f82184984e73b643a8e752f55371c6bc8 +Author: orbea +Date: Sun Mar 21 13:24:23 2021 -0700 + + build: Remove .libs from Makefile.am files. + + Signed-off-by: orbea + +diff --git a/src/bindings/Makefile.am b/src/bindings/Makefile.am +index 8bb7334..c59641b 100644 +--- a/src/bindings/Makefile.am ++++ b/src/bindings/Makefile.am +@@ -5,7 +5,7 @@ lib_LTLIBRARIES = _libcgroup.la + _libcgroup_la_SOURCES = libcgroup.c + _libcgroup_la_LDFLAGS = $(shell python-config --ldflags) -module -avoid-version + _libcgroup_la_CFLAGS = $(shell python-config --cflags) +-_libcgroup_la_LIBADD = $(top_builddir)/src/.libs/libcgroup.la ++_libcgroup_la_LIBADD = $(top_builddir)/src/libcgroup.la + SWIG=swig + + +diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am +index 2e08a4d..c8dbe67 100644 +--- a/src/daemon/Makefile.am ++++ b/src/daemon/Makefile.am +@@ -4,7 +4,7 @@ if WITH_DAEMON + + sbin_PROGRAMS = cgrulesengd + cgrulesengd_SOURCES = cgrulesengd.c cgrulesengd.h +-cgrulesengd_LDADD = $(top_builddir)/src/.libs/libcgroup.la -lrt ++cgrulesengd_LDADD = $(top_builddir)/src/libcgroup.la -lrt + cgrulesengd_LDFLAGS = -L$(top_builddir)/src/.libs + + endif +diff --git a/src/pam/Makefile.am b/src/pam/Makefile.am +index 852ceae..df173c2 100644 +--- a/src/pam/Makefile.am ++++ b/src/pam/Makefile.am +@@ -5,6 +5,6 @@ if WITH_PAM + pamlib_LTLIBRARIES = pam_cgroup.la + pam_cgroup_la_SOURCES = pam_cgroup.c + pam_cgroup_la_LDFLAGS = -module +-pam_cgroup_la_LIBADD = $(top_builddir)/src/.libs/libcgroup.la -lpam ++pam_cgroup_la_LIBADD = $(top_builddir)/src/libcgroup.la -lpam + + endif +diff --git a/src/tools/Makefile.am b/src/tools/Makefile.am +index 0280d4a..cb0b8f3 100644 +--- a/src/tools/Makefile.am ++++ b/src/tools/Makefile.am +@@ -1,5 +1,5 @@ + AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include +-LDADD = $(top_builddir)/src/.libs/libcgroup.la ++LDADD = $(top_builddir)/src/libcgroup.la + + if WITH_TOOLS + diff --git a/dev-libs/libcgroup/libcgroup-0.41-r6.ebuild b/dev-libs/libcgroup/libcgroup-0.41-r6.ebuild index 5aaf74bec12..58ba8aad708 100644 --- a/dev-libs/libcgroup/libcgroup-0.41-r6.ebuild +++ b/dev-libs/libcgroup/libcgroup-0.41-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -47,6 +47,7 @@ PATCHES=( "${FILESDIR}"/${P}-replace_INLCUDES.patch "${FILESDIR}"/${P}-reorder-headers.patch "${FILESDIR}"/${P}-remove-umask.patch + "${FILESDIR}"/${P}-slibtool.patch ) src_prepare() {