Without this, compilation fails because of a fortify-source header.
There's something defining and undefining _GNU_SOURCE somewhere.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 57c6c5e73f)
Switch to AUTORELEASE for simplicity.
Switch to building with ninja for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit be54cf98eb)
The crude loop I wrote to come up with this changeset:
find -L package/feeds/packages/ -name patches | \
sed 's/patches$/refresh/' | sort | xargs make
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
(cherry picked from commit 5d8d4fbbcb)
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Since commit d18692c libxml2 (and by extension libxslt) is linked against
iconv. Now icecast needs access to iconv as well. Without it the build fails.
xslt.c: In function 'xsltSaveResultToString':
xslt.c:72:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (result->children == NULL)
^~
xslt.c:75:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
buf = xmlAllocOutputBuffer(NULL);
^~~
xslt.c:81:27: error: dereferencing pointer to incomplete type 'xmlBuf' {aka 'struct _xmlBuf'}
*doc_txt_len = buf->conv->use;
^~
make[6]: *** [Makefile:545: xslt.o] Error 1
make[6]: Leaving directory '/openwrt/build_dir/target-mips_24kc_musl/icecast-2.4.4/src'
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Since commit d18692c libxml2 is linked against iconv. Now ices needs
access to iconv as well. Without it the build fails.
checking for ftime... yes
checking for XML configuration
checking for xml2-config... /builder/shared-workdir/build/sdk/staging_dir/target-aarch64_generic_musl/host/bin/xml2-config
checking for xmlParseFile... no
configure: error: Unable to link with libxml
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Fixes two CVEs relating to UPnP.
Removed libuuid dependency. It is not used.
Remove clock_gettime hack. It seems to have been fixed.
Removed upstream patches.
Refreshed the other ones.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
gst1-plugins-base might be required only for its libraries, not modules.
However, InstallDev tries to copy them unconditionally, failing when
no modules are selected/compiled.
Fixes#13973
Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
These options are normally set to auto. Make them explicit to try to
fix buildbot errors.
Also make several options conditional on plugins being selected.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
These plugins were disabled in commit e35d46b. Add them back. The
required libs are added, too.
Closes#13545
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Reorganized Makefile a little bit for consistency.
Added PKG_BUILD_PARALLEL for faster compilation.
Refreshed patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>