public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/liblouisutdml] f45: Fix build
Date: Wed, 09 Sep 2026 21:33:45 GMT	[thread overview]
Message-ID: <178898962591.1.12773818530048837080.rpms-liblouisutdml-1a85c7229e14@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/liblouisutdml
            Branch : f45
            Commit : 1a85c7229e14b802a7a4da8f4ab7f43b925ad8ac
            Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
            Date   : 2026-09-09T23:32:58+02:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/liblouisutdml/c/1a85c7229e14b802a7a4da8f4ab7f43b925ad8ac?branch=f45

            Log:
            Fix build

The undefined attribute was causing the package to FTBFS. I need to
rebuild it for updated libxml2 soon, so make it build again.

---
diff --git a/liblouisutdml.spec b/liblouisutdml.spec
index dcf9c9a..decea88 100644
--- a/liblouisutdml.spec
+++ b/liblouisutdml.spec
@@ -81,7 +81,7 @@ provided by %{name}-utils.
 %build
 autoreconf -fi
 %configure --disable-static --disable-java-bindings
-make %{?_smp_mflags}
+make %{?_smp_mflags} "CFLAGS=$CFLAGS -DATTRIBUTE_UNUSED='__attribute__((unused))'"
 make -C doc liblouisutdml.pdf
 
 %check

                 reply	other threads:[~2026-09-09 21:33 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=178898962591.1.12773818530048837080.rpms-liblouisutdml-1a85c7229e14@fedoraproject.org \
    --to=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