git: 514b781e3746 - main - deskutils/ekphos: Fix build

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Thu, 17 Sep 2026 08:25:21 UTC
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=514b781e3746c346eab2595e7043152b9cb887ae

commit 514b781e3746c346eab2595e7043152b9cb887ae
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-09-17 08:17:18 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-09-17 08:25:11 +0000

    deskutils/ekphos: Fix build
    
    - Remove obsolete patches
    
    Reported by:    pkg-fallout
---
 deskutils/ekphos/files/patch-src_app_state.rs     | 20 --------------------
 deskutils/ekphos/files/patch-src_event_handler.rs | 11 -----------
 2 files changed, 31 deletions(-)

diff --git a/deskutils/ekphos/files/patch-src_app_state.rs b/deskutils/ekphos/files/patch-src_app_state.rs
deleted file mode 100644
index d8d47ee8411a..000000000000
--- a/deskutils/ekphos/files/patch-src_app_state.rs
+++ /dev/null
@@ -1,20 +0,0 @@
---- src/app/state.rs.orig	2026-06-03 11:42:04 UTC
-+++ src/app/state.rs
-@@ -3499,7 +3499,7 @@ impl App {
- 
-         #[cfg(target_os = "macos")]
-         let _ = Command::new("open").arg(url).spawn();
--        #[cfg(any(target_os = "linux", target_os = "android"))]
-+        #[cfg(any(target_os = "freebsd", target_os = "linux", target_os = "android"))]
-         let _ = Command::new("xdg-open").arg(url).spawn();
-         #[cfg(target_os = "windows")]
-         let _ = Command::new("cmd").args(["/c", "start", "", url]).spawn();
-@@ -4366,7 +4366,7 @@ impl App {
- 
-         #[cfg(target_os = "macos")]
-         let _ = Command::new("open").arg(&open_path).spawn();
--        #[cfg(any(target_os = "linux", target_os = "android"))]
-+        #[cfg(any(target_os = "freebsd", target_os = "linux", target_os = "android"))]
-         let _ = Command::new("xdg-open").arg(&open_path).spawn();
-         #[cfg(target_os = "windows")]
-         let _ = Command::new("cmd").args(["/c", "start", "", &open_path]).spawn();
diff --git a/deskutils/ekphos/files/patch-src_event_handler.rs b/deskutils/ekphos/files/patch-src_event_handler.rs
deleted file mode 100644
index a370e73bfb4a..000000000000
--- a/deskutils/ekphos/files/patch-src_event_handler.rs
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/event/handler.rs.orig	2026-06-03 11:42:04 UTC
-+++ src/event/handler.rs
-@@ -362,7 +362,7 @@ fn handle_mouse_event(app: &mut App, mouse: crossterm:
-                             if let Some(open_path) = open_path {
-                                 #[cfg(target_os = "macos")]
-                                 let _ = std::process::Command::new("open").arg(&open_path).spawn();
--                                #[cfg(any(target_os = "linux", target_os = "android"))]
-+                                #[cfg(any(target_os = "freebsd", target_os = "linux", target_os = "android"))]
-                                 let _ = std::process::Command::new("xdg-open").arg(&open_path).spawn();
-                                 #[cfg(target_os = "windows")]
-                                 let _ = std::process::Command::new("cmd").args(["/c", "start", "", &open_path]).spawn();