git: 85f0bab48f6d - main - x11/swaysettings: fix with gtk40 4.20.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Mar 2026 10:34:28 UTC
The branch main has been updated by truckman:
URL: https://cgit.FreeBSD.org/ports/commit/?id=85f0bab48f6d5f561327c13999a878fe602ff3a4
commit 85f0bab48f6d5f561327c13999a878fe602ff3a4
Author: Don Lewis <truckman@FreeBSD.org>
AuthorDate: 2026-03-11 01:38:36 +0000
Commit: Don Lewis <truckman@FreeBSD.org>
CommitDate: 2026-03-13 09:50:52 +0000
x11/swaysettings: fix with gtk40 4.20.3
Patch with upstream commit e4f3749a053b5fbe0feab93e46d6eba380ee2e58 to
fix build with gtk40 4.20.x.
PR: 293321
---
x11/swaysettings/Makefile | 2 +-
.../patch-e4f3749a053b5fbe0feab93e46d6eba380ee2e58 | 21 +++++++++++++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/x11/swaysettings/Makefile b/x11/swaysettings/Makefile
index 6e69f59d97c8..1c8d85ed0b00 100644
--- a/x11/swaysettings/Makefile
+++ b/x11/swaysettings/Makefile
@@ -1,7 +1,7 @@
PORTNAME= swaysettings
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MAINTAINER= ports@FreeBSD.org
diff --git a/x11/swaysettings/files/patch-e4f3749a053b5fbe0feab93e46d6eba380ee2e58 b/x11/swaysettings/files/patch-e4f3749a053b5fbe0feab93e46d6eba380ee2e58
new file mode 100644
index 000000000000..b4cf418ea01a
--- /dev/null
+++ b/x11/swaysettings/files/patch-e4f3749a053b5fbe0feab93e46d6eba380ee2e58
@@ -0,0 +1,21 @@
+commit e4f3749a053b5fbe0feab93e46d6eba380ee2e58
+Author: Erik Reider <35975961+ErikReider@users.noreply.github.com>
+AuthorDate: Wed Sep 17 01:01:39 2025 +0200
+Commit: Erik Reider <35975961+ErikReider@users.noreply.github.com>
+CommitDate: Wed Sep 17 01:01:39 2025 +0200
+
+ Fixed Fedora 43 build issues
+
+diff --git a/src/Settings/Window/Window.vala b/src/Settings/Window/Window.vala
+index 1afe8ea..f2a9db6 100644
+--- src/Settings/Window/Window.vala
++++ src/Settings/Window/Window.vala
+@@ -140,7 +140,7 @@ namespace SwaySettings {
+ new Adw.BreakpointCondition.length (
+ Adw.BreakpointConditionLengthType.MAX_WIDTH, 650,
+ Adw.LengthUnit.SP);
+- Adw.Breakpoint breakpoint = new Adw.Breakpoint (condition);
++ Adw.Breakpoint breakpoint = new Adw.Breakpoint (condition.copy ());
+ breakpoint.add_setter (split_view, "collapsed", true);
+ add_breakpoint (breakpoint);
+