diff options
Diffstat (limited to 'academic/labplot2/p3.patch')
-rw-r--r-- | academic/labplot2/p3.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/academic/labplot2/p3.patch b/academic/labplot2/p3.patch new file mode 100644 index 0000000000000..e2942e02eaf03 --- /dev/null +++ b/academic/labplot2/p3.patch @@ -0,0 +1,50 @@ +--- BLFFilterTest.h 2023-03-18 18:11:03.000000000 -0300 ++++ BLFFilterTest.h.new 2023-04-17 19:03:30.503938882 -0300 +@@ -1,12 +1,12 @@ + /* +- File : BLFFilterTest.h +- Project : LabPlot +- Description : Tests for the BLF filter +- -------------------------------------------------------------------- +- SPDX-FileCopyrightText: 2023 Martin Marmsoler <martin.marmsoler@gmail.com> +- +- SPDX-License-Identifier: GPL-2.0-or-later +-*/ ++ * File : BLFFilterTest.h ++ * Project : LabPlot ++ * Description : Tests for the BLF filter ++ * -------------------------------------------------------------------- ++ * SPDX-FileCopyrightText: 2023 Martin Marmsoler <martin.marmsoler@gmail.com> ++ * ++ * SPDX-License-Identifier: GPL-2.0-or-later ++ */ + #ifndef BLFFILTERTEST_H + #define BLFFILTERTEST_H + +@@ -14,15 +14,16 @@ + #include <QtTest> + + namespace Vector { +-namespace BLF { +-struct CanMessage2; +-} // namespace BLF ++ namespace BLF { ++ struct CanMessage2; ++ } // namespace BLF + } // namespace Vector + + class BLFFilterTest : public CommonTest { + Q_OBJECT + + private Q_SLOTS: ++ #ifdef HAVE_VECTOR_BLF + void testInvalidBLF(); + void testNotFoundBLF(); + void testInvalidDBC(); +@@ -42,5 +43,6 @@ + void createDBCFile(const QString& filename, const std::string& content); + Vector::BLF::CanMessage2* createCANMessage(uint32_t id, uint64_t timestamp, const std::vector<uint8_t>& data); + void createBLFFile(const QString& filename, QVector<Vector::BLF::CanMessage2*> messages); ++ #endif + }; + #endif // BLFFILTERTEST_H |