View | Details | Raw Unified | Return to bug 202547 | Differences between
and this patch

Collapse All | Expand All

(-)net-im/licq-qt-gui/Makefile (-13 / +18 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	qt4-gui
4
PORTNAME=	qt4-gui
5
PORTVERSION=	1.8.2
5
PORTVERSION=	1.8.2
6
PORTREVISION=	1
6
CATEGORIES=	net-im
7
CATEGORIES=	net-im
7
PKGNAMESUFFIX?=	${KDE_SUFFIX}${PKGNAMESUFFIX2}
8
PKGNAMESUFFIX?=	${KDE_SUFFIX}${PKGNAMESUFFIX2}
8
9
Lines 14-28 Link Here
14
LIB_DEPENDS=	libboost_regex.so:${PORTSDIR}/devel/boost-libs
15
LIB_DEPENDS=	libboost_regex.so:${PORTSDIR}/devel/boost-libs
15
RUN_DEPENDS=	${LOCALBASE}/lib/licq/protocol_icq.so:${PORTSDIR}/${LICQ_PORT}-icq
16
RUN_DEPENDS=	${LOCALBASE}/lib/licq/protocol_icq.so:${PORTSDIR}/${LICQ_PORT}-icq
16
17
17
USE_XORG=	x11 xext ice xscrnsaver
18
USE_XORG=	ice x11 xext xscrnsaver
18
USES=		cmake
19
USES=		cmake
19
USE_QT4=	qmake_build moc_build rcc_build uic_build linguist_build
20
USE_QT4=	qmake_build moc_build rcc_build uic_build linguisttools_build \
21
		corelib xml gui
20
22
21
OPTIONS_DEFINE=	KDE4
23
OPTIONS_DEFINE=	HUNSPELL KDE4
22
OPTIONS_DEFAULT=
24
OPTIONS_DEFAULT=
23
25
24
LICQ_PORT?=	net-im/licq
26
LICQ_PORT?=	net-im/licq
25
27
28
HUNSPELL_LIB_DEPENDS=	libhunspell-1.3.so:${PORTSDIR}/textproc/hunspell
29
HUNSPELL_CMAKE_ON=	-DHUNSPELL_INCLUDE_DIRS=${LOCALBASE}/include/hunspell \
30
			-DHUNSPELL_LIBRARIES=${LOCALBASE}/lib/libhunspell-1.3.so \
31
			-DHUNSPELL_FOUND:BOOL=ON
32
HUNSPELL_CMAKE_OFF=	-DHUNSPELL_FOUND:BOOL=OFF
33
34
KDE4_USE=		KDE4=kdelibs,automoc4
35
KDE4_PREVENTS=		HUNSPELL
36
KDE4_CMAKE_ON=		-DWITH_KDE:BOOL=ON
37
KDE4_CMAKE_OFF=		-DWITH_KDE:BOOL=OFF
38
KDE4_PLIST_SUB=		GUI_NAME=kde4 WITH_KDE="" WITH_QT="@comment "
39
KDE4_PLIST_SUB_OFF=	GUI_NAME=qt4  WITH_KDE="@comment " WITH_QT=""
40
26
.include <bsd.port.options.mk>
41
.include <bsd.port.options.mk>
27
42
28
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
43
.include "${PORTSDIR}/${LICQ_PORT}/Makefile.inc"
Lines 29-44 Link Here
29
44
30
.if ${PORT_OPTIONS:MKDE4}
45
.if ${PORT_OPTIONS:MKDE4}
31
KDE_SUFFIX=	-kde
46
KDE_SUFFIX=	-kde
32
USE_KDE4=	kdelibs automoc4
33
CMAKE_ARGS+=	-DWITH_KDE:BOOL=ON
34
PLIST_SUB+=	GUI_NAME=kde4
35
PLIST_SUB+=	WITH_KDE=""
36
PLIST_SUB+=	WITH_QT="@comment "
37
.else
38
USE_QT4+=	xml gui
39
PLIST_SUB+=	GUI_NAME=qt4
40
PLIST_SUB+=	WITH_KDE="@comment "
41
PLIST_SUB+=	WITH_QT=""
42
.endif
47
.endif
43
48
44
.include <bsd.port.mk>
49
.include <bsd.port.mk>
(-)net-im/licq-qt-gui/files/patch-contactuserdata.h (-11 lines)
Lines 1-11 Link Here
1
--- src/contactlist/contactuserdata.h.orig	2013-08-25 11:45:17.000000000 +0200
2
+++ src/contactlist/contactuserdata.h	2014-02-13 21:44:51.000000000 +0100
3
@@ -20,6 +20,8 @@
4
 #ifndef CONTACTUSERDATA_H
5
 #define CONTACTUSERDATA_H
6
 
7
+#include <time.h>
8
+
9
 #include <QList>
10
 #include <QString>
11
 #include <QTimer>
(-)net-im/licq-qt-gui/files/patch-plugin.cpp (-10 lines)
Lines 1-10 Link Here
1
--- src/core/plugin.cpp.orig	2014-06-01 21:16:42.000000000 +0200
2
+++ src/core/plugin.cpp	2014-06-06 22:08:35.000000000 +0200
3
@@ -31,6 +31,7 @@
4
 # include <QInternal>
5
 #include <KDE/KCmdLineArgs>
6
 #include <KDE/KMessage>
7
+#include <stdlib.h>
8
 #else
9
 # include <QStyleFactory>
10
 #endif
(-)net-im/licq-qt-gui/files/patch-src_contactlist_contactuserdata.h (+11 lines)
Line 0 Link Here
1
--- src/contactlist/contactuserdata.h.orig	2014-06-01 19:16:42 UTC
2
+++ src/contactlist/contactuserdata.h
3
@@ -20,6 +20,8 @@
4
 #ifndef CONTACTUSERDATA_H
5
 #define CONTACTUSERDATA_H
6
 
7
+#include <time.h>
8
+
9
 #include <QList>
10
 #include <QString>
11
 #include <QTimer>
(-)net-im/licq-qt-gui/files/patch-src_core_plugin.cpp (+10 lines)
Line 0 Link Here
1
--- src/core/plugin.cpp.orig	2014-06-01 19:16:42 UTC
2
+++ src/core/plugin.cpp
3
@@ -31,6 +31,7 @@
4
 # include <QInternal>
5
 #include <KDE/KCmdLineArgs>
6
 #include <KDE/KMessage>
7
+#include <stdlib.h>
8
 #else
9
 # include <QStyleFactory>
10
 #endif
(-)net-im/licq-qt-gui/files/patch-src_userevents_usereventcommon.h (+11 lines)
Line 0 Link Here
1
--- src/userevents/usereventcommon.h.orig	2014-06-01 19:16:42 UTC
2
+++ src/userevents/usereventcommon.h
3
@@ -20,6 +20,8 @@
4
 #ifndef USEREVENTCOMMON_H
5
 #define USEREVENTCOMMON_H
6
 
7
+#include <time.h>
8
+
9
 #include <QWidget>
10
 
11
 #include <list>
(-)net-im/licq-qt-gui/files/patch-usereventcommon.h (-11 lines)
Lines 1-11 Link Here
1
--- src/userevents/usereventcommon.h.orig	2013-08-25 11:45:17.000000000 +0200
2
+++ src/userevents/usereventcommon.h	2014-02-13 21:45:16.000000000 +0100
3
@@ -20,6 +20,8 @@
4
 #ifndef USEREVENTCOMMON_H
5
 #define USEREVENTCOMMON_H
6
 
7
+#include <time.h>
8
+
9
 #include <QWidget>
10
 
11
 #include <list>

Return to bug 202547