openbsd-ports/x11/x2goclient/patches/patch-x2goclient_pro
rsadowski 8622cfbf63 Update x2goclient to 4.1.2.2
This fix also includes a missing qtsvg lib dependency spotted by sthen@.
Remove patches to fix qt5.13.2 build. Committed upstream.
2020-03-19 19:51:09 +00:00

37 lines
950 B
Plaintext

$OpenBSD: patch-x2goclient_pro,v 1.6 2020/03/19 19:51:09 rsadowski Exp $
It's not required to link with libssh_threads anymore since libssh 0.8
Index: x2goclient.pro
--- x2goclient.pro.orig
+++ x2goclient.pro
@@ -165,7 +165,7 @@ else:win32 {
}
else {
# For backwards-compatibility.
- LIBS += -lssh -lssh_threads
+ LIBS += -lssh
}
win32:LIBS += -lAdvAPI32 -lshell32 -lUser32
@@ -203,7 +203,7 @@ else:message("No translation files in project")
TEMPLATE = app
DEPENDPATH += .
-INCLUDEPATH += src
+INCLUDEPATH += src $(X11BASE)/include
RESOURCES += res/resources.qrc
exists(res/txt/git-info) {
@@ -220,6 +220,10 @@ linux|linux-* {
message("building $$TARGET via $$QMAKESPEC with ldap and cups")
LIBS += -lldap -lcups -lX11 -lXpm
DEFINES += __linux__
+}
+openbsd-* {
+ message("building $$TARGET with ldap and cups")
+ LIBS += -lldap -lcups -lX11 -lXpm
}
x2go_linux_static {
message("linking all libs statically")