diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/liberasurecode/fix-build.patch | |
Diffstat (limited to 'vcpkg/ports/liberasurecode/fix-build.patch')
| -rw-r--r-- | vcpkg/ports/liberasurecode/fix-build.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/vcpkg/ports/liberasurecode/fix-build.patch b/vcpkg/ports/liberasurecode/fix-build.patch new file mode 100644 index 0000000..0677673 --- /dev/null +++ b/vcpkg/ports/liberasurecode/fix-build.patch @@ -0,0 +1,38 @@ +diff --git a/Makefile.am b/Makefile.am +index 6135f2a..e68974f 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -8,7 +8,7 @@ INCLUDE = -I$(abs_top_builddir)/include \ + -I$(abs_top_builddir)/include/xor_codes + + AM_CPPFLAGS = $(CPPFLAGS) $(INCLUDE) +-AM_CPPFLAGS += -Werror -Wall ++AM_CPPFLAGS += -Wall + + AM_CFLAGS = -fPIC $(AM_CPPFLAGS) @GCOV_FLAGS@ -L/usr/local/lib + +diff --git a/erasurecode.pc.in b/erasurecode.pc.in +index 148c382..5a8578f 100644 +--- a/erasurecode.pc.in ++++ b/erasurecode.pc.in +@@ -11,5 +11,6 @@ Version: @LIBERASURECODE_VERSION@ + Requires: + Conflicts: + Libs: -L${libdir} -lerasurecode -ldl +-Libs.private: @ERASURECODE_STATIC_LIBS@ -lz ++Libs.private: -lXorcode -lnullcode -lerasurecode_rs_vand ++Requires.private: zlib + Cflags: -I${includedir}/ -I${includedir}/liberasurecode +diff --git a/src/Makefile.am b/src/Makefile.am +index 693809e..097954d 100644 +--- a/src/Makefile.am ++++ b/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 \ |