--
Alexandra N. Kossovsky
OKTET Labs (http://www.oktetlabs.ru/)
diff -u -r libmemcached-1.0.18.clean/clients/memaslap.c libmemcached-1.0.18/clients/memaslap.c
--- libmemcached-1.0.18.clean/clients/memaslap.c 2014-02-09 15:52:42.000000000 +0400
+++ libmemcached-1.0.18/clients/memaslap.c 2022-05-13 17:29:38.871867932 +0300
@@ -97,6 +97,10 @@
{ 0, 0, 0, 0 },
};
+ms_global_t ms_global;
+ms_stats_t ms_stats;
+ms_statistic_t ms_statistic;
+
/* Prototypes */
static void ms_sync_lock_init(void);
static void ms_sync_lock_destroy(void);
diff -u -r libmemcached-1.0.18.clean/clients/ms_memslap.h libmemcached-1.0.18/clients/ms_memslap.h
--- libmemcached-1.0.18.clean/clients/ms_memslap.h 2014-02-09 15:52:42.000000000 +0400
+++ libmemcached-1.0.18/clients/ms_memslap.h 2022-05-13 17:29:38.927869253 +0300
@@ -117,13 +117,13 @@
} ms_global_t;
/* global structure */
-ms_global_t ms_global;
+extern ms_global_t ms_global;
/* global stats information structure */
-ms_stats_t ms_stats;
+extern ms_stats_t ms_stats;
/* global statistic structure */
-ms_statistic_t ms_statistic;
+extern ms_statistic_t ms_statistic;
#ifdef __cplusplus
}
diff -u -r libmemcached-1.0.18.clean/debian/changelog libmemcached-1.0.18/debian/changelog
--- libmemcached-1.0.18.clean/debian/changelog 2017-10-11 10:19:11.000000000 +0300
+++ libmemcached-1.0.18/debian/changelog 2022-05-13 17:29:38.927869253 +0300
@@ -1,3 +1,10 @@
+libmemcached (1.0.18-4.3~sasha) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Use --enable-memaslap=yes. Closes: #1010933.
+
+ -- Alexandra N. Kossovsky <[email protected]> Fri, 13 May 2022 16:11:43 +0300
+
libmemcached (1.0.18-4.2) unstable; urgency=medium
* Non-maintainer upload.
diff -u -r libmemcached-1.0.18.clean/debian/control libmemcached-1.0.18/debian/control
--- libmemcached-1.0.18.clean/debian/control 2017-10-11 10:19:11.000000000 +0300
+++ libmemcached-1.0.18/debian/control 2022-05-13 17:31:03.777868973 +0300
@@ -162,4 +162,5 @@
* memcrm - Remove a key(s) from the server.
* memccp - Copy files to a memcached server.
* memcstat - Dump the stats of your servers to standard output
- * memcslap - Generate testing loads on a memcached cluster
+ * memcslap - Generate testing loads on a memcached cluster (memslap)
+ * memcaslap - Load testing and benchmarking a server (memaslap)
Only in libmemcached-1.0.18/debian: control~
diff -u -r libmemcached-1.0.18.clean/debian/rules libmemcached-1.0.18/debian/rules
--- libmemcached-1.0.18.clean/debian/rules 2015-12-06 16:25:23.000000000 +0300
+++ libmemcached-1.0.18/debian/rules 2022-05-13 17:29:38.927869253 +0300
@@ -6,7 +6,7 @@
dh $@ --parallel --with autoreconf
override_dh_auto_configure:
- dh_auto_configure -- --enable-jobserver=no
+ dh_auto_configure -- --enable-jobserver=no --enable-memaslap=yes
override_dh_auto_install:
dh_auto_install
diff -u -r libmemcached-1.0.18.clean/Makefile.am libmemcached-1.0.18/Makefile.am
--- libmemcached-1.0.18.clean/Makefile.am 2022-05-13 17:17:12.000000000 +0300
+++ libmemcached-1.0.18/Makefile.am 2022-05-13 17:29:38.927869253 +0300
@@ -1,6 +1,7 @@
# vim:ft=automake
ACLOCAL_AMFLAGS= -I m4 -I libtest/m4
+AM_LDFLAGS= -pthread
AM_YFLAGS= -d
# includes append to these: