diff options
author | Sam James <sam@gentoo.org> | 2021-01-09 13:54:21 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-01-09 13:54:24 +0000 |
commit | e18892e3c3999a40df06e44cbac706ede58243e6 (patch) | |
tree | fca4cd555f5727cef777d8249ed8b4ab2761aad9 /x11-drivers | |
parent | net-misc/socat: Fixed build on 32bit arches (diff) | |
download | gentoo-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.patch | 13 | ||||
-rw-r--r-- | x11-drivers/xf86-video-omap/xf86-video-omap-0.4.5.ebuild | 6 |
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" +) |