public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Paul Howarth <paul@city-fan.org>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-YAML-LibYAML] rawhide: Fix test failures on ppc64le
Date: Thu, 02 Jul 2026 21:19:20 GMT	[thread overview]
Message-ID: <178302716008.1.1053317559845019294.rpms-perl-YAML-LibYAML-1e94d7694c7b@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-YAML-LibYAML
            Branch : rawhide
            Commit : 1e94d7694c7b344d22186e68f7989c213981abc2
            Author : Paul Howarth <paul@city-fan.org>
            Date   : 2026-07-02T22:18:46+01:00
            Stats  : +15/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-YAML-LibYAML/c/1e94d7694c7b344d22186e68f7989c213981abc2?branch=rawhide

            Log:
            Fix test failures on ppc64le

https://github.com/ingydotnet/yaml-libyaml-pm/issues/133

---
diff --git a/YAML-LibYAML-v0.909.0-GH133.patch b/YAML-LibYAML-v0.909.0-GH133.patch
new file mode 100644
index 0000000..0357417
--- /dev/null
+++ b/YAML-LibYAML-v0.909.0-GH133.patch
@@ -0,0 +1,10 @@
+--- YAML-LibYAML-v0.909.0/LibYAML/LibYAML.xs
++++ YAML-LibYAML-v0.909.0/LibYAML/LibYAML.xs
+@@ -65,6 +65,7 @@ new(char *class_name, ...)
+             yaml->anchor_prefix = "";
+             yaml->cyclic_refs = 0;
+             yaml->utf8 = 0;
++            yaml->boolean = 0;
+             hash = newHV();
+ 
+             if (items > 1) {

diff --git a/perl-YAML-LibYAML.spec b/perl-YAML-LibYAML.spec
index 632dfee..841d78c 100644
--- a/perl-YAML-LibYAML.spec
+++ b/perl-YAML-LibYAML.spec
@@ -14,6 +14,7 @@ License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/YAML-LibYAML
 Source0:        https://cpan.metacpan.org/authors/id/T/TI/TINITA/YAML-LibYAML-v%{version}.tar.gz
 Patch0:         YAML-LibYAML-0.79-Unbundled-libyaml.patch
+Patch1:         YAML-LibYAML-v0.909.0-GH133.patch
 
 # Build
 BuildRequires:  coreutils
@@ -112,6 +113,10 @@ for F in `find t -name *.t`; do
     chmod +x "$F"
 done
 
+# Fix test failures on ppc64le
+# https://github.com/ingydotnet/yaml-libyaml-pm/issues/133
+%patch -P 1 -p1
+
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
 %{make_build}

                 reply	other threads:[~2026-07-02 21:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178302716008.1.1053317559845019294.rpms-perl-YAML-LibYAML-1e94d7694c7b@fedoraproject.org \
    --to=paul@city-fan.org \
    --cc=git-commits@fedoraproject.org \
    /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