diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/Cache-Memcached-Fast/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/Cache-Memcached-Fast/files')
-rw-r--r-- | dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch | 15 | ||||
-rw-r--r-- | dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.250.0-no-flto.patch | 32 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch b/dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch new file mode 100644 index 000000000000..65f856c7f2dc --- /dev/null +++ b/dev-perl/Cache-Memcached-Fast/files/0.230.0-parallel-make.patch @@ -0,0 +1,15 @@ +diff --git a/src/Makefile.PL b/src/Makefile.PL +index 3a945d4..2c1e03a 100644 +--- a/src/Makefile.PL ++++ b/src/Makefile.PL +@@ -55,6 +55,10 @@ libclient$(LIB_EXT): $(OBJECT) + $(AR) cr libclient$(LIB_EXT) $(OBJECT) + $(RANLIB) libclient$(LIB_EXT) + ++dispatch_key.o : compute_crc32.h ++ ++client.o : parse_keyword.h ++ + parse_keyword.c parse_keyword.h :: genparser.pl reply.kw + $(PERL) genparser.pl reply.kw parse_keyword.c parse_keyword.h + diff --git a/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.250.0-no-flto.patch b/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.250.0-no-flto.patch new file mode 100644 index 000000000000..d78c3fad0d7f --- /dev/null +++ b/dev-perl/Cache-Memcached-Fast/files/Cache-Memcached-Fast-0.250.0-no-flto.patch @@ -0,0 +1,32 @@ +From d1c5f70b144abfd4783f866aef27f60a35b61f8b Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +Date: Tue, 3 Oct 2017 20:20:14 +1300 +Subject: 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 +@@ -22,6 +22,13 @@ WriteMakefile( + }, + ); + ++sub MY::cflags { ++ my $self = shift; ++ my $orig = $self->MM::cflags(@_); ++ $orig =~ s/-flto\b//g; ++ return $orig; ++} ++ + sub MY::postamble { + ' + $(MYEXTLIB): src/Makefile +-- +2.14.1 + |