[Buildroot] [PATCH] package/git: bump to version 2.39.0

Peter Korsgaard peter at korsgaard.com
Sun Dec 18 13:26:36 UTC 2022


>>>>> "Bagas" == Bagas Sanjaya <bagasdotme at gmail.com> writes:

 > The git package on Buildroot is quite lagging behind (v2.31.4, released
 > on July 12, 2022 while the baseline v2.31.0 was released on March 15,
 > 2021). Bump the package to v2.39.0 (released December 12, 2022).

 > While at it, also replace patch fixing uclibc no threads build with two
 > patches cherry-picked from upstream next branch, which fixes the same
 > issue by fixing the handling of flockfile(), funlockfile(), and
 > getc_unlocked() declarations. These patches missed the release but
 > planned for next maintenance release (v2.39.1).

 > The reason for replacing the patch is when original fix patch was
 > upstreamed [1], Jeff King noted that the build failure root cause
 > was flockfile() is defined regardless of whether uclibc is configured with
 > threads support or not [2].

 > Release notes for v2.39.0 is available on release announcement on Git
 > mailing list at [3].

 > [1]: https://lore.kernel.org/git/20221125092339.29433-1-bagasdotme@gmail.com/
 > [2]: https://lore.kernel.org/git/Y4RAr04vS%2FTOM5uh@coredump.intra.peff.net/
 > [3]: https://lore.kernel.org/git/xmqqlencspnl.fsf@gitster.g/

 > Signed-off-by: Bagas Sanjaya <bagasdotme at gmail.com>
 > ---
 >  .../git/0001-Fix-build-without-threads.patch  | 100 ----------------
 >  ...avoid-redefining-system-function-nam.patch | 107 ++++++++++++++++++
 >  ...undefine-system-names-before-redecla.patch |  55 +++++++++
 >  package/git/git.hash                          |   2 +-
 >  package/git/git.mk                            |   4 +-
 >  5 files changed, 164 insertions(+), 104 deletions(-)
 >  delete mode 100644 package/git/0001-Fix-build-without-threads.patch
 >  create mode 100644 package/git/0001-git-compat-util-avoid-redefining-system-function-nam.patch
 >  create mode 100644 package/git/0002-git-compat-util-undefine-system-names-before-redecla.patch

 > +++ b/package/git/0001-git-compat-util-avoid-redefining-system-function-nam.patch
 > @@ -0,0 +1,107 @@
 > +From 385f67eb2254edb1fb4cf523e5e3d5a8f123d72c Mon Sep 17 00:00:00 2001
 > +From: Jeff King <peff at peff.net>
 > +Date: Wed, 30 Nov 2022 16:15:14 -0500
 > +Subject: [PATCH 1/2] git-compat-util: avoid redefining system function names

NIT: The patch numbers tend to get outdated fast, so we use
--no-numbered as pointed out by ./utils/check-package:

package/git/0001-git-compat-util-avoid-redefining-system-function-nam.patch:4:
generate your patches with 'git format-patch -N'
package/git/0002-git-compat-util-undefine-system-names-before-redecla.patch:4:
generate your patches with 'git format-patch -N'

Committed with that fixed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list