All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jörg Krause" <joerg.krause@embedded.rocks>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/macchanger: fix musl build
Date: Mon, 02 May 2016 21:40:05 +0200	[thread overview]
Message-ID: <1462218005.2955.1.camel@embedded.rocks> (raw)
In-Reply-To: <1453588987-16758-1-git-send-email-bernd.kuhls@t-online.de>

Hi,

On Sa, 2016-01-23 at 23:43 +0100, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/2bc/2bccf3fd7060870a337c0bd7a9
> a750d0ad4e2c1c/
> http://autobuild.buildroot.net/results/7d3/7d3f5bb036039b6966682eaf59
> b8600849f27034/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> ?package/macchanger/0001-fix-build-with-musl.patch | 23
> +++++++++++++++++++++++
> ?1 file changed, 23 insertions(+)
> ?create mode 100644 package/macchanger/0001-fix-build-with-musl.patch
> 
> diff --git a/package/macchanger/0001-fix-build-with-musl.patch
> b/package/macchanger/0001-fix-build-with-musl.patch
> new file mode 100644
> index 0000000..e6f6db5
> --- /dev/null
> +++ b/package/macchanger/0001-fix-build-with-musl.patch
> @@ -0,0 +1,23 @@
> +Fix musl build
> +
> +Downloaded from:
> +https://github.com/openwrt/packages/blob/master/utils/macchanger/pat
> ches/0001-fix-build-with-musl.patch
> +
> +Bug was already reported upstream:
> +https://github.com/alobbs/macchanger/issues/14
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> +
> +Index: macchanger-1.7.0/src/netinfo.c
> +===================================================================
> +--- macchanger-1.7.0.orig/src/netinfo.c
> ++++ macchanger-1.7.0/src/netinfo.c
> +@@ -113,7 +113,7 @@ mc_net_info_get_permanent_mac (const net
> +?	epa->size = IFHWADDRLEN;
> +?
> +?	memcpy(&req, &(net->dev), sizeof(struct ifreq));
> +-	req.ifr_data = (caddr_t)epa;
> ++	req.ifr_data = (char *)epa;
> +?
> +?	if (ioctl(net->sock, SIOCETHTOOL, &req) < 0) {
> +?		perror ("[ERROR] Could not read permanent MAC");

any reason why this patch is marked as "Changes Requested"? The build
error is still present...

Best regards
J?rg Krause

  reply	other threads:[~2016-05-02 19:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-23 22:43 [Buildroot] [PATCH 1/1] package/macchanger: fix musl build Bernd Kuhls
2016-05-02 19:40 ` Jörg Krause [this message]
2016-05-02 21:32   ` Arnout Vandecappelle
2016-05-06  6:26     ` Jörg Krause

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=1462218005.2955.1.camel@embedded.rocks \
    --to=joerg.krause@embedded.rocks \
    --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.