From 59e243b0625686d8a7c4d5c1c1e07134760506ab Mon Sep 17 00:00:00 2001 From: Piotr Pietraszkiewicz Date: Thu, 27 Jan 2011 23:45:06 +0000 Subject: [PATCH] made kadu compilable again on x86-64 NixOS platform svn path=/nixpkgs/trunk/; revision=25709 --- .../networking/instant-messengers/kadu/default.nix | 4 ++++ .../instant-messengers/kadu/includes.patch | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/applications/networking/instant-messengers/kadu/includes.patch diff --git a/pkgs/applications/networking/instant-messengers/kadu/default.nix b/pkgs/applications/networking/instant-messengers/kadu/default.nix index c35d71fbca0a..26db00ad441b 100644 --- a/pkgs/applications/networking/instant-messengers/kadu/default.nix +++ b/pkgs/applications/networking/instant-messengers/kadu/default.nix @@ -19,6 +19,10 @@ stdenv.mkDerivation { prePatch = '' patchShebangs . ''; + + patches = [ + ./includes.patch + ]; meta = { description = "An instance messanger client for the gadu-gadu network (most popular polish IM network)"; diff --git a/pkgs/applications/networking/instant-messengers/kadu/includes.patch b/pkgs/applications/networking/instant-messengers/kadu/includes.patch new file mode 100644 index 000000000000..6960a24b1763 --- /dev/null +++ b/pkgs/applications/networking/instant-messengers/kadu/includes.patch @@ -0,0 +1,13 @@ +--- kadu/kadu-core/main.cpp 2011-01-27 22:58:22.000000000 +0100 ++++ kadu/kadu-core/main.cpp 2011-01-27 22:58:28.000000000 +0100 +@@ -20,10 +20,8 @@ + #include + #include + #endif +-#ifdef Q_OS_BSD4 + #include + #include +-#endif + + #include "config_file.h" + #include "debug.h"