Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Mar 2026 23:49:28 +0000
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4fc89baab154 - main - x11-toolkits/gtk40: un-conditionalise bswap64()/bswap_64()
Message-ID:  <69b89708.23c87.65cf6cf6@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vishwin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4fc89baab1542ec3086176138cffd31ce49fa61f

commit 4fc89baab1542ec3086176138cffd31ce49fa61f
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2026-03-16 23:39:42 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2026-03-16 23:39:42 +0000

    x11-toolkits/gtk40: un-conditionalise bswap64()/bswap_64()
    
    All currently supported base system versions/branches include the
    glibc-compatible <byteswap.h> containing bswap_64(), which maps
    directly to <sys/_endian.h> __bswap64(). Consolidation in GTK's
    roaring component resulted in an extra preprocessor guard for us.
    This fixes possible build errors when <sys/endian.h> is not included
    by other means.
    
    Upstream commit: https://gitlab.gnome.org/GNOME/gtk/-/commit/047c8e64d4156897776ec2bc3d0613a81cfe7ad1
---
 x11-toolkits/gtk40/Makefile | 3 +++
 x11-toolkits/gtk40/distinfo | 4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile
index dbebca07df70..db67643c3876 100644
--- a/x11-toolkits/gtk40/Makefile
+++ b/x11-toolkits/gtk40/Makefile
@@ -5,6 +5,9 @@ MASTER_SITES=	GNOME
 PKGNAMESUFFIX=	4
 DIST_SUBDIR=	gnome
 
+PATCH_SITES=	https://gitlab.gnome.org/GNOME/gtk/-/commit/
+PATCHFILES=	047c8e64d4156897776ec2bc3d0613a81cfe7ad1.patch:-p1
+
 MAINTAINER=	desktop@FreeBSD.org
 COMMENT=	Gimp Toolkit for X11 GUI (current stable version)
 WWW=		https://www.gtk.org/
diff --git a/x11-toolkits/gtk40/distinfo b/x11-toolkits/gtk40/distinfo
index df58c497f404..43288c232421 100644
--- a/x11-toolkits/gtk40/distinfo
+++ b/x11-toolkits/gtk40/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1766327378
+TIMESTAMP = 1773704299
 SHA256 (gnome/gtk-4.20.3.tar.xz) = 2873f2903088a66c71173ea2ed85ffae266a66b972c3a4842bbb2f6f187ec153
 SIZE (gnome/gtk-4.20.3.tar.xz) = 16003020
+SHA256 (gnome/047c8e64d4156897776ec2bc3d0613a81cfe7ad1.patch) = f9f19bae08c599d0ed63b841a3e3d9b7d549e90b42653513d4f02f696bae3fd2
+SIZE (gnome/047c8e64d4156897776ec2bc3d0613a81cfe7ad1.patch) = 1113


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69b89708.23c87.65cf6cf6>