[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#533526: qt4-x11: FTBFS on hurd-i386



Package: qt4-x11
Version: 4.5.1-2
Severity: important
Tags: patch

Hello,

qt4-x11 currently FTBFS on hurd-i386 because since clock_gettime is not
available there qt4-x11 reverts to using gettimeofday, but it doesn't
include <sys/time.h> where the latter is defined, see attached patch.

Samuel

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- src/corelib/concurrent/qtconcurrentiteratekernel.cpp.orig	2009-06-16 22:11:11.000000000 +0000
+++ src/corelib/concurrent/qtconcurrentiteratekernel.cpp	2009-06-16 22:11:19.000000000 +0000
@@ -49,6 +49,7 @@
 
 #elif defined(Q_OS_UNIX)
 
+#include <sys/time.h>
 #include <time.h>
 #include <unistd.h>
 

Reply to: