summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-01-09 13:54:21 +0000
committerSam James <sam@gentoo.org>2021-01-09 13:54:24 +0000
commite18892e3c3999a40df06e44cbac706ede58243e6 (patch)
treefca4cd555f5727cef777d8249ed8b4ab2761aad9 /x11-drivers
parentnet-misc/socat: Fixed build on 32bit arches (diff)
downloadgentoo-e18892e3c3999a40df06e44cbac706ede58243e6.tar.gz
gentoo-e18892e3c3999a40df06e44cbac706ede58243e6.tar.bz2
gentoo-e18892e3c3999a40df06e44cbac706ede58243e6.zip
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@gentoo.org>
Diffstat (limited to 'x11-drivers')
-rw-r--r--x11-drivers/xf86-video-omap/files/xf86-video-omap-0.4.5-null-dereference.patch13
-rw-r--r--x11-drivers/xf86-video-omap/xf86-video-omap-0.4.5.ebuild6
2 files changed, 18 insertions, 1 deletions
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 000000000000..8345a53105b5
--- /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 778cdcfeccc9..a28ec1b05d23 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"
+)