diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-09-05 15:15:32 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-09-05 16:28:35 -0400 |
commit | b25eab4c71fa4ed2fb4fc556810897e8b8423ad8 (patch) | |
tree | 658c756525178a197791127d52a84fa82cbd71dc /media-libs | |
parent | dev-libs/wayland-protocols: Drop old versions (diff) | |
download | gentoo-b25eab4c71fa4ed2fb4fc556810897e8b8423ad8.tar.gz gentoo-b25eab4c71fa4ed2fb4fc556810897e8b8423ad8.tar.bz2 gentoo-b25eab4c71fa4ed2fb4fc556810897e8b8423ad8.zip |
media-libs/glu: Drop old versions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/glu/Manifest | 1 | ||||
-rw-r--r-- | media-libs/glu/files/glu-9.0.2-clang-16-register.patch | 30 | ||||
-rw-r--r-- | media-libs/glu/glu-9.0.2.ebuild | 41 |
3 files changed, 0 insertions, 72 deletions
diff --git a/media-libs/glu/Manifest b/media-libs/glu/Manifest index 037938c1394a..d46a5efadcbb 100644 --- a/media-libs/glu/Manifest +++ b/media-libs/glu/Manifest @@ -1,2 +1 @@ -DIST glu-9.0.2.tar.xz 436176 BLAKE2B 90485938e4809ce7bb56da25bd60be9f3f7b7f40d511ea6635e40d749e519d1dca6241d891224d3cf331b911f545df4ef9aa2101baf4e3b18df69244edbcb8a4 SHA512 2517d7406bb643d12c017a95dcb5d8716f307344332638bcbdf274a90752a7c22165d34745f1b082ed916bb07d40e62d1d1d67d96426225be63166f3480d6f64 DIST glu-9.0.3.tar.xz 218968 BLAKE2B a6fc842004dcca4243ef285e26806afdfb931d21985ad8f9a3f03f438e66b810718bf04e588044ed8db99990e49f806d346dc2ce69cfa91450f046a4dfa39136 SHA512 b2781059c0e176192c3fc0d7244645020937a463311171efddb9f35fb94ee43faabcf627fa7f429d48fceaf6dd9c5adb69c86c7a21ec4ea490f4ab143d52e3ba diff --git a/media-libs/glu/files/glu-9.0.2-clang-16-register.patch b/media-libs/glu/files/glu-9.0.2-clang-16-register.patch deleted file mode 100644 index c06d893f1151..000000000000 --- a/media-libs/glu/files/glu-9.0.2-clang-16-register.patch +++ /dev/null @@ -1,30 +0,0 @@ -https://bugs.gentoo.org/894314 -https://gitlab.freedesktop.org/mesa/glu/-/merge_requests/10 - -From b6c308172993dfd0f76ee9f4fe083cff8c51ced8 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Fri, 13 Jan 2023 20:58:07 -0800 -Subject: [PATCH] Remove deprecated register in C++17 - -Fixes errors like - -src/libnurbs/internals/varray.cc:76:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - register long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]); - ^~~~~~~~~ - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- a/src/libnurbs/internals/varray.cc -+++ b/src/libnurbs/internals/varray.cc -@@ -73,8 +73,8 @@ Varray::~Varray( void ) - inline void - Varray::update( Arc_ptr arc, long dir[2], REAL val ) - { -- register long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]); -- register long dt = sgn(arc->tail()[1] - arc->prev->tail()[1]); -+ long ds = sgn(arc->tail()[0] - arc->prev->tail()[0]); -+ long dt = sgn(arc->tail()[1] - arc->prev->tail()[1]); - - if( dir[0] != ds || dir[1] != dt ) { - dir[0] = ds; --- -GitLab diff --git a/media-libs/glu/glu-9.0.2.ebuild b/media-libs/glu/glu-9.0.2.ebuild deleted file mode 100644 index 080aba661db9..000000000000 --- a/media-libs/glu/glu-9.0.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/glu.git" - -if [[ ${PV} = 9999* ]]; then - GIT_ECLASS="git-r3" -fi - -inherit meson-multilib ${GIT_ECLASS} - -DESCRIPTION="The OpenGL Utility Library" -HOMEPAGE="https://gitlab.freedesktop.org/mesa/glu" - -if [[ ${PV} = 9999* ]]; then - SRC_URI="" -else - SRC_URI="https://mesa.freedesktop.org/archive/glu/${P}.tar.xz" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris" -fi - -LICENSE="SGI-B-2.0" -SLOT="0" -IUSE="static-libs" - -DEPEND=">=virtual/opengl-7.0-r1[${MULTILIB_USEDEP}]" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-9.0.2-clang-16-register.patch -) - -multilib_src_configure() { - local emesonargs=( - -Ddefault_library=$(usex static-libs both shared) - -Dgl_provider=glvnd - ) - meson_src_configure -} |