On Thu, 15 Sep 2022 13:55:35 -0400 Josh Grosse <j...@jggimi.net> wrote:
> A corrected tarball is attached -- pkg/DESCR was accidently empty. I can't install p7zip with 7zip, | Collision in p7zip-16.02p6: the following files already exist | /usr/local/bin/7za (7zip-22.01 and p7zip-16.02p6) | Couldn't install p7zip-16.02p6 Should we declare a conflict? See @conflict in pkg_create(8) Also, I need one more patch. I attach patch-C_7zCrcOpt_c; please add it to your patches, so I can build 7zip on my big-endian macppc. The patch prevents the errors at the end of this mail. After I added patch-C_7zCrcOpt_c, I also built 7zip on powerpc64. I might not need patch-C_7zCrcOpt_c if we would delete -Werror from the flags. --George ===> Building for 7zip-22.01 clang -O2 -c -Wall -Werror -Wextra -Wno-reserved-id-macro -Wno-old-style-cast -Wno-c++11-long-long -Wno-unused-macros -Weverything -Wno-extra-semi -Wno-sign-conversion -Wno-language-extension-token -Wno-global-constructors -Wno-non-virtual-dtor -Wno-switch-enum -Wno-covered-switch-default -Wno-cast-qual -Wno-padded -Wno-exit-time-destructors -Wno-weak-vtables -Wno-extra-semi-stmt -Wno-zero-as-null-pointer-constant -Wno-deprecated-dynamic-exception-spec -Wno-c++98-compat-pedantic -Wno-atomic-implicit-seq-cst -Wconversion -Wno-sign-conversion -Wno-reserved-identifier -Wno-suggest-override -Wno-suggest-destructor-override -Wno-unused-but-set-variable -Wno-deprecated-copy-dtor -DNDEBUG -D_REENTRANT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fPIC -o b/c/7zCrcOpt.o ../../../../C/7zCrcOpt.c ../../../../C/7zCrcOpt.c:68:21: error: no previous prototype for function 'CrcUpdateT1_BeT4' [-Werror,-Wmissing-prototypes] UInt32 MY_FAST_CALL CrcUpdateT1_BeT4(UInt32 v, const void *data, size_t size, const UInt32 *table) ^ ../../../../C/7zCrcOpt.c:68:1: note: declare 'static' if the function is not intended to be used outside of this translation unit UInt32 MY_FAST_CALL CrcUpdateT1_BeT4(UInt32 v, const void *data, size_t size, const UInt32 *table) ^ static ../../../../C/7zCrcOpt.c:89:21: error: no previous prototype for function 'CrcUpdateT1_BeT8' [-Werror,-Wmissing-prototypes] UInt32 MY_FAST_CALL CrcUpdateT1_BeT8(UInt32 v, const void *data, size_t size, const UInt32 *table) ^ ../../../../C/7zCrcOpt.c:89:1: note: declare 'static' if the function is not intended to be used outside of this translation unit UInt32 MY_FAST_CALL CrcUpdateT1_BeT8(UInt32 v, const void *data, size_t size, const UInt32 *table) ^ static 2 errors generated. gmake: *** [../../7zip_gcc.mak:1181: b/c/7zCrcOpt.o] Error 1 *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2971 '/usr/ports/pobj/7zip-22.01/CPP/7zip/Bundles/Alone/.build_done': @cd /usr/po...) *** Error 2 in /usr/ports/mystuff/archivers/7zip (/usr/ports/infrastructure/mk/bsd.port.mk:2611 'all': @lock=7zip-22.01; export _LOCKS_HELD...)
patch-C_7zCrcOpt_c
Description: Binary data