1From 7c3036609494296f7c29413bf3acba829c81f62c Mon Sep 17 00:00:00 2001 2From: Romain Naour <romain.naour@openwide.fr> 3Date: Sat, 8 Aug 2015 22:58:57 +0200 4Subject: [PATCH 1/2] define __THROW to avoid build issue with musl 5 6Fixes: 7http://autobuild.buildroot.net/results/d27/d2781e70b04a207e2e9397d888032294c7285034/build-end.log 8 9Signed-off-by: Romain Naour <romain.naour@openwide.fr> 10--- 11Upstream-Status: Pending 12 13 genisoimage/sha256.h | 4 ++++ 14 genisoimage/sha512.h | 4 ++++ 15 2 files changed, 8 insertions(+) 16 17diff --git a/genisoimage/sha256.h b/genisoimage/sha256.h 18index e7f4cb9..bcae7ef 100644 19--- a/genisoimage/sha256.h 20+++ b/genisoimage/sha256.h 21@@ -29,6 +29,10 @@ 22 #include <stdint.h> 23 #include <stdio.h> 24 25+/* define __THROW to avoid build issue when it's not available from the libc */ 26+#ifndef __THROW 27+# define __THROW 28+#endif 29 30 /* Structure to save state of computation between the single steps. */ 31 struct sha256_ctx 32diff --git a/genisoimage/sha512.h b/genisoimage/sha512.h 33index 7298355..8cee8b0 100644 34--- a/genisoimage/sha512.h 35+++ b/genisoimage/sha512.h 36@@ -29,6 +29,10 @@ 37 #include <stdint.h> 38 #include <stdio.h> 39 40+/* define __THROW to avoid build issue when it's not available from the libc */ 41+#ifndef __THROW 42+# define __THROW 43+#endif 44 45 /* Structure to save state of computation between the single steps. */ 46 struct sha512_ctx 47-- 482.14.1 49 50