File: use-system-tao-pegtl.patch

package info (click to toggle)
gemmi 0.7.1%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,292 kB
  • sloc: cpp: 59,670; python: 5,214; ansic: 4,122; sh: 373; makefile: 112; javascript: 86; f90: 42
file content (35 lines) | stat: -rw-r--r-- 1,146 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
26
27
28
29
30
31
32
33
34
35
From: Debichem Team <debichem-devel@lists.alioth.debian.org>
Date: Fri, 3 Jan 2025 21:12:35 +0100
Subject: use-system-tao-pegtl

---
 include/gemmi/cif.hpp | 2 +-
 python/gemmi.cpp      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/gemmi/cif.hpp b/include/gemmi/cif.hpp
index 108b31a..055324f 100644
--- a/include/gemmi/cif.hpp
+++ b/include/gemmi/cif.hpp
@@ -11,7 +11,7 @@
 #include <iosfwd>     // for size_t, istream
 #include <string>
 
-#include "third_party/tao/pegtl.hpp"
+#include "tao/pegtl.hpp"
 //#include "third_party/tao/pegtl/contrib/tracer.hpp"  // for debugging
 
 #include "cifdoc.hpp" // for Document, etc
diff --git a/python/gemmi.cpp b/python/gemmi.cpp
index 39e8fc9..fcea091 100644
--- a/python/gemmi.cpp
+++ b/python/gemmi.cpp
@@ -8,7 +8,7 @@
 #include "gemmi/pirfasta.hpp"  // for read_pir_or_fasta
 #include "gemmi/seqtools.hpp"  // for calculate_sequence_weight
 #include "gemmi/stats.hpp"     // for Correlation
-#include "gemmi/third_party/tao/pegtl/parse_error.hpp" // for parse_error
+#include "tao/pegtl/parse_error.hpp" // for parse_error
 
 #include "common.h"
 #include "array.h"