diff options
author | lofi <lofi@FreeBSD.org> | 2004-02-05 01:41:20 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2004-02-05 01:41:20 +0800 |
commit | 6948dae3c0a54073c0209b196233261f6ff97e50 (patch) | |
tree | e7911b6ed93df13c87d138535f50ae61d220fb75 /x11 | |
parent | 5f7a0a19d7fe9ddb60db38d072d2d1b21dba4f0a (diff) | |
download | freebsd-ports-gnome-6948dae3c0a54073c0209b196233261f6ff97e50.tar.gz freebsd-ports-gnome-6948dae3c0a54073c0209b196233261f6ff97e50.tar.zst freebsd-ports-gnome-6948dae3c0a54073c0209b196233261f6ff97e50.zip |
Add patch to fix compiling on -CURRENT.
Requested by: krion
Diffstat (limited to 'x11')
-rw-r--r-- | x11/kdelibs3/files/patch-kdecore-kextsock.cpp | 20 | ||||
-rw-r--r-- | x11/kdelibs4/files/patch-kdecore-kextsock.cpp | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/x11/kdelibs3/files/patch-kdecore-kextsock.cpp b/x11/kdelibs3/files/patch-kdecore-kextsock.cpp new file mode 100644 index 000000000000..de6b77153c90 --- /dev/null +++ b/x11/kdelibs3/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 + // 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 + // |