summaryrefslogtreecommitdiff
path: root/x11-fm/xfe/files/patch-src_main.cpp
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2025-03-18 21:58:32 +0100
committerEmanuel Haupt <ehaupt@FreeBSD.org>2025-03-18 21:58:51 +0100
commit532fb6d65bc7a1ce170004ba187f0cfff0b67950 (patch)
tree6d2eae9c19e82b207ea965bc7c965cea068634d2 /x11-fm/xfe/files/patch-src_main.cpp
parentsysutils/limine: Update to 9.2.0 (diff)
x11-fm/xfe: Update to 2.0.1
Diffstat (limited to 'x11-fm/xfe/files/patch-src_main.cpp')
-rw-r--r--x11-fm/xfe/files/patch-src_main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-fm/xfe/files/patch-src_main.cpp b/x11-fm/xfe/files/patch-src_main.cpp
new file mode 100644
index 000000000000..849a7c0fa89e
--- /dev/null
+++ b/x11-fm/xfe/files/patch-src_main.cpp
@@ -0,0 +1,14 @@
+--- src/main.cpp.orig 2025-01-24 08:42:30 UTC
++++ src/main.cpp
+@@ -389,6 +389,11 @@ int main(int argc, char* argv[])
+ textdomain(PACKAGE);
+ #endif
+
++#if defined(__FreeBSD__)
++ FXuint pkg_format;
++ pkg_format = OTHER_PKG;
++#endif
++
+ #if defined(linux)
+ // For package query on Linux systems, try to guess if the default package format is deb or rpm:
+ // - if dpkg exists then the system uses deb packages