Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: dvbsubenc needs gcc 4.9
Date: Tue, 10 Nov 2020 09:54:46 +0100	[thread overview]
Message-ID: <87imadpp61.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20201109213856.610071-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 9 Nov 2020 22:38:56 +0100")

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > dvbsubenc fails to build with gcc 4.8 due to restrict keyword and for
 > loop declarations:

 > ../gst/dvbsubenc/libimagequant/blur.c:10:46: error: expected ';', ',' or ')' before 'src'
 >  transposing_1d_blur (unsigned char *restrict src, unsigned char *restrict dst,
 >                                               ^
 > ../gst/dvbsubenc/libimagequant/blur.c: In function 'liq_min3':
 > ../gst/dvbsubenc/libimagequant/blur.c:101:5: error: 'for' loop initial declarations are only allowed in C99 mode
 >      for (unsigned int i = 0; i < width - 1; i++) {
 >      ^

I have instead pushed a commit to pass -std=c99 in CFLAGS. The festival
plugin also had issues with this toolchain because of the old glibc
version, so I pushed another commit to fix that as well.

-- 
Bye, Peter Korsgaard

      reply	other threads:[~2020-11-10  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-09 21:38 [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: dvbsubenc needs gcc 4.9 Fabrice Fontaine
2020-11-10  8:54 ` Peter Korsgaard [this message]

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=87imadpp61.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@busybox.net \
    /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