mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 19:17:15 +08:00
kde 4.9
This commit is contained in:
parent
44aacd5214
commit
9e0d46da22
@ -27,7 +27,7 @@ url="http://www.kde.org"
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
options=('docs' '!splithdr' 'splitdbg' 'log')
|
||||
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr' 'qca-ossl'
|
||||
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'speex' 'ortp' 'libotr' 'qca-ossl' 'telepathy-qt'
|
||||
"kde-workspace>=${_kdever}" "kde-baseapps>=${_kdever}" 'libvncserver' 'libmsn' 'libmms'
|
||||
'ppp' 'libv4l' 'libidn' 'rdesktop' 'qimageblitz' 'libxss' 'libxdamage' 'libgadu'
|
||||
'mediastreamer' 'msilbc' 'kwebkitpart>=0.9.6' 'libktorrent>=1.0.5' 'docbook-xsl')
|
||||
@ -46,7 +46,6 @@ md5sums=(`grep ${pkgbase}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`
|
||||
#
|
||||
build() {
|
||||
cd ${srcdir}/${pkgbase}-${pkgver}
|
||||
patch -p4 -i "${srcdir}"/gcc47.patch
|
||||
msg "starting build ..."
|
||||
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
|
@ -1,59 +0,0 @@
|
||||
--- branches/KDE/4.8/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc 2012/05/03 16:03:23 1292761
|
||||
+++ branches/KDE/4.8/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/base/socketaddress.cc 2012/05/03 16:11:00 1292762
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
+#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <cstring>
|
||||
--- branches/KDE/4.8/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/base/ssladapter.cc 2012/05/03 16:03:23 1292761
|
||||
+++ branches/KDE/4.8/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/base/ssladapter.cc 2012/05/03 16:11:00 1292762
|
||||
@@ -27,6 +27,12 @@
|
||||
|
||||
#include "talk/base/ssladapter.h"
|
||||
|
||||
+#ifdef POSIX
|
||||
+extern "C" {
|
||||
+#include <unistd.h>
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
#if !defined(SSL_USE_SCHANNEL) && !defined(SSL_USE_OPENSSL)
|
||||
#ifdef WIN32
|
||||
#define SSL_USE_SCHANNEL 1
|
||||
--- branches/KDE/4.8/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/base/stringutils.h 2012/05/03 16:03:23 1292761
|
||||
+++ branches/KDE/4.8/kdenetwork/kopete/protocols/jabber/googletalk/libjingle/talk/base/stringutils.h 2012/05/03 16:11:00 1292762
|
||||
@@ -198,15 +198,6 @@
|
||||
}
|
||||
|
||||
template<class CTYPE>
|
||||
-size_t sprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format, ...) {
|
||||
- va_list args;
|
||||
- va_start(args, format);
|
||||
- size_t len = vsprintfn(buffer, buflen, format, args);
|
||||
- va_end(args);
|
||||
- return len;
|
||||
-}
|
||||
-
|
||||
-template<class CTYPE>
|
||||
size_t vsprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format,
|
||||
va_list args) {
|
||||
int len = vsnprintf(buffer, buflen, format, args);
|
||||
@@ -217,6 +208,15 @@
|
||||
return len;
|
||||
}
|
||||
|
||||
+template<class CTYPE>
|
||||
+size_t sprintfn(CTYPE* buffer, size_t buflen, const CTYPE* format, ...) {
|
||||
+ va_list args;
|
||||
+ va_start(args, format);
|
||||
+ size_t len = vsprintfn(buffer, buflen, format, args);
|
||||
+ va_end(args);
|
||||
+ return len;
|
||||
+}
|
||||
+
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Allow safe comparing and copying ascii (not UTF-8) with both wide and
|
||||
// non-wide character strings.
|
Loading…
Reference in New Issue
Block a user