| 1 |
From: Enrico Seiler <[email protected]> |
| 2 |
Last-Update: 2024-11-27 |
| 3 |
Subject: Upgrade to SeqAn 2.5.0. |
| 4 |
Bug-Debian: https://bugs.debian.org/1126095 |
| 5 |
|
| 6 |
--- |
| 7 |
Makefile | 2 +- |
| 8 |
porechop/include/adapter_align.h | 2 +- |
| 9 |
porechop/include/alignment.h | 2 +- |
| 10 |
3 files changed, 3 insertions(+), 3 deletions(-) |
| 11 |
|
| 12 |
diff --git a/Makefile b/Makefile |
| 13 |
index b1b9e23..a2ebf09 100644 |
| 14 |
--- a/Makefile |
| 15 |
+++ b/Makefile |
| 16 |
@@ -14,7 +14,7 @@ CXX ?= g++ |
| 17 |
CXXFLAGS ?= -Wall -Wextra -pedantic -mtune=native |
| 18 |
|
| 19 |
# These flags are required for the build to work. |
| 20 |
|
| 21 |
+FLAGS = -std=c++17 -Iporechop/include -fPIC |
| 22 |
LDFLAGS = -shared |
| 23 |
|
| 24 |
# Different debug/optimisation levels for debug/release builds. |
| 25 |
diff --git a/porechop/include/adapter_align.h b/porechop/include/adapter_align.h |
| 26 |
index d0f8497..e79c94b 100644 |
| 27 |
--- a/porechop/include/adapter_align.h |
| 28 |
+++ b/porechop/include/adapter_align.h |
| 29 |
@@ -6,7 +6,7 @@ |
| 30 |
#include <vector> |
| 31 |
#include "alignment.h" |
| 32 |
|
| 33 |
|
| 34 |
+using namespace seqan2; |
| 35 |
|
| 36 |
// Functions that are called by the Python script must have C linkage, not C++ linkage. |
| 37 |
extern "C" { |
| 38 |
diff --git a/porechop/include/alignment.h b/porechop/include/alignment.h |
| 39 |
index 90305b5..fb1949b 100644 |
| 40 |
--- a/porechop/include/alignment.h |
| 41 |
+++ b/porechop/include/alignment.h |
| 42 |
@@ -7,7 +7,7 @@ |
| 43 |
#include <seqan/basic.h> |
| 44 |
#include <seqan/align.h> |
| 45 |
|
| 46 |
|
| 47 |
+using namespace seqan2; |
| 48 |
|
| 49 |
|
| 50 |
class ScoredAlignment { |