Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 322136 Details for
Bug 432596
app-portage/kuroo4-0.90.2: fails to build with gcc 4.7
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Source patch which replaces chown with KIO::chown
kuroo4-0.90.2-gcc-4.7.patch (text/plain), 1.67 KB, created by
A Schenck
on 2012-08-24 20:44:54 UTC
(
hide
)
Description:
Source patch which replaces chown with KIO::chown
Filename:
MIME Type:
Creator:
A Schenck
Created:
2012-08-24 20:44:54 UTC
Size:
1.67 KB
patch
obsolete
>Index: src/kurooinit.cpp >=================================================================== >--- src/kurooinit.cpp (revision 1608) >+++ src/kurooinit.cpp (revision 1609) >@@ -81,7 +81,7 @@ > exit(0); > } else { > chmod( kurooDir.toAscii(), 0770 ); >- chown( kurooDir.toAscii(), portageGid->gr_gid, portageUid->pw_uid ); >+ KIO::chown( KUrl(kurooDir), portageGid->gr_name, portageUid->pw_name); > } > > d.setCurrent( kurooDir ); >@@ -99,7 +99,7 @@ > } > else { > chmod( backupDir.toAscii(), 0770 ); >- chown( backupDir.toAscii(), portageGid->gr_gid, portageUid->pw_uid ); >+ KIO::chown( KUrl(backupDir), portageGid->gr_name, portageUid->pw_name); > } > } > >@@ -110,7 +110,7 @@ > QString logFile = LogSingleton::Instance()->init( this ); > if ( !logFile.isEmpty() ) { > chmod( logFile.toAscii(), 0660 ); >- chown( logFile.toAscii(), portageGid->gr_gid, portageUid->pw_uid ); >+ KIO::chown( KUrl(logFile), portageGid->gr_name, portageUid->pw_name ); > } > > // Initialize the database >@@ -136,7 +136,7 @@ > > // Give permissions to portage:portage to access the db also > chmod( databaseFile.toAscii(), 0660 ); >- chown( databaseFile.toAscii(), portageGid->gr_gid, portageUid->pw_uid ); >+ KIO::chown( KUrl(databaseFile), portageGid->gr_name, portageUid->pw_name ); > > // Initialize singletons objects > SignalistSingleton::Instance()->init( this ); >@@ -149,7 +149,7 @@ > FileWatcherSingleton::Instance()->init( this ); > > //Load packages in case /etc/portage.* changed >- //PortageFilesSingleton::Instance()->loadPackageFiles(); >+ PortageFilesSingleton::Instance()->loadPackageFiles(); > } > > KurooInit::~KurooInit() > >------------------------------------------------------------------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 432596
:
322134
| 322136