[58956] trunk/dports/kde/kdelibs4/files/nameser-compat.patch
macsforever2000 at macports.org
macsforever2000 at macports.org
Wed Oct 7 12:44:24 PDT 2009
Revision: 58956
http://trac.macports.org/changeset/58956
Author: macsforever2000 at macports.org
Date: 2009-10-07 12:44:20 -0700 (Wed, 07 Oct 2009)
Log Message:
-----------
Build fix for Mac OS X 10.5. Thanks to jeremy.laine for the patch.
Modified Paths:
--------------
trunk/dports/kde/kdelibs4/files/nameser-compat.patch
Modified: trunk/dports/kde/kdelibs4/files/nameser-compat.patch
===================================================================
--- trunk/dports/kde/kdelibs4/files/nameser-compat.patch 2009-10-07 19:22:11 UTC (rev 58955)
+++ trunk/dports/kde/kdelibs4/files/nameser-compat.patch 2009-10-07 19:44:20 UTC (rev 58956)
@@ -1,21 +1,22 @@
-Index: kdelibs-4.3.1/kio/misc/kpac/discovery.cpp
+Index: kdelibs-4.3.2/kio/misc/kpac/discovery.cpp
===================================================================
---- kdelibs-4.3.1.orig/kio/misc/kpac/discovery.cpp 2009-10-06 08:41:03.000000000 +0200
-+++ kdelibs-4.3.1/kio/misc/kpac/discovery.cpp 2009-10-06 08:41:19.000000000 +0200
-@@ -30,6 +30,9 @@
- #include <netinet/in.h>
- #endif
+--- kdelibs-4.3.2.orig/kio/misc/kpac/discovery.cpp 2008-05-21 13:08:06.000000000 +0200
++++ kdelibs-4.3.2/kio/misc/kpac/discovery.cpp 2009-10-07 21:11:32.000000000 +0200
+@@ -32,6 +32,10 @@
#include <arpa/nameser.h>
+ #ifdef HAVE_ARPA_NAMESER8_COMPAT_H
+ #include <arpa/nameser8_compat.h>
++#else
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
- #ifdef HAVE_ARPA_NAMESER8_COMPAT_H
- #include <arpa/nameser8_compat.h>
#endif
-Index: kdelibs-4.3.1/ConfigureChecks.cmake
+ #ifdef HAVE_SYS_PARAM_H
+ // Basically, the BSDs need this before resolv.h
+Index: kdelibs-4.3.2/ConfigureChecks.cmake
===================================================================
---- kdelibs-4.3.1.orig/ConfigureChecks.cmake 2009-10-06 08:41:17.000000000 +0200
-+++ kdelibs-4.3.1/ConfigureChecks.cmake 2009-10-06 08:41:19.000000000 +0200
+--- kdelibs-4.3.2.orig/ConfigureChecks.cmake 2009-10-07 21:10:13.000000000 +0200
++++ kdelibs-4.3.2/ConfigureChecks.cmake 2009-10-07 21:10:33.000000000 +0200
@@ -80,6 +80,7 @@
check_include_files(crtdbg.h HAVE_CRTDBG_H) # kjs
check_include_files(langinfo.h HAVE_LANGINFO_H) # kdecore
@@ -24,10 +25,10 @@
check_include_files(arpa/nameser8_compat.h HAVE_ARPA_NAMESER8_COMPAT_H) # kio
macro_bool_to_01(X11_XTest_FOUND HAVE_XTEST) # kdecore
-Index: kdelibs-4.3.1/config.h.cmake
+Index: kdelibs-4.3.2/config.h.cmake
===================================================================
---- kdelibs-4.3.1.orig/config.h.cmake 2009-04-15 12:26:51.000000000 +0200
-+++ kdelibs-4.3.1/config.h.cmake 2009-10-06 08:59:22.000000000 +0200
+--- kdelibs-4.3.2.orig/config.h.cmake 2009-04-15 12:26:51.000000000 +0200
++++ kdelibs-4.3.2/config.h.cmake 2009-10-07 21:10:33.000000000 +0200
@@ -72,6 +72,7 @@
#cmakedefine HAVE_SYS_MMAN_H 1
#cmakedefine HAVE_SYS_UCRED_H 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091007/f1b32ebc/attachment.html>
More information about the macports-changes
mailing list