diff --git a/devel/liberasurecode/Makefile b/devel/liberasurecode/Makefile index a5ca2f5c1fca..402cebd8dc21 100644 --- a/devel/liberasurecode/Makefile +++ b/devel/liberasurecode/Makefile @@ -1,34 +1,34 @@ PORTNAME= liberasurecode -DISTVERSION= 1.7.1 +DISTVERSION= 1.8.0 CATEGORIES= devel MAINTAINER= fuz@FreeBSD.org 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 GH_ACCOUNT= openstack 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 # documentation file names vary depending on architecture PORTDOCS= html PLIST_SUB= DISTVERSION=${DISTVERSION} OPTIONS_DEFINE= DOCS SIMD DOCS_CONFIGURE_ENABLE= doxygen DOCS_BUILD_DEPENDS= doxygen:devel/doxygen SIMD_CONFIGURE_ENABLE= mmi .include diff --git a/devel/liberasurecode/distinfo b/devel/liberasurecode/distinfo index fdf25af0347e..1b60252c4723 100644 --- a/devel/liberasurecode/distinfo +++ b/devel/liberasurecode/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1769645119 -SHA256 (openstack-liberasurecode-1.7.1_GH0.tar.gz) = b99e76bff6497c2d52698ac7a4fae15d98db58550485ef34f81eb5130e95749d -SIZE (openstack-liberasurecode-1.7.1_GH0.tar.gz) = 216691 +TIMESTAMP = 1776428729 +SHA256 (openstack-liberasurecode-1.8.0_GH0.tar.gz) = 2bb7bf4fe285888058ce07e4e8f8d0345d4d7aefe06395f46f5f39e0c6914614 +SIZE (openstack-liberasurecode-1.8.0_GH0.tar.gz) = 228602 diff --git a/devel/liberasurecode/files/patch-src_Makefile.am b/devel/liberasurecode/files/patch-src_Makefile.am index 604b6e39ea7e..30ee1935539f 100644 --- a/devel/liberasurecode/files/patch-src_Makefile.am +++ b/devel/liberasurecode/files/patch-src_Makefile.am @@ -1,11 +1,11 @@ ---- src/Makefile.am.orig 2023-02-11 12:58:35 UTC +--- src/Makefile.am.orig 2026-04-14 15:53:55 UTC +++ src/Makefile.am -@@ -32,7 +32,7 @@ liberasurecode_la_SOURCES = \ +@@ -33,7 +33,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 \ diff --git a/devel/liberasurecode/files/patch-test_Makefile.am b/devel/liberasurecode/files/patch-test_Makefile.am index b0a361639c31..b57d77ec3bf3 100644 --- a/devel/liberasurecode/files/patch-test_Makefile.am +++ b/devel/liberasurecode/files/patch-test_Makefile.am @@ -1,29 +1,44 @@ ---- test/Makefile.am.orig 2022-04-08 23:59:40 UTC +--- test/Makefile.am.orig 2026-04-17 12:26:48 UTC +++ test/Makefile.am -@@ -5,22 +5,22 @@ test_xor_hd_code_SOURCES = \ +@@ -5,27 +5,27 @@ test_xor_hd_code_CPPFLAGS = -I$(top_srcdir)/include -I builtin/xor_codes/test_xor_hd_code.c \ builtin/xor_codes/test_xor_hd_code.h test_xor_hd_code_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode -I$(top_srcdir)/include/xor_codes @GCOV_FLAGS@ -test_xor_hd_code_LDFLAGS = @GCOV_LDFLAGS@ -static-libtool-libs $(top_builddir)/src/liberasurecode.la $(top_builddir)/src/builtin/xor_codes/libXorcode.la -ldl +test_xor_hd_code_LDFLAGS = @GCOV_LDFLAGS@ -static-libtool-libs $(top_builddir)/src/liberasurecode.la $(top_builddir)/src/builtin/xor_codes/libXorcode.la check_PROGRAMS = test_xor_hd_code alg_sig_test_SOURCES = utils/chksum/test_alg_sig.c alg_sig_test_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode -I$(top_srcdir)/include/xor_codes @GCOV_FLAGS@ -alg_sig_test_LDFLAGS = @GCOV_LDFLAGS@ -static-libtool-libs $(top_builddir)/src/liberasurecode.la -ldl +alg_sig_test_LDFLAGS = @GCOV_LDFLAGS@ -static-libtool-libs $(top_builddir)/src/liberasurecode.la check_PROGRAMS += alg_sig_test liberasurecode_test_SOURCES = liberasurecode_test.c liberasurecode_test_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode @GCOV_FLAGS@ -liberasurecode_test_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -ldl -lpthread -lz +liberasurecode_test_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -lpthread -lz check_PROGRAMS += liberasurecode_test + liberasurecode_threaded_test_SOURCES = liberasurecode_threaded_test.c + liberasurecode_threaded_test_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode @GCOV_FLAGS@ +-liberasurecode_threaded_test_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -ldl -lpthread -lz ++liberasurecode_threaded_test_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -lpthread -lz + check_PROGRAMS += liberasurecode_threaded_test + libec_slap_SOURCES = libec_slap.c libec_slap_CPPFLAGS = -I. -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode @GCOV_FLAGS@ -libec_slap_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -ldl -lpthread +libec_slap_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -lpthread check_PROGRAMS += libec_slap rs_galois_test_SOURCES = builtin/rs_vand/rs_galois_test.c +@@ -40,7 +40,7 @@ liberasurecode_rs_isal_stress_test_CPPFLAGS = -I$(top_ + + liberasurecode_rs_isal_stress_test_SOURCES = liberasure_rs_isal_stress_test.c + liberasurecode_rs_isal_stress_test_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/include/erasurecode @GCOV_FLAGS@ +-liberasurecode_rs_isal_stress_test_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -ldl -lpthread -lz ++liberasurecode_rs_isal_stress_test_LDFLAGS = @GCOV_LDFLAGS@ $(top_builddir)/src/liberasurecode.la -lpthread -lz + check_PROGRAMS += liberasurecode_rs_isal_stress_test + MOSTLYCLEANFILES = *.gcda *.gcno *.gcov \ + ./builtin/xor_codes/*.gcda ./builtin/xor_codes/*.gcno ./builtin/xor_codes/*.gcov \ diff --git a/devel/liberasurecode/files/patch-test_builtin_rs__vand_liberasurecode__rs__vand__test.c b/devel/liberasurecode/files/patch-test_builtin_rs__vand_liberasurecode__rs__vand__test.c deleted file mode 100644 index f77767ddc48e..000000000000 --- a/devel/liberasurecode/files/patch-test_builtin_rs__vand_liberasurecode__rs__vand__test.c +++ /dev/null @@ -1,13 +0,0 @@ ---- test/builtin/rs_vand/liberasurecode_rs_vand_test.c.orig 2022-04-08 23:59:40 UTC -+++ test/builtin/rs_vand/liberasurecode_rs_vand_test.c -@@ -33,6 +33,10 @@ - #include - #include - -+#ifdef __FreeBSD__ -+#include -+#endif -+ - int test_make_systematic_matrix(int k, int m) - { - int *matrix = make_systematic_matrix(k, m);