aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch')
-rw-r--r--recipes/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch b/recipes/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch
new file mode 100644
index 0000000000..fcd5de6f97
--- /dev/null
+++ b/recipes/qt4/qt4-x11-free-4.1.2/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