summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/perl-xml-libxslt-fix-configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/perl-xml-libxslt-fix-configure.patch')
-rw-r--r--gnu/packages/patches/perl-xml-libxslt-fix-configure.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/gnu/packages/patches/perl-xml-libxslt-fix-configure.patch b/gnu/packages/patches/perl-xml-libxslt-fix-configure.patch
deleted file mode 100644
index 8433c30bed..0000000000
--- a/gnu/packages/patches/perl-xml-libxslt-fix-configure.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Patch from https://github.com/shlomif/perl-XML-LibXSLT/commit/40fdc7f0.patch
-
-From 40fdc7f0443949d9556f0ecf15eb7777d543cee1 Mon Sep 17 00:00:00 2001
-From: Florian Weimer <fweimer@redhat.com>
-Date: Thu, 9 Feb 2023 19:28:14 +0100
-Subject: [PATCH] Avoid C implicit function declaration in Makefile.PL (C99
- compat)
-
-Future compilers are likely not to support implicit function
-declarations. Add a fake prototype so that the probes will
-not always fail with such compilers.
----
- Makefile.PL | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile.PL b/Makefile.PL
-index 079f8ea..d720b48 100644
---- a/Makefile.PL
-+++ b/Makefile.PL
-@@ -463,10 +463,11 @@ SRC
- }
- }
- else {
--
-+ # Use a fake prototype in the style of autoconf.
- $result = try_link(<<"SRC", $libs);
--blank() { return 0; }
--int t() { ${func}(); return 0; }
-+char blank(void) { return 0; }
-+char ${func}(void);
-+int t(void) { ${func}(); return 0; }
- SRC
- }
- }