Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@buildroot.org
Cc: Gilles Talis <gilles.talis@gmail.com>,
	Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH 1/1] package/httping: fix patch fuzz
Date: Sat, 20 Jul 2024 12:08:20 +0200	[thread overview]
Message-ID: <20240720100820.347284-1-fontaine.fabrice@gmail.com> (raw)

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

             reply	other threads:[~2024-07-20 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-20 10:08 Fabrice Fontaine [this message]
2024-07-20 21:01 ` [Buildroot] [PATCH 1/1] package/httping: fix patch fuzz Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240720100820.347284-1-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=gilles.talis@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox