summaryrefslogtreecommitdiff
path: root/packages/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch
blob: fcd5de6f97ef5e18b1c787625bedb8b2a61bf699 (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.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