[30846] trunk/dports/kde/kdelibs3
source_changes at macosforge.org
source_changes at macosforge.org
Thu Nov 8 03:27:06 PST 2007
Revision: 30846
http://trac.macosforge.org/projects/macports/changeset/30846
Author: takanori at macports.org
Date: 2007-11-08 03:27:05 -0800 (Thu, 08 Nov 2007)
Log Message:
-----------
synced with Fink, version 3.5.8-1023
Modified Paths:
--------------
trunk/dports/kde/kdelibs3/Portfile
trunk/dports/kde/kdelibs3/files/kdelibs3-unified.patch
Removed Paths:
-------------
trunk/dports/kde/kdelibs3/files/patch-dcop_dcopserver.cpp.diff
Modified: trunk/dports/kde/kdelibs3/Portfile
===================================================================
--- trunk/dports/kde/kdelibs3/Portfile 2007-11-08 11:25:34 UTC (rev 30845)
+++ trunk/dports/kde/kdelibs3/Portfile 2007-11-08 11:27:05 UTC (rev 30846)
@@ -1,11 +1,11 @@
# $Id$
-#Synced with Fink, Version 3.5.8-1022
+#Synced with Fink, Version 3.5.8-1023
PortSystem 1.0
name kdelibs3
version 3.5.8
-revision 1
+revision 2
set kdeadmin kde-admindir-1024
categories kde
maintainers nomaintainer
@@ -66,7 +66,7 @@
extract.only ${distname}.tar.bz2
post-extract { system "cd ${worksrcpath} && bzcat -dc ${distpath}/${kdeadmin}.tar.bz2 | tar xf -" }
-patchfiles kdelibs3-unified.patch patch-dcop_dcopserver.cpp.diff
+patchfiles kdelibs3-unified.patch
patch {
foreach file $patchfiles {
system "cd ${worksrcpath} && sed -e 's, at FINKPREFIX@,${prefix},g' ${filespath}/${file} | patch -p1"
Modified: trunk/dports/kde/kdelibs3/files/kdelibs3-unified.patch
===================================================================
--- trunk/dports/kde/kdelibs3/files/kdelibs3-unified.patch 2007-11-08 11:25:34 UTC (rev 30845)
+++ trunk/dports/kde/kdelibs3/files/kdelibs3-unified.patch 2007-11-08 11:27:05 UTC (rev 30846)
@@ -1,6 +1,6 @@
--- kdelibs-3.5.8/darwin/kcmartsrc 1969-12-31 19:00:00.000000000 -0500
-+++ kdelibs-3.5.8-new/darwin/kcmartsrc 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/darwin/kcmartsrc 2007-11-06 23:28:11.000000000 -0500
@@ -0,0 +1,9 @@
+[Arts]
+Arguments=\s-F 10 -S 4096 -a esd -d -b 16 -s 60 -m artsmessage -c drkonqi -l 3 -f
@@ -12,7 +12,7 @@
+StartServer=false
+SuspendTime=60
--- kdelibs-3.5.8/darwin/kdeglobals 1969-12-31 19:00:00.000000000 -0500
-+++ kdelibs-3.5.8-new/darwin/kdeglobals 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/darwin/kdeglobals 2007-11-06 23:28:11.000000000 -0500
@@ -0,0 +1,129 @@
+[$Version]
+update_info=kaccel.upd:kde3.3/r1,kded.upd:kde3.0,klippershortcuts.upd:04112002,kwin.upd:kde3.2Xinerama,socks.upd:kde3.0/r1
@@ -144,7 +144,7 @@
+[WM]
+activeFont=Baghdad,12,-1,5,50,0,0,0,0,0
--- kdelibs-3.5.8/darwin/knotifyrc 1969-12-31 19:00:00.000000000 -0500
-+++ kdelibs-3.5.8-new/darwin/knotifyrc 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/darwin/knotifyrc 2007-11-06 23:28:11.000000000 -0500
@@ -0,0 +1,5 @@
+[Misc]
+External player=@FINKPREFIX@/bin/mplayer
@@ -152,7 +152,7 @@
+Use external player=false
+Volume=100
--- kdelibs-3.5.8/darwin/konsolerc 1969-12-31 19:00:00.000000000 -0500
-+++ kdelibs-3.5.8-new/darwin/konsolerc 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/darwin/konsolerc 2007-11-06 23:28:11.000000000 -0500
@@ -0,0 +1,19 @@
+[Desktop Entry]
+ActiveSession=0
@@ -173,8 +173,42 @@
+schema=Linux.schema
+scrollbar=2
+tabbar=2
+--- kdelibs-3.5.8/dcop/dcopc.c 2006-05-22 14:14:21.000000000 -0400
++++ kdelibs-3.5.8-new/dcop/dcopc.c 2007-11-06 23:28:11.000000000 -0500
+@@ -674,6 +674,9 @@
+ while((i = strchr(displayName, ':')) != NULL)
+ *i = '_';
+
++ while((i = strchr(displayName, '/')) != NULL)
++ *i = '_';
++
+ dcopServer = getenv("DCOPSERVER");
+
+ if (NULL == dcopServer) {
+--- kdelibs-3.5.8/dcop/dcopclient.cpp 2007-10-08 05:52:08.000000000 -0400
++++ kdelibs-3.5.8-new/dcop/dcopclient.cpp 2007-11-06 23:28:11.000000000 -0500
+@@ -270,6 +270,8 @@
+ {
+ while( (i = disp.find(KPATH_SEPARATOR)) >= 0)
+ disp[i] = '_';
++ while( (i = disp.find('/')) >= 0)
++ disp[i] = '_';
+ }
+
+ fName += "/.DCOPserver_";
+--- kdelibs-3.5.8/dcop/dcopserver_shutdown.c 2005-10-10 11:06:13.000000000 -0400
++++ kdelibs-3.5.8-new/dcop/dcopserver_shutdown.c 2007-11-06 23:28:11.000000000 -0500
+@@ -118,6 +118,8 @@
+ strncat(dcop_file_old,display, n);
+ while((i = strchr(display, ':')))
+ *i = '_';
++ while((i = strchr(display, '/')))
++ *i = '_';
+ strncat(dcop_file, display, n);
+ free(display);
+
--- kdelibs-3.5.8/kdecore/Makefile.am 2006-10-01 13:33:38.000000000 -0400
-+++ kdelibs-3.5.8-new/kdecore/Makefile.am 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kdecore/Makefile.am 2007-11-06 23:28:11.000000000 -0500
@@ -24,7 +24,7 @@
if include_SVGICONS
@@ -194,7 +228,7 @@
libkdecore_la_NMCHECKWEAK = $(srcdir)/libkdecore_weak.nmcheck $(srcdir)/libqt-mt_weak.nmcheck \
$(top_srcdir)/dcop/libDCOP_weak.nmcheck $(top_srcdir)/kdecore/standard_weak.nmcheck
--- kdelibs-3.5.8/kdecore/kglobalsettings.cpp 2005-10-10 11:06:03.000000000 -0400
-+++ kdelibs-3.5.8-new/kdecore/kglobalsettings.cpp 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kdecore/kglobalsettings.cpp 2007-11-06 23:28:11.000000000 -0500
@@ -491,7 +491,7 @@
s_desktopPath->append('/');
@@ -205,7 +239,7 @@
*s_trashPath = QDir::cleanDirPath( *s_trashPath );
if ( !s_trashPath->endsWith("/") )
--- kdelibs-3.5.8/kdecore/ksocks.cpp 2005-10-10 11:06:03.000000000 -0400
-+++ kdelibs-3.5.8-new/kdecore/ksocks.cpp 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kdecore/ksocks.cpp 2007-11-06 23:28:11.000000000 -0500
@@ -480,7 +480,7 @@
ksocklen_t addrlen) {
if (_useSocks && F_connect)
@@ -277,7 +311,7 @@
--- kdelibs-3.5.8/kdecore/kstandarddirs.cpp 2007-01-15 06:34:17.000000000 -0500
-+++ kdelibs-3.5.8-new/kdecore/kstandarddirs.cpp 2007-10-15 20:53:07.000000000 -0400
++++ kdelibs-3.5.8-new/kdecore/kstandarddirs.cpp 2007-11-06 23:28:11.000000000 -0500
@@ -1021,7 +1021,7 @@
if (!strcmp(type, "data"))
return "share/apps/";
@@ -287,17 +321,166 @@
if (!strcmp(type, "icon"))
return "share/icons/";
if (!strcmp(type, "config"))
-@@ -1315,7 +1315,7 @@
- }
- else
- {
-- localKdeDir = QDir::homeDirPath() + "/.kde/";
-+ localKdeDir = QDir::homeDirPath() + "/.kde/";
- }
+--- kdelibs-3.5.8/kdecore/kuniqueapplication.cpp 2005-11-08 17:39:22.000000000 -0500
++++ kdelibs-3.5.8-new/kdecore/kuniqueapplication.cpp 2007-11-06 23:28:33.000000000 -0500
+@@ -59,6 +59,10 @@
+ # endif
+ #endif
- if (localKdeDir != "-/")
++#ifdef __APPLE__
++#include <crt_externs.h>
++#endif
++
+ bool KUniqueApplication::s_nofork = false;
+ bool KUniqueApplication::s_multipleInstances = false;
+ bool KUniqueApplication::s_uniqueTestDone = false;
+@@ -123,7 +127,7 @@
+ startKdeinit();
+ if(dcopClient()->registerAs(appName, false).isEmpty()) {
+ kdError() << "KUniqueApplication: Can't setup DCOP communication." << endl;
+- ::exit(255);
++ ::_exit(255);
+ }
+ }
+ #endif
+@@ -131,19 +135,52 @@
+ // We'll call newInstance in the constructor. Do nothing here.
+ return true;
+ }
++
++#ifdef Q_OS_DARWIN
++ else {
++ // we need to reexec ourselves because of stupid OSX crap crappity crap
++ int argc = *_NSGetArgc();
++ char ** argv = *_NSGetArgv();
++ char * newargv[argc+2];
++
++ for (int i = 0; i < argc; i++) {
++ newargv[i] = argv[i];
++ }
++ newargv[argc] = "--nofork";
++ newargv[argc+1] = NULL;
++
++ int fork_result = fork();
++ switch(fork_result) {
++ case -1:
++ kdError() << "KUniqueAPplication: Mac OS X workaround fork() failed!" << endl;
++ ::_exit(255);
++ break;
++ case 0:
++ // Child
++ execvp(argv[0], newargv);
++ break;
++ default:
++ // Parent
++ _exit(0);
++ break;
++ }
++ }
++#endif
++
+ DCOPClient *dc;
+ int fd[2];
+ signed char result;
+ if (0 > pipe(fd))
+ {
+ kdError() << "KUniqueApplication: pipe() failed!" << endl;
+- ::exit(255);
++ ::_exit(255);
+ }
++
+ int fork_result = fork();
+ switch(fork_result) {
+ case -1:
+ kdError() << "KUniqueApplication: fork() failed!" << endl;
+- ::exit(255);
++ ::_exit(255);
+ break;
+ case 0:
+ // Child
+@@ -161,7 +198,7 @@
+ kdError() << "KUniqueApplication: Can't determine DISPLAY. Aborting." << endl;
+ result = -1; // Error
+ ::write(fd[1], &result, 1);
+- ::exit(255);
++ ::_exit(255);
+ }
+
+ // Try to launch kdeinit.
+@@ -173,7 +210,7 @@
+ result = -1;
+ delete dc; // Clean up DCOP commmunication
+ ::write(fd[1], &result, 1);
+- ::exit(255);
++ ::_exit(255);
+ }
+ }
+ if (regName != appName)
+@@ -247,25 +284,25 @@
+ if (n == 0)
+ {
+ kdError() << "KUniqueApplication: Pipe closed unexpectedly." << endl;
+- ::exit(255);
++ ::_exit(255);
+ }
+ if (errno != EINTR)
+ {
+ kdError() << "KUniqueApplication: Error reading from pipe." << endl;
+- ::exit(255);
++ ::_exit(255);
+ }
+ }
+ ::close(fd[0]);
+
+ if (result != 0)
+- ::exit(result); // Error occurred in child.
++ ::_exit(result); // Error occurred in child.
+
+ dc = new DCOPClient();
+ if (!dc->attach())
+ {
+ kdError() << "KUniqueApplication: Parent process can't attach to DCOP." << endl;
+ delete dc; // Clean up DCOP commmunication
+- ::exit(255);
++ ::_exit(255);
+ }
+ if (!dc->isApplicationRegistered(appName)) {
+ kdError() << "KUniqueApplication: Registering failed!" << endl;
+@@ -294,20 +331,20 @@
+ {
+ kdError() << "Communication problem with " << KCmdLineArgs::about->appName() << ", it probably crashed." << endl;
+ delete dc; // Clean up DCOP commmunication
+- ::exit(255);
++ ::_exit(255);
+ }
+ dc->setPriorityCall(false);
+ if (replyType != "int")
+ {
+ kdError() << "KUniqueApplication: DCOP communication error!" << endl;
+ delete dc; // Clean up DCOP commmunication
+- ::exit(255);
++ ::_exit(255);
+ }
+ QDataStream rs(reply, IO_ReadOnly);
+ int exitCode;
+ rs >> exitCode;
+ delete dc; // Clean up DCOP commmunication
+- ::exit(exitCode);
++ ::_exit(exitCode);
+ break;
+ }
+ return false; // make insure++ happy
+@@ -361,7 +398,7 @@
+ }
+ if( !start())
+ // Already running
+- ::exit( 0 );
++ ::_exit( 0 );
+ return inst;
+ }
+
--- kdelibs-3.5.8/kdecore/network/ksocketdevice.cpp 2007-01-15 06:34:17.000000000 -0500
-+++ kdelibs-3.5.8-new/kdecore/network/ksocketdevice.cpp 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kdecore/network/ksocketdevice.cpp 2007-11-06 23:28:11.000000000 -0500
@@ -316,7 +316,7 @@
}
@@ -335,7 +518,7 @@
peerAddress.setLength(len = 32); // arbitrary value
if (kde_getpeername(m_sockfd, peerAddress.address(), &len) == -1)
--- kdelibs-3.5.8/kdecore/network/syssocket.h 2005-09-10 04:27:10.000000000 -0400
-+++ kdelibs-3.5.8-new/kdecore/network/syssocket.h 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kdecore/network/syssocket.h 2007-11-06 23:28:11.000000000 -0500
@@ -53,7 +53,7 @@
}
@@ -376,7 +559,7 @@
return ::getsockname(fd, sa, len);
}
--- kdelibs-3.5.8/kded/Makefile.am 2005-10-10 11:06:29.000000000 -0400
-+++ kdelibs-3.5.8-new/kded/Makefile.am 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kded/Makefile.am 2007-11-06 23:28:11.000000000 -0500
@@ -58,7 +58,10 @@
servicetype_DATA = kdedmodule.desktop
servicetypedir = $(kde_servicetypesdir)
@@ -390,7 +573,7 @@
update_DATA = kded.upd
updatedir = $(kde_datadir)/kconf_update
--- kdelibs-3.5.8/kded/kbuildsycoca.cpp 2007-05-14 03:52:43.000000000 -0400
-+++ kdelibs-3.5.8-new/kded/kbuildsycoca.cpp 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kded/kbuildsycoca.cpp 2007-11-06 23:28:11.000000000 -0500
@@ -379,7 +379,11 @@
connect(g_vfolder, SIGNAL(newService(const QString &, KService **)),
this, SLOT(slotCreateEntry(const QString &, KService **)));
@@ -405,7 +588,7 @@
KServiceGroup *entry = g_bsgf->addNew("/", kdeMenu->directoryFile, 0, false);
entry->setLayoutInfo(kdeMenu->layoutList);
--- kdelibs-3.5.8/kdeprint/configure.in.in 2005-09-10 04:27:43.000000000 -0400
-+++ kdelibs-3.5.8-new/kdeprint/configure.in.in 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kdeprint/configure.in.in 2007-11-06 23:28:11.000000000 -0500
@@ -80,7 +80,7 @@
dnl check if CUPS is at least 1.1.20
@@ -416,7 +599,7 @@
AC_DEFINE(HAVE_CUPS_NO_PWD_CACHE, 1, CUPS doesn't have password caching)
fi
--- kdelibs-3.5.8/kdeprint/cups/Makefile.am 2006-10-02 06:46:55.000000000 -0400
-+++ kdelibs-3.5.8-new/kdeprint/cups/Makefile.am 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kdeprint/cups/Makefile.am 2007-11-06 23:28:11.000000000 -0500
@@ -14,8 +14,8 @@
imagepreview.cpp imageposition.cpp kpimagepage.cpp \
kptextpage.cpp kphpgl2page.cpp cupsaddsmb2.cpp kmwother.cpp ippreportdlg.cpp \
@@ -429,7 +612,7 @@
noinst_HEADERS = cupsinfos.h ipprequest.h kmcupsjobmanager.h kmcupsmanager.h kmcupsuimanager.h \
--- kdelibs-3.5.8/kdeprint/cups/cupsdconf2/Makefile.am 2005-09-10 04:27:41.000000000 -0400
-+++ kdelibs-3.5.8-new/kdeprint/cups/cupsdconf2/Makefile.am 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kdeprint/cups/cupsdconf2/Makefile.am 2007-11-06 23:28:11.000000000 -0500
@@ -14,8 +14,8 @@
locationdialog.cpp addressdialog.cpp cups-util.c \
qdirmultilineedit.cpp sizewidget.cpp main.cpp
@@ -442,7 +625,7 @@
noinst_HEADERS = cupsdconf.h cupsdpage.h cupsddialog.h cupsdcomment.h cupsdsplash.h \
cupsdserverpage.h cupsdlogpage.h cupsdjobspage.h cupsdfilterpage.h \
--- kdelibs-3.5.8/kdeui/Makefile.am 2007-10-08 05:52:12.000000000 -0400
-+++ kdelibs-3.5.8-new/kdeui/Makefile.am 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kdeui/Makefile.am 2007-11-06 23:28:11.000000000 -0500
@@ -27,10 +27,10 @@
AM_LDFLAGS = $(LDFLAGS_AS_NEEDED) $(LDFLAGS_NEW_DTAGS)
@@ -457,7 +640,7 @@
libkspell_la_SOURCES = dummy.cpp
--- kdelibs-3.5.8/kimgio/Makefile.am 2005-09-10 04:26:42.000000000 -0400
-+++ kdelibs-3.5.8-new/kimgio/Makefile.am 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kimgio/Makefile.am 2007-11-06 23:28:11.000000000 -0500
@@ -21,7 +21,7 @@
kimg_pcx.la kimg_tga.la kimg_rgb.la kimg_xcf.la kimg_dds.la $(KIMGIO_EXR_MODULES) \
kimg_psd.la kimg_hdr.la
@@ -468,7 +651,7 @@
kimg_tiff_la_SOURCES = tiffr.cpp
kimg_tiff_la_LDFLAGS = -module $(KIMGIO_PLUGIN) -no-undefined $(all_libraries)
--- kdelibs-3.5.8/kinit/Makefile.am 2007-10-08 05:52:03.000000000 -0400
-+++ kdelibs-3.5.8-new/kinit/Makefile.am 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kinit/Makefile.am 2007-11-06 23:28:11.000000000 -0500
@@ -15,7 +15,7 @@
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
@@ -478,8 +661,22 @@
SUBDIRS = . tests
+--- kdelibs-3.5.8/kinit/kinit.cpp 2007-10-08 05:52:03.000000000 -0400
++++ kdelibs-3.5.8-new/kinit/kinit.cpp 2007-11-06 23:28:11.000000000 -0500
+@@ -593,6 +593,11 @@
+ if ( getenv("KDE_IS_PRELINKED") && !execpath.isEmpty() && !launcher)
+ libpath.truncate(0);
+
++#ifdef Q_OS_DARWIN
++ if (!execpath.isEmpty())
++ libpath.truncate(0);
++#endif
++
+ if ( !libpath.isEmpty() )
+ {
+ d.handle = lt_dlopen( QFile::encodeName(libpath) );
--- kdelibs-3.5.8/kinit/start_kdeinit_wrapper.c 2007-10-08 05:52:03.000000000 -0400
-+++ kdelibs-3.5.8-new/kinit/start_kdeinit_wrapper.c 2007-10-15 20:23:03.000000000 -0400
++++ kdelibs-3.5.8-new/kinit/start_kdeinit_wrapper.c 2007-11-06 23:28:11.000000000 -0500
@@ -50,9 +50,9 @@
close( 0 ); /* stdin */
dup2( pipes[ 0 ], 0 );
@@ -507,7 +704,7 @@
}
#endif
--- kdelibs-3.5.8/kio/kssl/kopenssl.cc 2006-07-22 04:16:39.000000000 -0400
-+++ kdelibs-3.5.8-new/kio/kssl/kopenssl.cc 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kio/kssl/kopenssl.cc 2007-11-06 23:28:11.000000000 -0500
@@ -323,6 +323,7 @@
#elif defined(_AIX)
<< "libssl.a(libssl.so.0)"
@@ -525,7 +722,7 @@
<< "libcrypto.0.9.dylib"
#else
--- kdelibs-3.5.8/kio/misc/kpac/Makefile.am 2005-09-10 04:26:47.000000000 -0400
-+++ kdelibs-3.5.8-new/kio/misc/kpac/Makefile.am 2007-10-15 20:17:10.000000000 -0400
++++ kdelibs-3.5.8-new/kio/misc/kpac/Makefile.am 2007-11-06 23:28:11.000000000 -0500
@@ -10,7 +10,7 @@
kded_proxyscout_la_SOURCES = proxyscout.skel proxyscout.cpp script.cpp \
downloader.cpp discovery.cpp
@@ -536,7 +733,7 @@
kpac_dhcp_helper_SOURCES = kpac_dhcp_helper.c
kpac_dhcp_helper_CFLAGS = $(KDE_USE_FPIE)
--- kdelibs-3.5.8/kioslave/http/http.cc 2007-10-08 05:52:02.000000000 -0400
-+++ kdelibs-3.5.8-new/kioslave/http/http.cc 2007-10-17 07:53:51.000000000 -0400
++++ kdelibs-3.5.8-new/kioslave/http/http.cc 2007-11-06 23:28:11.000000000 -0500
@@ -3409,10 +3409,6 @@
} while (!m_bEOF && (len || noHeader) && (headerSize < maxHeaderSize) && (gets(buffer, sizeof(buffer)-1)));
Deleted: trunk/dports/kde/kdelibs3/files/patch-dcop_dcopserver.cpp.diff
===================================================================
--- trunk/dports/kde/kdelibs3/files/patch-dcop_dcopserver.cpp.diff 2007-11-08 11:25:34 UTC (rev 30845)
+++ trunk/dports/kde/kdelibs3/files/patch-dcop_dcopserver.cpp.diff 2007-11-08 11:27:05 UTC (rev 30846)
@@ -1,16 +0,0 @@
-diff -Naur kdelibs-3.5.8.orig/dcop/dcopserver.cpp kdelibs-3.5.8/dcop/dcopserver.cpp
---- kdelibs-3.5.8.orig/dcop/dcopserver.cpp 2007-10-08 18:52:08.000000000 +0900
-+++ kdelibs-3.5.8/dcop/dcopserver.cpp 2007-11-02 03:55:32.000000000 +0900
-@@ -1017,6 +1017,12 @@
- (void) umask(orig_umask);
- // publish available transports.
- QCString fName = DCOPClient::dcopServerFile();
-+ {
-+ int i = 0;
-+ while ((i = fName.find('/', i)) != -1) {
-+ ::mkdir(fName.left(++i).data(), 0777 /*umask will be applied*/ );
-+ }
-+ }
- FILE *f;
- if(!(f = ::fopen(fName.data(), "w+"))) {
- fprintf (stderr, "Can not create file %s: %s\n",
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071108/71e94036/attachment-0001.html
More information about the macports-changes
mailing list