1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Update to mmc-utils as of 20181214, improving handling of RPMB partitions.

This commit is contained in:
Marius Strobl 2019-04-09 19:48:01 +00:00
parent f6f0b2f805
commit 2caea3ae04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498514
3 changed files with 15 additions and 6 deletions

View File

@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= mmc-utils
PORTVERSION= 20180327
DISTVERSIONSUFFIX= -b4fe0c8c
PORTVERSION= 20181214
DISTVERSIONSUFFIX= -aef913e3
CATEGORIES= sysutils
MASTER_SITES= LOCAL/marius

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1526225095
SHA256 (mmc-utils-20180327-b4fe0c8c.tar.bz2) = 35ec111a5286f6fe59d863b5a9fd9eaeda1f9ae984896fe11c8bd8f2854762f4
SIZE (mmc-utils-20180327-b4fe0c8c.tar.bz2) = 40044
TIMESTAMP = 1545854044
SHA256 (mmc-utils-20181214-aef913e3.tar.bz2) = e41f5a17dd35a40e5f1877f49e7162349792ae01ec5e0e1bd7b78496b1327f63
SIZE (mmc-utils-20181214-aef913e3.tar.bz2) = 40246

View File

@ -1,4 +1,4 @@
--- mmc_cmds.c.orig 2018-02-26 22:10:51 UTC
--- mmc_cmds.c.orig 2018-12-26 19:54:04 UTC
+++ mmc_cmds.c
@@ -28,7 +28,12 @@
#include <errno.h>
@ -53,3 +53,12 @@
if (reg & 0x20) printf(" HS200 Single Data Rate eMMC @200MHz 1.2VI/O\n");
if (reg & 0x10) printf(" HS200 Single Data Rate eMMC @200MHz 1.8VI/O\n");
if (reg & 0x08) printf(" HS Dual Data Rate eMMC @52MHz 1.2VI/O\n");
@@ -1883,7 +1904,7 @@ static int do_rpmb_op(int fd,
u_int16_t rpmb_type;
struct mmc_ioc_multi_cmd *mioc;
struct mmc_ioc_cmd *ioc;
- struct rpmb_frame frame_status = {0};
+ struct rpmb_frame frame_status = {{0}};
if (!frame_in || !frame_out || !out_cnt)
return -EINVAL;