Skip to content

Commit

Permalink
package/libsoup: fix set c_std to gnu99 patch
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, libsoup fails to build with output:

    Applying 0001-meson.build-set-c_std-to-gnu99.patch using patch:
    patching file meson.build
    Hunk #1 FAILED at 2.

This commit fixes the set c_std to gnu99 patch so that it applies.

Fixes:
http://autobuild.buildroot.net/results/4ee/4ee68145143df02c46034b4ca291fea469a6f58a

Signed-off-by: James Hilliard <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
  • Loading branch information
jameshilliard authored and arnout committed Jul 2, 2024
1 parent 8fae1e7 commit 7d64864
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ diff --git a/meson.build b/meson.build
index 4dfd8c15..a5ebc63a 100644
--- a/meson.build
+++ b/meson.build
@@ -2,6 +2,6 @@ project('libsoup', 'c',
version: '2.74.0',
meson_version : '>= 0.50',
@@ -2,7 +2,7 @@ project('libsoup', 'c',
version: '2.74.3',
meson_version : '>=0.50',
license : 'LGPL2',
- default_options : 'c_std=c99')
+ default_options : 'c_std=gnu99')
Expand Down

0 comments on commit 7d64864

Please sign in to comment.