diff options
author | Martin Kolleck <martin.kolleck@gmail.com> | 2024-06-18 19:06:23 +0000 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-06-19 08:20:36 +0300 |
commit | ef369f2e3d5ff00e86119d5c0e4e031804d37879 (patch) | |
tree | 62062ed188e64533f54ec7bfcf8f64f8a38e4374 | |
parent | app-misc/blink1: Building the mini-tool requires libusb:0. (diff) | |
download | gentoo-ef369f2e3d5ff00e86119d5c0e4e031804d37879.tar.gz gentoo-ef369f2e3d5ff00e86119d5c0e4e031804d37879.tar.bz2 gentoo-ef369f2e3d5ff00e86119d5c0e4e031804d37879.zip |
app-misc/blink1: Add patch such that build system respects LDFLAGS.
Bug: https://bugs.gentoo.org/726634
Signed-off-by: Martin Kolleck <martin.kolleck@gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | app-misc/blink1/blink1-1.98-r2.ebuild | 2 | ||||
-rw-r--r-- | app-misc/blink1/files/blink1-1.98-ldflags.patch | 10 |
2 files changed, 12 insertions, 0 deletions
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= + |