From d9e6e32e9fdd722cf0f49e504819f2cd409ff96a Mon Sep 17 00:00:00 2001 From: Ivan Afonichev Date: Aug 29 2018 21:40:05 +0000 Subject: Explicitly include for modern builds support --- diff --git a/android-tools.spec b/android-tools.spec index 9939e1d..8630efd 100644 --- a/android-tools.spec +++ b/android-tools.spec @@ -40,7 +40,9 @@ Patch1: 0001-Add-string-h.patch Patch2: 0002-libusb-modifications.patch Patch3: 0003-buildlib-remove.patch Patch4: 0004-bz1441234.patch -# https://bugzilla.redhat.com/show_bug.cgi?id=1470740 +# https://android-review.googlesource.com/c/platform/system/core/+/740625 +Patch5: 0005-Add-sysmacros-h.patch + Requires(post): systemd Requires(preun): systemd @@ -94,6 +96,7 @@ setup between the host and the target phone as adb. %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 cp -p %{SOURCE5} 51-android.rules export CC="clang"