memcached: update patches

This commit is contained in:
Leonid Pliushch 2020-11-22 14:28:16 +00:00
parent b755b16168
commit 0d5b653202
3 changed files with 30 additions and 5 deletions

View File

@ -0,0 +1,14 @@
diff -uNr memcached-1.6.9/crc32c.c memcached-1.6.9.mod/crc32c.c
--- memcached-1.6.9/crc32c.c 2020-11-21 00:10:41.000000000 +0000
+++ memcached-1.6.9.mod/crc32c.c 2020-11-22 14:25:55.009587536 +0000
@@ -43,6 +43,10 @@
#include <pthread.h>
#include "crc32c.h"
+#if defined(__ANDROID__) && defined(__aarch64__)
+# include <asm/hwcap.h>
+#endif
+
crc_func crc32c;
/* CRC-32C (iSCSI) polynomial in reversed bit order. */

View File

@ -1,11 +1,11 @@
diff -uNr memcached-1.6.1/memcached.c memcached-1.6.1.mod/memcached.c
--- memcached-1.6.1/memcached.c 2020-03-17 04:49:39.000000000 +0200
+++ memcached-1.6.1.mod/memcached.c 2020-03-20 13:32:09.829964421 +0200
diff -uNr memcached-1.6.9/memcached.c memcached-1.6.9.mod/memcached.c
--- memcached-1.6.9/memcached.c 2020-11-21 00:10:41.000000000 +0000
+++ memcached-1.6.9.mod/memcached.c 2020-11-22 14:22:38.466598100 +0000
@@ -14,6 +14,7 @@
* Brad Fitzpatrick <brad@danga.com>
*/
#include "memcached.h"
+#include "getsubopt.h"
#ifdef EXTSTORE
#include "storage.h"
#endif
#include "authfile.h"
#include "restart.h"

View File

@ -0,0 +1,11 @@
diff -uNr memcached-1.6.9/storage.c memcached-1.6.9.mod/storage.c
--- memcached-1.6.9/storage.c 2020-11-21 00:10:41.000000000 +0000
+++ memcached-1.6.9.mod/storage.c 2020-11-22 14:27:33.173582189 +0000
@@ -3,6 +3,7 @@
#ifdef EXTSTORE
#include "storage.h"
+#include "getsubopt.h"
#include "extstore.h"
#include <stdlib.h>
#include <stdio.h>