mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Add patch to fix compiling on -CURRENT.
Requested by: krion
This commit is contained in:
parent
a0ee34d1b2
commit
3bae61c80d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99987
2 changed files with 40 additions and 0 deletions
20
x11/kdelibs3/files/patch-kdecore-kextsock.cpp
Normal file
20
x11/kdelibs3/files/patch-kdecore-kextsock.cpp
Normal file
|
@ -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
|
||||||
|
//
|
20
x11/kdelibs4/files/patch-kdecore-kextsock.cpp
Normal file
20
x11/kdelibs4/files/patch-kdecore-kextsock.cpp
Normal file
|
@ -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
|
||||||
|
//
|
Loading…
Add table
Reference in a new issue