summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2008-12-11 19:08:34 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2008-12-11 19:08:34 +0000
commit1da8e1b0ab256f7a6b2ced0ce7838e2f97a539be (patch)
tree75f46f8feef9d3c519551b77737cb8d179c2ea9d /net-misc/x2goclient/files/x2goclient-2.0.1-noldap.patch
parentAdd warning on needed sudoers line (diff)
downloadnx-1da8e1b0ab256f7a6b2ced0ce7838e2f97a539be.tar.gz
nx-1da8e1b0ab256f7a6b2ced0ce7838e2f97a539be.tar.bz2
nx-1da8e1b0ab256f7a6b2ced0ce7838e2f97a539be.zip
Make ldap optional
svn path=/testing/; revision=209
Diffstat (limited to 'net-misc/x2goclient/files/x2goclient-2.0.1-noldap.patch')
-rw-r--r--net-misc/x2goclient/files/x2goclient-2.0.1-noldap.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/net-misc/x2goclient/files/x2goclient-2.0.1-noldap.patch b/net-misc/x2goclient/files/x2goclient-2.0.1-noldap.patch
new file mode 100644
index 0000000..fb87922
--- /dev/null
+++ b/net-misc/x2goclient/files/x2goclient-2.0.1-noldap.patch
@@ -0,0 +1,39 @@
+diff -Naur x2goclient-2.0.1.orig/x2goclientconfig.h x2goclient-2.0.1/x2goclientconfig.h
+--- x2goclient-2.0.1.orig/x2goclientconfig.h 2008-12-11 19:56:03.000000000 +0100
++++ x2goclient-2.0.1/x2goclientconfig.h 2008-12-11 19:56:40.000000000 +0100
+@@ -10,13 +10,4 @@
+
+ //#define LOGFILE QDir::homePath()+"/x2goclient.log"
+
+-#if !defined WINDOWS
+-#define USELDAP
+-#endif
+-
+-
+-#if defined Q_WS_HILDON
+-#undef USELDAP
+-#endif
+-
+ #endif
+diff -Naur x2goclient-2.0.1.orig/x2goclient.pro x2goclient-2.0.1/x2goclient.pro
+--- x2goclient-2.0.1.orig/x2goclient.pro 2008-12-11 19:56:03.000000000 +0100
++++ x2goclient-2.0.1/x2goclient.pro 2008-12-11 19:56:23.000000000 +0100
+@@ -37,7 +37,6 @@
+ INCLUDEPATH += .
+ RESOURCES += resources.rcc
+ RC_FILE = x2goclient.rc
+-LIBS += -lldap
+ QT += svg network
+ ICON =icons/x2go-mac.icns
+ QMAKE_MAC_SDK =/Developer/SDKs/MacOSX10.5.sdk
+diff -Naur x2goclient-2.0.1.orig/x2goclient.pro.default x2goclient-2.0.1/x2goclient.pro.default
+--- x2goclient-2.0.1.orig/x2goclient.pro.default 2008-12-11 19:56:03.000000000 +0100
++++ x2goclient-2.0.1/x2goclient.pro.default 2008-12-11 19:56:23.000000000 +0100
+@@ -37,7 +37,6 @@
+ INCLUDEPATH += .
+ RESOURCES += resources.rcc
+ RC_FILE = x2goclient.rc
+-LIBS += -lldap
+ QT += svg network
+ ICON =icons/x2go-mac.icns
+ QMAKE_MAC_SDK =/Developer/SDKs/MacOSX10.5.sdk