summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-19 02:37:21 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-19 02:37:21 -0400
commitc9dbeec72b23c6ac8d14f90467785344765c5d2a (patch)
treee02834178e2f29598c2810fc82c312106b15c5d6 /dev-util/android-tools
parentsys-fs/ufsutils: fix handling of AR/CC settings (diff)
downloadgentoo-c9dbeec72b23c6ac8d14f90467785344765c5d2a.tar.gz
gentoo-c9dbeec72b23c6ac8d14f90467785344765c5d2a.tar.bz2
gentoo-c9dbeec72b23c6ac8d14f90467785344765c5d2a.zip
dev-util/android-tools: fix building w/newer glibc #580058
Diffstat (limited to 'dev-util/android-tools')
-rw-r--r--dev-util/android-tools/android-tools-5.1.1_p13.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-util/android-tools/android-tools-5.1.1_p13.ebuild b/dev-util/android-tools/android-tools-5.1.1_p13.ebuild
index be74cda0094..5b4a2fc1ebf 100644
--- a/dev-util/android-tools/android-tools-5.1.1_p13.ebuild
+++ b/dev-util/android-tools/android-tools-5.1.1_p13.ebuild
@@ -52,6 +52,7 @@ src_prepare() {
sed -e 's|#include <dlfcn.h>|\0\n#include <stddef.h>\n#include <string.h>\n|' \
-i extras/f2fs_utils/f2fs_utils.c || die
mv arch/*/trunk/Makefile ./ || die
+ sed -i '1i#include <sys/sysmacros.h>' core/adb/usb_linux.c || die #580058
tc-export CC
}