summaryrefslogtreecommitdiff
path: root/recipes/qt4/files/0002-fix-resinit-declaration.patch
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2009-03-25 15:37:22 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2009-03-25 15:37:22 +0100
commit8ec53c8f0baed036778e380462838fe723a5f4b8 (patch)
tree488b4331ad582e179a92d3761bb57f06edb32ce8 /recipes/qt4/files/0002-fix-resinit-declaration.patch
parenta1f6020e2168ec936ccec4a9b5888633e045ccb1 (diff)
qt4: unify patches, drop obsolete files, fix mkspecs
* unify qt4-x11-free / qt4-embedded patches into files/ * remove unused files and patches * fix mkspecs to define RCC and UIC3 locations
Diffstat (limited to 'recipes/qt4/files/0002-fix-resinit-declaration.patch')
-rw-r--r--recipes/qt4/files/0002-fix-resinit-declaration.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/qt4/files/0002-fix-resinit-declaration.patch b/recipes/qt4/files/0002-fix-resinit-declaration.patch
new file mode 100644
index 0000000000..e479a64a2b
--- /dev/null
+++ b/recipes/qt4/files/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
+