libasr: fix NETDB_SUCCESS default.

There goes an hour of my life.
This commit is contained in:
Leah Neukirchen 2018-12-16 15:16:44 +01:00
parent 8725e694ad
commit 55b8e0a8fc
2 changed files with 12 additions and 1 deletions

View file

@ -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 */

View file

@ -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"