Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 431416 Details for
Bug 580686
dev-util/android-tools patch and ebuild update working with musl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
files/android-tools-5.1.1_p13-cdefs.patch
android-tools-5.1.1_p13-cdefs.patch (text/plain), 1.09 KB, created by
Petr Vaněk
on 2016-04-20 22:17:11 UTC
(
hide
)
Description:
files/android-tools-5.1.1_p13-cdefs.patch
Filename:
MIME Type:
Creator:
Petr Vaněk
Created:
2016-04-20 22:17:11 UTC
Size:
1.09 KB
patch
obsolete
>diff -urN a/extras/ext4_utils/sha1.c b/extras/ext4_utils/sha1.c >--- a/extras/ext4_utils/sha1.c 2015-09-15 06:06:00.000000000 +0000 >+++ b/extras/ext4_utils/sha1.c 2016-04-20 23:38:47.459902412 +0000 >@@ -17,9 +17,6 @@ > > #define SHA1HANDSOFF /* Copies data before messing with it. */ > >-#ifndef USE_MINGW >-#include <sys/cdefs.h> >-#endif > #include <sys/types.h> > #include <assert.h> > #include <string.h> >diff -urN a/extras/ext4_utils/sha1.h b/extras/ext4_utils/sha1.h >--- a/extras/ext4_utils/sha1.h 2015-09-15 06:06:00.000000000 +0000 >+++ b/extras/ext4_utils/sha1.h 2016-04-20 23:37:19.204904922 +0000 >@@ -20,8 +20,6 @@ > > #define __BEGIN_DECLS > #define __END_DECLS >-#else >-#include <sys/cdefs.h> > #endif > > #define SHA1_DIGEST_LENGTH 20 >@@ -33,11 +31,15 @@ > u_char buffer[64]; > } SHA1_CTX; > >-__BEGIN_DECLS >+#ifdef __cplusplus >+extern "C" { >+#endif > void SHA1Transform(uint32_t[5], const u_char[64]); > void SHA1Init(SHA1_CTX *); > void SHA1Update(SHA1_CTX *, const u_char *, u_int); > void SHA1Final(u_char[SHA1_DIGEST_LENGTH], SHA1_CTX *); >-__END_DECLS >+#ifdef __cplusplus >+} >+#endif > > #endif /* _SYS_SHA1_H_ */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 580686
:
431416
|
431418
|
431420