From cfec54817471863141c89eec58f12b094f4ee265 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Thu, 3 Jun 2010 15:14:29 +0000 Subject: [PATCH] Fix pidgin-sipe plugin to build with latest pidgin - contributed by David Brown svn path=/nixpkgs/trunk/; revision=22129 --- .../pidgin-plugins/sipe/default.nix | 2 ++ .../pidgin-plugins/sipe/fix-2.7.0.patch | 27 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/fix-2.7.0.patch (limited to 'pkgs/applications/networking/instant-messengers') diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix b/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix index b80f81010da6..d842dc9364b0 100644 --- a/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix +++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/default.nix @@ -10,6 +10,8 @@ stdenv.mkDerivation { sha256 = "11d85qxix1dmwvzs3lx0sycsx1d5sy67r9y78fs7z716py4mg9np"; }; + patches = [ ./fix-2.7.0.patch ]; + meta = { description = "SIPE plugin for Pidgin IM."; homepage = http://sipe.sourceforge.net/; diff --git a/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/fix-2.7.0.patch b/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/fix-2.7.0.patch new file mode 100644 index 000000000000..cecfa8a18e49 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/pidgin-plugins/sipe/fix-2.7.0.patch @@ -0,0 +1,27 @@ +From 8ad28171ac5c3fbd1917a2f52e75423c4d357b24 Mon Sep 17 00:00:00 2001 +From: David Brown +Date: Thu, 3 Jun 2010 06:40:04 -0700 +Subject: [PATCH] Fix initializer for 2.7.0 release + +The release of 2.7.0 of pidgin/purple gained two extra fields in a +structure. +--- + src/core/sipe.c | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/src/core/sipe.c b/src/core/sipe.c +index 45a9015..19f4237 100644 +--- a/src/core/sipe.c ++++ b/src/core/sipe.c +@@ -10683,6 +10683,8 @@ PurplePluginProtocolInfo prpl_info = + NULL, /* get_media_caps */ + #if PURPLE_VERSION_CHECK(2,7,0) + NULL, /* get_moods */ ++ NULL, /* set_public_alias */ ++ NULL, /* get_public_alias */ + #endif + #endif + #endif +-- +1.7.1 + -- cgit 1.4.1