diff options
Diffstat (limited to 'devel/pwlib/patches/patch-ad')
-rw-r--r-- | devel/pwlib/patches/patch-ad | 39 |
1 files changed, 35 insertions, 4 deletions
diff --git a/devel/pwlib/patches/patch-ad b/devel/pwlib/patches/patch-ad index d34f0fc9d82..e34109755a8 100644 --- a/devel/pwlib/patches/patch-ad +++ b/devel/pwlib/patches/patch-ad @@ -1,9 +1,13 @@ -$NetBSD: patch-ad,v 1.5 2005/09/06 08:10:57 abs Exp $ +$NetBSD: patch-ad,v 1.6 2006/01/08 04:57:55 joerg Exp $ ---- src/ptlib/unix/osutil.cxx.orig 2004-09-23 07:00:10.000000000 +0200 +--- src/ptlib/unix/osutil.cxx.orig 2004-09-23 05:00:10.000000000 +0000 +++ src/ptlib/unix/osutil.cxx -@@ -243,8 +243,13 @@ - #elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) +@@ -240,11 +240,16 @@ + #define P_USE_LANGINFO + #endif + +-#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) ++#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_DRAGONFLY) #define P_USE_STRFTIME +#if defined(__NetBSD__) && __NetBSD_Version__ > 299000900 @@ -16,3 +20,30 @@ $NetBSD: patch-ad,v 1.5 2005/09/06 08:10:57 abs Exp $ #elif defined(P_HPUX9) #define P_USE_LANGINFO +@@ -685,7 +690,7 @@ PString PDirectory::GetVolume() const + } + fclose(fp); + +-#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) ++#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_DRAGONFLY) + + struct statfs * mnt; + int count = getmntinfo(&mnt, MNT_NOWAIT); +@@ -725,7 +730,7 @@ PString PDirectory::GetVolume() const + + BOOL PDirectory::GetVolumeSpace(PInt64 & total, PInt64 & free, DWORD & clusterSize) const + { +-#if defined(P_LINUX) || defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) ++#if defined(P_LINUX) || defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(P_DRAGONFLY) + + struct statfs fs; + +@@ -1588,7 +1593,7 @@ int PTime::GetTimeZone(PTime::TimeZoneTy + return tz; + else + return tz + ::daylight*60; +-#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(__BEOS__) || defined(P_QNX) ++#elif defined(P_FREEBSD) || defined(P_OPENBSD) || defined(P_NETBSD) || defined(P_MACOSX) || defined(P_MACOS) || defined(__BEOS__) || defined(P_QNX) || defined(P_DRAGONFLY) + time_t t; + time(&t); + struct tm ts; |