From 26df20322791776ce8ff88bdd01d4e075191e1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 3 Mar 2014 14:45:13 +0000 Subject: testing/qt5-qtbase: fix uclibc build --- testing/qt5-qtbase/qt-uclibc-lib-names.patch | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 testing/qt5-qtbase/qt-uclibc-lib-names.patch (limited to 'testing/qt5-qtbase/qt-uclibc-lib-names.patch') diff --git a/testing/qt5-qtbase/qt-uclibc-lib-names.patch b/testing/qt5-qtbase/qt-uclibc-lib-names.patch new file mode 100644 index 0000000000..e3097d27c4 --- /dev/null +++ b/testing/qt5-qtbase/qt-uclibc-lib-names.patch @@ -0,0 +1,41 @@ +From 7c65b1f6463f65931a77d760662deab63fcecb78 Mon Sep 17 00:00:00 2001 +From: Jorgen Lind +Date: Thu, 23 Jan 2014 12:16:20 +0100 +Subject: [PATCH] Don't include when compiling with uClibc + +Change-Id: I5264280b7ce1e94eaf410a070f9670984f7a655b +Reviewed-by: Peter Hartmann +--- + src/network/kernel/qdnslookup_unix.cpp | 2 +- + src/network/kernel/qhostinfo_unix.cpp | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/network/kernel/qdnslookup_unix.cpp b/src/network/kernel/qdnslookup_unix.cpp +index 052c492..9fb488c 100644 +--- a/src/network/kernel/qdnslookup_unix.cpp ++++ b/src/network/kernel/qdnslookup_unix.cpp +@@ -52,7 +52,7 @@ + #include + #include + +-#ifdef __GNU_LIBRARY__ ++#if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__) + # include + #endif + +diff --git a/src/network/kernel/qhostinfo_unix.cpp b/src/network/kernel/qhostinfo_unix.cpp +index dc2702b..32b7318 100644 +--- a/src/network/kernel/qhostinfo_unix.cpp ++++ b/src/network/kernel/qhostinfo_unix.cpp +@@ -63,7 +63,7 @@ + # include + #endif + +-#ifdef __GNU_LIBRARY__ ++#if defined(__GNU_LIBRARY__) && !defined(__UCLIBC__) + # include + #endif + +-- +1.7.1 + -- cgit v1.2.3