Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
2f04ed7
commit 6dab2ad
Showing
3 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 \ |