aboutsummaryrefslogtreecommitdiff
path: root/package/erlang-p1-stringprep
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-05-16 19:05:58 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-05-24 22:01:03 +0200
commit20b3ed7408dd106b5d6d64ab0683e493537b7411 (patch)
treebac309659a1fc988664670d35361b805b34d74b9 /package/erlang-p1-stringprep
parent9d217aa4dd987128ba874d3c6ee2255ffed10305 (diff)
downloadbuildroot-20b3ed7408dd106b5d6d64ab0683e493537b7411.tar.gz
buildroot-20b3ed7408dd106b5d6d64ab0683e493537b7411.tar.bz2
erlang-p1-stringprep: backport upstream commit to fix musl build
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> Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/erlang-p1-stringprep')
-rw-r--r--package/erlang-p1-stringprep/0001-Stdint-is-required-on-windows.patch28
1 files changed, 28 insertions, 0 deletions
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 0000000000..7385503b71
--- /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
+