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 B602F138334 for ; Mon, 30 Sep 2019 21:34:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47776E095E; Mon, 30 Sep 2019 21:34:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 2D388E095E for ; Mon, 30 Sep 2019 21:34:18 +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 8EE1C34B728 for ; Mon, 30 Sep 2019 21:34:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 36A9B824 for ; Mon, 30 Sep 2019 21:34:14 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1569879226.cb16966c9885f4a3f8a9f257dc890853bd1e46de.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/allegro/, media-libs/allegro/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/allegro/allegro-4.4.2-r2.ebuild media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch X-VCS-Directories: media-libs/allegro/ media-libs/allegro/files/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: cb16966c9885f4a3f8a9f257dc890853bd1e46de X-VCS-Branch: master Date: Mon, 30 Sep 2019 21:34:14 +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: 9ca6e01d-92f3-48f8-864d-3b8834a61728 X-Archives-Hash: d47866daba308de0926f127c9413f0fe commit: cb16966c9885f4a3f8a9f257dc890853bd1e46de Author: James Le Cuirot gentoo org> AuthorDate: Mon Sep 30 21:00:18 2019 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Mon Sep 30 21:33:46 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb16966c media-libs/allegro: Patch around GLX_RGBA_FLOAT_BIT issue in 4.4.2 Thanks to Pablo Yanez Trujillo for the patch. Closes: https://bugs.gentoo.org/672858 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: James Le Cuirot gentoo.org> media-libs/allegro/allegro-4.4.2-r2.ebuild | 1 + .../files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/media-libs/allegro/allegro-4.4.2-r2.ebuild b/media-libs/allegro/allegro-4.4.2-r2.ebuild index 5797f5829b3..dba29ec2a94 100644 --- a/media-libs/allegro/allegro-4.4.2-r2.ebuild +++ b/media-libs/allegro/allegro-4.4.2-r2.ebuild @@ -46,6 +46,7 @@ PATCHES=( "${FILESDIR}"/${P}-rpath.patch "${FILESDIR}"/${P}-Werror-format-security.patch # bug 540470 "${FILESDIR}"/${P}-glibc228.patch # bug 670781 + "${FILESDIR}"/${P}-GLX_RGBA_FLOAT_BIT.patch # bug 672858 ) src_prepare() { diff --git a/media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch b/media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch new file mode 100644 index 00000000000..54ff4f97fbb --- /dev/null +++ b/media-libs/allegro/files/allegro-4.4.2-GLX_RGBA_FLOAT_BIT.patch @@ -0,0 +1,20 @@ +--- a/addons/allegrogl/src/x.c 2019-01-27 20:35:26.209055856 +0100 ++++ b/addons/allegrogl/src/x.c 2019-01-27 20:38:54.135570782 +0100 +@@ -650,7 +650,7 @@ + return -1; + } + +- if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT)) { ++ if (!(render_type & GLX_RGBA_BIT) && !(render_type & GLX_RGBA_FLOAT_BIT_ARB)) { + TRACE(PREFIX_I "decode_fbconfig: Not RGBA mode\n"); + return -1; + } +@@ -674,7 +674,7 @@ + /* Floating-point depth is not supported as glx extension (yet). */ + i->float_depth = 0; + +- i->float_color = (render_type & GLX_RGBA_FLOAT_BIT); ++ i->float_color = (render_type & GLX_RGBA_FLOAT_BIT_ARB); + + v = glXGetVisualFromFBConfig(_xwin.display, fbc); + if (!v) {