summaryrefslogtreecommitdiff
path: root/packages/qt/qt4-x11-free-4.3.2/0002-fix-resinit-declaration.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-10-24 00:40:44 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-10-24 00:40:44 +0000
commita31d1fd4a686ad35a7b5c543eea00652ffb3e705 (patch)
treea3dfe55523c669aa21fc6d9d8e0ba8048d3e52ce /packages/qt/qt4-x11-free-4.3.2/0002-fix-resinit-declaration.patch
parentb002edacc2f03e79ced9222d2d162fdd5842d3ff (diff)
parent0237c31ae0ea01dc9235c0a1400860f3350d1181 (diff)
merge of '24b8202a233fbef98ec2f7f85d4702688c1b951d'
and '2ebd940d98ad52f4e6d4972f53b6a358d0e845c5'
Diffstat (limited to 'packages/qt/qt4-x11-free-4.3.2/0002-fix-resinit-declaration.patch')
-rw-r--r--packages/qt/qt4-x11-free-4.3.2/0002-fix-resinit-declaration.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/qt/qt4-x11-free-4.3.2/0002-fix-resinit-declaration.patch b/packages/qt/qt4-x11-free-4.3.2/0002-fix-resinit-declaration.patch
new file mode 100644
index 0000000000..e479a64a2b
--- /dev/null
+++ b/packages/qt/qt4-x11-free-4.3.2/0002-fix-resinit-declaration.patch
@@ -0,0 +1,25 @@
+From acfeb18aa94bad6b2066e91cd15570889baaa252 Mon Sep 17 00:00:00 2001
+From: Michael Krelin <hacker@klever.net>
+Date: Sat, 2 Jun 2007 16:04:01 +0200
+Subject: [PATCH] fix resinit declaration
+
+---
+ src/qt3support/network/q3dns.cpp | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/qt3support/network/q3dns.cpp b/src/qt3support/network/q3dns.cpp
+index 9bc7b16..bfc333e 100644
+--- a/src/qt3support/network/q3dns.cpp
++++ b/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
+--
+1.5.0.7
+