summaryrefslogtreecommitdiff
path: root/packages/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-12-23 22:35:09 +0000
committerHolger Freyther <zecke@selfish.org>2007-12-23 22:35:09 +0000
commitd5133e67e43c7022e7c6f4c2ad4d9d784153758b (patch)
tree6058f480d4865f529bedd3667f8bb11bcd0260d3 /packages/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch
parentca4bb462deb3b86c87b0f81ad097620ccfd199f7 (diff)
Move Qt/X11 and Qt/Embedded (known as QtopiaCore) to a qt4 directory. We will see a great unification in this directory.
Besides the name Qt/X11 and Qt/Emebedded (QtopiaCore) are the same package with a different configure script. The aim is to share configuring, compiling, staging and packaging between these modules and making it more easy to try a bleeding qt snapshot.
Diffstat (limited to 'packages/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch')
-rw-r--r--packages/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch b/packages/qt4/qt4-x11-free-4.1.2/fix-resinit-declaration.patch
new file mode 100644
index 0000000000..fcd5de6f97
--- /dev/null
+++ b/packages/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