summaryrefslogtreecommitdiff
path: root/games-util
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-26 01:01:01 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-26 01:01:01 +0000
commit970b06af05f42e54a47439caaa9bd9a31ee30142 (patch)
tree7d58838b2008550a4c1d06b306efafa0e4624542 /games-util
parentfc68863e718441fe15bb0dea2ca03ea06a6f558d (diff)
gentoo auto-resync : 26:03:2024 - 01:01:01
Diffstat (limited to 'games-util')
-rw-r--r--games-util/Manifest.gzbin8228 -> 8226 bytes
-rw-r--r--games-util/loki_patch/Manifest5
-rw-r--r--games-util/loki_patch/files/loki_patch-20091105-xdelta-gzip.patch44
-rw-r--r--games-util/loki_patch/loki_patch-20091105-r1.ebuild (renamed from games-util/loki_patch/loki_patch-20091105.ebuild)8
-rw-r--r--games-util/loki_patch/metadata.xml11
5 files changed, 59 insertions, 9 deletions
diff --git a/games-util/Manifest.gz b/games-util/Manifest.gz
index b8236607389c..2d16306b736c 100644
--- a/games-util/Manifest.gz
+++ b/games-util/Manifest.gz
Binary files differ
diff --git a/games-util/loki_patch/Manifest b/games-util/loki_patch/Manifest
index b9e7b8e70026..76c617654755 100644
--- a/games-util/loki_patch/Manifest
+++ b/games-util/loki_patch/Manifest
@@ -1,6 +1,7 @@
AUX loki_patch-20091105-build.patch 4619 BLAKE2B df4baad3059b3f147570f9af23664ebbd6f9e156c3cd248c1b6775b2fad9db058144a178f265ec6e62e95ddc731ce8c7bb10a8ca20199ae1ddd1970c863d3993 SHA512 477dea6fe3c66416205ff583f2c220e3cd7b25bb97dffc21b8420ce08ffe02e0c6705c51942298cfb867e7a04bc30ce80859f905e7dbfb0121f5b62e47501d85
AUX loki_patch-20091105-patchdata.patch 261 BLAKE2B b55e36397b3ebf9fc1255b32a60a2fb527c89003d353c4fb9a118b9b150d314f397cfe53f52214abb3c3b2c9d4bdfe50e818b17ed745a4eac24c9f43346dc514 SHA512 858d1a792743ab9295ec2d3d23b9c4334425f6e8b1c79bdf960fb3e93d5c4066678aa764e84362034a44404dbc5e48a283acec504ae02fa694195909fce15e3f
+AUX loki_patch-20091105-xdelta-gzip.patch 1285 BLAKE2B 42c5aaa196aac0aa4c613a1a178af245277ceeb84605327a4ff93db7b5512f0c7d30c5939019c41e58494e6dd9070fbc992f4606e8918cf1e20b1bcb1919d4dc SHA512 e702d2a6794c6cf5b33e0bc1825e1ac26e7cddd24080b5adfa486467abed5162bef0fe9a63fdd21ce09983f3f4ad4b842d531e263195413260a7c9074d8c52ff
DIST loki_patch-20091105.tar.bz2 331725 BLAKE2B a3fa2e1c594d3484830527276ebd24f6e1c56f924b815fd3e2a12f802bccfd556017084a094508c531badd568158eb68fa3d608c30a55110de24410088fc5275 SHA512 9db40b1746ecf5603c09be3ddf01bf92cfc6b3d1c35ac7153751e1871840175c538af98c22f458658bcbebac65ccddccc1aee92a88300a243b8e68bda13ca323
DIST loki_setupdb-20091105.tar.bz2 60725 BLAKE2B d3bed3d6b9123093b307f9c735f14c630f8ebfd2b228d6268cf97e8016ec83fa18b3b390e84facd42afe5d3f707bfb63a48e21a6b002a7d0583fdbde907567dc SHA512 ba55b24a6e2b2b6268dec9df8ec0581d852461b5c07ca97a24ebee3e55fe5764dffbbcfdb6b18a80677f2fae1e7701df4fbca0f6af8ef8050c662f5a39daf25d
-EBUILD loki_patch-20091105.ebuild 974 BLAKE2B c4c45c9997dded498912f271d457bb2542d1457fc87957ed4b640a7ff089510511ba6470d9c3357b68c918f009d80fae7bfab5873c9c2dc5e8fe3497aeae75e3 SHA512 eeda30dcff747f41dcb322d65f0d7c8bbaae25ecd2f1e08e36ee73d3ab9d66685d109795fbab78eb21c19fe215e7bca22a956a5a7311e512d89500ee182cf330
-MISC metadata.xml 250 BLAKE2B 8d44bd4c6e7d6491273e2015e36ddac74af7b94a124fd240ff030e16430f5c85e53ab812f0e3e94bb2e6d138f39b512bbe01ff98b0081cacc21a02d648ec7643 SHA512 80ac07a3cac10ad2e72e9989a130b7d2073934fe92914a9db2af4d0e769d4bf537770f8faba0654bbd64a7e85ee38cf1f9d03b4b9cd322864b1b2bb35087d610
+EBUILD loki_patch-20091105-r1.ebuild 1016 BLAKE2B 2c2e4474977b0511f2386f3d25509e8483685278b345f89326aa47afa1e3baa6e1e4ca5919fcc0e9c7cab7c526aa780dc7d2480f866ddb2387c389c8f4a021ad SHA512 a37da352be729ce82abd93bd01c9cf659181f17dc216348749100c66a77f1770e8db5bca173352938e0a4eb97500e33f49e79835d364cdc462b9c19ab58f0e1c
+MISC metadata.xml 337 BLAKE2B 6b9c07d180befc1ffaa486c4754881b3cdb2d2f2adad9cb83961fdc46020b79f47043d83df10fd7d59357a3b31a6c6bc7321eead9abc82c0c25b1b681f623999 SHA512 ec03752c22349a626b78fa0b281c97a5536fba5d730b01ac1a8e58836cb4f17d2abb64cc3a999d4663a81732f45de180de44a6b2b7f2cca154ac89f602b41599
diff --git a/games-util/loki_patch/files/loki_patch-20091105-xdelta-gzip.patch b/games-util/loki_patch/files/loki_patch-20091105-xdelta-gzip.patch
new file mode 100644
index 000000000000..ec4eeb758a3a
--- /dev/null
+++ b/games-util/loki_patch/files/loki_patch-20091105-xdelta-gzip.patch
@@ -0,0 +1,44 @@
+--- a/loki_patch/loki_xdelta.c
++++ b/loki_patch/loki_xdelta.c
+@@ -179,6 +179,7 @@ struct _XdFileHandle
+ guint narrow_high;
+ guint current_pos;
+ FILE* in;
++ gzFile zin;
+ gboolean (* in_read) (XdFileHandle* handle, void* buf, gint nbyte);
+ gboolean (* in_close) (XdFileHandle* handle);
+ gboolean in_compressed;
+@@ -520,7 +521,7 @@ xd_gzwrite (XdFileHandle* fh, const void* buf, gint nbyte)
+ static gboolean
+ xd_gzread (XdFileHandle* fh, void* buf, gint nbyte)
+ {
+- return gzread (fh->in, buf, nbyte) == nbyte;
++ return gzread (fh->zin, buf, nbyte) == nbyte;
+ }
+
+ static gboolean
+@@ -532,7 +533,7 @@ xd_gzclose (XdFileHandle* fh)
+ static gboolean
+ xd_gzrclose (XdFileHandle* fh)
+ {
+- return gzclose (fh->in) == Z_OK;
++ return gzclose (fh->zin) == Z_OK;
+ }
+
+ static void
+@@ -1022,13 +1023,13 @@ xd_handle_narrow (XdFileHandle* fh, guint low, guint high, gboolean compressed)
+ }
+
+ g_assert (fh->fd >= 0);
+- fh->in = gzdopen (dup (fh->fd), "rb");
++ fh->zin = gzdopen (dup (fh->fd), "rb");
+ fh->in_read = &xd_gzread;
+ fh->in_close = &xd_gzrclose;
+ fh->in_compressed = TRUE;
+ fh->current_pos = 0;
+
+- if (! fh->in)
++ if (! fh->zin)
+ {
+ xd_error ("gzdopen failed: %s\n", g_strerror (errno));
+ return -1;
diff --git a/games-util/loki_patch/loki_patch-20091105.ebuild b/games-util/loki_patch/loki_patch-20091105-r1.ebuild
index 1fc2b57f633a..aba786f80e73 100644
--- a/games-util/loki_patch/loki_patch-20091105.ebuild
+++ b/games-util/loki_patch/loki_patch-20091105-r1.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools
DESCRIPTION="Loki Software binary patch tool"
-HOMEPAGE="http://www.icculus.org/loki_setup/"
+HOMEPAGE="https://github.com/icculus/loki_patch"
SRC_URI="
mirror://gentoo/${P}.tar.bz2
mirror://gentoo/loki_setupdb-${PV}.tar.bz2"
@@ -23,9 +23,11 @@ DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}"
+
PATCHES=(
"${FILESDIR}"/${P}-build.patch
"${FILESDIR}"/${P}-patchdata.patch
+ "${FILESDIR}"/${P}-xdelta-gzip.patch
)
src_prepare() {
diff --git a/games-util/loki_patch/metadata.xml b/games-util/loki_patch/metadata.xml
index 1c3ba213c494..5b4310eed8d7 100644
--- a/games-util/loki_patch/metadata.xml
+++ b/games-util/loki_patch/metadata.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
-</maintainer>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">icculus/loki_patch</remote-id>
+ </upstream>
</pkgmetadata>