Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From 7c3036609494296f7c29413bf3acba829c81f62c Mon Sep 17 00:00:00 2001 |
| 2 | From: Romain Naour <romain.naour@openwide.fr> |
| 3 | Date: Sat, 8 Aug 2015 22:58:57 +0200 |
| 4 | Subject: [PATCH 1/2] define __THROW to avoid build issue with musl |
| 5 | |
| 6 | Fixes: |
| 7 | http://autobuild.buildroot.net/results/d27/d2781e70b04a207e2e9397d888032294c7285034/build-end.log |
| 8 | |
| 9 | Signed-off-by: Romain Naour <romain.naour@openwide.fr> |
| 10 | --- |
Patrick Williams | 520786c | 2023-06-25 16:20:36 -0500 | [diff] [blame] | 11 | Upstream-Status: Pending |
| 12 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 13 | genisoimage/sha256.h | 4 ++++ |
| 14 | genisoimage/sha512.h | 4 ++++ |
| 15 | 2 files changed, 8 insertions(+) |
| 16 | |
| 17 | diff --git a/genisoimage/sha256.h b/genisoimage/sha256.h |
| 18 | index 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 |
| 32 | diff --git a/genisoimage/sha512.h b/genisoimage/sha512.h |
| 33 | index 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 | -- |
| 48 | 2.14.1 |
| 49 | |