summaryrefslogtreecommitdiff
path: root/sys-fs/quotatool/files/quotatool-1.6.2-clang16.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-17 07:54:11 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-17 07:54:11 +0100
commit403387a1bc2a2d98e75bf1474b21ae379b88aab2 (patch)
tree3efa95ca1b0ee7a013a85f88134d4cc9d1c4a115 /sys-fs/quotatool/files/quotatool-1.6.2-clang16.patch
parent9126563f8b9bef939e4df502bf0e52f19fc4f444 (diff)
gentoo auto-resync : 17:10:2022 - 07:54:11
Diffstat (limited to 'sys-fs/quotatool/files/quotatool-1.6.2-clang16.patch')
-rw-r--r--sys-fs/quotatool/files/quotatool-1.6.2-clang16.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-fs/quotatool/files/quotatool-1.6.2-clang16.patch b/sys-fs/quotatool/files/quotatool-1.6.2-clang16.patch
new file mode 100644
index 000000000000..e68ed5f53814
--- /dev/null
+++ b/sys-fs/quotatool/files/quotatool-1.6.2-clang16.patch
@@ -0,0 +1,32 @@
+https://github.com/ekenberg/quotatool/commit/ad6944baaa73cf6230f9a2bef2399b31c2130547
+
+From ad6944baaa73cf6230f9a2bef2399b31c2130547 Mon Sep 17 00:00:00 2001
+From: Bas Zoetekouw <bas.zoetekouw@surfnet.nl>
+Date: Thu, 9 Aug 2018 22:11:58 +0200
+Subject: [PATCH] fix compiler warnings
+
+--- a/src/output.h
++++ b/src/output.h
+@@ -17,8 +17,8 @@
+
+ extern int output_level;
+
+-inline void output_version (void);
+-inline void output_help (void);
++void output_version (void);
++void output_help (void);
+
+ void output_debug (const char *format, ...);
+ void output_info (const char *format, ...);
+--- a/src/quota.h
++++ b/src/quota.h
+@@ -110,7 +110,7 @@ void quota_delete (quota_t *myquota);
+ int quota_get (quota_t *myquota);
+ int quota_set (quota_t *myquota);
+
+-int xfs_reset_grace(quota_t *myquota, int grace_type);
++int quota_reset_grace(quota_t *myquota, int grace_type);
+
+
+ #endif /* INCLUDE_QUOTATOOL_QUOTA */
+