From nobody Tue Feb 14 20:23:57 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PGXjV20jGz3pxKd; Tue, 14 Feb 2023 20:23:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PGXjV0wWTz40nL; Tue, 14 Feb 2023 20:23:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676406238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4PHoQprbzvUCFnL3FSkdXSPSRR6DheF9RVQ2sER/0ZI=; b=mQE4XV5o33TMlrXkDzr3/wy/H/t4aypyVCxd50w5Fw51xBZJ8A8WKB9os9j58Ba+t0rhOp P+6dRuiub/iDUdMRvymxtmn4PilLG6D4NnooWitM5eQh67go1TDbKswqNrraBVO1wZNO2C wWWBhGTWBn+yYQZYrAzGOg9xG/3nyQrXQ0siAiONv1d8m1ieUQQO96IHpuMn/GVjiSZt33 tqNFgM6k+yuKSbCAh9FDaSmbW5UFKn7XDEtsZe72GXjj4XsdR/YhGvk9lr3EWBYUH3Ew8l YRt+HI3Aeiy61IJu8KFE9gsYHeiwBECMuk4LWUPamVw5MbxIjIvtwhjebRVECw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676406238; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4PHoQprbzvUCFnL3FSkdXSPSRR6DheF9RVQ2sER/0ZI=; b=TKhYzcEc0yr4lEL4SiTNBwaZvMu20PADqYght1tK4s/BXqT7Po4p0G8rMU2nQ/GfTP2iar 9NYwX9hmJfWpfoXy5jXAxbBzBKMPvrBWLX7WK6hJBhNIqsYfz+L6MK2yGVUalQ5Gbk6LyX tFpKG54Mm867nZEWYQnyfB6WlRZMEWqXdwdBUHuY76dZkP1g12t9MY7dhJgkZ4IwqXKuxa b3oc7wt23Ngd3bBy58DfGyIa64cyhWzmJeEZbRrtGsMyB5FE2Kuj58W6F/CzKbgnxjcyLA aovGQJAsma2kW0pEYzjrsqI5kWskK+rO8K4f3Akl+w/cW0g9uRWfJMwgAp08iw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676406238; a=rsa-sha256; cv=none; b=fYQVLOC34jfysROGA2EE+HGWT2Mzx8Mc3Meo3o6fj7N1YiHaNpKcnPWwCwpkuXOfn6CRjI voMZyCet2neX19NfMHjOQwRFi087jENGhtvVdMm+TiyZeTebsYBY0KNGvn67vRmuD7bA+g 7WnNmmBJXFUUyF93DV4HJjNs5aWIVhI/Tw+WzEtmOLhxgvx0Tp67ECthdIqFIKQoyaCnGS UzuIFa0/3ADLdnJargJAdpOP3Y7LDeHJ1j/ZXFaKIfIJthIxHaMOJSOEr/IdWPgV4oE159 MMO4vO2/+d4Pen6FTIbTA3r2DXNbqr4hxfJsxaxANbKRKVYyzMBuSaBv87MWYg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PGXjT71Wkz1BHp; Tue, 14 Feb 2023 20:23:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31EKNvNn059892; Tue, 14 Feb 2023 20:23:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31EKNvnI059891; Tue, 14 Feb 2023 20:23:57 GMT (envelope-from git) Date: Tue, 14 Feb 2023 20:23:57 GMT Message-Id: <202302142023.31EKNvnI059891@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 6dab2add282b - main - devel/liberasurecode: exorcise -Werror more thoroughly List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6dab2add282bd1437203e9b3e629123e2d044888 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=6dab2add282bd1437203e9b3e629123e2d044888 commit 6dab2add282bd1437203e9b3e629123e2d044888 Author: Robert Clausecker AuthorDate: 2023-02-11 13:17:39 +0000 Commit: Robert Clausecker CommitDate: 2023-02-14 20:23:42 +0000 devel/liberasurecode: exorcise -Werror more thoroughly Looks like upstream put a few more in after I took out all of them in the previous commit. This fixes the build with LLVM 15, which takes offence in declaring parameterless function as foo() instead of foo(void). Approved by: eduardo (mentor) Differential Revision: https://reviews.freebsd.org/D38524 --- devel/liberasurecode/Makefile | 4 +++- devel/liberasurecode/files/patch-doc_Makefile.am | 7 ++++--- devel/liberasurecode/files/patch-src_Makefile.am | 11 +++++++++++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/devel/liberasurecode/Makefile b/devel/liberasurecode/Makefile index d4780b434973..72677c1fcfb0 100644 --- a/devel/liberasurecode/Makefile +++ b/devel/liberasurecode/Makefile @@ -1,5 +1,6 @@ PORTNAME= liberasurecode PORTVERSION= 1.6.3 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= fuz@FreeBSD.org @@ -7,6 +8,7 @@ COMMENT= Unified Erasure Coding interface for common storage workloads WWW= https://github.com/openstack/liberasurecode LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING USES= gmake pkgconfig autoreconf libtool USE_GITHUB= yes @@ -15,7 +17,7 @@ USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-pkgconfigdir="${PREFIX}/libdata/pkgconfig" \ --disable-werror - +INSTALL_TARGET= install-strip TEST_TARGET= test CFLAGS_amd64= -DINTEL_SSE2 diff --git a/devel/liberasurecode/files/patch-doc_Makefile.am b/devel/liberasurecode/files/patch-doc_Makefile.am index c86697289992..9583fce18ccf 100644 --- a/devel/liberasurecode/files/patch-doc_Makefile.am +++ b/devel/liberasurecode/files/patch-doc_Makefile.am @@ -1,10 +1,11 @@ ---- doc/Makefile.am.orig 2022-04-12 08:07:13 UTC +--- doc/Makefile.am.orig 2022-04-08 23:59:40 UTC +++ doc/Makefile.am -@@ -1,5 +1,5 @@ +@@ -1,6 +1,6 @@ DOC_MODULE=@PACKAGE@ -HTML_DIR=$(datadir)/$(DOC_MODULE)/html -+HTML_DIR=$(docdir)/html -TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) ++HTML_DIR=$(docdir)/html +TARGET_DIR=$(HTML_DIR) all-local: html/index.html + diff --git a/devel/liberasurecode/files/patch-src_Makefile.am b/devel/liberasurecode/files/patch-src_Makefile.am new file mode 100644 index 000000000000..604b6e39ea7e --- /dev/null +++ b/devel/liberasurecode/files/patch-src_Makefile.am @@ -0,0 +1,11 @@ +--- src/Makefile.am.orig 2023-02-11 12:58:35 UTC ++++ src/Makefile.am +@@ -32,7 +32,7 @@ liberasurecode_la_SOURCES = \ + backends/shss/shss.c \ + backends/phazrio/libphazr.c + +-liberasurecode_la_CPPFLAGS = -Werror @GCOV_FLAGS@ ++liberasurecode_la_CPPFLAGS = @GCOV_FLAGS@ + liberasurecode_la_LIBADD = \ + builtin/null_code/libnullcode.la \ + builtin/xor_codes/libXorcode.la \