2023-08-16 22:26:55 +00:00
|
|
|
Not strictly necessary, but prevents xournalpp from looking for /proc all the
|
|
|
|
time.
|
|
|
|
|
|
|
|
Index: src/util/Stacktrace.cpp
|
|
|
|
--- src/util/Stacktrace.cpp.orig
|
|
|
|
+++ src/util/Stacktrace.cpp
|
2023-09-11 22:02:06 +00:00
|
|
|
@@ -68,6 +68,12 @@ fs::path Stacktrace::getExePath() {
|
2023-08-16 22:26:55 +00:00
|
|
|
delete[] path;
|
|
|
|
return "";
|
|
|
|
}
|
|
|
|
+#elif defined(__OpenBSD__)
|
|
|
|
+
|
|
|
|
+fs::path Stacktrace::getExePath() {
|
|
|
|
+ return fs::path("${LOCALBASE}/bin/xournalpp");
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
#else
|
|
|
|
auto Stacktrace::getExePath() -> fs::path {
|
2023-09-11 22:02:06 +00:00
|
|
|
#ifndef PATH_MAX
|