commit:     c32f3b741accf04f23ed04142ecbb889b7988e15
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 23 23:15:41 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Jul 24 04:50:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32f3b74

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

Setting the historical record back up.

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

Bug: https://github.com/JRaspass/Cache-Memcached-Fast/pull/11
Fixes: ea4662b23662390eca5b9865852047e4143ec86b
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 .../Cache-Memcached-Fast-0.280.0-r1.ebuild           |  3 ++-
 .../files/Cache-Memcached-Fast-0.270.0-no-flto.patch | 20 +++++++++++++++++---
 2 files changed, 19 insertions(+), 4 deletions(-)

diff --git 
a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r1.ebuild 
b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r1.ebuild
index fd1a5b78b4d8..9b6ddf8c0b4d 100644
--- a/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r1.ebuild
+++ b/dev-perl/Cache-Memcached-Fast/Cache-Memcached-Fast-0.280.0-r1.ebuild
@@ -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"
 )
 

diff --git 
a/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.270.0-no-flto.patch
 
b/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.270.0-no-flto.patch
index 003d93aeaa1c..fa2aa7b8567b 100644
--- 
a/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.270.0-no-flto.patch
+++ 
b/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.270.0-no-flto.patch
@@ -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 <[email protected]>
+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 @@
      },
  );

Reply via email to