summaryrefslogtreecommitdiff
path: root/packages/qt/qt-x11-free-4.1.1/fix-resinit-declaration.patch
blob: bc30cab216d3314fd6d05bbe570d10b44a828dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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