diff mbox series

[1/1] package/quotatool: bump to version 1.6.4

Message ID 20240723123145.463136-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/quotatool: bump to version 1.6.4 | expand

Commit Message

Fabrice Fontaine July 23, 2024, 12:31 p.m. UTC
- Switch site to get latest release
- Send patch upstream
- This bump will fix the following build failure with gcc >= 14:

  src/main.c: In function 'main':
  src/main.c:211:17: error: implicit declaration of function 'quota_reset_grace'; did you mean 'xfs_reset_grace'? [-Wimplicit-function-declaration]
    211 |           if (! quota_reset_grace(quota, (argdata->block_reset ? GRACE_BLOCK : GRACE_INODE)))
        |                 ^~~~~~~~~~~~~~~~~
        |                 xfs_reset_grace

https://github.com/ekenberg/quotatool/blob/v1.6.4/ChangeLog

Fixes:
 - http://autobuild.buildroot.org/results/1855bc61fb231fadab77840dcd7ef75c414fe5be

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .checkpackageignore                                           | 1 -
 .../0001-fix-missing-__P-definition-for-musl-compile.patch    | 1 +
 package/quotatool/quotatool.hash                              | 2 +-
 package/quotatool/quotatool.mk                                | 4 ++--
 4 files changed, 4 insertions(+), 4 deletions(-)

Comments

Thomas Petazzoni July 23, 2024, 9:18 p.m. UTC | #1
On Tue, 23 Jul 2024 14:31:45 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> - Switch site to get latest release
> - Send patch upstream
> - This bump will fix the following build failure with gcc >= 14:
> 
>   src/main.c: In function 'main':
>   src/main.c:211:17: error: implicit declaration of function 'quota_reset_grace'; did you mean 'xfs_reset_grace'? [-Wimplicit-function-declaration]
>     211 |           if (! quota_reset_grace(quota, (argdata->block_reset ? GRACE_BLOCK : GRACE_INODE)))
>         |                 ^~~~~~~~~~~~~~~~~
>         |                 xfs_reset_grace
> 
> https://github.com/ekenberg/quotatool/blob/v1.6.4/ChangeLog
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/1855bc61fb231fadab77840dcd7ef75c414fe5be
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  .checkpackageignore                                           | 1 -
>  .../0001-fix-missing-__P-definition-for-musl-compile.patch    | 1 +
>  package/quotatool/quotatool.hash                              | 2 +-
>  package/quotatool/quotatool.mk                                | 4 ++--
>  4 files changed, 4 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas
Peter Korsgaard Aug. 31, 2024, 5:11 p.m. UTC | #2
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > - Switch site to get latest release
 > - Send patch upstream
 > - This bump will fix the following build failure with gcc >= 14:

 >   src/main.c: In function 'main':
 >   src/main.c:211:17: error: implicit declaration of function 'quota_reset_grace'; did you mean 'xfs_reset_grace'? [-Wimplicit-function-declaration]
 >     211 |           if (! quota_reset_grace(quota, (argdata->block_reset ? GRACE_BLOCK : GRACE_INODE)))
 >         |                 ^~~~~~~~~~~~~~~~~
 >         |                 xfs_reset_grace

 > https://github.com/ekenberg/quotatool/blob/v1.6.4/ChangeLog

 > Fixes:
 >  - http://autobuild.buildroot.org/results/1855bc61fb231fadab77840dcd7ef75c414fe5be

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Committed to 2024.05.x, thanks.
diff mbox series

Patch

diff --git a/.checkpackageignore b/.checkpackageignore
index 2fbd51c6a6..baa4d20d73 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -1184,7 +1184,6 @@  package/qt5cinex/0001-Fix-execution-problem-with-Qt5.3.patch lib_patch.Upstream
 package/quagga/0001-fix-ipctl-forwarding.patch lib_patch.Upstream
 package/quagga/0002-lib-prefix.h-fix-build-with-gcc-10.patch lib_patch.Upstream
 package/quagga/0003-Fix-build-with-gcc-10.patch lib_patch.Upstream
-package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch lib_patch.Upstream
 package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch lib_patch.Upstream
 package/rapidxml/0001-ensure-internal-print-operations-are-declared-before.patch lib_patch.Upstream
 package/raspberrypi-usbboot/0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch lib_patch.Upstream
diff --git a/package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch b/package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch
index 927e62ba8c..534c7fe945 100644
--- a/package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch
+++ b/package/quotatool/0001-fix-missing-__P-definition-for-musl-compile.patch
@@ -15,6 +15,7 @@  Fixes:
                  ^~~
 
 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
+Upstream: https://github.com/ekenberg/quotatool/pull/28
 ---
  src/linux/linux_quota.h | 1 +
  1 file changed, 1 insertion(+)
diff --git a/package/quotatool/quotatool.hash b/package/quotatool/quotatool.hash
index d41fd4ed1b..9ce9ceaec1 100644
--- a/package/quotatool/quotatool.hash
+++ b/package/quotatool/quotatool.hash
@@ -1,5 +1,5 @@ 
 # Locally computed
-sha256  e53adc480d54ae873d160dc0e88d78095f95d9131e528749fd982245513ea090  quotatool-1.6.2.tar.gz
+sha256  ef6b0494c505278ae140d1e105417d73703b4b9e08a1ee1f95dca1e0c19497b7  quotatool-1.6.4.tar.gz
 
 # Hash for license files:
 sha256  94686eeb98a40edc64106c6f8644068d8a08816a510a3cde75e50f1bf470564d  COPYING
diff --git a/package/quotatool/quotatool.mk b/package/quotatool/quotatool.mk
index 7b63c01316..5a60ff7bc1 100644
--- a/package/quotatool/quotatool.mk
+++ b/package/quotatool/quotatool.mk
@@ -4,8 +4,8 @@ 
 #
 ################################################################################
 
-QUOTATOOL_VERSION = 1.6.2
-QUOTATOOL_SITE = http://quotatool.ekenberg.se
+QUOTATOOL_VERSION = 1.6.4
+QUOTATOOL_SITE = $(call github,ekenberg,quotatool,v$(QUOTATOOL_VERSION))
 QUOTATOOL_LICENSE = GPL-2.0
 QUOTATOOL_LICENSE_FILES = COPYING