libmspack: new port in archivers

This commit is contained in:
Sergey Fedorov
2024-07-28 22:24:07 +08:00
committed by Renee Otten
parent 50a599832b
commit e077e9576d
2 changed files with 37 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
github.setup kyz libmspack 1.11 v
revision 0
categories archivers
maintainers nomaintainer
license LGPL
description Library supporting Microsoft compression formats
long_description The purpose of ${name} is to provide compressors and decompressors, \
archivers and dearchivers for Microsoft compression formats.
homepage https://www.cabextract.org.uk/libmspack
checksums rmd160 5da46c6eff5059f954b22f41759c791d8c64faa2 \
sha256 284e0e51fee991c40e8cbbc0f5e635f99722796a3642a14397989fc00b862f72 \
size 408982
github.tarball_from archive
worksrcdir ${worksrcpath}/${name}
patchfiles patch-xcode-gcc.diff
use_autoreconf yes
@@ -0,0 +1,11 @@
--- Makefile.am 2023-02-24 20:01:05.000000000 +0800
+++ Makefile.am 2024-07-28 22:20:05.000000000 +0800
@@ -10,7 +10,7 @@
# default mspack_system and will fail without it -- any program with a call
# like "mspack_create_...(NULL)" expects a default mspack_system.
if GCC
-AM_CFLAGS += -Wall -Wextra -Wno-unused-parameter -Wno-unused-result
+AM_CFLAGS += -Wall -Wextra -Wno-unused-parameter
endif
AM_CPPFLAGS = -I$(srcdir)/mspack -I$(srcdir)/test