Date: Tue, 14 Feb 2023 20:23:57 GMT From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6dab2add282b - main - devel/liberasurecode: exorcise -Werror more thoroughly Message-ID: <202302142023.31EKNvnI059891@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=6dab2add282bd1437203e9b3e629123e2d044888 commit 6dab2add282bd1437203e9b3e629123e2d044888 Author: Robert Clausecker <fuz@FreeBSD.org> AuthorDate: 2023-02-11 13:17:39 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> 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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302142023.31EKNvnI059891>