summaryrefslogtreecommitdiff
path: root/www/cpp-httplib/files
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-10-21 23:39:01 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2021-10-22 01:57:03 -0700
commiteff5086be6c0ccdbb464c3c7db0c743e5371e191 (patch)
treeee6baac590dd32f5474a622d99b76aa918be4137 /www/cpp-httplib/files
parentscience/py-cirq-pasqal: Update 0.12.0 -> 0.13.0 (diff)
www/cpp-httplib: Update 0.9.4 -> 0.9.7
Reported by: portscout
Diffstat (limited to 'www/cpp-httplib/files')
-rw-r--r--www/cpp-httplib/files/patch-test_Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/www/cpp-httplib/files/patch-test_Makefile b/www/cpp-httplib/files/patch-test_Makefile
index c818a121e196..20daf919ce67 100644
--- a/www/cpp-httplib/files/patch-test_Makefile
+++ b/www/cpp-httplib/files/patch-test_Makefile
@@ -1,4 +1,4 @@
---- test/Makefile.orig 2021-08-24 16:49:33 UTC
+--- test/Makefile.orig 2021-10-15 11:13:16 UTC
+++ test/Makefile
@@ -1,5 +1,5 @@
#CXX = clang++
@@ -7,13 +7,15 @@
OPENSSL_DIR = /usr/local/opt/openssl@1.1
OPENSSL_SUPPORT = -DCPPHTTPLIB_OPENSSL_SUPPORT -I$(OPENSSL_DIR)/include -L$(OPENSSL_DIR)/lib -lssl -lcrypto
-@@ -20,13 +20,13 @@ proxy : test_proxy
+@@ -26,15 +26,15 @@ proxy : test_proxy
./test_proxy
test : test.cc include_httplib.cc ../httplib.h Makefile cert.pem
- $(CXX) -o $@ -I.. $(CXXFLAGS) test.cc include_httplib.cc $(TEST_ARGS)
+ $(CXX) -o $@ -I.. $(CXXFLAGS) test.cc include_httplib.cc ${LDFLAGS} $(TEST_ARGS)
+ # Note: The intention of test_split is to verify that it works to compile and
+ # link the split httplib.h, so there is normally no need to execute it.
test_split : test.cc ../httplib.h httplib.cc Makefile cert.pem
- $(CXX) -o $@ $(CXXFLAGS) test.cc httplib.cc $(TEST_ARGS)
+ $(CXX) -o $@ $(CXXFLAGS) test.cc httplib.cc ${LDFLAGS} $(TEST_ARGS)
@@ -22,5 +24,5 @@
- $(CXX) -o $@ -I.. $(CXXFLAGS) test_proxy.cc $(TEST_ARGS)
+ $(CXX) -o $@ -I.. $(CXXFLAGS) test_proxy.cc ${LDFLAGS} $(TEST_ARGS)
- httplib.cc : ../httplib.h
- python3 ../split.py -o .
+ # Runs server_fuzzer.cc based on value of $(LIB_FUZZING_ENGINE).
+ # Usage: make fuzz_test LIB_FUZZING_ENGINE=/path/to/libFuzzer