You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
08cd4de291
The modified m4 files get installed, so the revision is increased. See: https://trac.macports.org/ticket/60988
24 lines
736 B
Diff
24 lines
736 B
Diff
Fix:
|
|
|
|
error: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned long)' [-Werror,-Wimplicit-function-declaration]
|
|
|
|
https://github.com/php/php-src/commit/1a8df11364292dd3cac2c406a26e4aafaca62d36
|
|
--- ext/curl/config.m4.orig 2019-10-22 11:59:47.000000000 -0500
|
|
+++ ext/curl/config.m4 2020-12-30 02:23:41.000000000 -0600
|
|
@@ -79,6 +79,7 @@
|
|
AC_PROG_CPP
|
|
AC_MSG_CHECKING([for openssl support in libcurl])
|
|
AC_TRY_RUN([
|
|
+#include <strings.h>
|
|
#include <curl/curl.h>
|
|
|
|
int main(int argc, char *argv[])
|
|
@@ -106,6 +107,7 @@
|
|
|
|
AC_MSG_CHECKING([for gnutls support in libcurl])
|
|
AC_TRY_RUN([
|
|
+#include <strings.h>
|
|
#include <curl/curl.h>
|
|
|
|
int main(int argc, char *argv[])
|