dev-perl/Cache-Memcached-Fast: re-add missing patch metadata

Setting the historical record back up.

Original patch contents from 3a948a110a
and researched as originating via an upstream PR

Bug: https://github.com/JRaspass/Cache-Memcached-Fast/pull/11
Fixes: ea4662b236
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-07-23 19:15:41 -04:00
parent 316817f80c
commit c32f3b741a
2 changed files with 19 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -33,6 +33,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}/0.230.0-parallel-make.patch"
# https://github.com/JRaspass/Cache-Memcached-Fast/pull/11
"${FILESDIR}/${PN}-0.270.0-no-flto.patch"
)

View File

@@ -1,6 +1,20 @@
diff -ruN Cache-Memcached-Fast-0.27.orig/Makefile.PL Cache-Memcached-Fast-0.27/Makefile.PL
--- Cache-Memcached-Fast-0.27.orig/Makefile.PL 2021-05-22 20:25:50.000000000 +0200
+++ Cache-Memcached-Fast-0.27/Makefile.PL 2021-05-25 21:41:10.991310429 +0200
https://github.com/JRaspass/Cache-Memcached-Fast/pull/11
From 4bba22fac564a0798022197476f63fb6b481129f Mon Sep 17 00:00:00 2001
From: Kent Fredric <kentnl@gentoo.org>
Date: Tue, 3 Oct 2017 20:20:14 +1300
Subject: [PATCH] Strip -flto from CFLAGS
-flto breaks compilation of static archives and needs significant magic
to not break, including sentience about which CC you're using.
---
Makefile.PL | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Makefile.PL b/Makefile.PL
index 0054164..ad249b9 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -24,6 +24,13 @@
},
);