freebsd-ports/sysutils/fusefs-s3fs/files/patch-src-curl.cpp
Tijl Coosemans 7b7e8ecfab - New LIB_DEPENDS syntax.
- Staging.
- Explicitly link with -lcrypto to fix build when curl has been
  configured without crypto support.
- Add patch to fix build with Clang.

PR:		ports/183467
2014-03-04 22:02:51 +00:00

11 lines
429 B
C++

--- src/curl.cpp.orig 2014-03-04 22:16:31.000000000 +0100
+++ src/curl.cpp 2014-03-04 22:16:41.000000000 +0100
@@ -53,7 +53,7 @@
// Typedef
//-------------------------------------------------------------------
struct case_insensitive_compare_func {
- bool operator ()(const string &a, const string &b) {
+ bool operator ()(const string &a, const string &b) const {
return strcasecmp(a.c_str(), b.c_str()) < 0;
}
};