commit:     82b56a875f302329b8be9bfb421dc2b9516063e2
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  6 22:25:00 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Mar  6 22:25:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82b56a87

games-util/vispatch: Bump to 1.4.7, drop old 1.4.6

Closes: https://bugs.gentoo.org/950698
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 games-util/vispatch/Manifest                       |  2 +-
 ...vispatch-1.4.6.ebuild => vispatch-1.4.7.ebuild} | 22 +++++++++-------------
 2 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/games-util/vispatch/Manifest b/games-util/vispatch/Manifest
index 5e7bc4b7b714..9290db18cf65 100644
--- a/games-util/vispatch/Manifest
+++ b/games-util/vispatch/Manifest
@@ -1 +1 @@
-DIST vispatch-1.4.6.tgz 227850 BLAKE2B 
5d403807d4c276e555c15da2e808fa408a54b766ac3db27f4159676689ebcfd8fedf4c43a3d8a7d39d80c29c20588d1805476ea61f4e88322b3d27f3e103b6ae
 SHA512 
0034660c1ba238360cc5b71e846d2117f76af2340fcee2a0a25b42d1e200ec7231796b45d89335bf7e303379d9f5c03f4f0a9b22a1a54da356ac9a41b24abcc1
+DIST vispatch-1.4.7.tgz 132222 BLAKE2B 
9a8e0fc74a50ebda653b39eb23ad31c9f113238f1de8cce85626c0261d498855c24f8a9b7906966d642c95205af22664b6a08c077c8fe2a30394c456205f9f82
 SHA512 
572eb13cbf2c984c98b80abb98606b87ee1b45eac81d8077cb9d26968911f56be4b0fb9a744710532f955f3515ac929a05151c42e72fd7e9bae50052c57fae2d

diff --git a/games-util/vispatch/vispatch-1.4.6.ebuild 
b/games-util/vispatch/vispatch-1.4.7.ebuild
similarity index 59%
rename from games-util/vispatch/vispatch-1.4.6.ebuild
rename to games-util/vispatch/vispatch-1.4.7.ebuild
index 0f128275d89c..fec01c71f88f 100644
--- a/games-util/vispatch/vispatch-1.4.6.ebuild
+++ b/games-util/vispatch/vispatch-1.4.7.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit toolchain-funcs
 
-DESCRIPTION="WaterVIS utility for glquake"
+DESCRIPTION="WaterVIS utility for GLQuake"
 HOMEPAGE="https://vispatch.sourceforge.net/";
 SRC_URI="https://downloads.sourceforge.net/vispatch/${P}.tgz";
 S="${WORKDIR}"/${P}/source
@@ -14,18 +14,14 @@ LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-src_prepare() {
-       default
-
-       sed -i \
-               -e '/^CFLAGS/d' \
-               -e '/^LDFLAGS/d' \
-               makefile || die
-
-       tc-export CC
+src_compile() {
+       emake \
+               CC="$(tc-getCC)" \
+               OPTIMIZATIONS="${CFLAGS}" \
+               LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {
        dobin ${PN}
-       dodoc ${PN}.txt
+       dodoc ../${PN}.txt
 }

Reply via email to