summaryrefslogtreecommitdiff
path: root/games-util/loki_patch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:35:26 -0500
commitf716a9fe6455d39eef01e718aae68dae61c19704 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /games-util/loki_patch
parent3f9cf298e89cd5037b982abba06091224ee76daf (diff)
downloadbaldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.gz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.tar.xz
baldeagleos-repo-f716a9fe6455d39eef01e718aae68dae61c19704.zip
Adding metadata
Diffstat (limited to 'games-util/loki_patch')
-rw-r--r--games-util/loki_patch/Manifest2
-rw-r--r--games-util/loki_patch/files/loki_patch-20091105-build.patch180
-rw-r--r--games-util/loki_patch/files/loki_patch-20091105-patchdata.patch11
-rw-r--r--games-util/loki_patch/files/loki_patch-20091105-xdelta-gzip.patch44
-rw-r--r--games-util/loki_patch/loki_patch-20091105-r2.ebuild61
-rw-r--r--games-util/loki_patch/metadata.xml11
6 files changed, 0 insertions, 309 deletions
diff --git a/games-util/loki_patch/Manifest b/games-util/loki_patch/Manifest
deleted file mode 100644
index d6777d541eda..000000000000
--- a/games-util/loki_patch/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST loki_patch-20091105.tar.bz2 331725 BLAKE2B a3fa2e1c594d3484830527276ebd24f6e1c56f924b815fd3e2a12f802bccfd556017084a094508c531badd568158eb68fa3d608c30a55110de24410088fc5275 SHA512 9db40b1746ecf5603c09be3ddf01bf92cfc6b3d1c35ac7153751e1871840175c538af98c22f458658bcbebac65ccddccc1aee92a88300a243b8e68bda13ca323
-DIST loki_setupdb-20091105.tar.bz2 60725 BLAKE2B d3bed3d6b9123093b307f9c735f14c630f8ebfd2b228d6268cf97e8016ec83fa18b3b390e84facd42afe5d3f707bfb63a48e21a6b002a7d0583fdbde907567dc SHA512 ba55b24a6e2b2b6268dec9df8ec0581d852461b5c07ca97a24ebee3e55fe5764dffbbcfdb6b18a80677f2fae1e7701df4fbca0f6af8ef8050c662f5a39daf25d
diff --git a/games-util/loki_patch/files/loki_patch-20091105-build.patch b/games-util/loki_patch/files/loki_patch-20091105-build.patch
deleted file mode 100644
index e17007e57a75..000000000000
--- a/games-util/loki_patch/files/loki_patch-20091105-build.patch
+++ /dev/null
@@ -1,180 +0,0 @@
---- a/loki_patch/configure.in
-+++ b/loki_patch/configure.in
-@@ -1,4 +1,4 @@
--AC_INIT(README)
-+AC_INIT(loki_patch, 1.0.2)
-
- dnl Define the release numbers here
-
-@@ -10,13 +10,14 @@
- AC_CANONICAL_HOST
- AC_CANONICAL_TARGET
-
-+AM_INIT_AUTOMAKE(foreign no-dependencies)
- AC_PROG_CC
- AC_PROG_MAKE_SET
- AC_PROG_INSTALL
-
- AC_CHECK_HEADERS(unistd.h)
-
--CFLAGS="-fsigned-char -funroll-loops -Wall -g -O2"
-+CFLAGS="$CFLAGS -fsigned-char -Wall"
-
- case "$target" in
- *i?86*)
-@@ -32,17 +33,12 @@
- OS=`uname -s`
-
- dnl Look for the XML libraries
-+PKG_CHECK_MODULES(XML, libxml-2.0)
-+AC_SUBST(XML_LIBS)
-
--AC_PATH_PROG(HAVEXML, xml-config, $PATH)
--if test ! -z "$HAVEXML"; then
-- XML_CFLAGS=`$HAVEXML --cflags`
-- XML_PREFIX=`$HAVEXML --prefix`
--
-- CFLAGS="$CFLAGS $XML_CFLAGS"
-- LIBS="$LIBS $XML_PREFIX/lib/libxml.a"
--else
-- AC_MSG_ERROR([*** xml-config not found. You need a working libxml installation.])
--fi
-+PKG_CHECK_MODULES(XDELTA, xdelta)
-+AC_SUBST(XDELTA_CFLAGS)
-+AC_SUBST(XDELTA_LIBS)
-
- SETUPDB_VERSION=1.0.0
- SETUPDB="`pwd`/../loki_setupdb-$SETUPDB_VERSION"
-@@ -57,14 +53,6 @@
- SETUPDB=$with_setupdb
- fi
-
--dnl Check for correct setupdb installation
--
--if test -f $SETUPDB/$ARCH/libsetupdb.a; then
-- AC_MSG_RESULT([SetupDB library found in $SETUPDB/$ARCH])
--else
-- AC_MSG_ERROR([*** Please compile setupdb first!])
--fi
--
- CFLAGS="$CFLAGS -I$SETUPDB"
-
- AC_SUBST(SETUPDB)
---- a/loki_patch/loki_xdelta.c
-+++ b/loki_patch/loki_xdelta.c
-@@ -49,7 +49,7 @@
-
- #define LOKI_PATCH
-
--#include "xdelta_inc/xdelta.h"
-+#include <xdelta.h>
-
- static HandleFuncTable xd_handle_table;
-
---- a/dev/null
-+++ b/loki_patch/Makefile.am
-@@ -0,0 +1,12 @@
-+COMMONSRC = load_patch.c size_patch.c print_patch.c \
-+ loki_xdelta.c mkdirhier.c log_output.c
-+
-+bin_PROGRAMS = make_patch loki_patch
-+
-+make_patch_SOURCES = $(COMMONSRC) make_patch.c tree_patch.c save_patch.c
-+
-+loki_patch_SOURCES = $(COMMONSRC) loki_patch.c apply_patch.c registry.c
-+
-+AM_CPPFLAGS = $(XDELTA_CFLAGS)
-+
-+LDADD = $(top_builddir)/../loki_setupdb/libsetupdb.a $(XDELTA_LIBS) $(XML_LIBS) -lz
---- a/loki_setupdb/configure.in
-+++ b/loki_setupdb/configure.in
-@@ -1,4 +1,4 @@
--AC_INIT
-+AC_INIT(setupdb, 1.6.5)
- AC_CONFIG_HEADER(config.h)
-
- dnl Define the release numbers here
-@@ -12,8 +12,7 @@
- PACKAGE_VERSION="$SETUPDB_VERSION_MAJOR.$SETUPDB_VERSION_MINOR.$SETUPDB_VERSION_RELEASE"
- PACKAGE_STRING="$PACKAGE_NAME v$PACKAGE_VERSION"
-
--test "x$CFLAGS" = x && CFLAGS="-O2"
--CFLAGS="$CFLAGS -fsigned-char -Wall -g -I."
-+CFLAGS="$CFLAGS -fsigned-char -Wall"
- REENTRANT="-D_REENTRANT"
-
- if test -d /usr/codehost/lib; then
-@@ -33,9 +32,11 @@
- AC_CANONICAL_HOST
- AC_CANONICAL_TARGET
-
-+AM_INIT_AUTOMAKE(foreign no-dependencies)
- AC_PROG_CC
- AC_PROG_MAKE_SET
--AC_PATH_PROGS(AR, [ar gar])
-+AM_PROG_AR
-+AC_PROG_RANLIB
-
- AC_CHECK_HEADERS(unistd.h)
- AC_CHECK_HEADERS(strings.h)
-@@ -128,7 +129,7 @@
-
- AC_CHECK_FUNCS(getopt, , GETOPT_C="getopt.c")
- AC_CHECK_FUNCS(getopt_long, , GETOPT_C="getopt.c")
--AC_CHECK_LIB(gnugetopt, getopt_long, LIBS="$LIBS $BSTATIC -lgnugetopt"; GETOPT_C="")
-+AC_CHECK_LIB(gnugetopt, getopt_long, LIBS="$LIBS -lgnugetopt"; GETOPT_C="")
-
- AC_SUBST(ARCH)
- AC_SUBST(STATIC)
-@@ -139,37 +140,8 @@
-
- dnl Look for the XML libraries
-
--XMLVER=""
--AC_ARG_WITH(libxml2,
--[ --with-libxml2 use libxml2 [default=libxml1]],
-- , with_libxml2=no)
--if test x$with_libxml2 != xno; then
-- XMLVER="2"
--fi
--
--AC_PATH_PROG(HAVEXML, xml${XMLVER}-config, $PATH)
--if test ! -z "$HAVEXML"; then
-- XML_CFLAGS=`$HAVEXML --cflags`
-- XML_PREFIX=`$HAVEXML --prefix`
--
-- if "$HAVEXML" --help|grep libtool-libs > /dev/null; then
-- XML_LIBTOOL=`$HAVEXML --libtool-libs`
-- if test -f "$XML_LIBTOOL"; then
-- . "$XML_LIBTOOL"
-- XML_LIBS="$dependency_libs"
-- else
-- XML_LIBS="-lm"
-- fi
-- elif "$HAVEXML" --libs | grep thread > /dev/null; then
-- XML_LIBS="$PTHREAD -lm"
-- fi
-- EXTRA_LIBS="$EXTRA_LIBS $XML_LIBS"
--
-- CFLAGS="$CFLAGS $XML_CFLAGS"
-- LIBS="$LIBS $XML_PREFIX/lib$LIBSUFFIX/libxml${XMLVER}.a $BSTATIC $ZLIB $BDYNAMIC $EXTRA_LIBS"
--else
-- AC_MSG_ERROR([*** xml-config not found. You need a working libxml installation.])
--fi
-+PKG_CHECK_MODULES(XML, libxml-2.0)
-+AC_SUBST(XML_CFLAGS)
-
- AC_ARG_WITH(vendor,
- [ --with-vendor with specified vendor prefix [default=loki]],
---- a/dev/null
-+++ b/loki_setupdb/Makefile.am
-@@ -0,0 +1,9 @@
-+noinst_LIBRARIES = libsetupdb.a
-+
-+libsetupdb_a_SOURCES = \
-+ arch.c brandelf.c convert.c md5.c register.c setupdb.c
-+
-+libsetupdb_a_CPPFLAGS = \
-+ -DSETUPDB_VERSION_MAJOR=$(SETUPDB_VERSION_MAJOR) \
-+ -DSETUPDB_VERSION_MINOR=$(SETUPDB_VERSION_MINOR) \
-+ $(XML_CFLAGS)
diff --git a/games-util/loki_patch/files/loki_patch-20091105-patchdata.patch b/games-util/loki_patch/files/loki_patch-20091105-patchdata.patch
deleted file mode 100644
index 403c24ed79f9..000000000000
--- a/games-util/loki_patch/files/loki_patch-20091105-patchdata.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/loki_patch/load_patch.c
-+++ b/loki_patch/load_patch.c
-@@ -8,7 +8,7 @@
- #include "load_patch.h"
- #include "log_output.h"
-
--#define BASE "patchdata"
-+#define BASE "data"
-
-
- int load_add_file(FILE *file, int *line_num, const char *dst, loki_patch *patch)
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
deleted file mode 100644
index ec4eeb758a3a..000000000000
--- a/games-util/loki_patch/files/loki_patch-20091105-xdelta-gzip.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- 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-r2.ebuild b/games-util/loki_patch/loki_patch-20091105-r2.ebuild
deleted file mode 100644
index ac184adcdbd1..000000000000
--- a/games-util/loki_patch/loki_patch-20091105-r2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Loki Software binary patch tool"
-HOMEPAGE="https://github.com/icculus/loki_patch"
-SRC_URI="
- mirror://gentoo/${P}.tar.bz2
- mirror://gentoo/loki_setupdb-${PV}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="
- dev-util/xdelta:0
- dev-libs/libxml2:=
- dev-libs/glib:2"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}"
-
-PATCHES=(
- "${FILESDIR}"/${P}-build.patch
- "${FILESDIR}"/${P}-patchdata.patch
- "${FILESDIR}"/${P}-xdelta-gzip.patch
-)
-
-src_prepare() {
- default
-
- cd loki_setupdb || die
- mv configure.{in,ac} || die
- eautoreconf
-
- cd "${S}"/${PN} || die
- mv configure.{in,ac} || die
- eautoreconf
-}
-
-src_configure() {
- cd loki_setupdb || die
- econf
- cd "${S}"/${PN} || die
- econf
-}
-
-src_compile() {
- emake -C loki_setupdb
- emake -C loki_patch
-}
-
-src_install() {
- cd ${PN} || die
- dobin loki_patch make_patch
- dodoc CHANGES NOTES README TODO
-}
diff --git a/games-util/loki_patch/metadata.xml b/games-util/loki_patch/metadata.xml
deleted file mode 100644
index 5b4310eed8d7..000000000000
--- a/games-util/loki_patch/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?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>
- <upstream>
- <remote-id type="github">icculus/loki_patch</remote-id>
- </upstream>
-</pkgmetadata>