Skip to contentSkip to conversation

package/libsoup: fix set c_std to gnu99 patch

PATCH Applied James Hilliard 2 participants 2 messages Jul 2, 2024 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libsoup: fix set c_std to gnu99 patch

Commit 8f88a644ed "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

---
 package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch +3 -3
index f2e8f7701d..a999f5964e 100644
@@ -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')
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · James Hilliard

Commit 8f88a644ed "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.

Quoted 6 lines

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

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

Applied to master, thanks.

Regards,
Arnout

Quoted 11 lines
---
  package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch +0 -0
index f2e8f7701d..a999f5964e 100644
@@ -26,9 +26,9 @@ diff --git a/meson.build b/meson.build
  index 4dfd8c15..a5ebc63a 100644
  --- a/meson.build

package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch diff --git a/meson.build b/meson.build · line 34

Quoted 10 lines
package/libsoup/0001-meson.build-set-c_std-to-gnu99.patch +3 -3
  +++ 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')

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot