-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
119 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
patches/adb/0007-adb-Fix-unknown-__xx_write-member-in-std-ostream.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From bfd129ad4c023ffec8a16c1dbd8f1efebd68ff7b Mon Sep 17 00:00:00 2001 | ||
From: Biswapriyo Nath <nathbappai@gmail.com> | ||
Date: Sat, 10 Aug 2024 20:24:00 +0000 | ||
Subject: [PATCH] adb: Fix unknown __xx_write member in std::ostream | ||
|
||
This fixes the following compiler error. | ||
|
||
sysdeps.h:559:17: error: 'std::ostream` {aka 'class std::basic_ostream<char>`} has no member named '___xxx_write` | ||
559 | #define write ___xxx_write | ||
| ^~~~~~~~~~~~ | ||
--- | ||
sysdeps.h | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/sysdeps.h b/sysdeps.h | ||
index e87501c..af548c5 100644 | ||
--- a/sysdeps.h | ||
+++ b/sysdeps.h | ||
@@ -555,8 +555,10 @@ static inline int adb_pwrite(int fd, const void* buf, size_t len, off64_t offset | ||
#endif | ||
} | ||
|
||
+#ifdef write | ||
#undef write | ||
#define write ___xxx_write | ||
+#endif | ||
#undef pwrite | ||
#define pwrite ___xxx_pwrite | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From bedc0c38148add6841832f0815fb589c78cc16f7 Mon Sep 17 00:00:00 2001 | ||
From: Biswapriyo Nath <nathbappai@gmail.com> | ||
Date: Sun, 11 Aug 2024 04:47:21 +0000 | ||
Subject: [PATCH] adb: Disable bonjour check | ||
|
||
--- | ||
adb.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/adb.cpp b/adb.cpp | ||
index 225ddaf..1be30eb 100644 | ||
--- a/adb.cpp | ||
+++ b/adb.cpp | ||
@@ -1319,7 +1319,7 @@ HostRequestResult handle_host_request(std::string_view service, TransportType ty | ||
} | ||
status.set_usb_backend_forced(getenv("ADB_LIBUSB") != nullptr); | ||
|
||
- if (using_bonjour()) { | ||
+ if (false) { | ||
status.set_mdns_backend(adb::proto::AdbServerStatus::BONJOUR); | ||
} else { | ||
status.set_mdns_backend(adb::proto::AdbServerStatus::OPENSCREEN); | ||
-- | ||
2.46.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule adb
updated
from 3f0d72 to ce9ea5
Submodule avb
updated
from 20e8b4 to 6eedb1
Submodule boringssl
updated
from 538b2a to 9cffd7
Submodule core
updated
from db5a18 to 90e490
Submodule e2fsprogs
updated
from 028d97 to 81357d
Submodule extras
updated
from f5a14a to d8e488
Submodule f2fs-tools
updated
from e20d15 to f49d42
Submodule fmtlib
updated
from d41939 to c230d4
Submodule libbase
updated
from b24357 to 328768
Submodule libufdt
updated
from 47c558 to 4ff186
Submodule libusb
updated
from c96048 to ab84e0
Submodule libziparchive
updated
from 94c11c to b1d0c4
Submodule logging
updated
from 90fafc to 153a15
Submodule mkbootimg
updated
from 8c48c3 to cbf4ce
Submodule selinux
updated
from 2af768 to 0496d8