|
1 |
| ---- origsrc/nats.c-3.9.2/CMakeLists.txt 2024-12-10 01:50:23.000000000 +0900 |
2 |
| -+++ src/nats.c-3.9.2/CMakeLists.txt 2025-01-16 11:34:33.030478800 +0900 |
3 |
| -@@ -120,7 +120,7 @@ if(NATS_BUILD_USE_SODIUM) |
| 1 | +--- origsrc/nats.c-3.10.1/CMakeLists.txt 2025-03-15 01:45:20.000000000 +0900 |
| 2 | ++++ src/nats.c-3.10.1/CMakeLists.txt 2025-04-09 18:47:25.597709000 +0900 |
| 3 | +@@ -121,7 +121,7 @@ if(NATS_BUILD_USE_SODIUM) |
4 | 4 | ${NATS_SODIUM_DIR}
|
5 | 5 | )
|
6 | 6 | FIND_LIBRARY(NATS_SODIUM_LIBRARY
|
|
9 | 9 | HINTS ${NATS_SODIUM_DIR}
|
10 | 10 | )
|
11 | 11 | FIND_PACKAGE_HANDLE_STANDARD_ARGS(libsodium DEFAULT_MSG
|
12 |
| ---- origsrc/nats.c-3.9.2/src/CMakeLists.txt 2024-12-10 01:50:23.000000000 +0900 |
13 |
| -+++ src/nats.c-3.9.2/src/CMakeLists.txt 2025-01-16 11:25:28.898201600 +0900 |
| 12 | +--- origsrc/nats.c-3.10.1/src/CMakeLists.txt 2025-03-15 01:45:20.000000000 +0900 |
| 13 | ++++ src/nats.c-3.10.1/src/CMakeLists.txt 2025-04-09 18:47:25.597709000 +0900 |
14 | 14 | @@ -62,7 +62,7 @@ if(NATS_BUILD_LIB_SHARED)
|
15 | 15 | target_include_directories(nats PUBLIC
|
16 | 16 | $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
|
20 | 20 | install(EXPORT cnats-targets
|
21 | 21 | NAMESPACE cnats::
|
22 | 22 | FILE cnats-config.cmake
|
23 |
| ---- origsrc/nats.c-3.9.2/src/libnats.pc.in 2024-12-10 01:50:23.000000000 +0900 |
24 |
| -+++ src/nats.c-3.9.2/src/libnats.pc.in 2025-01-16 11:26:05.659247400 +0900 |
| 23 | +--- origsrc/nats.c-3.10.1/src/libnats.pc.in 2025-03-15 01:45:20.000000000 +0900 |
| 24 | ++++ src/nats.c-3.10.1/src/libnats.pc.in 2025-04-09 18:47:25.597709000 +0900 |
25 | 25 | @@ -1,12 +1,12 @@
|
26 | 26 | -prefix="@CMAKE_INSTALL_PREFIX@"
|
27 | 27 | -exec_prefix="${prefix}"
|
|
42 | 42 | +Cflags: -I${includedir}
|
43 | 43 | +Libs: -L${libdir} -lnats
|
44 | 44 | +Libs.private: -L${libdir} -lnats @PKGCONF_LIBS_PRIV@
|
45 |
| ---- origsrc/nats.c-3.9.2/test/CMakeLists.txt 2024-12-10 01:50:23.000000000 +0900 |
46 |
| -+++ src/nats.c-3.9.2/test/CMakeLists.txt 2025-01-16 11:27:03.053147200 +0900 |
| 45 | +--- origsrc/nats.c-3.10.1/test/CMakeLists.txt 2025-03-15 01:45:20.000000000 +0900 |
| 46 | ++++ src/nats.c-3.10.1/test/CMakeLists.txt 2025-04-09 18:47:25.613329000 +0900 |
47 | 47 | @@ -6,7 +6,7 @@ if(NOT BUILD_TESTING)
|
48 | 48 | return()
|
49 | 49 | endif()
|
|
71 | 71 |
|
72 | 72 | set(BENCH_LIST ${PROJECT_SOURCE_DIR}/test/list_bench.txt)
|
73 | 73 | set(STAN_LIST ${PROJECT_SOURCE_DIR}/test/list_stan.txt)
|
74 |
| ---- origsrc/nats.c-3.9.2/test/test.c 2024-12-10 01:50:23.000000000 +0900 |
75 |
| -+++ src/nats.c-3.9.2/test/test.c 2025-01-16 11:44:32.658884500 +0900 |
| 74 | +--- origsrc/nats.c-3.10.1/test/check_cpp/CMakeLists.txt 2025-03-15 01:45:20.000000000 +0900 |
| 75 | ++++ src/nats.c-3.10.1/test/check_cpp/CMakeLists.txt 2025-04-09 18:51:12.444502800 +0900 |
| 76 | +@@ -2,12 +2,6 @@ if(NOT BUILD_TESTING) |
| 77 | + return() |
| 78 | + endif() |
| 79 | + |
| 80 | +-if(NOT NATS_BUILD_LIB_STATIC) |
| 81 | +- MESSAGE(FATAL_ERROR |
| 82 | +- "Building tests require static library, or run CMake with -DBUILD_TESTING=OFF") |
| 83 | +- return() |
| 84 | +-endif() |
| 85 | +- |
| 86 | + if(MSVC) |
| 87 | + set_source_files_properties(test.c PROPERTIES COMPILE_FLAGS "/w") |
| 88 | + endif() |
| 89 | +@@ -22,4 +16,4 @@ endif(NATS_BUILD_WITH_TLS) |
| 90 | + # Build the test program |
| 91 | + add_executable(check_cpp check_cpp.cpp) |
| 92 | + |
| 93 | +-target_link_libraries(check_cpp nats_static ${NATS_EXTRA_LIB}) |
| 94 | ++target_link_libraries(check_cpp nats ${NATS_EXTRA_LIB}) |
| 95 | +--- origsrc/nats.c-3.10.1/test/test.c 2025-03-15 01:45:20.000000000 +0900 |
| 96 | ++++ src/nats.c-3.10.1/test/test.c 2025-04-09 18:47:25.613329000 +0900 |
76 | 97 | @@ -20,8 +20,10 @@
|
77 | 98 | #else
|
78 | 99 | #include <dirent.h>
|
|
84 | 105 |
|
85 | 106 | #include "buf.h"
|
86 | 107 | #include "timer.h"
|
87 |
| -@@ -37012,7 +37014,7 @@ void test_StanSubTimeout(void) |
| 108 | +@@ -37298,7 +37300,7 @@ void test_StanSubTimeout(void) |
88 | 109 |
|
89 | 110 | #endif
|
90 | 111 |
|
91 | 112 | -#ifndef _WIN32
|
92 | 113 | +#if !defined(_WIN32) && !defined(__CYGWIN__)
|
93 | 114 | static void _sigsegv_handler(int sig) {
|
94 |
| - void *array[20]; |
95 |
| - int size = backtrace(array, 20); |
96 |
| -@@ -37037,7 +37039,7 @@ int main(int argc, char **argv) |
| 115 | + |
| 116 | + // Android doesn't support backtrace before API Level 33. |
| 117 | +@@ -37333,7 +37335,7 @@ int main(int argc, char **argv) |
97 | 118 | }
|
98 | 119 | testName = argv[1];
|
99 | 120 |
|
|
0 commit comments