Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 315909 Details for
Bug 421575
dev-vcs/subversion-1.7.5[kde] fails to build with gcc-4.7.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
subversion.patch (text/plain), 1.57 KB, created by
Olivier Huber
on 2012-06-21 09:41:07 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Olivier Huber
Created:
2012-06-21 09:41:07 UTC
Size:
1.57 KB
patch
obsolete
>--- subversion/libsvn_auth_kwallet/kwallet.cpp.orig 2012-06-19 14:31:34.000000000 +0200 >+++ subversion/libsvn_auth_kwallet/kwallet.cpp 2012-06-19 14:33:35.000000000 +0200 >@@ -60,6 +60,9 @@ > /* KWallet simple provider, puts passwords in KWallet */ > /*-----------------------------------------------------------------------*/ > >+static int q_argc = 1; >+static char q_argv0[] = "svn"; // Build non-const char * from string constant >+static char *q_argv[] = { q_argv0 }; > > static const char * > get_application_name(apr_hash_t *parameters, >@@ -203,12 +206,11 @@ > QCoreApplication *app; > if (! qApp) > { >- int argc = 1; >- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"}); >+ int argc = q_argc; >+ app = new QCoreApplication(argc, q_argv); > } > >- KCmdLineArgs::init(1, >- (char *[1]) {(char *) "svn"}, >+ KCmdLineArgs::init(q_argc, q_argv, > get_application_name(parameters, pool), > "subversion", > ki18n(get_application_name(parameters, pool)), >@@ -273,12 +275,11 @@ > QCoreApplication *app; > if (! qApp) > { >- int argc = 1; >- app = new QCoreApplication(argc, (char *[1]) {(char *) "svn"}); >+ int argc = q_argc; >+ app = new QCoreApplication(argc, q_argv); > } > >- KCmdLineArgs::init(1, >- (char *[1]) {(char *) "svn"}, >+ KCmdLineArgs::init(q_argc, q_argv, > get_application_name(parameters, pool), > "subversion", > ki18n(get_application_name(parameters, pool)),
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 421575
: 315909 |
321742
|
321972