Package Details: smpq 1.7-1

Git Clone URL: https://aur.archlinux.org/smpq.git (read-only, click to copy)
Package Base: smpq
Description: StormLib MPQ archiving utility. Designed for full manipulating with Blizzard MPQ archives
Upstream URL: https://launchpad.net/smpq
Licenses: GPL3
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 6
Popularity: 0.34
First Submitted: 2021-10-01 10:27 (UTC)
Last Updated: 2026-02-17 11:40 (UTC)

Latest Comments

Baraclese commented on 2026-02-09 23:10 (UTC) (edited on 2026-02-09 23:11 (UTC) by Baraclese)

Can't build this because SHA256 does not match.

Validating source files with sha256sums...

fix-smpq-compilation.patch ... FAILED

carlosalvatore commented on 2026-01-18 19:05 (UTC)

You still need to patch in order to use SErrGetLastError instead of GetLastError.

The correct SHA256 for the patch is 6152abe9a75d539e9a8386126b11875da8a7cd82b2805d0a97e643348dcdca5f

You need to change it in the PKGBUILD.

patlefort commented on 2026-01-17 05:25 (UTC)

Validity check is failing for file fix-smpq-compilation.patch.

raziel100 commented on 2025-12-03 19:41 (UTC) (edited on 2025-12-03 19:42 (UTC) by raziel100)

in prepare(), before the line "patch -Np1 -i ../fix-smpq-compilation.patch", put this following lines and it will build just fine:

sed -i 's/GetLastError()/SErrGetLastError()/g' "${srcdir}/smpq-1.6/append.c"

sed -i 's/GetLastError()/SErrGetLastError()/g' "${srcdir}/smpq-1.6/extract.c"

sed -i 's/GetLastError()/SErrGetLastError()/g' "${srcdir}/smpq-1.6/info.c"

sed -i 's/GetLastError()/SErrGetLastError()/g' "${srcdir}/smpq-1.6/remove.c"

sed -i 's/GetLastError()/SErrGetLastError()/g' "${srcdir}/smpq-1.6/rename.c"

carlosalvatore commented on 2025-11-23 09:33 (UTC)

You might need to patch in order to use SErrGetLastError instead of GetLastError.

patlefort commented on 2025-03-31 05:01 (UTC)

Build error:

CMake Error at CMakeLists.txt:24 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

You can try to force it anyways with -DCMAKE_POLICY_VERSION_MINIMUM=3.5.