Force the default C version to -std=gnu17,
to fix the following build error:
<command-line>: error: unknown type name 'thread_local'; did you mean 'pthread_rwlock_t'?
randombytes/internal/randombytes_internal_random.c:132:8: note: in expansion of macro 'TLS'
132 | static TLS InternalRandom stream = {
| ^~~
randombytes/internal/randombytes_internal_random.c:132:27: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'stream'
132 | static TLS InternalRandom stream = {
| ^~~~~~
[1] https://github.com/openwrt/openwrt/pull/16522#issuecomment-3134756935
[2] https://github.com/openwrt/packages/issues/27122
Tested-by: Georgi Valkov <gvalkov@gmail.com>
Signed-off-by: Lovin Yarn <juanshengyuan@gmail.com>
Apply the patch Fedora uses, named cyrus-sasl-2.1.28-gcc15.patch there,
to fix building with GCC 15.1. As with other recent versions, GCC 15.1
transforms some warnings into errors, and this patch removes those
warnings, now errors. Upstream accepted a similar patch by the same
author at:
https://github.com/cyrusimap/cyrus-sasl/pull/869
The commit described here does not use the upstream patch because it
assumes the removal of CRAM-MD5 (lib/md5.c), but this has not happened
as of the packaged version, namely 2.1.28. A future release will clean
all of this up and remove the need for the patch this commit adds.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Changelog:
* Fix double-close bugs on bind() errors reported by MC on the list.
* Removed MHD2 draft code, now in libmicrohttpd2.git.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Apparently, building with mold linking is not supported.
Closes#26996
Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc
Signed-off-by: John Audia <therealgraysky@proton.me>
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Make PKG_NAME and folder name consistent (v4l-utils) and build
edid-decode as subpackage. Unfortunately LTO breaks build of some
of the utils, so disable it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The author writes on https://crypto.stanford.edu/pbc/news.html
---
pbc-1.0.0 released
Thanks to many contributors for fixes, wrappers, and tests.
It’s been over a decade since the last release, and over two since
pbc-0.0.0. I had thought this project would have faded into obscurity by
now, but I still receive patches occasionally. I challenged myself to
build a new release. Miraculously, the old scripts still seem to work,
and the only non-trivial edit was renaming a few MinGW invocations in a
Makefile.
I bumped up the major version number. At the rate I’m going, this could
be the last release, and it’d be a shame if the project never reached
v1.0!
Tue Jun 10 09:15:34 PM PDT 2025
---
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Apart from documentation and improvements for the meson-based build there
are two functional changes since 1.13.1:
080d1d0 include: sync event codes with kernel 6.9
d06abb8 Always push changed mt events when syncing
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Version 1.24
------------
* The CMake-based build system now supports Apple Framework builds.
* libdeflate now builds for Windows ARM64EC.
* Made another small optimization to the x86 and ARM CRC32 code.
* Fixed a compiler warning on certain platforms (issue #416).
Version 1.23
------------
* Fixed bug introduced in 1.20 where incorrect checksums could be calculated if
libdeflate was compiled with clang at -O0 and run on a CPU supporting AVX512.
* Fixed bug introduced in 1.20 where incorrect checksums could be calculated in
rare cases on macOS computers that support AVX512 and are running an older
version of macOS that contains a bug that corrupts AVX512 registers. This
could occur only if code outside libdeflate enabled AVX512 in the thread.
* Fixed build error when using -mno-evex512 with clang 18+ or gcc 14+.
* Increased the minimum CMake version to 3.10.
* Further optimized the x86 CRC code.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Apart from documentation and improvement to unit tests, the new version
also comes with a small fix:
4f77dca ecc: Check return value of l_getrandom()
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
When compiling glib2 with NLS, it automatically sets linker flags to `-lglib-2.0 -lintl` in pkg-config (.pc) files.
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
The provided Config.in was never sourced from the Makefile, making it
impossible to toggle TLS support.
This commit adds the necessary Makefile glue to fix this.
Also default to TLS disabled, as was the de-facto case since Config.in
was never sourced (and thus the default 'y' never enabled).
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Use CONFIGURE_ARGS instead of defining a custom Build/Configure target.
Set --disable-asm on armeb to fix build error:
CC apiwrapper.lo
In file included from state.h:56,
from apiwrapper.h:24,
from apiwrapper.c:21:
arm/armint.h:24:5: error: #error "Big-endian configurations are not supported by the ARM asm. " "Reconfigure with --disable-asm or undefine OC_ARM_ASM."
24 | # error "Big-endian configurations are not supported by the ARM asm. " \
| ^~~~~
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Libmcrypt has not seen any updates for years. Distributions have started
patching libmcrypt to comply with C99 and recent versions of GCC,
but none of the OpenWrt packages require it anymore. The last OpenWrt
package to require libmcrypt was php8-pecl-mcrypt. OpenWrt dropped that
package with commit 1a0c8b72.
Signed-off-by: W. Michael Petullo <mike@flyn.org>
This changes a number of PKG_SOURCE_URLs that were using the http protocol to use https if available.
HTTPS was verified as functioning for the updated hosts.
Signed-off-by: Daniel Cousens <github@dcousens.com>
jemalloc is a general purpose malloc(3) implementation that emphasizes
fragmentation avoidance and scalable concurrency support.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
libarchive changed the pkgconfig install logic in 3.8.1, so that it now
installs the pkgconfig file in ${CMAKE_INSTALL_LIBDIR}/pkgconfig instead
of the previous lib/pkgconfig.
While this is a bug[1] in libarchive as this was unintended change, until
that is fixed upstream lets pass -DCMAKE_INSTALL_LIBDIR=lib to restore
previous behaviour in order for InstallDev step to install the .pc file so
other packages can find libarchive and link against it.
[1] https://github.com/libarchive/libarchive/issues/2667
Fixes: d77931df5d ("libarchive: bump to 3.8.1")
Signed-off-by: Robert Marko <robimarko@gmail.com>
The ethtool-lua library is a partial re-implementation of the ethtool.
The goal is to provide the CLI queries and configuration options as a
Lua API.
The reason for staring this library, was the desire for a nice and
efficient way to query DSA switch statistics in the
prometheus-node-exporter-lua on OpenWRT devices. Existing suggestions
around the internet focussed mainly on calling the ethtool CLI program
and parsing the output. This is neither elegant nor efficient, as the
collection time for this implementation was 300% higher on my rtl838x
based switch running OpenWRT.
This package can be easily compiled and packaged for OpenWRT, as it was
initially created as an OpenWRT package.
Signed-off-by: Kevin Jilissen <info@kevinjilissen.nl>
[improve PKG_SOURCE/PKG_SOURCE_URL]
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
Package has a consistent Config.in file, but it isn't added to all parts of the file.
libopenldap is unable to be built with --enable-debug because the Config.in is never
attached to the libopenldap.
Signed-off-by: Donald Hoskins <grommish@gmail.com>