aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libasr/00-use-openbsd-res_randomid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libasr/00-use-openbsd-res_randomid.patch')
-rw-r--r--testing/libasr/00-use-openbsd-res_randomid.patch11
1 files changed, 10 insertions, 1 deletions
diff --git a/testing/libasr/00-use-openbsd-res_randomid.patch b/testing/libasr/00-use-openbsd-res_randomid.patch
index c1bd6a71ea..4fb97828e6 100644
--- a/testing/libasr/00-use-openbsd-res_randomid.patch
+++ b/testing/libasr/00-use-openbsd-res_randomid.patch
@@ -584,7 +584,7 @@ index 0000000..7c3680f
+ }
+}
diff --git a/openbsd-compat/defines.h b/openbsd-compat/defines.h
-index da7a42c..e79ef51 100644
+index da7a42c..b734c90 100644
--- a/openbsd-compat/defines.h
+++ b/openbsd-compat/defines.h
@@ -745,6 +745,15 @@ struct winsize {
@@ -603,6 +603,15 @@ index da7a42c..e79ef51 100644
#ifndef HAVE_VA_COPY
# ifdef HAVE___VA_COPY
# define va_copy(dest, src) __va_copy(dest, src)
+@@ -823,7 +832,7 @@ struct winsize {
+ #endif
+
+ #ifndef NETDB_SUCCESS
+-# define NETDB_SUCCESS -1
++# define NETDB_SUCCESS 0
+ #endif
+
+ /* end of chl */
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h
index c30591c..7baccc8 100644
--- a/openbsd-compat/openbsd-compat.h