Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] erlang-p1-stringprep: backport upstream commit to fix musl build
@ 2016-05-16 17:05 Thomas Petazzoni
  2016-05-22 12:48 ` Bernd Kuhls
  2016-05-24 20:01 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2016-05-16 17:05 UTC (permalink / raw)
  To: buildroot

Amusingly, a fix made upstream to fix the build on Windows also fixes
the build with the musl C library.

Fixes:

  http://autobuild.buildroot.net/results/d7b0cacc5d99d8dc91fdeaf770bb5d2b1b1975b6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 .../0001-Stdint-is-required-on-windows.patch       | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 package/erlang-p1-stringprep/0001-Stdint-is-required-on-windows.patch

diff --git a/package/erlang-p1-stringprep/0001-Stdint-is-required-on-windows.patch b/package/erlang-p1-stringprep/0001-Stdint-is-required-on-windows.patch
new file mode 100644
index 0000000..7385503
--- /dev/null
+++ b/package/erlang-p1-stringprep/0001-Stdint-is-required-on-windows.patch
@@ -0,0 +1,28 @@
+From f5a2b8b78afb253630ee8833f16f131b3b52701e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= <pchmielowski@process-one.net>
+Date: Mon, 29 Feb 2016 10:56:32 +0100
+Subject: [PATCH] Stdint is required on windows
+
+[Backport from upstream commit
+4fc5cae81122540fff983e40dda1fa905c329fd0, which happens to not only
+fix the build on Windows, but also with the musl C library.]
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+---
+ c_src/stringprep.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/c_src/stringprep.cpp b/c_src/stringprep.cpp
+index 461cf09..26215cf 100644
+--- a/c_src/stringprep.cpp
++++ b/c_src/stringprep.cpp
+@@ -19,6 +19,7 @@
+  */
+ 
+ #include <string.h>
++#include <stdint.h>
+ #include <erl_nif.h>
+ 
+ #include "uni_data.c"
+-- 
+2.7.4
+
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] erlang-p1-stringprep: backport upstream commit to fix musl build
  2016-05-16 17:05 [Buildroot] [PATCH] erlang-p1-stringprep: backport upstream commit to fix musl build Thomas Petazzoni
@ 2016-05-22 12:48 ` Bernd Kuhls
  2016-05-24 20:01 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-05-22 12:48 UTC (permalink / raw)
  To: buildroot

Am Mon, 16 May 2016 19:05:58 +0200 schrieb Thomas Petazzoni:

> Amusingly, a fix made upstream to fix the build on Windows also fixes
> the build with the musl C library.
> 
> Fixes:
> 
>   http://autobuild.buildroot.net/results/
d7b0cacc5d99d8dc91fdeaf770bb5d2b1b1975b6/

Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
(compile-tested using defconfig from
 http://autobuild.buildroot.net/
results/79b/79b7ea651c21dc608b25cfb4f2685b98bd68480d/)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] erlang-p1-stringprep: backport upstream commit to fix musl build
  2016-05-16 17:05 [Buildroot] [PATCH] erlang-p1-stringprep: backport upstream commit to fix musl build Thomas Petazzoni
  2016-05-22 12:48 ` Bernd Kuhls
@ 2016-05-24 20:01 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2016-05-24 20:01 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 > Amusingly, a fix made upstream to fix the build on Windows also fixes
 > the build with the musl C library.

 > Fixes:

 >   http://autobuild.buildroot.net/results/d7b0cacc5d99d8dc91fdeaf770bb5d2b1b1975b6/

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-24 20:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-16 17:05 [Buildroot] [PATCH] erlang-p1-stringprep: backport upstream commit to fix musl build Thomas Petazzoni
2016-05-22 12:48 ` Bernd Kuhls
2016-05-24 20:01 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox