• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/cdrkit/0002-define-__THROW-to-avoid-build-issue-with-musl.patch
Romain NaourRomain Naour committed e86fc46a99a08 Aug 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 9454ef47db30caa4359766c8730d9d92f65c64f7 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] 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
---
11
 genisoimage/sha256.h | 4 ++++
12
 genisoimage/sha512.h | 4 ++++
13
 2 files changed, 8 insertions(+)
14
​
15
diff --git a/genisoimage/sha256.h b/genisoimage/sha256.h
16
index e7f4cb9..bcae7ef 100644
17
--- a/genisoimage/sha256.h
18
+++ b/genisoimage/sha256.h
19
@@ -29,6 +29,10 @@
20
 #include <stdint.h>
21
 #include <stdio.h>
22
 
23
+/* define __THROW to avoid build issue when it's not available from the libc */
24
+#ifndef __THROW
25
+# define __THROW
26
+#endif
27
 
28
 /* Structure to save state of computation between the single steps.  */
29
 struct sha256_ctx
30
diff --git a/genisoimage/sha512.h b/genisoimage/sha512.h
31
index 7298355..8cee8b0 100644
32
--- a/genisoimage/sha512.h
33
+++ b/genisoimage/sha512.h
34
@@ -29,6 +29,10 @@
35
 #include <stdint.h>
36
 #include <stdio.h>
37
 
38
+/* define __THROW to avoid build issue when it's not available from the libc */
39
+#ifndef __THROW
40
+# define __THROW
41
+#endif
42
 
43
 /* Structure to save state of computation between the single steps.  */
44
 struct sha512_ctx
45
-- 
46
2.4.3
47
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.