diff --git a/sci-electronics/savvycan/patches/savvycan-213.patchset b/sci-electronics/savvycan/patches/savvycan-213.patchset new file mode 100644 index 000000000..6c7719e4b --- /dev/null +++ b/sci-electronics/savvycan/patches/savvycan-213.patchset @@ -0,0 +1,22 @@ +From e503c592345c27940cc32e8ce6fdffdb6e6c626e Mon Sep 17 00:00:00 2001 +From: Begasus +Date: Sat, 9 Dec 2023 09:25:08 +0100 +Subject: Haiku build fix + + +diff --git a/pcaplite.h b/pcaplite.h +index 8a48153..1f435e3 100644 +--- a/pcaplite.h ++++ b/pcaplite.h +@@ -2,7 +2,7 @@ + #define PCAPLITE_H + + #include +-#if defined(unix) || defined __APPLE__ ++#if defined(unix) || defined __APPLE__ || defined __HAIKU__ + #include + #else + #include +-- +2.42.1 + diff --git a/sci-electronics/savvycan/savvycan-1.0.245.recipe b/sci-electronics/savvycan/savvycan-213.recipe similarity index 86% rename from sci-electronics/savvycan/savvycan-1.0.245.recipe rename to sci-electronics/savvycan/savvycan-213.recipe index 0b05a3384..8fcd0056c 100644 --- a/sci-electronics/savvycan/savvycan-1.0.245.recipe +++ b/sci-electronics/savvycan/savvycan-213.recipe @@ -2,14 +2,13 @@ SUMMARY="Qt based cross-platform canbus tool" DESCRIPTION="SavvyCAN is a cross-platform tool to capture, analyze, and \ reverse engineer CAN bus data." HOMEPAGE="https://savvycan.com/" -COPYRIGHT=" - 2015-2021 EVTV and Collin Kidder - " +COPYRIGHT="2015-2021 EVTV and Collin Kidder" LICENSE="MIT" -REVISION="2" -SOURCE_URI="https://github.com/collin80/SavvyCAN/archive/refs/tags/$portVersion.tar.gz" +REVISION="1" +SOURCE_URI="https://github.com/collin80/SavvyCAN/archive/refs/tags/V$portVersion.tar.gz" +CHECKSUM_SHA256="1c60055a05dacfd9b00b5416e728735dc7d507f9692c52bf2e4eed74f56f84cd" SOURCE_DIR="SavvyCAN-$portVersion" -CHECKSUM_SHA256="347c6bf143ba09e6002068f7484d13179f54bef4a077980eafd4a3c06f0e18bf" +PATCHES="savvycan-$portVersion.patchset" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" @@ -20,6 +19,7 @@ PROVIDES=" " REQUIRES=" haiku$secondaryArchSuffix + lib:libGL$secondaryArchSuffix lib:libQt5Concurrent$secondaryArchSuffix lib:libQt5Core$secondaryArchSuffix lib:libQt5DBus$secondaryArchSuffix