summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-07-01 22:53:19 -0700
committerMichael Forney <mforney@mforney.org>2019-07-03 00:53:07 -0700
commit074b74c7a3f68b715cdc9047810719753b3b71d0 (patch)
tree3c6e199a12a03d06339be638afe8407a061faf05 /pkg
parent512a71fb66d4834a3d7eede30e945eaacd72a8fb (diff)
dosfstools: Use __attribute__ consistently
Diffstat (limited to 'pkg')
-rw-r--r--pkg/dosfstools/patch/0002-Use-__attribute__-consistently.patch31
-rw-r--r--pkg/dosfstools/ver2
2 files changed, 32 insertions, 1 deletions
diff --git a/pkg/dosfstools/patch/0002-Use-__attribute__-consistently.patch b/pkg/dosfstools/patch/0002-Use-__attribute__-consistently.patch
new file mode 100644
index 00000000..5783ed59
--- /dev/null
+++ b/pkg/dosfstools/patch/0002-Use-__attribute__-consistently.patch
@@ -0,0 +1,31 @@
+From d38b4d1d39784aefebb585ed955d16bb674bd2ff Mon Sep 17 00:00:00 2001
+From: Michael Forney <mforney@mforney.org>
+Date: Mon, 1 Jul 2019 22:52:11 -0700
+Subject: [PATCH] Use __attribute__ consistently
+
+---
+ src/common.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/common.h b/src/common.h
+index e2c398c..03f6984 100644
+--- a/src/common.h
++++ b/src/common.h
+@@ -24,12 +24,12 @@
+ #define _COMMON_H
+
+ void die(const char *msg, ...)
+- __attribute((noreturn, format(printf, 1, 2)));
++ __attribute__ ((noreturn, format(printf, 1, 2)));
+
+ /* Displays a prinf-style message and terminates the program. */
+
+ void pdie(const char *msg, ...)
+- __attribute((noreturn, format(printf, 1, 2)));
++ __attribute__ ((noreturn, format(printf, 1, 2)));
+
+ /* Like die, but appends an error message according to the state of errno. */
+
+--
+2.22.0
+
diff --git a/pkg/dosfstools/ver b/pkg/dosfstools/ver
index d17f9b06..cf7fbc18 100644
--- a/pkg/dosfstools/ver
+++ b/pkg/dosfstools/ver
@@ -1 +1 @@
-4.1 r1
+4.1 r2