update to 1.4.35
This commit is contained in:
parent
653c86f519
commit
ded97158cb
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/memcached-1.4.34.tar.gz
|
/memcached-1.4.35.tar.gz
|
||||||
|
@ -1,17 +0,0 @@
|
|||||||
|
|
||||||
gcc -Wformat-truncation thinks this might truncate.
|
|
||||||
|
|
||||||
https://github.com/memcached/memcached/pull/256
|
|
||||||
|
|
||||||
diff -uap memcached-1.4.34/util.c.gcc7fmt memcached-1.4.34/util.c
|
|
||||||
--- memcached-1.4.34/util.c.gcc7fmt
|
|
||||||
+++ memcached-1.4.34/util.c
|
|
||||||
@@ -18,7 +18,7 @@
|
|
||||||
if (isalnum(x) || x == '-' || x == '.' || x == '_' || x == '~') {
|
|
||||||
uriencode_map[x] = NULL;
|
|
||||||
} else {
|
|
||||||
- snprintf(str, 4, "%%%02X", x);
|
|
||||||
+ snprintf(str, 4, "%%%02hhX", (unsigned char)x);
|
|
||||||
uriencode_map[x] = str;
|
|
||||||
str += 3; /* lobbing off the \0 is fine */
|
|
||||||
}
|
|
@ -3,7 +3,7 @@
|
|||||||
%bcond_without sasl
|
%bcond_without sasl
|
||||||
|
|
||||||
Name: memcached
|
Name: memcached
|
||||||
Version: 1.4.34
|
Version: 1.4.35
|
||||||
Release: 3%{?dist}
|
Release: 3%{?dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: High Performance, Distributed Memory Object Cache
|
Summary: High Performance, Distributed Memory Object Cache
|
||||||
@ -15,7 +15,6 @@ Source0: http://www.memcached.org/files/%{name}-%{version}.tar.gz
|
|||||||
Source1: memcached.sysconfig
|
Source1: memcached.sysconfig
|
||||||
|
|
||||||
Patch1: memcached-unit.patch
|
Patch1: memcached-unit.patch
|
||||||
Patch2: memcached-1.4.34-gcc7fmt.patch
|
|
||||||
|
|
||||||
BuildRequires: libevent-devel systemd-units
|
BuildRequires: libevent-devel systemd-units
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
@ -44,7 +43,6 @@ access to the memcached binary include files.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1 -b .unit
|
%patch1 -p1 -b .unit
|
||||||
%patch2 -p1 -b .gcc7fmt
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# compile with full RELRO
|
# compile with full RELRO
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (memcached-1.4.34.tar.gz) = e91aa784674501313cd7464bad22f1898b998c836492a52efe68d097a01249a4fffd3b23b79af86957dd3dc11794f2bff476a4891b9cfa172ff9c29dfb50789f
|
SHA512 (memcached-1.4.35.tar.gz) = f42f12ce950d0dd83049f3ece588facc0617f0fc0010f428eb92efcf5a0a5422e110dcef6cff34e5feb5e7a115efa8b82fb09e26f2ff8bb112ebb5fb9adcaf4d
|
||||||
|
Loading…
Reference in New Issue
Block a user