summaryrefslogtreecommitdiff
path: root/games-action/koth
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-23 00:31:41 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-23 00:31:41 +0000
commitadd1c3acddd7a3f49fdb230135725463d2662921 (patch)
tree9cbe35db675b23a6afadbe3a78f9944ea8990f18 /games-action/koth
parent6fe1dafaa446d9bc41dea28a43551fffa73f6b87 (diff)
gentoo auto-resync : 23:03:2025 - 00:31:41
Diffstat (limited to 'games-action/koth')
-rw-r--r--games-action/koth/Manifest2
-rw-r--r--games-action/koth/files/koth-0.8.0-lto.patch13
-rw-r--r--games-action/koth/koth-0.8.0-r2.ebuild37
3 files changed, 52 insertions, 0 deletions
diff --git a/games-action/koth/Manifest b/games-action/koth/Manifest
index ecf92bfb9eca..debab27acd80 100644
--- a/games-action/koth/Manifest
+++ b/games-action/koth/Manifest
@@ -1,5 +1,7 @@
AUX koth-0.8.0-autotools.patch 467 BLAKE2B be5f9342bf18bbe292ae4b2f89d94011b81e88e8c80e37aa8da8f39db546a93dd106aa423a09b2b276b6226df09b8eed9c2a5dba9460adff0d75b1e4aaaed65f SHA512 4e3aa06f1dd73505ba4e1ac084e8d71999f41bb6823179cdf3224cc29d976d80b857aac9e0051b70ea27148cb9923a37bf1f29ea8fb763e60c36865ea7c14384
AUX koth-0.8.0-gcc.patch 1415 BLAKE2B c9ae5cd2e138a0de64f102d39e11328c7353d7114ca8a102559546345a0f7b23b5f5b6f68d6bf6ad6505c877cbe6e7e8279aa3092e32fcf79a20da0006fbfda9 SHA512 382d47fc3c967d461c72ac63668ff32b4ed597cd367301e10fa2cfc89ff672be78427e653af7e29b5aaeb56056740233b2c8743802c74070a800b956e609e3a5
+AUX koth-0.8.0-lto.patch 314 BLAKE2B e96de790aefa84e192dc8dafa60c5e224085c3bb0f5e8125c058c0ca3ae9bddd963e88c99916e309ad873d5f190c6c936e6709abea47c43bc296a83a11dc72f1 SHA512 05e805ae77f87a71c258b8eac65863555ac571c3893b1b2257332280bd05f30f662334ac9f196470ea4e9fcf07ca6a54d36403658aa97588ce1da663859d84bb
DIST koth-0.8.0.tar.bz2 140569 BLAKE2B cfcbba838238fbe45bccc800c258290531341623d4a57825f389a01278febe3b99d9459f4294cea9f4520c0dc76ad945266640c89687ab0b77a5348d2b88685a SHA512 edda377be9074298c63e85cad5f37f55dc67f0e9a7d075a94207559265ffbf8a5eadbd2dc0e4a06e535e6da9fcfd309d01141ba8be04cf8960b0229e0ce4ab9f
EBUILD koth-0.8.0-r1.ebuild 668 BLAKE2B 7f4cd1a3f93f58ca332074ab204084acbd49bc911b331b5ae5972dea447cd9abbec9c317a265da0abb69f2409d8ffd85417443bc228d9f83ddf2787a5c04ffcf SHA512 b89babb144ccd1a2784a47512a647a2386ca68ad62ff8a1babda159defca8f8e04ee8398726778d34dd0fe1bb41892cc21cf559fc331c10b177fadf181e0dc4c
+EBUILD koth-0.8.0-r2.ebuild 671 BLAKE2B d67e7f55790678e68c90facde0cdf207ad8deb7ec0b23dd90fb6d3d743625f446b33335a9536146542ccf9910a0b00d4edf21c3e0921ffa9a3fa82156b742f1a SHA512 17317e400cbd7a266cb1a69955fc7f1766368a7561ed7d55e11687c313902a243bd15b7a98289a00c416be855f21eaf53d013508ef739d9f6436a2f6d2112b63
MISC metadata.xml 563 BLAKE2B 68dd1701c70ca0f7a712c1ddc0dd8a8b03ff0ddc496a466872231a798fc5d999b285ba9a4f222d9fadc901b5e4e3fe4ac54e902fcfb1c6eee53a7eb571391161 SHA512 1d70c83b1258929b0883f05e32368b486d9e15c114f200d28f2701bfcfafd9e234dd6a235bdb8751864a135b7d466d159366a064a516013d7b5c1759ea8cbf5f
diff --git a/games-action/koth/files/koth-0.8.0-lto.patch b/games-action/koth/files/koth-0.8.0-lto.patch
new file mode 100644
index 000000000000..fea68a32d9fa
--- /dev/null
+++ b/games-action/koth/files/koth-0.8.0-lto.patch
@@ -0,0 +1,13 @@
+Remove extraneous inline that prevents successful linking under LTO
+https://bugs.gentoo.org/942296
+--- a/src/cfgfile.c
++++ b/src/cfgfile.c
+@@ -53,7 +53,7 @@
+ return result;
+ }
+
+-inline char *cfgClearWS(char *string)
++char *cfgClearWS(char *string)
+ {
+ char *ret = string, *temp;
+ while(isspace(*ret))
diff --git a/games-action/koth/koth-0.8.0-r2.ebuild b/games-action/koth/koth-0.8.0-r2.ebuild
new file mode 100644
index 000000000000..4f673b41458d
--- /dev/null
+++ b/games-action/koth/koth-0.8.0-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Multiplayer, networked game of little tanks with really big weapons"
+HOMEPAGE="https://www.nongnu.org/koth/"
+SRC_URI="https://savannah.nongnu.org/download/${PN}/default.pkg/${PV}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="media-libs/libggi"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-autotools.patch
+ "${FILESDIR}"/${P}-gcc.patch
+ "${FILESDIR}"/${P}-lto.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_install() {
+ default
+ dodoc doc/*.txt
+
+ insinto /etc/koth
+ doins src/koth.cfg
+}