Skip to contentSkip to conversation

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

PATCH Applied Dario Binacchi 2 participants 2 messages Jul 7, 2024 – Jul 8, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/monit: 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, monit fails to build with output:

Applying 0001-no-force-static.patch using patch:
patching file Makefile.am
Hunk #1 FAILED at 85.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej

Applying 0002-configure.ac-fixes-missing-config-macro-dir.patch using patch:
patching file configure.ac
Hunk #1 FAILED at 8.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej

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

---
 package/monit/0001-no-force-static.patch                  | 8 +++++---
 ...0002-configure.ac-fixes-missing-config-macro-dir.patch | 6 ++++--
 2 files changed, 9 insertions(+), 5 deletions(-)
package/monit/0001-no-force-static.patch +5 -3
index edb619b54152..4634a951f3c7 100644
@@ -5,13 +5,15 @@ still dlopen()s the NSS libraries.
 
 Reported-by: Peter Kümmel <[email protected]>
 Signed-off-by: "Yann E. MORIN" <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
 
 diff -durN monit-5.7.orig/Makefile.am monit-5.7/Makefile.am
 --- monit-5.7.orig/Makefile.am	2014-02-20 09:00:42.000000000 +0100
 +++ monit-5.7/Makefile.am	2014-09-05 12:49:43.711104001 +0200
-@@ -85,7 +85,7 @@
- 		  src/process/sysdep_@[email protected]
-  
+@@ -97,7 +97,7 @@
+                   src/statistics/Statistics.c
+ 
  monit_LDADD 	= libmonit/libmonit.la
 -monit_LDFLAGS 	= -static $(EXTLDFLAGS)
 +monit_LDFLAGS 	= $(EXTLDFLAGS)
package/monit/0002-configure.ac-fixes-missing-config-macro-dir.patch +4 -2
index 325dcc17e136..31b20b3cbc9b 100644
@@ -8,6 +8,8 @@ so that m4 macros are properly loaded upon autoreconf use.
 
 Upstream: N/A (specific to buildroot)
 Signed-off-by: Jens Maus <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
 ---
  configure.ac          | 2 +-
  libmonit/configure.ac | 2 +-
@@ -17,9 +19,9 @@ diff --git a/configure.ac b/configure.ac
 index 3c3d30a2..f4c5ea07 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -8,7 +8,7 @@ AC_PREREQ([2.53])
+@@ -8,7 +8,7 @@
  # Example: 5.0_beta2
- AC_INIT([monit], [5.34.0], [[email protected]])
+ AC_INIT([monit], [5.33.0], [[email protected]])
  AC_CONFIG_AUX_DIR(config)
 -AC_CONFIG_MACRO_DIR([m4])
 +AC_CONFIG_MACRO_DIRS([m4 config])
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 15 lines · On Sun, 7 Jul 2024 07:50:05 +0200 Dario Binacchi…

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

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

Applying 0001-no-force-static.patch using patch:
patching file Makefile.am
Hunk #1 FAILED at 85.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej

Applying 0002-configure.ac-fixes-missing-config-macro-dir.patch using patch:
patching file configure.ac
Hunk #1 FAILED at 8.
1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej

Quoted 7 lines

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

---
 package/monit/0001-no-force-static.patch                  | 8 +++++---
 ...0002-configure.ac-fixes-missing-config-macro-dir.patch | 6 ++++--
 2 files changed, 9 insertions(+), 5 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot