From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/btrfs-progs/files/, sys-fs/btrfs-progs/
Date: Sun, 19 May 2019 07:57:49 +0000 (UTC) [thread overview]
Message-ID: <1558252662.9fe2eda37e4c0a15e68dd3ad316a438018c4fd03.slyfox@gentoo> (raw)
commit: 9fe2eda37e4c0a15e68dd3ad316a438018c4fd03
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun May 19 07:57:26 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun May 19 07:57:42 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe2eda3
sys-fs/btrfs-progs: apply LDFLAGS to libbtrfsutil.so, bug #686284
libbtrfs.so already has user's LDFLAGS applied.
The change also applies those to libbtrfsutil.so.
Reported-by: Michał Górny
Bug: https://bugs.gentoo.org/686284
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
...-progs-5.1.ebuild => btrfs-progs-5.1-r1.ebuild} | 4 +++
.../files/btrfs-progs-5.1-LDFLAGS.patch | 37 ++++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/sys-fs/btrfs-progs/btrfs-progs-5.1.ebuild b/sys-fs/btrfs-progs/btrfs-progs-5.1-r1.ebuild
similarity index 98%
rename from sys-fs/btrfs-progs/btrfs-progs-5.1.ebuild
rename to sys-fs/btrfs-progs/btrfs-progs-5.1-r1.ebuild
index 4076d30d238..d8977bdf6b9 100644
--- a/sys-fs/btrfs-progs/btrfs-progs-5.1.ebuild
+++ b/sys-fs/btrfs-progs/btrfs-progs-5.1-r1.ebuild
@@ -74,6 +74,10 @@ fi
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.1-LDFLAGS.patch
+)
+
pkg_setup() {
use python && python-single-r1_pkg_setup
}
diff --git a/sys-fs/btrfs-progs/files/btrfs-progs-5.1-LDFLAGS.patch b/sys-fs/btrfs-progs/files/btrfs-progs-5.1-LDFLAGS.patch
new file mode 100644
index 00000000000..fa1fe7a5ede
--- /dev/null
+++ b/sys-fs/btrfs-progs/files/btrfs-progs-5.1-LDFLAGS.patch
@@ -0,0 +1,37 @@
+https://github.com/kdave/btrfs-progs/pull/172
+https://bugs.gentoo.org/686284
+
+From 7cdb5de31e954416e740886d46809e4883c31ddc Mon Sep 17 00:00:00 2001
+From: Sergei Trofimovich <slyfox@gentoo.org>
+Date: Sun, 19 May 2019 08:51:28 +0100
+Subject: [PATCH] Makefile: apply LDFLAGS to libbtrfsutil.so
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+libbtrfs.so already has user's LDFLAGS applied.
+The change also applies those to libbtrfsutil.so.
+
+Reported-by: Michał Górny
+Bug: https://bugs.gentoo.org/686284
+Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index e25e256f..4c67d187 100644
+--- a/Makefile
++++ b/Makefile
+@@ -424,7 +424,7 @@ libbtrfsutil/%.o: libbtrfsutil/%.c
+
+ libbtrfsutil.so.$(libbtrfsutil_version): $(libbtrfsutil_objects)
+ @echo " [LD] $@"
+- $(Q)$(CC) $(LIBBTRFSUTIL_CFLAGS) $(libbtrfsutil_objects) \
++ $(Q)$(CC) $(LIBBTRFSUTIL_CFLAGS) $(libbtrfsutil_objects) $(LDFLAGS) \
+ -shared -Wl,-soname,libbtrfsutil.so.$(libbtrfsutil_major) -o $@
+
+ libbtrfsutil.a: $(libbtrfsutil_objects)
+--
+2.21.0
+
next reply other threads:[~2019-05-19 7:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-19 7:57 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-02 7:29 [gentoo-commits] repo/gentoo:master commit in: sys-fs/btrfs-progs/files/, sys-fs/btrfs-progs/ Sam James
2024-04-25 12:21 Andreas K. Hüttel
2023-11-03 18:19 Sam James
2023-07-27 13:55 Sam James
2023-03-07 15:43 Sam James
2022-08-04 17:55 Mike Gilbert
2022-01-24 23:18 Sam James
2021-12-30 9:41 Sam James
2021-11-16 19:45 Georgy Yakovlev
2019-07-01 8:34 Lars Wendler
2019-01-16 12:02 Lars Wendler
2018-10-31 9:15 Lars Wendler
2018-03-19 13:36 Lars Wendler
2018-02-16 20:57 Mike Gilbert
2017-10-17 8:25 Lars Wendler
2017-03-27 20:45 Sergei Trofimovich
2016-11-12 22:09 Sergei Trofimovich
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=1558252662.9fe2eda37e4c0a15e68dd3ad316a438018c4fd03.slyfox@gentoo \
--to=slyfox@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