mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
labplot, bump to 2.12.1 (#12806)
This commit is contained in:
22
sci-visualization/labplot/patches/labplot-2.12.1.patchset
Normal file
22
sci-visualization/labplot/patches/labplot-2.12.1.patchset
Normal file
@@ -0,0 +1,22 @@
|
||||
From fa74e06606e86bd4e6f79a202d099b33fb095d0f Mon Sep 17 00:00:00 2001
|
||||
From: Luc Schrijvers <begasus@gmail.com>
|
||||
Date: Sat, 26 Apr 2025 19:12:21 +0200
|
||||
Subject: Don't default to xcb qt plugin on Haiku
|
||||
|
||||
|
||||
diff --git a/src/frontend/LabPlot.cpp b/src/frontend/LabPlot.cpp
|
||||
index 23bab67..50cf6dd 100644
|
||||
--- a/src/frontend/LabPlot.cpp
|
||||
+++ b/src/frontend/LabPlot.cpp
|
||||
@@ -42,7 +42,7 @@
|
||||
#endif
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
-#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN)
|
||||
+#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN) && !defined(Q_OS_HAIKU)
|
||||
// the qads library has issues on wayland so we force qt to use x11 instead
|
||||
// see https://invent.kde.org/education/labplot/-/issues/1067
|
||||
QByteArray xcbQtQpaEnvVar("xcb");
|
||||
--
|
||||
2.50.1
|
||||
|
||||
Reference in New Issue
Block a user