summaryrefslogtreecommitdiff
path: root/debian/patches/no_clash_YYEMPTY.patch
blob: 502fb6169faa8b39a91eaced44f61bc830253b51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Andreas Tille <tille@debian.org>
        Aaron M. Ucko <ucko@debian.org>
Last-Update: Sat, 22 Jan 2022 07:13:18 +0100
Origin: https://lists.debian.org/debian-med/2022/01/msg00080.html
Description: Avoid clash between Perl headers' definition of
 YYEMPTY as a macro and Rost Lab headers' use of it as an enum name

--- a/Parser.xs
+++ b/Parser.xs
@@ -11,6 +11,8 @@ extern "C" {
 }
 #endif
 
+/* Do not clash with /usr/lib/x86_64-linux-gnu/perl/5.32/CORE/parser.h */
+#undef YYEMPTY
 /* include your class headers here */
 #include <rostlab/blast-parser-driver.h>