aboutsummaryrefslogtreecommitdiff
path: root/net-im/kmess-kde4
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-11-12 18:35:53 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-11-12 18:35:53 +0000
commitc905c203db0c9756a47ecca2243013bfa462026d (patch)
tree07ffa1194a060dd6c8f50a2046c9b422bc054830 /net-im/kmess-kde4
parentf44de4a8d49fd8ce374780f235c163a9d3d9cd1a (diff)
downloadports-c905c203db0c9756a47ecca2243013bfa462026d.tar.gz
ports-c905c203db0c9756a47ecca2243013bfa462026d.zip
Notes
Diffstat (limited to 'net-im/kmess-kde4')
-rw-r--r--net-im/kmess-kde4/Makefile5
-rw-r--r--net-im/kmess-kde4/files/patch-contrib_isf-qt_src_isfqt.cpp7
2 files changed, 9 insertions, 3 deletions
diff --git a/net-im/kmess-kde4/Makefile b/net-im/kmess-kde4/Makefile
index f7650c940cd6..7c7fc92885a2 100644
--- a/net-im/kmess-kde4/Makefile
+++ b/net-im/kmess-kde4/Makefile
@@ -3,14 +3,15 @@
PORTNAME= kmess
PORTVERSION= 2.0.6.2
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= net-im kde
MASTER_SITES= SF/${PORTNAME}/Latest%20versions/${PORTVERSION}/
MAINTAINER= syncer@gmail.com
COMMENT= MSN Messenger client for KDE
-LIB_DEPENDS= libqca.so:${PORTSDIR}/devel/qca
+LIB_DEPENDS= libqca.so:${PORTSDIR}/devel/qca \
+ libgif.so:${PORTSDIR}/graphics/giflib
USE_GNOME= libxml2 libxslt
USE_KDE4= kdeprefix kdelibs libkonq automoc4
diff --git a/net-im/kmess-kde4/files/patch-contrib_isf-qt_src_isfqt.cpp b/net-im/kmess-kde4/files/patch-contrib_isf-qt_src_isfqt.cpp
index 92ece07e99f7..6ac2efa7c80f 100644
--- a/net-im/kmess-kde4/files/patch-contrib_isf-qt_src_isfqt.cpp
+++ b/net-im/kmess-kde4/files/patch-contrib_isf-qt_src_isfqt.cpp
@@ -72,10 +72,15 @@
{
qWarning() << "EGifPutExtensionLast (0) failed!";
goto writeError;
-@@ -624,12 +648,16 @@ QByteArray Stream::writerGif( const Draw
+@@ -623,13 +647,21 @@ QByteArray Stream::writerGif( const Draw
+
writeError:
// Clean up the GIF converter etc
++#if GIFLIB_MAJOR == 5 && GIFLIB_MINOR >= 1 || GIFLIB_MAJOR > 5
++ EGifCloseFile( gifImage, NULL );
++#else
EGifCloseFile( gifImage );
++#endif
+#if GIFLIB_MAJOR >= 5
+ GifFreeMapObject( cmap );
+#else