diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2015-11-12 18:35:53 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2015-11-12 18:35:53 +0000 |
commit | c905c203db0c9756a47ecca2243013bfa462026d (patch) | |
tree | 07ffa1194a060dd6c8f50a2046c9b422bc054830 /net-im | |
parent | - Switch to options helpers (diff) |
Allow building with giflib 5.1
PR: 204492
Notes
Notes:
svn path=/head/; revision=401387
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/kmess-kde4/Makefile | 5 | ||||
-rw-r--r-- | net-im/kmess-kde4/files/patch-contrib_isf-qt_src_isfqt.cpp | 7 |
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 |