summaryrefslogtreecommitdiff
path: root/www/cpp-httplib
diff options
context:
space:
mode:
Diffstat (limited to 'www/cpp-httplib')
-rw-r--r--www/cpp-httplib/Makefile2
-rw-r--r--www/cpp-httplib/distinfo6
-rw-r--r--www/cpp-httplib/files/patch-test_Makefile24
3 files changed, 21 insertions, 11 deletions
diff --git a/www/cpp-httplib/Makefile b/www/cpp-httplib/Makefile
index 912bc83fc326..08ef295e21a0 100644
--- a/www/cpp-httplib/Makefile
+++ b/www/cpp-httplib/Makefile
@@ -1,6 +1,6 @@
PORTNAME= cpp-httplib
DISTVERSIONPREFIX= v
-DISTVERSION= 0.20.1
+DISTVERSION= 0.23.1
CATEGORIES= www devel
MAINTAINER= yuri@FreeBSD.org
diff --git a/www/cpp-httplib/distinfo b/www/cpp-httplib/distinfo
index a8edba732768..b7b2d0d7153b 100644
--- a/www/cpp-httplib/distinfo
+++ b/www/cpp-httplib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746349039
-SHA256 (yhirose-cpp-httplib-v0.20.1_GH0.tar.gz) = b74b1c2c150be2841eba80192f64d93e9a6711985b3ae8aaa1a9cec4863d1dd9
-SIZE (yhirose-cpp-httplib-v0.20.1_GH0.tar.gz) = 1408474
+TIMESTAMP = 1752733579
+SHA256 (yhirose-cpp-httplib-v0.23.1_GH0.tar.gz) = 410a1347ed6bcbcc4a19af8ed8ad3873fe9fa97731d52db845c4c78f3f9c31e6
+SIZE (yhirose-cpp-httplib-v0.23.1_GH0.tar.gz) = 1300345
diff --git a/www/cpp-httplib/files/patch-test_Makefile b/www/cpp-httplib/files/patch-test_Makefile
index fa193597150c..f3e7d7b3699c 100644
--- a/www/cpp-httplib/files/patch-test_Makefile
+++ b/www/cpp-httplib/files/patch-test_Makefile
@@ -1,7 +1,17 @@
---- test/Makefile.orig 2025-03-17 01:24:53 UTC
+--- test/Makefile.orig 2025-07-16 21:59:52 UTC
+++ test/Makefile
-@@ -43,13 +43,13 @@ test : test.cc include_httplib.cc ../httplib.h Makefil
- ./test_proxy
+@@ -27,9 +27,6 @@ ifneq ($(OS), Windows_NT)
+ ifeq ($(UNAME_S), Darwin)
+ LIBS += -framework CoreFoundation -framework CFNetwork
+ endif
+- ifneq ($(UNAME_S), Darwin)
+- LIBS += -lanl
+- endif
+ endif
+
+ TEST_ARGS = gtest/src/gtest-all.cc gtest/src/gtest_main.cc -Igtest -Igtest/include $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) $(BROTLI_SUPPORT) $(ZSTD_SUPPORT) $(LIBS)
+@@ -70,13 +67,13 @@ test : test.cc include_httplib.cc ../httplib.h Makefil
+ exit $$exit_code
test : test.cc include_httplib.cc ../httplib.h Makefile cert.pem
- $(CXX) -o $@ -I.. $(CXXFLAGS) test.cc include_httplib.cc $(TEST_ARGS)
@@ -16,7 +26,7 @@
check_abi:
@./check-shared-library-abi-compatibility.sh
-@@ -77,7 +77,7 @@ test_proxy : test_proxy.cc ../httplib.h Makefile cert.
+@@ -104,7 +101,7 @@ test_proxy : test_proxy.cc ../httplib.h Makefile cert.
fi
test_proxy : test_proxy.cc ../httplib.h Makefile cert.pem
@@ -25,12 +35,12 @@
# Runs server_fuzzer.cc based on value of $(LIB_FUZZING_ENGINE).
# Usage: make fuzz_test LIB_FUZZING_ENGINE=/path/to/libFuzzer
-@@ -86,7 +86,7 @@ server_fuzzer : fuzzing/server_fuzzer.cc ../httplib.h
+@@ -113,7 +110,7 @@ server_fuzzer : fuzzing/server_fuzzer.cc ../httplib.h
# Fuzz target, so that you can choose which $(LIB_FUZZING_ENGINE) to use.
server_fuzzer : fuzzing/server_fuzzer.cc ../httplib.h standalone_fuzz_target_runner.o
-- $(CXX) -o $@ -I.. $(CXXFLAGS) $< $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) $(BROTLI_SUPPORT) $(LIB_FUZZING_ENGINE) -pthread
-+ $(CXX) -o $@ -I.. $(CXXFLAGS) $< $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) $(BROTLI_SUPPORT) $(LIB_FUZZING_ENGINE) ${LDFLAGS} -pthread
+- $(CXX) -o $@ -I.. $(CXXFLAGS) $< $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) $(BROTLI_SUPPORT) $(LIB_FUZZING_ENGINE) $(ZSTD_SUPPORT) $(LIBS)
++ $(CXX) -o $@ -I.. $(CXXFLAGS) $< $(OPENSSL_SUPPORT) $(ZLIB_SUPPORT) $(BROTLI_SUPPORT) $(LIB_FUZZING_ENGINE) $(ZSTD_SUPPORT) $(LIBS) -pthread
@file $@
# Standalone fuzz runner, which just reads inputs from fuzzing/corpus/ dir and