libasr: fix NETDB_SUCCESS default.
There goes an hour of my life.
This commit is contained in:
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"
|
||||
|
||||
Reference in New Issue
Block a user