diff options
-rw-r--r-- | pkgs/applications/networking/instant-messengers/kadu/default.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/networking/instant-messengers/kadu/includes.patch | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/kadu/default.nix b/pkgs/applications/networking/instant-messengers/kadu/default.nix index c35d71fbca0a9..26db00ad441bc 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 0000000000000..6960a24b17638 --- /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 <winsock2.h> + #include <windows.h> + #endif +-#ifdef Q_OS_BSD4 + #include <sys/types.h> + #include <sys/stat.h> +-#endif + + #include "config_file.h" + #include "debug.h" |