Bug#343191: qt4-x11: FTBFS on GNU/kFreeBSD
Package: qt4-x11
Severity: important
Version: 4.0.1-5
Tags: patch
Hi,
the current version fails to build on GNU/kFreeBSD.
Please find a simple patch bellow to fix that.
It would also be nice if you can ask upstream
to include similar change.
Thanks in advance
Petr
--- src/corelib/global/qglobal.h~ 2005-12-13 13:46:35.000000000 +0100
+++ src/corelib/global/qglobal.h 2005-12-13 13:46:35.000000000 +0100
@@ -100,7 +100,7 @@
# define Q_OS_ULTRIX
#elif defined(sinix)
# define Q_OS_RELIANT
-#elif defined(__linux__) || defined(__linux)
+#elif defined(__linux__) || defined(__linux) || defined(__GLIBC__)
# define Q_OS_LINUX
#elif defined(__FreeBSD__) || defined(__DragonFly__)
# define Q_OS_FREEBSD
Reply to: