FreeBSD Bugzilla – Attachment 47722 Details for
Bug 73087
[ maintainer ] sysutils/torsmo: acpitemp fix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 755 bytes, created by
Roman Bogorodskiy
on 2004-10-24 17:20:24 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Roman Bogorodskiy
Created:
2004-10-24 17:20:24 UTC
Size:
755 bytes
patch
obsolete
>diff -ru torsmo.orig/Makefile torsmo/Makefile >--- torsmo.orig/Makefile Sun Oct 24 19:57:21 2004 >+++ torsmo/Makefile Sun Oct 24 20:01:36 2004 >@@ -7,7 +7,7 @@ > > PORTNAME= torsmo > PORTVERSION= 0.17 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= sysutils > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >diff -ru torsmo.orig/files/freebsd.c torsmo/files/freebsd.c >--- torsmo.orig/files/freebsd.c Sun Oct 24 19:57:21 2004 >+++ torsmo/files/freebsd.c Sun Oct 24 19:59:05 2004 >@@ -295,8 +295,8 @@ > } > > double get_acpi_temperature(int fd) { >- double temp; >- >+ int temp; >+ > if (GETSYSCTL("hw.acpi.thermal.tz0.temperature", temp)) { > (void)fprintf(stderr, "Cannot read sysctl \"hw.acpi.thermal.tz0.temperature\"\n"); > temp = -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 73087
: 47722