From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 970391382C5 for ; Sat, 9 Jan 2021 13:54:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DA6C4E0815; Sat, 9 Jan 2021 13:54:31 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5AE0E0815 for ; Sat, 9 Jan 2021 13:54:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E5A8A341092 for ; Sat, 9 Jan 2021 13:54:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9E4B8C3 for ; Sat, 9 Jan 2021 13:54:29 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1610200464.e18892e3c3999a40df06e44cbac706ede58243e6.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-omap/, x11-drivers/xf86-video-omap/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-drivers/xf86-video-omap/files/xf86-video-omap-0.4.5-null-dereference.patch x11-drivers/xf86-video-omap/xf86-video-omap-0.4.5.ebuild X-VCS-Directories: x11-drivers/xf86-video-omap/ x11-drivers/xf86-video-omap/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e18892e3c3999a40df06e44cbac706ede58243e6 X-VCS-Branch: master Date: Sat, 9 Jan 2021 13:54:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b089dd08-7594-4b34-b739-3df4ae7300f4 X-Archives-Hash: c95730132a4379d5112fcb9f32e71ffd commit: e18892e3c3999a40df06e44cbac706ede58243e6 Author: Sam James gentoo org> AuthorDate: Sat Jan 9 13:54:21 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jan 9 13:54:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e18892e3 x11-drivers/xf86-video-omap: fix build Closes: https://bugs.gentoo.org/707358 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> .../files/xf86-video-omap-0.4.5-null-dereference.patch | 13 +++++++++++++ x11-drivers/xf86-video-omap/xf86-video-omap-0.4.5.ebuild | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/x11-drivers/xf86-video-omap/files/xf86-video-omap-0.4.5-null-dereference.patch b/x11-drivers/xf86-video-omap/files/xf86-video-omap-0.4.5-null-dereference.patch new file mode 100644 index 00000000000..8345a53105b --- /dev/null +++ b/x11-drivers/xf86-video-omap/files/xf86-video-omap-0.4.5-null-dereference.patch @@ -0,0 +1,13 @@ +https://sources.debian.org/patches/xf86-video-omap/0.4.5-1.1/null-dereference.patch/ +https://bugs.gentoo.org/707358 +--- a/src/omap_driver.c ++++ v/src/omap_driver.c +@@ -542,7 +542,7 @@ OMAPPreInit(ScrnInfoPtr pScrn, int flags + } + + if (!pScrn->chipset) { +- ERROR_MSG("Unknown chipset: %s", pScrn->chipset); ++ ERROR_MSG("Unknown chipset"); + goto fail; + } + diff --git a/x11-drivers/xf86-video-omap/xf86-video-omap-0.4.5.ebuild b/x11-drivers/xf86-video-omap/xf86-video-omap-0.4.5.ebuild index 778cdcfeccc..a28ec1b05d2 100644 --- a/x11-drivers/xf86-video-omap/xf86-video-omap-0.4.5.ebuild +++ b/x11-drivers/xf86-video-omap/xf86-video-omap-0.4.5.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -12,3 +12,7 @@ KEYWORDS="arm" RDEPEND=">=x11-base/xorg-server-1.3 >=x11-libs/libdrm-2.4.36[video_cards_omap]" DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-0.4.5-null-dereference.patch" +)