commit:     8b8571d58ca75c48f304c86e73026f5b871a8645
Author:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 20 18:01:35 2026 +0000
Commit:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
CommitDate: Fri Feb 20 18:01:35 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8571d5

dev-db/redis: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>

 dev-db/redis/files/configure.ac-3.2                | 66 ----------------------
 dev-db/redis/files/redis-5.0-shared.patch          | 32 -----------
 dev-db/redis/files/redis-sentinel-5.0-config.patch | 19 -------
 3 files changed, 117 deletions(-)

diff --git a/dev-db/redis/files/configure.ac-3.2 
b/dev-db/redis/files/configure.ac-3.2
deleted file mode 100644
index 3e2cf9267266..000000000000
--- a/dev-db/redis/files/configure.ac-3.2
+++ /dev/null
@@ -1,66 +0,0 @@
-#                                               -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
-
-AC_PREREQ(2.63)
-AC_INIT(redis, 3.2.3, [email protected])
-AM_CFLAGS="-std=c99 -pedantic -Wall -W -D__EXTENSIONS__ -D_XPG6"
-if test x"$CFLAGS" = x""; then
-    AM_CFLAGS="$AM_CFLAGS -O2"
-else
-    AM_CFLAGS="$AM_CFLAGS $CFLAGS"
-fi
-
-# options
-AC_MSG_CHECKING([whether to build with debug information])
-AC_ARG_ENABLE([debug],
-    [AS_HELP_STRING([--enable-debug],
-        [enable debug data generation (def=no)])],
-    [debugit="$enableval"],
-    [debugit=no])
-AC_MSG_RESULT([$debugit])
-
-if test x"$debugit" = x"yes"; then
-    AC_DEFINE([DEBUG],[],[Debug Mode])
-    AM_CFLAGS="$AM_CFLAGS -g -rdynamic -ggdb"
-else
-    AC_DEFINE([NDEBUG],[],[No-debug Mode])
-fi
-AC_SUBST([AM_CFLAGS])
-
-# Checks for programs.
-AC_PROG_CC
-
-# Checks for libraries.
-
-# Checks for header files.
-AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h limits.h netdb.h netinet/in.h 
stdlib.h string.h sys/socket.h sys/time.h unistd.h])
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_HEADER_STDBOOL
-AC_C_INLINE
-AC_TYPE_INT16_T
-AC_TYPE_INT32_T
-AC_TYPE_OFF_T
-AC_TYPE_PID_T
-AC_TYPE_SIZE_T
-AC_TYPE_SSIZE_T
-AC_TYPE_UINT16_T
-AC_TYPE_UINT32_T
-
-# Checks for library functions.
-AC_FUNC_ERROR_AT_LINE
-AC_FUNC_FORK
-AC_FUNC_STRCOLL
-AC_FUNC_STRTOD
-AC_CHECK_FUNCS([dup2 gethostbyname gettimeofday inet_ntoa memchr memmove 
memset select socket strcasecmp strchr strerror strstr strtol])
-
-# Check for lua-5.1 or luajit
-AC_ARG_WITH([luajit],
-    AS_HELP_STRING([--with-luajit], [Use luajit instead of lua]))
-
-AS_IF([test "x$with_luajit" = "xyes"],
-      [PKG_CHECK_MODULES([LUA], [luajit >= 2], [], [AC_MSG_ERROR([luajit 
requested but not found])])],
-      [PKG_CHECK_MODULES([LUA], [lua5.1], [], [AC_MSG_ERROR([lua-5.1 required 
but not found])])])
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT

diff --git a/dev-db/redis/files/redis-5.0-shared.patch 
b/dev-db/redis/files/redis-5.0-shared.patch
deleted file mode 100644
index 32245079ab49..000000000000
--- a/dev-db/redis/files/redis-5.0-shared.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff --git a/src/Makefile b/src/Makefile
-index f5525bd..6f12a20 100644
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -29,14 +29,7 @@ INSTALL_BIN=$(PREFIX)/bin
- INSTALL=install
- 
- # Default allocator defaults to Jemalloc if it's not an ARM
--MALLOC=libc
--ifneq ($(uname_M),armv6l)
--ifneq ($(uname_M),armv7l)
--ifeq ($(uname_S),Linux)
--      MALLOC=jemalloc
--endif
--endif
--endif
-+MALLOC?=jemalloc
- 
- # To get ARM stack traces if Redis crashes we need a special C flag.
- ifneq (,$(filter aarch64 armv,$(uname_M)))
-@@ -120,9 +113,8 @@ ifeq ($(MALLOC),tcmalloc_minimal)
- endif
- 
- ifeq ($(MALLOC),jemalloc)
--      DEPENDENCY_TARGETS+= jemalloc
--      FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include
--      FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS)
-+      FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE
-+      FINAL_LIBS+= -ljemalloc -ldl
- endif
- 
- REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)

diff --git a/dev-db/redis/files/redis-sentinel-5.0-config.patch 
b/dev-db/redis/files/redis-sentinel-5.0-config.patch
deleted file mode 100644
index 099b4eef818c..000000000000
--- a/dev-db/redis/files/redis-sentinel-5.0-config.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/sentinel.conf b/sentinel.conf
-index bc9a705..05e58d3 100644
---- a/sentinel.conf
-+++ b/sentinel.conf
-@@ -28,12 +28,12 @@ daemonize no
- # When running daemonized, Redis Sentinel writes a pid file in
- # /var/run/redis-sentinel.pid by default. You can specify a custom pid file
- # location here.
--pidfile /var/run/redis-sentinel.pid
-+pidfile /run/redis-sentinel.pid
- 
- # Specify the log file name. Also the empty string can be used to force
- # Sentinel to log on the standard output. Note that if you use standard
- # output for logging but daemonize, logs will be sent to /dev/null
--logfile ""
-+logfile "/var/log/redis/sentinel.log"
- 
- # sentinel announce-ip <ip>
- # sentinel announce-port <port>

Reply via email to