diff options
Diffstat (limited to 'dev-util/android-tools/android-tools-6.0.1_p79.ebuild')
-rw-r--r-- | dev-util/android-tools/android-tools-6.0.1_p79.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/android-tools/android-tools-6.0.1_p79.ebuild b/dev-util/android-tools/android-tools-6.0.1_p79.ebuild index 61a84f5ea642..f5e1750c5427 100644 --- a/dev-util/android-tools/android-tools-6.0.1_p79.ebuild +++ b/dev-util/android-tools/android-tools-6.0.1_p79.ebuild @@ -52,6 +52,10 @@ src_prepare() { mv core/*/* core/ || die epatch arch/*/trunk/fix_build.patch cp arch/*/trunk/generate_build.rb ./ || die + sed -e 's|^#include <sys/cdefs.h>$|/*\0*/|' \ + -e 's|^__BEGIN_DECLS$|#ifdef __cplusplus\nextern "C" {\n#endif|' \ + -e 's|^__END_DECLS$|#ifdef __cplusplus\n}\n#endif|' \ + -i extras/ext4_utils/sha1.{c,h} || die #580686 default } |