svn commit: r432819 - in head/x11/i3status: . files
Baptiste Daroussin
bapt at FreeBSD.org
Mon Jan 30 08:08:48 UTC 2017
Author: bapt
Date: Mon Jan 30 08:08:46 2017
New Revision: 432819
URL: https://svnweb.freebsd.org/changeset/ports/432819
Log:
Fix the deciKelvin to Celsius conversion
Added:
head/x11/i3status/files/patch-src_print__cpu__temperature.c (contents, props changed)
Modified:
head/x11/i3status/Makefile
Modified: head/x11/i3status/Makefile
==============================================================================
--- head/x11/i3status/Makefile Mon Jan 30 07:28:29 2017 (r432818)
+++ head/x11/i3status/Makefile Mon Jan 30 08:08:46 2017 (r432819)
@@ -2,6 +2,7 @@
PORTNAME= i3status
PORTVERSION= 2.11
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://i3wm.org/i3status/
Added: head/x11/i3status/files/patch-src_print__cpu__temperature.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/x11/i3status/files/patch-src_print__cpu__temperature.c Mon Jan 30 08:08:46 2017 (r432819)
@@ -0,0 +1,11 @@
+--- src/print_cpu_temperature.c.orig 2017-01-30 07:58:44 UTC
++++ src/print_cpu_temperature.c
+@@ -13,7 +13,7 @@
+ #include <err.h>
+ #include <sys/types.h>
+ #include <sys/sysctl.h>
+-#define TZ_ZEROC 2732
++#define TZ_ZEROC 2731
+ #define TZ_KELVTOC(x) (((x)-TZ_ZEROC) / 10), abs(((x)-TZ_ZEROC) % 10)
+ #define TZ_AVG(x) ((x)-TZ_ZEROC) / 10
+ #endif
More information about the svn-ports-head
mailing list