* [gentoo-commits] repo/gentoo:master commit in: app-misc/blink1/, app-misc/blink1/files/
@ 2024-06-19 5:20 Arthur Zamarin
0 siblings, 0 replies; only message in thread
From: Arthur Zamarin @ 2024-06-19 5:20 UTC (permalink / raw
To: gentoo-commits
commit: ef369f2e3d5ff00e86119d5c0e4e031804d37879
Author: Martin Kolleck <martin.kolleck <AT> gmail <DOT> com>
AuthorDate: Tue Jun 18 19:06:23 2024 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 19 05:20:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef369f2e
app-misc/blink1: Add patch such that build system respects LDFLAGS.
Bug: https://bugs.gentoo.org/726634
Signed-off-by: Martin Kolleck <martin.kolleck <AT> gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
app-misc/blink1/blink1-1.98-r2.ebuild | 2 ++
app-misc/blink1/files/blink1-1.98-ldflags.patch | 10 ++++++++++
2 files changed, 12 insertions(+)
diff --git a/app-misc/blink1/blink1-1.98-r2.ebuild b/app-misc/blink1/blink1-1.98-r2.ebuild
index 44d029ea0c00..6e914c9db749 100644
--- a/app-misc/blink1/blink1-1.98-r2.ebuild
+++ b/app-misc/blink1/blink1-1.98-r2.ebuild
@@ -41,6 +41,8 @@ RDEPEND="dev-libs/hidapi
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=( "${FILESDIR}/${P}-ldflags.patch" )
+
pkg_setup() {
## check for USB HID kernel support
linux-info_pkg_setup
diff --git a/app-misc/blink1/files/blink1-1.98-ldflags.patch b/app-misc/blink1/files/blink1-1.98-ldflags.patch
new file mode 100644
index 000000000000..17962cf23dfe
--- /dev/null
+++ b/app-misc/blink1/files/blink1-1.98-ldflags.patch
@@ -0,0 +1,10 @@
+--- a/commandline/Makefile
++++ b/commandline/Makefile
+@@ -229,6 +229,7 @@
+
+ # static doesn't work on Ubuntu 13+
+ #EXEFLAGS = -static
++EXEFLAGS = $(LDFLAGS)
+ LIBFLAGS = -shared -o $(LIBTARGET) $(LIBS)
+ EXE=
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-19 5:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-19 5:20 [gentoo-commits] repo/gentoo:master commit in: app-misc/blink1/, app-misc/blink1/files/ Arthur Zamarin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox