* [Buildroot] [PATCH 1/1] package/httping: fix patch fuzz
@ 2024-07-20 10:08 Fabrice Fontaine
2024-07-20 21:01 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2024-07-20 10:08 UTC (permalink / raw)
To: buildroot; +Cc: Gilles Talis, Fabrice Fontaine
Fix patch fuzz to avoid the following build failure raised since commit
8f88a644ed7d6c9ea55fd4fbe9d7f37055920016 which reduced the fuzz factor:
Applying 0001-fix-math-library-linking.patch using patch:
patching file Makefile
Hunk #1 FAILED at 37.
1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
Fixes: 8f88a644ed7d6c9ea55fd4fbe9d7f37055920016
- http://autobuild.buildroot.org/results/f9cfb6f55d1f2cb855e6959c2381eeddea3e4936
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/httping/0001-fix-math-library-linking.patch | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/package/httping/0001-fix-math-library-linking.patch b/package/httping/0001-fix-math-library-linking.patch
index 0078f41c61..582fb9e917 100644
--- a/package/httping/0001-fix-math-library-linking.patch
+++ b/package/httping/0001-fix-math-library-linking.patch
@@ -2,12 +2,14 @@ Move LDFLAGS+=-lm option to the end.
The order of the math library directive '-lm' matters.
Signed-off-by: Yuvaraj Patil <yuvaraj.patil@wipro.com>
+[Fabrice: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
diff -Nurp httping-2.3.4_orig/Makefile httping-2.3.4/Makefile
--- httping-2.3.4_orig/Makefile 2014-07-23 16:16:36.495546288 +0530
+++ httping-2.3.4/Makefile 2014-07-23 16:18:42.547541002 +0530
-@@ -37,7 +37,6 @@ DEBUG=yes
- WFLAGS=-Wall -W
+@@ -36,7 +36,6 @@ DEBUG=yes
+ WFLAGS=-Wall -W -Wextra -pedantic -D_FORTIFY_SOURCE=2
OFLAGS=
CFLAGS+=$(WFLAGS) $(OFLAGS) -DVERSION=\"$(VERSION)\" -DLOCALEDIR=\"$(LOCALEDIR)\"
-LDFLAGS+=-lm
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-20 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-20 10:08 [Buildroot] [PATCH 1/1] package/httping: fix patch fuzz Fabrice Fontaine
2024-07-20 21:01 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox