summaryrefslogtreecommitdiffhomepage
path: root/patches/perl-5.22.1.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-17 22:52:52 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-17 22:52:52 +0000
commitcf111bc2a140338cf29ebec128d72d452006ea85 (patch)
tree7d6aecc183f2c77117c438a535104b35ab0bd949 /patches/perl-5.22.1.local.patch
parent83762b1134235aa83ec1ab1a29320e7f543b93fe (diff)
downloadmidipix_build-cf111bc2a140338cf29ebec128d72d452006ea85.tar.bz2
midipix_build-cf111bc2a140338cf29ebec128d72d452006ea85.tar.xz
patches/perl-5.22.1.local.patch: always link against -lperl (via Redfoxmoon.)
Diffstat (limited to 'patches/perl-5.22.1.local.patch')
-rw-r--r--patches/perl-5.22.1.local.patch16
1 files changed, 14 insertions, 2 deletions
diff --git a/patches/perl-5.22.1.local.patch b/patches/perl-5.22.1.local.patch
index 765411eb..65fe7e6a 100644
--- a/patches/perl-5.22.1.local.patch
+++ b/patches/perl-5.22.1.local.patch
@@ -1,6 +1,6 @@
diff -ru perl-5.22.1.orig/installman perl-5.22.1/installman
---- perl-5.22.1.orig/installman 2015-10-17 14:32:14.000000000 +0200
-+++ perl-5.22.1/installman 2017-01-17 16:54:06.004016000 +0100
+--- perl-5.22.1.orig/installman 2017-11-17 23:35:34.386593179 +0100
++++ perl-5.22.1/installman 2017-11-17 23:03:41.388858972 +0100
@@ -146,9 +146,10 @@
next;
}
@@ -14,3 +14,15 @@ diff -ru perl-5.22.1.orig/installman perl-5.22.1/installman
my $tmp = "${mandir}/${manpage}.tmp";
$manpage = "${mandir}/${manpage}.${manext}";
+diff -ru perl-5.22.1.orig/Makefile perl-5.22.1/Makefile
+--- perl-5.22.1.orig/Makefile 2017-11-17 19:06:50.298908618 +0100
++++ perl-5.22.1/Makefile 2017-11-17 23:32:21.687695934 +0100
+@@ -135,7 +135,7 @@
+ perl$x: perlmain$o $(LIBPERL) $(static_tgt) static.list ext.libs
+ $(eval extlibs=$(shell cat ext.libs))
+ $(eval statars=$(shell cat static.list))
+- $(CC) $(LDFLAGS) -o $@ $(filter %$o,$^) $(LIBPERL) $(statars) $(LIBS) $(extlibs)
++ $(CC) $(LDFLAGS) -o $@ $(filter %$o,$^) -lperl $(statars) $(LIBS) $(extlibs)
+
+ %$o: %.c config.h
+ $(CC) $(CFLAGS) -c -o $@ $<