made kadu compilable again on x86-64 NixOS platform

svn path=/nixpkgs/trunk/; revision=25709
This commit is contained in:
Piotr Pietraszkiewicz 2011-01-27 23:45:06 +00:00
parent ff52b21fe8
commit 59e243b062
2 changed files with 17 additions and 0 deletions

View File

@ -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)";

View File

@ -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"