File: no_clash_YYEMPTY.patch

package info (click to toggle)
librg-blast-parser-perl 0.03-10
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 180 kB
  • sloc: perl: 37; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 639 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
Author: Andreas Tille <tille@debian.org>
Reviewed-By: Aaron M. Ucko <ucko@debian.org>
Last-Update: 2022-01-22
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
 .
 Forwarding is not actionable since upstream vanished.
Forwarded: not-needed
---
--- 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>