commit:     5a0c32931b3b350f07ab234617a5a85aa2ac0047
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  8 21:12:16 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Feb  8 21:20:28 2021 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=5a0c3293

Bump btrfs-progs to v5.10.1

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 patches/btrfs-progs/{5.7 => 5.10.1}/btrfs-honor-LDFLAGS.patch  |  5 +++--
 .../btrfs-lzo2.patch => 5.10.1/btrfs-lzo-via-pkgconfig.patch}  | 10 ++++------
 patches/btrfs-progs/{5.7 => 5.10.1}/btrfs-m4.patch             |  1 +
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/patches/btrfs-progs/5.7/btrfs-honor-LDFLAGS.patch 
b/patches/btrfs-progs/5.10.1/btrfs-honor-LDFLAGS.patch
similarity index 62%
rename from patches/btrfs-progs/5.7/btrfs-honor-LDFLAGS.patch
rename to patches/btrfs-progs/5.10.1/btrfs-honor-LDFLAGS.patch
index 891fe69..7a770a3 100644
--- a/patches/btrfs-progs/5.7/btrfs-honor-LDFLAGS.patch
+++ b/patches/btrfs-progs/5.10.1/btrfs-honor-LDFLAGS.patch
@@ -3,9 +3,10 @@
 @@ -130,7 +130,7 @@ LIBBTRFS_LIBS = $(LIBS_BASE) $(LIBS_CRYPTO)
  
  # Static compilation flags
- STATIC_CFLAGS = $(CFLAGS) -ffunction-sections -fdata-sections
+ STATIC_CFLAGS = $(CFLAGS) -ffunction-sections -fdata-sections -DSTATICBUILD=1
 -STATIC_LDFLAGS = -static -Wl,--gc-sections
 +STATIC_LDFLAGS = $(LDFLAGS) -static -Wl,--gc-sections
  STATIC_LIBS = $(STATIC_LIBS_BASE)
  
- # don't use FORTIFY with sparse because glibc with FORTIFY can
+ # Static build with libmount print some warnings due to usage of UID/GID
+ 

diff --git a/patches/btrfs-progs/5.7/btrfs-lzo2.patch 
b/patches/btrfs-progs/5.10.1/btrfs-lzo-via-pkgconfig.patch
similarity index 67%
rename from patches/btrfs-progs/5.7/btrfs-lzo2.patch
rename to patches/btrfs-progs/5.10.1/btrfs-lzo-via-pkgconfig.patch
index 67b31f7..b1bf436 100644
--- a/patches/btrfs-progs/5.7/btrfs-lzo2.patch
+++ b/patches/btrfs-progs/5.10.1/btrfs-lzo-via-pkgconfig.patch
@@ -1,8 +1,6 @@
-diff --git a/configure.ac b/configure.ac
-index cf792eb..3ca0806 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -256,17 +256,8 @@ if ${PKG_CONFIG} udev --atleast-version 190; then
+@@ -304,16 +304,8 @@ if ${PKG_CONFIG} udev --atleast-version 190; then
  fi
  AC_SUBST(UDEVDIR)
  
@@ -16,9 +14,9 @@ index cf792eb..3ca0806 100644
 -AC_SUBST([LZO2_LIBS])
 -AC_SUBST([LZO2_LIBS_STATIC])
 -AC_SUBST([LZO2_CFLAGS])
--
 +PKG_CHECK_MODULES(LZO2, [lzo2])
 +PKG_STATIC(LZO2_LIBS_STATIC, [lzo2])
  
- dnl library stuff
- AC_SUBST([LIBBTRFS_MAJOR])
+ dnl call PKG_INSTALLDIR from pkg.m4 to set pkgconfigdir
+ m4_ifdef([PKG_INSTALLDIR], [PKG_INSTALLDIR], [AC_MSG_ERROR([please install 
pkgconf])])
+ 

diff --git a/patches/btrfs-progs/5.7/btrfs-m4.patch 
b/patches/btrfs-progs/5.10.1/btrfs-m4.patch
similarity index 99%
rename from patches/btrfs-progs/5.7/btrfs-m4.patch
rename to patches/btrfs-progs/5.10.1/btrfs-m4.patch
index 831ff99..7543640 100644
--- a/patches/btrfs-progs/5.7/btrfs-m4.patch
+++ b/patches/btrfs-progs/5.10.1/btrfs-m4.patch
@@ -12,3 +12,4 @@ Fixes
  dnl AC_USE_SYSTEM_EXTENSIONS must be called before any macros that run
  dnl the compiler (like AC_PROG_LIBTOOL) to avoid autoconf errors.
  AC_USE_SYSTEM_EXTENSIONS
+ 

Reply via email to