commit:     0692a50807f6420298f947343604ff53f4bab84f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 18 23:56:35 2026 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 19 00:24:01 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0692a508

sys-cluster/ceph: Fix build w/ USE="-cephfs -radosgw"

Closes: https://bugs.gentoo.org/934599
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sys-cluster/ceph/ceph-20.1.1-r1.ebuild              |  1 +
 sys-cluster/ceph/files/ceph-20.1.1-always-lua.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/sys-cluster/ceph/ceph-20.1.1-r1.ebuild 
b/sys-cluster/ceph/ceph-20.1.1-r1.ebuild
index d48b8779f5f0..f8a3ce96565c 100644
--- a/sys-cluster/ceph/ceph-20.1.1-r1.ebuild
+++ b/sys-cluster/ceph/ceph-20.1.1-r1.ebuild
@@ -227,6 +227,7 @@ PATCHES=(
        "${FILESDIR}/ceph-19.2.2-silent-unused-variable-warning.patch"
        "${FILESDIR}/ceph-19.2.2-src-mgr-make-enum-statically-castable.patch"
        "${FILESDIR}/ceph-20.1.0-nvmeof.patch"
+       "${FILESDIR}/ceph-20.1.1-always-lua.patch" # bug 934599
        "${FILESDIR}/ceph-20.1.1-boost-url-linking.patch"
        # https://bugs.gentoo.org/969039
        "${FILESDIR}"/ceph-20.1.1-boost-1.89-{1,2,3}.patch

diff --git a/sys-cluster/ceph/files/ceph-20.1.1-always-lua.patch 
b/sys-cluster/ceph/files/ceph-20.1.1-always-lua.patch
new file mode 100644
index 000000000000..2d130a4dd907
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-20.1.1-always-lua.patch
@@ -0,0 +1,11 @@
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -628,7 +628,7 @@
+ add_subdirectory(global)
+ 
+ # RGW also support Lua scripting
+-if(WITH_CEPHFS OR WITH_RADOSGW)
++if(1)
+   find_package(Lua 5.3 REQUIRED)
+ endif()
+ 

Reply via email to