summaryrefslogtreecommitdiff
path: root/debian/patches/no_clash_YYEMPTY.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/no_clash_YYEMPTY.patch')
-rw-r--r--debian/patches/no_clash_YYEMPTY.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/no_clash_YYEMPTY.patch b/debian/patches/no_clash_YYEMPTY.patch
new file mode 100644
index 0000000..502fb61
--- /dev/null
+++ b/debian/patches/no_clash_YYEMPTY.patch
@@ -0,0 +1,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>
+