gentoo-ebuilds/dev-cpp/folly/files/folly-2025.04.14.00-force-liburing-off.patch
sin-ack 405f0da22d
dev-cpp/folly: add 2025.04.14.00
io_uring support is temporarily disabled because they depend on features
that haven't even been released in liburing yet.

Closes: https://bugs.gentoo.org/949607
Ref: https://github.com/facebook/folly/issues/2420
Signed-off-by: sin-ack <sin-ack@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-22 02:15:22 +01:00

27 lines
726 B
Diff

From 1a86fa74e6468f1e10a361a79a441e95f2706d0d Mon Sep 17 00:00:00 2001
From: sin-ack <sin-ack@protonmail.com>
Date: Mon, 21 Apr 2025 14:43:56 +0200
Subject: [PATCH] Forcibly disable liburing support
Folly doesn't have a configure option for disabling liburing, so we
must manually disable it with this patch.
---
folly/io/async/Liburing.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/folly/io/async/Liburing.h b/folly/io/async/Liburing.h
index 8e81aaae9..64c3ffc0c 100644
--- a/folly/io/async/Liburing.h
+++ b/folly/io/async/Liburing.h
@@ -16,8 +16,4 @@
#pragma once
-#if defined(__linux__) && __has_include(<liburing.h>)
-#define FOLLY_HAS_LIBURING 1
-#else
#define FOLLY_HAS_LIBURING 0
-#endif
--
2.49.0