diff --git a/srcpkgs/libasr/patches/netdb_success.patch b/srcpkgs/libasr/patches/netdb_success.patch new file mode 100644 index 00000000000..6c176c03c8f --- /dev/null +++ b/srcpkgs/libasr/patches/netdb_success.patch @@ -0,0 +1,11 @@ +--- 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 */ diff --git a/srcpkgs/libasr/template b/srcpkgs/libasr/template index 8b0a3e65784..a28e6125046 100644 --- a/srcpkgs/libasr/template +++ b/srcpkgs/libasr/template @@ -1,7 +1,7 @@ # Template file for 'libasr' pkgname=libasr version=1.0.2 -revision=3 +revision=4 wrksrc="${pkgname}-${pkgname}-${version}" build_style=gnu-configure hostmakedepends="automake libtool"