Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 130058 Details for
Bug 191346
sys-apps/smartmontools-5.37 fails to compile on uclibc++
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
smartmontools-5.37-const-char.patch
smartmontools-5.37-const-char.patch (text/plain), 1.23 KB, created by
Natanael Copa
on 2007-09-05 09:21:53 UTC
(
hide
)
Description:
smartmontools-5.37-const-char.patch
Filename:
MIME Type:
Creator:
Natanael Copa
Created:
2007-09-05 09:21:53 UTC
Size:
1.23 KB
patch
obsolete
>diff -u smartmontools-5.37.orig/smartctl.cpp smartmontools-5.37/smartctl.cpp >--- smartmontools-5.37.orig/smartctl.cpp 2007-09-05 09:17:18 +0000 >+++ smartmontools-5.37/smartctl.cpp 2007-09-05 09:17:47 +0000 >@@ -82,7 +82,7 @@ > } > > void printcopy(){ >- char *configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no arguments given]"; >+ const char *configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no arguments given]"; > > pout("smartctl comes with ABSOLUTELY NO WARRANTY. This\n"); > pout("is free software, and you are welcome to redistribute it\n"); >diff -u smartmontools-5.37.orig/smartd.cpp smartmontools-5.37/smartd.cpp >--- smartmontools-5.37.orig/smartd.cpp 2007-09-05 09:17:18 +0000 >+++ smartmontools-5.37/smartd.cpp 2007-09-05 09:17:38 +0000 >@@ -310,7 +310,7 @@ > > // prints CVS identity information for the executable > void PrintCVS(void){ >- char *configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no arguments given]"; >+ const char *configargs=strlen(SMARTMONTOOLS_CONFIGURE_ARGS)?SMARTMONTOOLS_CONFIGURE_ARGS:"[no arguments given]"; > > PrintOut(LOG_INFO,(char *)copyleftstring); > PrintOut(LOG_INFO,"CVS version IDs of files used to build this code are:\n");
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 191346
: 130058