diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-04-23 18:59:45 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-04-23 18:59:45 -0700 |
commit | 289418fab1a93a03a18851cfed83f0c77e80ad72 (patch) | |
tree | 066dbfa3e4101df561a297ccd176193a00f69cf7 /dev-util/android-tools | |
parent | app-text/calibre: update 2.83.0 deps (diff) | |
download | gentoo-289418fab1a93a03a18851cfed83f0c77e80ad72.tar.gz gentoo-289418fab1a93a03a18851cfed83f0c77e80ad72.tar.bz2 gentoo-289418fab1a93a03a18851cfed83f0c77e80ad72.zip |
dev-util/android-tools: re-apply fix for bug 580686
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-util/android-tools')
-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 } |