Index: head/databases/libmemcached/files/patch-clients_memaslap.c =================================================================== --- head/databases/libmemcached/files/patch-clients_memaslap.c (nonexistent) +++ head/databases/libmemcached/files/patch-clients_memaslap.c (revision 545758) @@ -0,0 +1,14 @@ +--- clients/memaslap.c.orig 2020-08-22 10:06:16 UTC ++++ clients/memaslap.c +@@ -45,6 +45,11 @@ + #define OPTIONSTRING const char* + #endif + ++/* global variables */ ++ms_global_t ms_global; ++ms_statistic_t ms_statistic; ++ms_stats_t ms_stats; ++ + /* options */ + static struct option long_options[]= + { Property changes on: head/databases/libmemcached/files/patch-clients_memaslap.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/databases/libmemcached/files/patch-clients_ms__memslap.h =================================================================== --- head/databases/libmemcached/files/patch-clients_ms__memslap.h (nonexistent) +++ head/databases/libmemcached/files/patch-clients_ms__memslap.h (revision 545758) @@ -0,0 +1,23 @@ +--- clients/ms_memslap.h.orig 2020-08-22 10:06:28 UTC ++++ clients/ms_memslap.h +@@ -116,14 +116,14 @@ typedef struct global + bool time_out; + } ms_global_t; + +-/* global structure */ +-ms_global_t ms_global; ++/* global structure, defined in memaslap.c */ ++extern ms_global_t ms_global; + +-/* global stats information structure */ +-ms_stats_t ms_stats; ++/* global stats information structure, defined in memaslap.c */ ++extern ms_stats_t ms_stats; + +-/* global statistic structure */ +-ms_statistic_t ms_statistic; ++/* global statistic structure, defined in mamaslap.c */ ++extern ms_statistic_t ms_statistic; + + #ifdef __cplusplus + } Property changes on: head/databases/libmemcached/files/patch-clients_ms__memslap.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property