git: 22fa49cbda4b - main - devel/arduino-irremote: Update to 4.4.0

From: Craig Leres <leres_at_FreeBSD.org>
Date: Mon, 01 Jul 2024 05:52:21 UTC
The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22fa49cbda4b45cae35faaa7973992ef81a224f3

commit 22fa49cbda4b45cae35faaa7973992ef81a224f3
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2024-07-01 05:51:43 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2024-07-01 05:51:43 +0000

    devel/arduino-irremote: Update to 4.4.0
    
    Changes since 4.3.2:
    
     - Using 8 bit raw timing buffer for all timings except frame gap
       (former rawbuf[0]).
    
     - Renamed decodedIRData.initialGap to decodedIRData.initialGapTicks.
    
     - sendNEC() and sendNEC2() now accepts 16 bit command to better
       map to NECext protocol found in IRDB databases.
    
     - ir_DistanceWidthProtocol() now decodes up to 10 ms mark or spaces
       if RAM is bigger than 2 k.
    
     - Improved sensitivity and decoding of PULSE_DISTANCE + PULSE_WIDTH
       protocols.
    
     - Changed TOLERANCE_FOR_DECODERS_MARK_OR_SPACE_MATCHING to
       TOLERANCE_FOR_DECODERS_MARK_OR_SPACE_MATCHING_PERCENT.
    
     - Improved examples AllProtocolsOnLCD, UnitTest and SimpleReceiver.
    
     - New functions decodePulseDistanceWidthData() with 6 parameters
       and decodePulseDistanceWidthDataStrict() with 7 parameters.
    
    Reported by:    portscout
---
 devel/arduino-irremote/Makefile                    |  2 +-
 devel/arduino-irremote/distinfo                    |  6 ++---
 devel/arduino-irremote/files/patch-src_LongUnion.h | 29 ----------------------
 3 files changed, 4 insertions(+), 33 deletions(-)

diff --git a/devel/arduino-irremote/Makefile b/devel/arduino-irremote/Makefile
index 21f3ebc15d5e..723545f0423b 100644
--- a/devel/arduino-irremote/Makefile
+++ b/devel/arduino-irremote/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	arduino-irremote
-PORTVERSION=	4.3.2
+PORTVERSION=	4.4.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
diff --git a/devel/arduino-irremote/distinfo b/devel/arduino-irremote/distinfo
index 66a34fd3a425..4b0ffbe530d0 100644
--- a/devel/arduino-irremote/distinfo
+++ b/devel/arduino-irremote/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1718554724
-SHA256 (z3t0-Arduino-IRremote-v4.3.2_GH0.tar.gz) = f9fa16a03fd08a6d3e950fcabf301579603f73de980ff460f541a0b38ff2b311
-SIZE (z3t0-Arduino-IRremote-v4.3.2_GH0.tar.gz) = 1032154
+TIMESTAMP = 1719809779
+SHA256 (z3t0-Arduino-IRremote-v4.4.0_GH0.tar.gz) = 51868b6fddd68305014ef39508e178cfd66a0eb40cbd885ea7b330e51c0d3838
+SIZE (z3t0-Arduino-IRremote-v4.4.0_GH0.tar.gz) = 1040146
diff --git a/devel/arduino-irremote/files/patch-src_LongUnion.h b/devel/arduino-irremote/files/patch-src_LongUnion.h
deleted file mode 100644
index 95e9a23b71a7..000000000000
--- a/devel/arduino-irremote/files/patch-src_LongUnion.h
+++ /dev/null
@@ -1,29 +0,0 @@
---- src/LongUnion.h.orig	2024-06-16 17:07:29 UTC
-+++ src/LongUnion.h
-@@ -87,7 +87,7 @@ union LongUnion {
-     struct {
-         WordUnion LowWord;
-         WordUnion HighWord;
--    } WordUnion;
-+    } WordUnion2;
-     uint8_t UBytes[4]; // seems to have the same code size as using struct UByte
-     int8_t Bytes[4]; // Bytes[0] is LowByte
-     uint16_t UWords[2];
-@@ -122,7 +122,7 @@ union LongLongUnion {
-         WordUnion MidLowWord;
-         WordUnion MidHighWord;
-         WordUnion HighWord;
--    } WordUnion;
-+    } WordUnion3;
-     struct {
-         uint32_t LowLong;
-         uint32_t HighLong;
-@@ -134,7 +134,7 @@ union LongLongUnion {
-     struct {
-         LongUnion LowLong;
-         LongUnion HighLong;
--    } LongUnion;
-+    } LongUnion2;
-     uint8_t UBytes[8]; // seems to have the same code size as using struct UByte
-     int8_t Bytes[8];
-     uint16_t UWords[4];