summaryrefslogtreecommitdiff
path: root/packages/qt/qt4-x11-free-4.1.1/fix-resinit-declaration.patch
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2006-04-11 03:19:51 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-11 03:19:51 +0000
commit0c21d985cd31b9c3f14aed86c0632e160d5a3549 (patch)
tree84ee3cdd290cea4a659bd4a36c967a0f346d536b /packages/qt/qt4-x11-free-4.1.1/fix-resinit-declaration.patch
parent2b1e71a99eb85c82e4f5fbe16ad7d99ca250072a (diff)
parent734c5296cdfc25ec221233f49455e1280a64a595 (diff)
merge of 39e43f0486c5d18bb8979c53687235b3f04855de
and 738b5da14d9fd2be6600c5eb848647017fac3413
Diffstat (limited to 'packages/qt/qt4-x11-free-4.1.1/fix-resinit-declaration.patch')
-rw-r--r--packages/qt/qt4-x11-free-4.1.1/fix-resinit-declaration.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/qt/qt4-x11-free-4.1.1/fix-resinit-declaration.patch b/packages/qt/qt4-x11-free-4.1.1/fix-resinit-declaration.patch
new file mode 100644
index 0000000000..fcd5de6f97
--- /dev/null
+++ b/packages/qt/qt4-x11-free-4.1.1/fix-resinit-declaration.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- qt-x11-opensource-src-4.1.1/src/qt3support/network/q3dns.cpp~fix-resinit-declaration
++++ qt-x11-opensource-src-4.1.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