diff options
author | plunky <plunky@pkgsrc.org> | 2016-02-24 21:43:39 +0000 |
---|---|---|
committer | plunky <plunky@pkgsrc.org> | 2016-02-24 21:43:39 +0000 |
commit | b55d6016517dbc48d59adb325753b3d630c62eb2 (patch) | |
tree | c5b1645deecb5f7d2452314002c00f5217bc9e62 | |
parent | ad28e4be0d654a825d991ef2da1cc420fe3fd9a0 (diff) | |
download | pkgsrc-b55d6016517dbc48d59adb325753b3d630c62eb2.tar.gz |
use %zu for size_t
-rw-r--r-- | sysutils/bcmfw/distinfo | 3 | ||||
-rw-r--r-- | sysutils/bcmfw/patches/patch-bcmfw-install.c | 36 |
2 files changed, 38 insertions, 1 deletions
diff --git a/sysutils/bcmfw/distinfo b/sysutils/bcmfw/distinfo index 542be687115..e0d7e97423d 100644 --- a/sysutils/bcmfw/distinfo +++ b/sysutils/bcmfw/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2016/02/17 10:58:19 plunky Exp $ +$NetBSD: distinfo,v 1.4 2016/02/24 21:43:39 plunky Exp $ SHA1 (bcmfw-2.0.tar.gz) = 94f6881e0772333599b6cae0b7938d99d2959187 RMD160 (bcmfw-2.0.tar.gz) = 14c6d1e5ba4266377a34655c082f3a9b3432469f @@ -8,3 +8,4 @@ SHA1 (bluez-firmware-1.2.tar.gz) = 43f98fdd518a2b4371d25015aaafb1d6f3cbde2c RMD160 (bluez-firmware-1.2.tar.gz) = 1651dd837c2263cf5d6d5d4da30664cf408b0ba9 SHA512 (bluez-firmware-1.2.tar.gz) = 15db2f9d38a496882e4cc3754af1e58aa99e1b849f2066c541d76c66a8ffdc5532799fe1fd473cfc158bf5ea86a46687716cbcf83c6dcac0ce66d97d679648dd Size (bluez-firmware-1.2.tar.gz) = 370623 bytes +SHA1 (patch-bcmfw-install.c) = 0712b682fdafe8e4cec833534d55424170a2a8fe diff --git a/sysutils/bcmfw/patches/patch-bcmfw-install.c b/sysutils/bcmfw/patches/patch-bcmfw-install.c new file mode 100644 index 00000000000..31447227729 --- /dev/null +++ b/sysutils/bcmfw/patches/patch-bcmfw-install.c @@ -0,0 +1,36 @@ +$NetBSD: patch-bcmfw-install.c,v 1.1 2016/02/24 21:43:39 plunky Exp $ + +use %zu for size_t + +--- bcmfw-install.c.orig 2016-02-24 21:39:09.000000000 +0000 ++++ bcmfw-install.c +@@ -194,9 +194,9 @@ start: + } + } + if (quote) +- warnx("unterminated quote on line #%d", lineno); ++ warnx("unterminated quote on line #%zu", lineno); + if (stringkey) +- warnx("unterminated string key on line #%d", lineno); ++ warnx("unterminated string key on line #%zu", lineno); + if (space) + len = space; /* drop trailing spaces */ + if (ch == EOF) { +@@ -216,7 +216,7 @@ start: + if (buf[len - 1] == ']') + section = section_add(buf + 1, len - 2); + else { +- warnx("malformed section header on line #%d", lineno); ++ warnx("malformed section header on line #%zu", lineno); + section = NULL; + } + } else if (section != NULL) /* ignore lines with no section */ +@@ -257,7 +257,7 @@ start: + buf[len++] = (uint8_t)ch; + } + +- err(EXIT_FAILURE, "line #%d too long", lineno); ++ err(EXIT_FAILURE, "line #%zu too long", lineno); + } + + static bool |