Skip to contentSkip to conversation

package/gpm: update the patches to be applied with fuzz 0

PATCH Applied Dario Binacchi 3 participants 3 messages Jul 2, 2024 – Aug 6, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gpm: update the patches to be applied with fuzz 0

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum fuzz factor to 0") reduced the fuzz factor.

Due to this change, gpm fails to build with output:

Applying 0003-src-Makefile.in-Really-install-unversioned-solibrary.patch using patch:
patching file src/Makefile.in
Hunk #1 FAILED at 115.
1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.in.rej

This commit refreshes the package patch on the current package version.

Fixes 8f88a644ed7d6c9ea55fd4fbe9d7f37055920016
---
 ...efile.in-Really-install-unversioned-solibrary.patch | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch +6 -4
index 259180197696..2105bbbf6a0c 100644
@@ -1,4 +1,4 @@
-From 445be05fba32c512fd87a0c98b4e9936629ef95e Mon Sep 17 00:00:00 2001
+From 5b83edaa20f6ecf97d16e323be1ed555d8fa2c01 Mon Sep 17 00:00:00 2001
 From: Bernd Kuhls <[email protected]>
 Date: Sat, 20 Feb 2016 17:59:52 +0100
 Subject: [PATCH] src/Makefile.in: Really install unversioned solibrary
@@ -10,22 +10,24 @@ which created libgpm.so but failed to include it in the install target.
 Patch sent upstream: https://github.com/telmich/gpm/pull/11
 
 Signed-off-by: Bernd Kuhls <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
 ---
  src/Makefile.in | 1 +
  1 file changed, 1 insertion(+)
 
 diff --git a/src/Makefile.in b/src/Makefile.in
-index 7e9e2ef..bca226f 100644
+index b63e4f4489bd..a1838c300312 100644
 --- a/src/Makefile.in
 +++ b/src/Makefile.in
 @@ -115,6 +115,7 @@ install:	check
  	if test "x@SHLIB@" != "x" ; then \
- 		$(INSTALL_DATA) -m 755 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@	;	\
+ 		$(INSTALL_DATA) -m 644 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@	;	\
  		cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@ 					;	\
 +		cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so 					;	\
        echo "WARNING: We installed a lib, you should now call ldconfig" 						; 	\
        echo "f.i.: ldconfig -n -l $(libdir)/libgpm.so.@abi_full@" 								;	\
        echo "Or to update everything just type ldconfig"											;	\
 -- 
-2.7.0
+2.43.0
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 29 lines · Dario Binacchi

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum fuzz factor to 0") reduced the fuzz factor.

Due to this change, gpm fails to build with output:

Applying 0003-src-Makefile.in-Really-install-unversioned-solibrary.patch using patch:
patching file src/Makefile.in
Hunk #1 FAILED at 115.
1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.in.rej

This commit refreshes the package patch on the current package version.

Fixes 8f88a644ed7d6c9ea55fd4fbe9d7f37055920016
---
  ...efile.in-Really-install-unversioned-solibrary.patch | 10 ++++++----
  1 file changed, 6 insertions(+), 4 deletions(-)
package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch +1 -1
index 259180197696..2105bbbf6a0c 100644
@@ -1,4 +1,4 @@
-From 445be05fba32c512fd87a0c98b4e9936629ef95e Mon Sep 17 00:00:00 2001
+From 5b83edaa20f6ecf97d16e323be1ed555d8fa2c01 Mon Sep 17 00:00:00 2001
  From: Bernd Kuhls <[email protected]>
  Date: Sat, 20 Feb 2016 17:59:52 +0100
  Subject: [PATCH] src/Makefile.in: Really install unversioned solibrary

package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch which created libgpm.so but failed to include it in the install target. · line 10

Quoted 1 line
package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch +0 -0
@@ -10,22 +10,24 @@ which created libgpm.so but failed to include it in the install target.
  Patch sent upstream: https://github.com/telmich/gpm/pull/11

I've also changed this to a proper Upstream: tag, updated .checkpackageignore
accordingly.

Applied to master, thanks.

Regards,
Arnout

Quoted 16 lines
package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch +3 -2
  Signed-off-by: Bernd Kuhls <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
  ---
   src/Makefile.in | 1 +
   1 file changed, 1 insertion(+)
 
  diff --git a/src/Makefile.in b/src/Makefile.in
-index 7e9e2ef..bca226f 100644
+index b63e4f4489bd..a1838c300312 100644
  --- a/src/Makefile.in
  +++ b/src/Makefile.in
  @@ -115,6 +115,7 @@ install:	check
   	if test "x@SHLIB@" != "x" ; then \
- 		$(INSTALL_DATA) -m 755 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@	;	\

package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch which created libgpm.so but failed to include it in the install target. · line 33

Quoted 10 lines
package/gpm/0003-src-Makefile.in-Really-install-unversioned-solibrary.patch +2 -1
+ 		$(INSTALL_DATA) -m 644 lib/libgpm.so.@abi_full@ $(libdir)/libgpm.so.@abi_full@	;	\
   		cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so.@abi_lev@ 					;	\
  +		cd $(libdir) && $(LN_S) -f libgpm.so.@abi_full@ libgpm.so 					;	\
         echo "WARNING: We installed a lib, you should now call ldconfig" 						; 	\
         echo "f.i.: ldconfig -n -l $(libdir)/libgpm.so.@abi_full@" 								;	\
         echo "Or to update everything just type ldconfig"											;	\
  --
-2.7.0
+2.43.0
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Dario Binacchi
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Dario" == Dario Binacchi <[email protected]> writes:

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum fuzz factor to 0") reduced the fuzz factor.

Due to this change, gpm fails to build with output:

Applying 0003-src-Makefile.in-Really-install-unversioned-solibrary.patch using patch:
patching file src/Makefile.in
Hunk #1 FAILED at 115.
1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.in.rej

Quoted 4 lines

This commit refreshes the package patch on the current package version.

Fixes 8f88a644ed7d6c9ea55fd4fbe9d7f37055920016

Committed to 2024.05.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot