summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--memcached-build.patch28
-rw-r--r--memcached.spec5
2 files changed, 32 insertions, 1 deletions
diff --git a/memcached-build.patch b/memcached-build.patch
new file mode 100644
index 0000000..9d4f40b
--- /dev/null
+++ b/memcached-build.patch
@@ -0,0 +1,28 @@
+diff -up vendor/Makefile.old vendor/Makefile
+--- vendor/Makefile.old 2024-01-10 15:37:23.308921592 +0100
++++ vendor/Makefile 2024-01-10 15:37:45.820751910 +0100
+@@ -1,6 +1,6 @@
+ all:
+- cd lua && $(MAKE) all MYCFLAGS="-g" && cd ..
+- cd mcmc && $(MAKE) all && cd ..
++ cd lua && $(MAKE) all MYCFLAGS="@CFLAGS@" && cd ..
++ cd mcmc && $(MAKE) all MYCFLAGS="@CFLAGS@" && cd ..
+
+ clean:
+ cd lua && $(MAKE) clean && cd ..
+diff -up vendor/mcmc/Makefile.old vendor/mcmc/Makefile
+--- vendor/mcmc/Makefile.old 2024-01-10 15:43:11.777774397 +0100
++++ vendor/mcmc/Makefile 2024-01-10 15:46:09.679336049 +0100
+@@ -1,9 +1,10 @@
+ # gcc -g -Wall -Werror -pedantic -o example example.c mcmc.c
+ PREFIX=/usr/local
++MYCFLAGS=
+
+ all:
+- gcc -g -O2 -Wall -Werror -pedantic -o example example.c mcmc.c
+- gcc -g -O2 -Wall -Werror -pedantic -c mcmc.c
++ gcc -g -O2 -Wall -Werror -pedantic -o example example.c mcmc.c $(MYCFLAGS)
++ gcc -g -O2 -Wall -Werror -pedantic -c mcmc.c $(MYCFLAGS)
+
+ clean:
+ rm -f example mcmc.o
diff --git a/memcached.spec b/memcached.spec
index ff3106f..779734c 100644
--- a/memcached.spec
+++ b/memcached.spec
@@ -43,7 +43,7 @@
Name: memcached
-Version: 1.6.23
+Version: 1.6.24
Release: 1%{?dist}
Epoch: 0
Summary: High Performance, Distributed Memory Object Cache
@@ -314,6 +314,9 @@ exit 0
%changelog
+* Wed Feb 28 2024 Remi Collet <remi@remirepo.net> - 1.6.24-1
+- update to 1.6.24 (2024-02-27)
+
* Wed Jan 10 2024 Remi Collet <remi@remirepo.net> - 1.6.23-1
- update to 1.6.23 (2024-01-09)