-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cannot locate symbol "getservbyport_y" (#3043)
- Loading branch information
Showing
1 changed file
with
26 additions
and
10 deletions.
There are no files selected for viewing
36 changes: 26 additions & 10 deletions
36
pythonforandroid/recipes/grpcio/comment-getserverbyport-r-args.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 |
---|---|---|
@@ -1,17 +1,33 @@ | ||
Index: ares_config.h | ||
IDEA additional info: | ||
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | ||
<+>UTF-8 | ||
=================================================================== | ||
diff --git a/third_party/cares/config_android/ares_config.h b/third_party/cares/config_android/ares_config.h | ||
--- a/third_party/cares/config_android/ares_config.h | ||
+++ b/third_party/cares/config_android/ares_config.h (date 1716777985227) | ||
diff --git a/third_party/cares/config_darwin/ares_config.h b/third_party/cares/config_darwin/ares_config.h | ||
--- a/third_party/cares/config_darwin/ares_config.h 2024-07-16 20:46:22.000000000 +0100 | ||
+++ b/third_party/cares/config_darwin/ares_config.h 2024-07-29 00:18:30.096755745 +0100 | ||
@@ -43,7 +43,7 @@ | ||
#define GETNAMEINFO_TYPE_ARG7 int | ||
|
||
/* Specifies the number of arguments to getservbyport_r */ | ||
-#define GETSERVBYPORT_R_ARGS | ||
+//#define GETSERVBYPORT_R_ARGS | ||
-#define GETSERVBYPORT_R_ARGS | ||
+/* #define GETSERVBYPORT_R_ARGS */ | ||
|
||
/* Define to 1 if you have AF_INET6. */ | ||
#define HAVE_AF_INET6 | ||
diff --git a/third_party/cares/config_linux/ares_config.h b/third_party/cares/config_linux/ares_config.h | ||
--- a/third_party/cares/config_linux/ares_config.h 2024-07-16 20:46:22.000000000 +0100 | ||
+++ b/third_party/cares/config_linux/ares_config.h 2024-07-29 00:19:39.479166654 +0100 | ||
@@ -43,7 +43,7 @@ | ||
#define GETNAMEINFO_TYPE_ARG7 int | ||
|
||
/* Specifies the number of arguments to getservbyport_r */ | ||
-#define GETSERVBYPORT_R_ARGS 6 | ||
+/* #define GETSERVBYPORT_R_ARGS 6 */ | ||
|
||
/* Define to 1 if you have AF_INET6. */ | ||
#define HAVE_AF_INET6 | ||
@@ -121,7 +121,7 @@ | ||
#define HAVE_GETNAMEINFO | ||
|
||
/* Define to 1 if you have the getservbyport_r function. */ | ||
-#define HAVE_GETSERVBYPORT_R | ||
+/* #define HAVE_GETSERVBYPORT_R */ | ||
|
||
/* Define to 1 if you have the `gettimeofday' function. */ | ||
#define HAVE_GETTIMEOFDAY |