Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/6] package/libsigrok: fix musl build
Date: Tue, 2 Feb 2016 14:06:03 +0100	[thread overview]
Message-ID: <56B0A9BB.5060509@mind.be> (raw)
In-Reply-To: <1454248738-12371-4-git-send-email-bernd.kuhls@t-online.de>

On 31-01-16 14:58, Bernd Kuhls wrote:
> Fixes
> http://autobuild.buildroot.net/results/afc/afcea2068d5b0ba707aa90339401550602103ca7/
> http://autobuild.buildroot.net/results/a4d/a4dab61fb39dd642f85fad20972a0a4572af9a73/
> and others
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>


 Regards,
 Arnout

> ---
>  ...01-beaglelogic.h-fix-build-with-musl-libc.patch | 38 ++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>  create mode 100644 package/libsigrok/0001-beaglelogic.h-fix-build-with-musl-libc.patch
> 
> diff --git a/package/libsigrok/0001-beaglelogic.h-fix-build-with-musl-libc.patch b/package/libsigrok/0001-beaglelogic.h-fix-build-with-musl-libc.patch
> new file mode 100644
> index 0000000..e9ecf85
> --- /dev/null
> +++ b/package/libsigrok/0001-beaglelogic.h-fix-build-with-musl-libc.patch
> @@ -0,0 +1,38 @@
> +From 1b9ca481b2447154d12a7a94fe90c5b968ddf41c Mon Sep 17 00:00:00 2001
> +From: Bernd Kuhls <bernd.kuhls@t-online.de>
> +Date: Sat, 30 Jan 2016 20:01:05 +0100
> +Subject: [PATCH 1/1] beaglelogic.h: fix build with musl libc
> +
> +This patch fixes a build error seen on the buildroot project:
> +http://autobuild.buildroot.net/results/afc/afcea2068d5b0ba707aa90339401550602103ca7/
> +
> +Patch taken from
> +https://github.com/dx9/ceph/commit/4f7bcabca7737c3f48f07ca2b4b1296c29e3358b
> +which solved a similar problem.
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> +---
> +Patch sent upstream:
> +http://article.gmane.org/gmane.comp.debugging.sigrok.devel/1948
> +
> + src/hardware/beaglelogic/beaglelogic.h | 4 ++++
> + 1 file changed, 4 insertions(+)
> +
> +diff --git a/src/hardware/beaglelogic/beaglelogic.h b/src/hardware/beaglelogic/beaglelogic.h
> +index 9015c61..165b386 100644
> +--- a/src/hardware/beaglelogic/beaglelogic.h
> ++++ b/src/hardware/beaglelogic/beaglelogic.h
> +@@ -28,6 +28,10 @@
> + #include <stdlib.h>
> + #include <unistd.h>
> + 
> ++#ifndef __STRING
> ++# define __STRING(x) #x
> ++#endif
> ++
> + /* BeagleLogic device node name */
> + #define BEAGLELOGIC_DEV_NODE        "/dev/beaglelogic"
> + #define BEAGLELOGIC_SYSFS_ATTR(a)   "/sys/devices/virtual/misc/beaglelogic/"\
> +-- 
> +2.7.0.rc3
> +
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2016-02-02 13:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-31 13:58 [Buildroot] [PATCH 0/6] Bump sigrok packages Bernd Kuhls
2016-01-31 13:58 ` [Buildroot] [PATCH 1/6] package/libserialport: bump version to 0.1.1 Bernd Kuhls
2016-01-31 13:58 ` [Buildroot] [PATCH 2/6] package/libsigrok: bump version to 0.4.0 Bernd Kuhls
2016-01-31 13:58 ` [Buildroot] [PATCH 3/6] package/libsigrok: fix musl build Bernd Kuhls
2016-02-02 13:06   ` Arnout Vandecappelle [this message]
2016-01-31 13:58 ` [Buildroot] [PATCH 4/6] package/libsigrokdecode: bump version to 0.4.0 Bernd Kuhls
2016-01-31 13:58 ` [Buildroot] [PATCH 5/6] package/sigrok-cli: bump version to 0.6.0 Bernd Kuhls
2016-01-31 13:58 ` [Buildroot] [PATCH 6/6] package/pulseview: bump version to 0.3.0 Bernd Kuhls
2016-01-31 22:32 ` [Buildroot] [PATCH 0/6] Bump sigrok packages 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=56B0A9BB.5060509@mind.be \
    --to=arnout@mind.be \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox