diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-04-24 14:06:00 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-04-24 14:06:32 -0700 |
commit | 85ed4f680c625c5510e894841bdb54fcf2c5ceeb (patch) | |
tree | 6fadd7271ee04ebdccc37f5b7d6a4b5915c23b8b /dev-util/android-tools | |
parent | dev-ada/gnatcoll: Adding support to gtk, using python unconditionally (diff) | |
download | gentoo-85ed4f680c625c5510e894841bdb54fcf2c5ceeb.tar.gz gentoo-85ed4f680c625c5510e894841bdb54fcf2c5ceeb.tar.bz2 gentoo-85ed4f680c625c5510e894841bdb54fcf2c5ceeb.zip |
dev-util/android-tools: include sysmacros for bug 616508
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 | 1 |
1 files changed, 1 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 f5e1750c5427..8947945cab62 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,7 @@ src_prepare() { mv core/*/* core/ || die epatch arch/*/trunk/fix_build.patch cp arch/*/trunk/generate_build.rb ./ || die + sed -i '1i#include <sys/sysmacros.h>' core/adb/usb_linux.cpp || die #616508 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|' \ |