libasr: fix NETDB_SUCCESS default.
There goes an hour of my life.
This commit is contained in:
parent
8725e694ad
commit
55b8e0a8fc
2 changed files with 12 additions and 1 deletions
11
srcpkgs/libasr/patches/netdb_success.patch
Normal file
11
srcpkgs/libasr/patches/netdb_success.patch
Normal 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 */
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue