File: fix-ftbfs-5.16.patch

package info (click to toggle)
libdevel-dprof-perl 20110802.00-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 292 kB
  • ctags: 10
  • sloc: perl: 717; sh: 9; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 786 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 658895c781a8f42752791e4d6f1b32423d1a36f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Wed, 27 Jun 2012 17:18:48 +0200
Subject: [PATCH] Work around static XS_Devel__DProf_END mismatch

Bug: https://rt.cpan.org/Public/Bug/Display.html?id=70629
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676271
Origin: https://rt.cpan.org/Public/Bug/Display.html?id=70629
---
 DProf.xs |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/DProf.xs b/DProf.xs
index a4bbb4b..9642010 100644
--- a/DProf.xs
+++ b/DProf.xs
@@ -1,4 +1,5 @@
 #define PERL_NO_GET_CONTEXT
+#define PERL_EUPXS_ALWAYS_EXPORT /* Perl 5.16 makes XSUB static, RT #70629 */
 #include "EXTERN.h"
 #include "perl.h"
 #include "XSUB.h"
-- 
1.7.7.6