From 75680b1fa9d349387c898040f838c58bd20c53e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 1 Sep 2017 12:47:27 +0200 Subject: Add rmbt-client package --- rmbt-client/patches/remove_stdatomic.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 rmbt-client/patches/remove_stdatomic.patch (limited to 'rmbt-client/patches') diff --git a/rmbt-client/patches/remove_stdatomic.patch b/rmbt-client/patches/remove_stdatomic.patch new file mode 100644 index 0000000..d1a35a4 --- /dev/null +++ b/rmbt-client/patches/remove_stdatomic.patch @@ -0,0 +1,22 @@ +diff --git a/src/rmbt_flow.h b/src/rmbt_flow.h +index 310eb29..cba5814 100644 +--- a/src/rmbt_flow.h ++++ b/src/rmbt_flow.h +@@ -20,8 +20,6 @@ + #include "rmbt_common.h" + #include "rmbt_result.h" + +-#include +- + typedef struct { + char *bind_ip, *server_host, *server_port, *cipherlist, *secret, *token, *test_id, *file_summary, *file_flows, *file_stats; + int_fast16_t dl_num_flows, ul_num_flows, dl_duration_s, ul_duration_s, rtt_tcp_payload_num, dl_pretest_duration_s, ul_pretest_duration_s, dl_wait_time_s, +@@ -32,7 +30,7 @@ typedef struct { + } TestConfig; + + typedef struct { +- atomic_bool global_abort; ++ volatile bool global_abort; + pthread_mutex_t mutex; + pthread_cond_t cond; + int_fast16_t total; -- cgit v1.2.3