From 3bae61c80df350bb09f5741f263e34b38c3b6404 Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Wed, 4 Feb 2004 17:41:20 +0000 Subject: Add patch to fix compiling on -CURRENT. Requested by: krion --- x11/kdelibs4/files/patch-kdecore-kextsock.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 x11/kdelibs4/files/patch-kdecore-kextsock.cpp (limited to 'x11/kdelibs4') diff --git a/x11/kdelibs4/files/patch-kdecore-kextsock.cpp b/x11/kdelibs4/files/patch-kdecore-kextsock.cpp new file mode 100644 index 000000000000..de6b77153c90 --- /dev/null +++ b/x11/kdelibs4/files/patch-kdecore-kextsock.cpp @@ -0,0 +1,20 @@ +Index: kdecore/kextsock.cpp +=================================================================== +RCS file: /home/kde/kdelibs/kdecore/kextsock.cpp,v +retrieving revision 1.67 +diff -u -3 -p -r1.67 kextsock.cpp +--- kdecore/kextsock.cpp 11 Dec 2003 22:54:36 -0000 1.67 ++++ kdecore/kextsock.cpp 24 Jan 2004 17:48:28 -0000 +@@ -85,6 +85,12 @@ extern "C" int res_init(); + #endif + #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) + ++#ifdef Q_OS_FREEBSD ++#ifndef EAI_NODATA ++#define EAI_NODATA EAI_NONAME ++#endif ++#endif ++ + // + // Internal class definitions + // -- cgit v1.2.3