From patchwork Mon Nov 9 21:38:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1397161 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=C+4tj5h3; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CVPWz5T0Gz9s1l for ; Tue, 10 Nov 2020 08:39:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8A705860EA; Mon, 9 Nov 2020 21:39:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9LFmcfHF9lAO; Mon, 9 Nov 2020 21:39:08 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D2584860C8; Mon, 9 Nov 2020 21:39:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 041E81BF317 for ; Mon, 9 Nov 2020 21:39:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id EA9F78700F for ; Mon, 9 Nov 2020 21:39:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u0W+D6Pe77Ti for ; Mon, 9 Nov 2020 21:39:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) by hemlock.osuosl.org (Postfix) with ESMTPS id 221DA85E93 for ; Mon, 9 Nov 2020 21:39:07 +0000 (UTC) Received: by mail-wr1-f53.google.com with SMTP id d12so8916108wrr.13 for ; Mon, 09 Nov 2020 13:39:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PSjMHxV3GSG3qiRAOkXVdzJhhwttpGglDw+8vkqe7qU=; b=C+4tj5h3k4ARtD5hoeC4F3SkX/AIJEFAOSkjILyrO/SOsrRYTkTlDObp9MOSUZF1JA 9ix7bl3pwbjlhsZcjjYACdQm4nDK5QDA+vb8F9fhxLWKOTMZvyJQGQXfbIdrf46OAeYa nsaZWWm1d6OfJupEf8SI4OlkzGA4AKWiYzI3J9STMlfyxng89f2m3LQwNDOByp7oTt2E gYzPIr/nuX/vtJXq2bDe652mItSbgqCF1ihvGuy4a64XFcm4QLTvdkBGiJY2jcABO6vi x49hVhMi+zxZlx4sEPX0R2e32uxR4BZhMZX2WG0w8+Qe9sFSJJw7lZ06q+VI8BZ/9CQ5 wVJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PSjMHxV3GSG3qiRAOkXVdzJhhwttpGglDw+8vkqe7qU=; b=FhYWRhXit/ceLCCWJLn9Vityh85ZHbKzU3GSV4L69iT1RKRp45LXCsbX52DHkN6HwJ bg52dB3KzVyD7ZIMgCCgQU9foalYqGYs6ZYStv4oI4CbXsNqjeCS+AsNUSupbZKjQIvt non766Fx3S6A5DDFIzsbDilNfnBDS2jFvITRjwtHb66+NzF8vq+AqI0pW56w4aJXk4r3 9QiTukeFF+yZwgi3NSQnAo8vq48il/BI6zTe9tlMsiKp7XH2BLOOLCkzCMrpucIrNwlv TKRz6Wkjp7CTXXKLU5Oh7AsOxbupoRFNeEAg4vj/GTOvpAFJVd89pPw1LvJqRnIe+/sc QqxQ== X-Gm-Message-State: AOAM533Bm8NQp2xyVT2nPluXzueh7t1jDgmUp2gq+3WlYeEkpQI6/xM4 Nab5nJChOSWBulf1ZRrJ729zPbvjJNazfQ== X-Google-Smtp-Source: ABdhPJxKhJMLsyDkpx3EqLbH6Z1rMyNZiAiz2hEKSx7bnOKUeLCf9zcWVtMthkezxU+8HuAvooT1Xw== X-Received: by 2002:adf:8382:: with SMTP id 2mr20315379wre.227.1604957945185; Mon, 09 Nov 2020 13:39:05 -0800 (PST) Received: from kali.home (lfbn-ren-1-924-126.w83-197.abo.wanadoo.fr. [83.197.238.126]) by smtp.gmail.com with ESMTPSA id u23sm733451wmc.32.2020.11.09.13.39.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 13:39:04 -0800 (PST) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Mon, 9 Nov 2020 22:38:56 +0100 Message-Id: <20201109213856.610071-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: dvbsubenc needs gcc 4.9 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" 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++) { ^ Fixes: - http://autobuild.buildroot.org/results/183e876d63340b5c204f47a4653cbfebb0523277 Signed-off-by: Fabrice Fontaine --- package/gstreamer1/gst1-plugins-bad/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in index 191820df1d..87a047b779 100644 --- a/package/gstreamer1/gst1-plugins-bad/Config.in +++ b/package/gstreamer1/gst1-plugins-bad/Config.in @@ -89,9 +89,13 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBENC bool "dvbsubenc" + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 help DVB subpicture encoding support +comment "dvbsubenc plugin needs a toolchain w/ gcc >= 4.9" + depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 + config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVBSUBOVERLAY bool "dvbsuboverlay" help