Hi!
Just a quick heads up that uriparser 0.9.1 with security fixes has been released.
Thanks for updating!
@hartwork any idea if this could be upstreamed? (would help us get rid of the patch we are using atm) :)
diff --git a/configure.ac b/configure.ac
index 3144a69..ce90ee2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,6 +26,8 @@ AM_CONDITIONAL([WIN32], test "$WIN32" = "yes")
AC_CHECK_FUNCS([wprintf])
AC_CHECK_FUNCS([reallocarray]) # needs AC_USE_SYSTEM_EXTENSIONS (#define _GNU_SOURCE)
+## Haiku check for -lsocket -lnetwork inet_ntop
+AC_SEARCH_LIBS([socket],[socket inet network])
## Option --disable-test
AC_ARG_ENABLE(test, [
PR created, thanks for the notice @hartwork ! https://github.com/haikuports/haikuports/pull/3547
Merged, closing this one :)
Nice!
@Begasus happy to upstream that patch in general. Can you open a PR about it? Is there a related bug report? Right now I don#t full understand the patch yet.
@hartwork thanks, the patch was merely to link libnetwork/libsocket (-lsocket being used during build), without that (or the previous patch) we end up with a undefined reference to inet_ntop
Let me see if I can create a PR for this at github for you :)
PR created @hartwork :)