summaryrefslogtreecommitdiff
path: root/packages/qt/qt-x11-free-4.0.1/fix-resinit-declaration.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-09-03 14:14:08 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-03 14:14:08 +0000
commit8b51f47c34471dd985fcbe3aa5afe48e8e2e7f89 (patch)
tree71b0671c8dc0a0f69ebea05e5fd2ff3a441794d7 /packages/qt/qt-x11-free-4.0.1/fix-resinit-declaration.patch
parent19a7b5450a58a870ea2fbe1a202d2a450969914d (diff)
qt4/x11: add patches necessary for clean cross compilation
Diffstat (limited to 'packages/qt/qt-x11-free-4.0.1/fix-resinit-declaration.patch')
-rw-r--r--packages/qt/qt-x11-free-4.0.1/fix-resinit-declaration.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/qt/qt-x11-free-4.0.1/fix-resinit-declaration.patch b/packages/qt/qt-x11-free-4.0.1/fix-resinit-declaration.patch
new file mode 100644
index 0000000000..bc30cab216
--- /dev/null
+++ b/packages/qt/qt-x11-free-4.0.1/fix-resinit-declaration.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- qt-x11-opensource-src-4.0.1/src/qt3support/network/q3dns.cpp~fix-resinit-declaration
++++ qt-x11-opensource-src-4.0.1/src/qt3support/network/q3dns.cpp
+@@ -30,7 +30,7 @@
+ # include <netinet/in.h>
+ # include <arpa/nameser.h>
+ # include <resolv.h>
+-extern "C" int res_init();
++extern "C" int res_init() throw ();
+ #endif
+
+ // POSIX Large File Support redefines open -> open64