public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/lvm2/files/, sys-fs/lvm2/
Date: Thu, 22 Dec 2022 03:12:21 +0000 (UTC)	[thread overview]
Message-ID: <1671678716.cbd2c8fc7512b60176979181780468d3de852e1a.sam@gentoo> (raw)

commit:     cbd2c8fc7512b60176979181780468d3de852e1a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 03:11:56 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 03:11:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbd2c8fc

sys-fs/lvm2: fix musl build

Closes: https://bugs.gentoo.org/887259
Thanks-to: Jory A. Pratt <anarchy <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/lvm2/files/lvm2-2.03.17-musl-LOCK_EX.patch | 20 ++++++++++++++++++++
 sys-fs/lvm2/lvm2-2.03.17-r1.ebuild                |  1 +
 2 files changed, 21 insertions(+)

diff --git a/sys-fs/lvm2/files/lvm2-2.03.17-musl-LOCK_EX.patch b/sys-fs/lvm2/files/lvm2-2.03.17-musl-LOCK_EX.patch
new file mode 100644
index 000000000000..acb5e903b45a
--- /dev/null
+++ b/sys-fs/lvm2/files/lvm2-2.03.17-musl-LOCK_EX.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/887259
+
+From ab715e56feec4bbb135cc97d2d1e8e7340a8ee44 Mon Sep 17 00:00:00 2001
+From: Jory Pratt <anarchy@gentoo.org>
+Date: Tue, 20 Dec 2022 08:12:49 -0600
+Subject: [PATCH] Add missing include for LOCK_EX
+
+Signed-off-by: Jory Pratt <anarchy@gentoo.org>
+--- a/tools/vgimportdevices.c
++++ b/tools/vgimportdevices.c
+@@ -15,6 +15,7 @@
+ #include "tools.h"
+ #include "lib/cache/lvmcache.h"
+ #include "lib/device/device_id.h"
++#include <sys/file.h>
+ 
+ struct vgimportdevices_params {
+ 	uint32_t added_devices;
+-- 
+2.38.2

diff --git a/sys-fs/lvm2/lvm2-2.03.17-r1.ebuild b/sys-fs/lvm2/lvm2-2.03.17-r1.ebuild
index bfffdec912d5..6fa0f49415ea 100644
--- a/sys-fs/lvm2/lvm2-2.03.17-r1.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.17-r1.ebuild
@@ -72,6 +72,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-2.03.14-freopen_n2.patch
 	"${FILESDIR}"/${PN}-2.03.16-musl-strerror_r.patch
 	"${FILESDIR}"/${PN}-2.03.17-readelf.patch
+	"${FILESDIR}"/${PN}-2.03.17-musl-LOCK_EX.patch #887259
 )
 
 QA_CONFIGURE_OPTIONS="--disable-static"


             reply	other threads:[~2022-12-22  3:12 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-22  3:12 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-22 18:45 [gentoo-commits] repo/gentoo:master commit in: sys-fs/lvm2/files/, sys-fs/lvm2/ Sam James
2024-11-17 16:15 Mike Gilbert
2023-12-27 22:22 Sam James
2023-05-10 17:47 David Seifert
2023-03-07 14:20 David Seifert
2023-01-29 11:55 David Seifert
2022-10-26 23:11 Robin H. Johnson
2021-12-27  0:05 Lars Wendler
2021-10-20 12:20 Lars Wendler
2021-07-12 14:45 Mike Gilbert
2020-04-27  0:50 Thomas Deutschmann
2020-04-27  0:50 Thomas Deutschmann
2020-04-22 15:45 Thomas Deutschmann
2020-04-14 18:34 Thomas Deutschmann
2019-11-27 16:03 Lars Wendler
2019-06-02 22:31 Thomas Deutschmann
2019-04-17  7:26 Robin H. Johnson
2019-04-08 19:11 Robin H. Johnson
2018-10-11 10:39 Lars Wendler
2018-08-04 22:13 Robin H. Johnson
2018-06-06  5:31 Jeroen Roovers
2018-05-08 17:11 Robin H. Johnson
2017-07-09 22:05 Robin H. Johnson
2017-02-18 21:29 Marc Schiffbauer
2017-02-13 20:09 Marc Schiffbauer
2016-10-21 23:15 Robin H. Johnson
2016-03-15  3:59 Doug Goldstein
2016-03-10 15:37 Robin H. Johnson
2016-01-05  2:56 Doug Goldstein
2015-12-28  0:30 Robin H. Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1671678716.cbd2c8fc7512b60176979181780468d3de852e1a.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox