diff options
author | Michele Santullo <m.santullo@posteo.net> | 2020-05-06 01:36:16 +0200 |
---|---|---|
committer | Michele Santullo <m.santullo@posteo.net> | 2020-05-06 01:36:16 +0200 |
commit | 7a261dece9add90edd4c08f699d3f7a5b28e8605 (patch) | |
tree | c2bc5bbcec62d375b546671821706cdbe4dba328 /app-arch/unalz/files | |
parent | dev-libs/xqilla: adding package (diff) | |
download | guru-7a261dece9add90edd4c08f699d3f7a5b28e8605.tar.gz guru-7a261dece9add90edd4c08f699d3f7a5b28e8605.tar.bz2 guru-7a261dece9add90edd4c08f699d3f7a5b28e8605.zip |
app-arch/unalz: adding package
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michele Santullo <m.santullo@posteo.net>
Diffstat (limited to 'app-arch/unalz/files')
-rw-r--r-- | app-arch/unalz/files/.unalz-0.65-use-system-zlib.patch.swp | bin | 0 -> 16384 bytes | |||
-rw-r--r-- | app-arch/unalz/files/unalz-0.65-buildfix-wrong-data-type.patch | 25 |
2 files changed, 25 insertions, 0 deletions
diff --git a/app-arch/unalz/files/.unalz-0.65-use-system-zlib.patch.swp b/app-arch/unalz/files/.unalz-0.65-use-system-zlib.patch.swp Binary files differnew file mode 100644 index 000000000..1b1db9115 --- /dev/null +++ b/app-arch/unalz/files/.unalz-0.65-use-system-zlib.patch.swp diff --git a/app-arch/unalz/files/unalz-0.65-buildfix-wrong-data-type.patch b/app-arch/unalz/files/unalz-0.65-buildfix-wrong-data-type.patch new file mode 100644 index 000000000..5eec7f690 --- /dev/null +++ b/app-arch/unalz/files/unalz-0.65-buildfix-wrong-data-type.patch @@ -0,0 +1,25 @@ +From 157d87e31f89805ab663aef861ebd3018cb37fca Mon Sep 17 00:00:00 2001 +From: King_DuckZ <king_duckz@gmx.com> +Date: Tue, 5 May 2020 15:51:06 +0200 +Subject: [PATCH 1/3] Buildfix + +--- + UnAlz.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/UnAlz.cpp b/UnAlz.cpp +index 6ae3ef3..c8e3cc7 100644 +--- a/UnAlz.cpp ++++ b/UnAlz.cpp +@@ -1907,7 +1907,7 @@ void CUnAlz::DecryptingData(int nSize, BYTE* data) + ////////////////////////////////////////////////////////////////////////////////////////////////////
+ UINT32 CUnAlz::CRC32(UINT32 l, BYTE c)
+ {
+- const unsigned long *CRC_TABLE = get_crc_table();
++ const z_crc_t *CRC_TABLE = get_crc_table();
+ return CRC_TABLE[(l ^ c) & 0xff] ^ (l >> 8);
+ }
+
+-- +2.26.2 + |