Skip to content

Commit 2547a3b

Browse files
passgatRomainNaour
authored andcommitted
package/libsvgtiny: update the patches to be applied with fuzz 0
Commit 8f88a64 ("support/scripts/apply-patches.sh: set the maximum fuzz factor to 0") reduced the fuzz factor. Due to this change, libsvgtiny fails to build with output: Applying 0004-Build-Include-gperf-generated-code-directly.patch using patch: patching file src/Makefile Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.rej This commit refreshes the package patch on the current package version. Signed-off-by: Dario Binacchi <[email protected]> Signed-off-by: Romain Naour <[email protected]>
1 parent bd0d549 commit 2547a3b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

package/libsvgtiny/0004-Build-Include-gperf-generated-code-directly.patch

+5-3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ svgtiny.c instead, which is the only place its used.
1111
[Retrieved from:
1212
https://source.netsurf-browser.org/libsvgtiny.git/commit/src?id=4390f1c84e8fee51fc22468821e6fc158e783053]
1313
Signed-off-by: Fabrice Fontaine <[email protected]>
14+
[Dario: make the patch to be applied with fuzz factor 0]
15+
Signed-off-by: Dario Binacchi <[email protected]>
1416
---
1517
src/Makefile | 13 +++++++------
1618
src/colors.gperf | 8 --------
@@ -44,7 +46,7 @@ index a979720..fb8a72f 100644
4446
+
4547
+CLEAN_ITEMS := $(DIR)autogenerated_colors.c
4648

47-
include $(NSBUILD)/Makefile.subdir
49+
include build/makefiles/Makefile.subdir
4850
diff --git a/src/colors.gperf b/src/colors.gperf
4951
index 96d5b9e..a836787 100644
5052
--- a/src/colors.gperf
@@ -68,7 +70,7 @@ diff --git a/src/svgtiny.c b/src/svgtiny.c
6870
index 4661a58..bbefb88 100644
6971
--- a/src/svgtiny.c
7072
+++ b/src/svgtiny.c
71-
@@ -20,6 +20,9 @@
73+
@@ -17,6 +17,9 @@
7274
#include "svgtiny.h"
7375
#include "svgtiny_internal.h"
7476

@@ -82,7 +84,7 @@ diff --git a/src/svgtiny_internal.h b/src/svgtiny_internal.h
8284
index 158d230..6bf5d64 100644
8385
--- a/src/svgtiny_internal.h
8486
+++ b/src/svgtiny_internal.h
85-
@@ -102,9 +102,4 @@ void *svgtiny_list_get(struct svgtiny_list *list,
87+
@@ -87,9 +87,4 @@
8688
void *svgtiny_list_push(struct svgtiny_list *list);
8789
void svgtiny_list_free(struct svgtiny_list *list);
8890

0 commit comments

Comments
 (0)