Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 19157 Details for
Bug 31002
acpi can't to emerge
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for multiline string in gcc33
acpi_0.06-gcc33-multiline-string-fix.patch (text/plain), 3.39 KB, created by
Bash
on 2003-10-12 21:35:10 UTC
(
hide
)
Description:
Patch for multiline string in gcc33
Filename:
MIME Type:
Creator:
Bash
Created:
2003-10-12 21:35:10 UTC
Size:
3.39 KB
patch
obsolete
>--- acpi/main.c.orig 2002-07-24 00:09:22.000000000 +0400 >+++ acpi/main.c 2003-10-13 07:46:26.000000000 +0400 >@@ -56,11 +56,11 @@ > > static int version(void) > { >- printf(ACPI_VERSION_STRING """ >- >-Copyright (C) 2001 Grahame Bowland. >-This is free software; see the source for copying conditions. There is NO >-warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >+ printf(ACPI_VERSION_STRING """\n\ >+\n\ >+Copyright (C) 2001 Grahame Bowland.\n\ >+This is free software; see the source for copying conditions. There is NO\n\ >+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\ > """); > return 1; > } >@@ -68,32 +68,32 @@ > > static int usage(char *argv[]) > { >- printf("""\ >-Usage: acpi [OPTION]... >-Shows information from the /proc filesystem, such as battery status or >-thermal information. >- >- -b, --battery battery information >- -B, --without-battery suppress battery information >- -t, --thermal thermal information >- -T, --without-thermal suppress thermal information >- -a, --ac-adapter ac adapter information >- -A, --without-ac-adapter suppress ac-adapter information >- -V, --everything show every device, overrides above options >- -s, --show-empty show non-operational devices >- -S, --hide-empty hide non-operational devices >- -c, --celcius use celcius as the temperature unit >- -f, --fahrenheit use fahrenheit as the temperature unit >- -k, --kelvin use kelvin as the temperature unit >- -d, --directory <dir> path to ACPI info (/proc/acpi) >- -h, --help display this help and exit >- -v, --version output version information and exit >- >-By default, acpi displays information on installed system batteries. >-Non-operational devices, for example empty battery slots are hidden. >-The default unit of temperature is degrees celcius. >- >-Report bugs to Grahame Bowland <grahame@azale.net>. >+ printf("""\n\ >+Usage: acpi [OPTION]...\n\ >+Shows information from the /proc filesystem, such as battery status or \n\ >+thermal information.\n\ >+\n\ >+ -b, --battery battery information\n\ >+ -B, --without-battery suppress battery information\n\ >+ -t, --thermal thermal information\n\ >+ -T, --without-thermal suppress thermal information\n\ >+ -a, --ac-adapter ac adapter information\n\ >+ -A, --without-ac-adapter suppress ac-adapter information\n\ >+ -V, --everything show every device, overrides above options\n\ >+ -s, --show-empty show non-operational devices\n\ >+ -S, --hide-empty hide non-operational devices\n\ >+ -c, --celcius use celcius as the temperature unit\n\ >+ -f, --fahrenheit use fahrenheit as the temperature unit\n\ >+ -k, --kelvin use kelvin as the temperature unit\n\ >+ -d, --directory <dir> path to ACPI info (/proc/acpi)\n\ >+ -h, --help display this help and exit\n\ >+ -v, --version output version information and exit\n\ >+\n\ >+By default, acpi displays information on installed system batteries. \n\ >+Non-operational devices, for example empty battery slots are hidden.\n\ >+The default unit of temperature is degrees celcius.\n\ >+\n\ >+Report bugs to Grahame Bowland <grahame@azale.net>.\n\ > """); > return 1; > }
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 31002
: 19157