void-packages/srcpkgs/libasr/patches/netdb_success.patch
Leah Neukirchen 55b8e0a8fc libasr: fix NETDB_SUCCESS default.
There goes an hour of my life.
2018-12-16 15:16:44 +01:00

12 lines
197 B
Diff

--- openbsd-compat/defines.h.orig
+++ openbsd-compat/defines.h
@@ -823,7 +823,7 @@
#endif
#ifndef NETDB_SUCCESS
-# define NETDB_SUCCESS -1
+# define NETDB_SUCCESS 0
#endif
/* end of chl */