diff --git a/pkgs/applications/networking/instant-messengers/kadu/default.nix b/pkgs/applications/networking/instant-messengers/kadu/default.nix index c35d71fbca0..26db00ad441 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 00000000000..6960a24b176 --- /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"