diff options
author | vanilla <vanilla@FreeBSD.org> | 2016-01-02 15:15:51 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2016-01-02 15:15:51 +0800 |
commit | 8df38a7063c0927c981a0084f52a2ec533b9c358 (patch) | |
tree | 346b93bb90c017ba13e115a36b1129d9ebf576bd /sysutils | |
parent | 787ab78c39d371ea525b797cdfc2dc8343d56c7c (diff) | |
download | freebsd-ports-gnome-8df38a7063c0927c981a0084f52a2ec533b9c358.tar.gz freebsd-ports-gnome-8df38a7063c0927c981a0084f52a2ec533b9c358.tar.zst freebsd-ports-gnome-8df38a7063c0927c981a0084f52a2ec533b9c358.zip |
Upgrade to 0.8.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/batmon/Makefile | 3 | ||||
-rw-r--r-- | sysutils/batmon/distinfo | 4 | ||||
-rw-r--r-- | sysutils/batmon/files/patch-BatteryModel.m | 14 |
3 files changed, 3 insertions, 18 deletions
diff --git a/sysutils/batmon/Makefile b/sysutils/batmon/Makefile index 08ec5268f42a..2f59a3975384 100644 --- a/sysutils/batmon/Makefile +++ b/sysutils/batmon/Makefile @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= batmon -PORTVERSION= 0.6 -PORTREVISION= 4 +PORTVERSION= 0.8 CATEGORIES= sysutils gnustep MASTER_SITES= SAVANNAH/gap diff --git a/sysutils/batmon/distinfo b/sysutils/batmon/distinfo index 679c6e6e86c0..c074a9fa9b68 100644 --- a/sysutils/batmon/distinfo +++ b/sysutils/batmon/distinfo @@ -1,2 +1,2 @@ -SHA256 (batmon-0.6.tar.gz) = afe44fd51410dee1f38934a280cb2ba2dd7f0b0919fb3f11486e0aa37791c0d2 -SIZE (batmon-0.6.tar.gz) = 36538 +SHA256 (batmon-0.8.tar.gz) = fff2fc242ea2956f8b8c7eea751718c54d1a70026eb4659869ad1bac9f64dcff +SIZE (batmon-0.8.tar.gz) = 39592 diff --git a/sysutils/batmon/files/patch-BatteryModel.m b/sysutils/batmon/files/patch-BatteryModel.m deleted file mode 100644 index ac15b2a3fed2..000000000000 --- a/sysutils/batmon/files/patch-BatteryModel.m +++ /dev/null @@ -1,14 +0,0 @@ ---- BatteryModel.m.orig 2011-07-15 11:05:22.000000000 +0200 -+++ BatteryModel.m 2011-10-19 20:45:35.000000000 +0200 -@@ -246,7 +246,11 @@ - if( battio.bst.state & ACPI_BATT_STAT_CRITICAL ) - batteryType = @"CRITICAL "; // could be complementary! - -+#ifdef ACPI_BATT_STAT_BST_MASK -+ if( battio.bst.state & ACPI_BATT_STAT_BST_MASK ) -+#else - if( battio.bst.state & ACPI_BATT_STAT_MAX ) -+#endif - status = @"Charged"; - if( battio.bst.state & ACPI_BATT_STAT_CHARGING ) - status = @"Charging"; |