summaryrefslogtreecommitdiff
path: root/x11-toolkits/fox-devel/files/patch-src::FXFile.cpp
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-05-23 19:11:07 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-05-23 19:11:07 +0000
commita31201a08b03b390ea362b756c9c08619fe1ae3d (patch)
tree3e9f3ec90da414d0ed6c59dad53311b0b91f13e4 /x11-toolkits/fox-devel/files/patch-src::FXFile.cpp
parent- Update to version 0.9.2 (diff)
- Update to version 1.2.1
PR: ports/67086 Submitted by: Ports Fury
Diffstat (limited to 'x11-toolkits/fox-devel/files/patch-src::FXFile.cpp')
-rw-r--r--x11-toolkits/fox-devel/files/patch-src::FXFile.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-toolkits/fox-devel/files/patch-src::FXFile.cpp b/x11-toolkits/fox-devel/files/patch-src::FXFile.cpp
new file mode 100644
index 000000000000..1edb77d8c85f
--- /dev/null
+++ b/x11-toolkits/fox-devel/files/patch-src::FXFile.cpp
@@ -0,0 +1,29 @@
+--- src/FXFile.cpp.orig Fri Apr 16 23:25:33 2004
++++ src/FXFile.cpp Sat May 22 13:13:48 2004
+@@ -159,7 +159,7 @@
+ // Get home directory for a given user
+ FXString FXFile::getUserDirectory(const FXString& user){
+ #ifndef WIN32
+-#ifdef FOX_THREAD_SAFE
++#if defined(FOX_THREAD_SAFE) && !defined(__FreeBSD__)
+ struct passwd pwdresult,*pwd;
+ char buffer[1024];
+ if(user.empty()){
+@@ -1032,7 +1032,7 @@
+ FXString FXFile::owner(FXuint uid){
+ FXchar result[64];
+ #ifndef WIN32
+-#ifdef FOX_THREAD_SAFE
++#if defined(FOX_THREAD_SAFE) && !defined(__FreeBSD__)
+ struct passwd pwdresult,*pwd;
+ char buffer[1024];
+ if(getpwuid_r(uid,&pwdresult,buffer,sizeof(buffer),&pwd)==0 && pwd) return pwd->pw_name;
+@@ -1050,7 +1050,7 @@
+ FXString FXFile::group(FXuint gid){
+ FXchar result[64];
+ #ifndef WIN32
+-#ifdef FOX_THREAD_SAFE
++#if defined(FOX_THREAD_SAFE) && !defined(__FreeBSD__)
+ ::group grpresult;
+ ::group *grp;
+ char buffer[1024];