git: 318e28b67b43 - main - devel/arduino-irremote: Update to 4.3.2

From: Craig Leres <leres_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 17:28:49 UTC
The branch main has been updated by leres:

URL: https://cgit.FreeBSD.org/ports/commit/?id=318e28b67b43f2476ae9d3b8a6b2d22bb75ae638

commit 318e28b67b43f2476ae9d3b8a6b2d22bb75ae638
Author:     Craig Leres <leres@FreeBSD.org>
AuthorDate: 2024-06-16 17:28:23 +0000
Commit:     Craig Leres <leres@FreeBSD.org>
CommitDate: 2024-06-16 17:28:23 +0000

    devel/arduino-irremote: Update to 4.3.2
    
    Also deal with avr-gcc 14.1.0 fallout:
    
        https://github.com/Arduino-IRremote/Arduino-IRremote/pull/1240
    
    Changes since 4.3.1:
    
     - Added sendSonyMSB(unsigned long data, int nbits) as a clone of
       sendSony(unsigned long data, int nbits) to be more consistent.
    
     - Added sendSamsungMSB(unsigned long data, int nbits) as a clone
       of sendSAMSUNG(unsigned long data, int nbits) to be more consistent.
    
     - Added ESP32 core 3.x error message.
    
    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, 33 insertions(+), 4 deletions(-)

diff --git a/devel/arduino-irremote/Makefile b/devel/arduino-irremote/Makefile
index d9f66d2876f2..21f3ebc15d5e 100644
--- a/devel/arduino-irremote/Makefile
+++ b/devel/arduino-irremote/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	arduino-irremote
-PORTVERSION=	4.3.1
+PORTVERSION=	4.3.2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 
diff --git a/devel/arduino-irremote/distinfo b/devel/arduino-irremote/distinfo
index 180c6442e017..66a34fd3a425 100644
--- a/devel/arduino-irremote/distinfo
+++ b/devel/arduino-irremote/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711840048
-SHA256 (z3t0-Arduino-IRremote-v4.3.1_GH0.tar.gz) = 15b5e7ea58d2fa23ce9cbda7ad5a687c7cd59472e9a2a3413097a91f6c3969e2
-SIZE (z3t0-Arduino-IRremote-v4.3.1_GH0.tar.gz) = 879767
+TIMESTAMP = 1718554724
+SHA256 (z3t0-Arduino-IRremote-v4.3.2_GH0.tar.gz) = f9fa16a03fd08a6d3e950fcabf301579603f73de980ff460f541a0b38ff2b311
+SIZE (z3t0-Arduino-IRremote-v4.3.2_GH0.tar.gz) = 1032154
diff --git a/devel/arduino-irremote/files/patch-src_LongUnion.h b/devel/arduino-irremote/files/patch-src_LongUnion.h
new file mode 100644
index 000000000000..95e9a23b71a7
--- /dev/null
+++ b/devel/arduino-irremote/files/patch-src_LongUnion.h
@@ -0,0 +1,29 @@
+--- 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];