Blame view

buildroot/buildroot-2016.08.1/package/android-tools/0003-Fix-build-issue-with-uclibc.patch 1.31 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  [PATCH] Fix build issue with uclibc
  
  Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
  ---
   core/adbd/adb_auth_client.c | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)
  
  diff --git a/core/adb/adb_auth_client.c b/core/adb/adb_auth_client.c
  index 0b4913e..068d837 100644
  --- a/core/adb/adb_auth_client.c
  +++ b/core/adb/adb_auth_client.c
  @@ -72,7 +72,7 @@ static void read_keys(const char *file, struct listnode *list)
           if (sep)
               *sep = '\0';
   
  -        ret = __b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
  +        ret = b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
           if (ret != sizeof(key->key)) {
               D("%s: Invalid base64 data ret=%d
  ", file, ret);
               free(key);
  diff --git a/core/adbd/adb_auth_client.c b/core/adbd/adb_auth_client.c
  index 0b4913e..068d837 100644
  --- a/core/adbd/adb_auth_client.c
  +++ b/core/adbd/adb_auth_client.c
  @@ -72,7 +72,7 @@ static void read_keys(const char *file, struct listnode *list)
           if (sep)
               *sep = '\0';
   
  -        ret = __b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
  +        ret = b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4);
           if (ret != sizeof(key->key)) {
               D("%s: Invalid base64 data ret=%d
  ", file, ret);
               free(key);
  -- 
  2.6.1