summaryrefslogtreecommitdiff
path: root/net/kopete
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2014-05-19 11:07:25 +0000
committermarkd <markd@pkgsrc.org>2014-05-19 11:07:25 +0000
commitf3a489a0134c985593f31692dd259b99cbba8a33 (patch)
tree9d5be43edc6ebbc64296618ce299462ff20f5abb /net/kopete
parent831e96e00067c4633e9595b68531ee9eedd4b694 (diff)
downloadpkgsrc-f3a489a0134c985593f31692dd259b99cbba8a33.tar.gz
Fix build with giflib 5.1.
Diffstat (limited to 'net/kopete')
-rw-r--r--net/kopete/distinfo3
-rw-r--r--net/kopete/patches/patch-protocols_wlm_wlmchatsession.cpp29
2 files changed, 31 insertions, 1 deletions
diff --git a/net/kopete/distinfo b/net/kopete/distinfo
index 309c2537b10..8e95d555c45 100644
--- a/net/kopete/distinfo
+++ b/net/kopete/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2014/02/01 02:20:52 markd Exp $
+$NetBSD: distinfo,v 1.3 2014/05/19 11:07:25 markd Exp $
SHA1 (kopete-4.11.5.tar.xz) = 763eed262a10a9d89cb0c0b3c0f7a94da4d4b0d5
RMD160 (kopete-4.11.5.tar.xz) = 810fe55d8316f805265565d019c71de61af0bf14
@@ -7,3 +7,4 @@ SHA1 (patch-libkopete_avdevice_videodevice.h) = 9864dd808cf375bcc48ec9ed0c6d939d
SHA1 (patch-protocols_jabber_libiris_src_jdns_jdns_sys.c) = 55b688b2fd3b003109bfb2ca2c9bdf9dbe2e2352
SHA1 (patch-protocols_winpopup_winpopup-install) = 538f1f079439d3c86454583f2863dbbcb3a63b95
SHA1 (patch-protocols_wlm_CMakeLists.txt) = 09adb9dfd59b360f35c6e5ef1ed06cce00bd20f3
+SHA1 (patch-protocols_wlm_wlmchatsession.cpp) = 6ed9cc71f7f53bad69686a2fe47330ceac48eb59
diff --git a/net/kopete/patches/patch-protocols_wlm_wlmchatsession.cpp b/net/kopete/patches/patch-protocols_wlm_wlmchatsession.cpp
new file mode 100644
index 00000000000..46fc2ce2674
--- /dev/null
+++ b/net/kopete/patches/patch-protocols_wlm_wlmchatsession.cpp
@@ -0,0 +1,29 @@
+$NetBSD: patch-protocols_wlm_wlmchatsession.cpp,v 1.1 2014/05/19 11:07:25 markd Exp $
+
+Fix build with giflib 5.1.
+
+--- protocols/wlm/wlmchatsession.cpp.orig 2014-01-02 19:38:04.000000000 +0000
++++ protocols/wlm/wlmchatsession.cpp
+@@ -557,7 +557,7 @@ WlmChatSession::convertToGif( const QPix
+ screenColourmap);
+
+ if (status != GIF_OK) {
+- EGifCloseFile(GifFile);
++ EGifCloseFile(GifFile, NULL);
+ return;
+ }
+
+@@ -580,11 +580,11 @@ WlmChatSession::convertToGif( const QPix
+
+ if (status != GIF_OK) {
+ printGifErrorMessage();
+- EGifCloseFile(GifFile);
++ EGifCloseFile(GifFile, NULL);
+ return;
+ }
+
+- if (EGifCloseFile(GifFile) != GIF_OK) {
++ if (EGifCloseFile(GifFile, NULL) != GIF_OK) {
+ printGifErrorMessage();
+ return;
+ }