Skip to content

Commit

Permalink
package/haserl: update the patches to be applied with fuzz 0
Browse files Browse the repository at this point in the history
Commit 8f88a64 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

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

    Applying 0001-add-haserl_lualib.inc.patch using patch:
    patching file src/haserl_lualib.inc
    patching file src/Makefile.in
    Hunk #1 succeeded at 86 (offset 54 lines).
    Hunk #2 FAILED at 514.
    1 out of 2 hunks FAILED -- saving rejects to file src/Makefile.in.rej

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

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
passgat authored and tpetazzoni committed Jul 8, 2024
1 parent b8fa676 commit 3597b43
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions package/haserl/0001-add-haserl_lualib.inc.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Re-add .inc file from 0.9.33 so we don't need host-lua.

Signed-off-by: Peter Korsgaard <[email protected]>
Signed-off-by: Max Filippov <[email protected]>
[Dario: make the patch to be applied with fuzz factor 0]
Signed-off-by: Dario Binacchi <[email protected]>
---
src/Makefile.in | 3 -
src/haserl_lualib.inc | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++
Expand Down Expand Up @@ -130,17 +132,17 @@ Index: haserl-0.9.29/src/Makefile.in
===================================================================
--- haserl-0.9.29.orig/src/Makefile.in
+++ haserl-0.9.29/src/Makefile.in
@@ -32,7 +32,6 @@
@@ -86,7 +86,6 @@
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-@USE_LUA_TRUE@noinst_PROGRAMS = lua2c$(EXEEXT)
@INCLUDE_LUASHELL_TRUE@@USE_LUA_TRUE@am__append_1 = h_lua.c h_lua.h
@INCLUDE_LUACSHELL_TRUE@@USE_LUA_TRUE@am__append_2 = h_luac.c h_luac.h
bin_PROGRAMS = haserl$(EXEEXT)
@@ -515,7 +514,7 @@
@USE_LUA_TRUE@ $(CC_FOR_BUILD) $(CFLAGS) $(LDFLAGS) $(lua2c_LDFLAGS) \
@USE_LUA_TRUE@ -o $@ $^ $(LIBS)
@@ -812,7 +811,7 @@
@USE_LUA_TRUE@ $(CC_FOR_BUILD) $(CFLAGS) $(LUA_CFLAGS) $(LDFLAGS) $(lua2c_LDFLAGS) \
@USE_LUA_TRUE@ -o $@ $^ $(LIBS) $(LUA_LIBS)

-@USE_LUA_TRUE@haserl_lualib.inc : haserl_lualib.lua lua2c
+@USE_LUA_TRUE@haserl_lualib.inc :
Expand Down

0 comments on commit 3597b43

Please sign in to comment.