* [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-omap/, x11-drivers/xf86-video-omap/files/
@ 2021-01-09 13:54 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2021-01-09 13:54 UTC (permalink / raw
To: gentoo-commits
commit: e18892e3c3999a40df06e44cbac706ede58243e6
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 9 13:54:21 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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"
+)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-09 13:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-09 13:54 [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-omap/, x11-drivers/xf86-video-omap/files/ Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox