summaryrefslogtreecommitdiff
path: root/net/asterisk-16.x/patches/100-build-reproducibly.patch
diff options
context:
space:
mode:
authormicmac1 <sebastian_ml@gmx.net>2022-04-21 19:11:22 +0200
committerGitHub <noreply@github.com>2022-04-21 19:11:22 +0200
commitf2dc3c087823eb05374a96257c2d1bb99424d5dc (patch)
treece842e99f077e413f9d322d8f8aaff208b1ff29c /net/asterisk-16.x/patches/100-build-reproducibly.patch
parentc6bff940c0d3e73eac0d8ec62bf1e86f1c3cbefe (diff)
parent445b5e5ff1f5a0d4ec1ed7a5c51271beae1684d4 (diff)
Merge pull request #762 from micmac1/19.07-AST-2022-01-02-03openwrt-19.07
[19.07] asterish-16.x: bump to 16.25.2
Diffstat (limited to 'net/asterisk-16.x/patches/100-build-reproducibly.patch')
-rw-r--r--net/asterisk-16.x/patches/100-build-reproducibly.patch22
1 files changed, 11 insertions, 11 deletions
diff --git a/net/asterisk-16.x/patches/100-build-reproducibly.patch b/net/asterisk-16.x/patches/100-build-reproducibly.patch
index b4f017c..f16421b 100644
--- a/net/asterisk-16.x/patches/100-build-reproducibly.patch
+++ b/net/asterisk-16.x/patches/100-build-reproducibly.patch
@@ -15,14 +15,14 @@
cat << END
/*
* build.h
---- a/Makefile
-+++ b/Makefile
-@@ -489,7 +489,7 @@ doc/core-en_US.xml: makeopts .lastclean
- @echo "<docs xmlns:xi=\"http://www.w3.org/2001/XInclude\">" >> $@
- @for x in $(MOD_SUBDIRS); do \
- printf "$$x " ; \
-- for i in `find $$x -name '*.c'`; do \
-+ for i in `find $$x -name '*.c' | LC_ALL=C sort`; do \
- MODULEINFO=$$($(AWK) -f build_tools/get_moduleinfo $$i) ; \
- if [ -n "$$MODULEINFO" ] ; \
- then \
+--- a/build_tools/make_xml_documentation
++++ b/build_tools/make_xml_documentation
+@@ -187,7 +187,7 @@ printf "Building Documentation For: "
+ for subdir in ${mod_subdirs} ; do
+ printf "%s " "${subdir}"
+ subdir_path="${source_tree}/${subdir}"
+- for i in $(${FIND} "${subdir_path}" -name '*.c' -or -name '*.cc'); do
++ for i in $(${FIND} "${subdir_path}" -name '*.c' -or -name '*.cc' | LC_ALL=C sort); do
+ if [ "${with_moduleinfo}" -eq "1" ] ; then
+ MODULEINFO=$(${AWK} -f "${source_tree}/build_tools/get_moduleinfo" "${i}")
+ if [ "${MODULEINFO}" != "" ] ; then