All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francois Perrad <fperrad@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/lua-lunix: fix build with musl
Date: Sat, 17 Jul 2021 15:21:44 +0200	[thread overview]
Message-ID: <20210717132144.1503495-1-francois.perrad@gadz.org> (raw)

see http://autobuild.buildroot.net/results/7d192a0a1d58d258b77906cf936949b2f47373cd/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 .../0002-remove-link-with-librt.patch         | 36 +++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 package/lua-lunix/0002-remove-link-with-librt.patch

diff --git a/package/lua-lunix/0002-remove-link-with-librt.patch b/package/lua-lunix/0002-remove-link-with-librt.patch
new file mode 100644
index 000000000..7b1c8ddd5
--- /dev/null
+++ b/package/lua-lunix/0002-remove-link-with-librt.patch
@@ -0,0 +1,36 @@
+From aeaff83b9ae42547b8728edac000f3d41d5e44aa Mon Sep 17 00:00:00 2001
+From: Francois Perrad <francois.perrad@gadz.org>
+Date: Sat, 17 Jul 2021 13:21:38 +0200
+Subject: [PATCH] remove link with librt
+
+librt is not available with musl
+
+Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
+---
+ lunix-rel-20170920/lunix-20170920-1.rockspec | 10 ----------
+ 1 file changed, 10 deletions(-)
+
+diff --git a/lunix-rel-20170920/lunix-20170920-1.rockspec b/lunix-rel-20170920/lunix-20170920-1.rockspec
+index 741179d..76cafeb 100644
+--- a/lunix-rel-20170920/lunix-20170920-1.rockspec
++++ b/lunix-rel-20170920/lunix-20170920-1.rockspec
+@@ -26,16 +26,6 @@ build = {
+ 		};
+ 	};
+ 	platforms = {
+-		linux = {
+-			modules = {
+-				["unix"] = {
+-					libraries = {
+-						-- glibc <= 2.17 needs to link with librt
+-						"rt";
+-					};
+-				};
+-			};
+-		};
+ 		osx = {
+ 			modules = {
+ 				["unix"] = {
+-- 
+2.30.2
+
-- 
2.30.2

             reply	other threads:[~2021-07-17 13:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-17 13:21 Francois Perrad [this message]
2021-07-20 19:26 ` [Buildroot] [PATCH] package/lua-lunix: fix build with musl Thomas Petazzoni

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=20210717132144.1503495-1-francois.perrad@gadz.org \
    --to=fperrad@gmail.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.