It turns out, this breaks only when compiling with both uClibc-ng and
uClibc++. If the libc or libc++ gets swapped out, it compiles fine.
libstdcpp is fine because it already undefs these macros. The actual
bug is probably in uClibc-ng but this is a fine workaround.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d6af6a4d75)
The maintainer is inactive, in addition to this package being woefully out
of date. It probably does not work properly.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 196976cdf0)
Optionally unavailable with uClibc-ng.
Switched to local tarballs. .xz is smaller.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b134eb3800)
New version of musl no longer includes this header internally.
Removed several unnecessary variables in Makefile.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 4cda68c72b)
Bash is not needed here. These scripts are POSIX compliant.
This was originally added as the configure script looks for /bin/bash
locally. Passing gl_cv_posix_shell overrides this.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d0e3aa7493)
It was requested in #9065 .
Cleaned up Makefile slightly.
Removed inactive maintainer.
Added PKG_BUILD_PARALLEL for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 23a36b00e2)
This absolutely needs symbols from libresolv, which uClibc-ng does not
support.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 0a3ebb32a1)
res_nsend and res_send are both not available in uClibc-ng as configured
in OpenWrt. Having this function return an error is the only sensible way
to fix.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b5b776fc9a)
softethervpn overrides nls.mk by defining its iconv functions. This only
works if the libc has iconv. In addition, it does not allow external
libiconv usage. TARGET_LDFLAGS is also the wrong place to add -liconv.
Removed SSL3 patch. It was needed for OpenSSL 1.0.2 but not anymore.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from fb480e297c)
Added -Wno-error to fix.
Also added patch to fix compilation without deprecated OpenSSL APIs.
Added PKG_BUILD_PARALLEL for faster compilation.
Switched libcyassl to libwolfssl.
Reorganized makefile for consistency between packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 266b0ba9d9)
libiconv-full requires a const char for its second parameter. Otherwise
-fpermissive error is thrown.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from ee94a1e912)
This applies to uClibc-ng and libiconv-full
Switched to building with uClibc++.
Fixed license information.
Fixed BUILD_DEPENDS.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from fec9257655)
Add patch that checks for libiconv instead of iconv. nls.mk handles this.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 50719a639a)
From the developer:
It seems that uClibc-ng is defining fgetc, fputc, feof, and ferror as
macros and not including them in std.
IMO this is a bug in uClibc-ng (maybe caused by lack of clarity in the
C++ standard), because even the C functions that are alowed to be
defined as macros (putc, getc) should be included in std for
consistency. Just imagine the chaos if std::getc were defined or
undefined depending on how it is implemented.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(9172e2828f)
Mainly endian definitions are needed.
Removed sys/io.h patch. It's a GNU header unsupported by uClibc-ng.
Cleaned up Makefile slightly.
Added HTTPS everywhere.
Added PKG_BUILD_PARALLEL for faster compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 12378cd4d3)
It applies the single patch here as well as adding some fixes.
The upstream project is dead.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from d2af82a6f5)
This project seems abandoned. Updated to latest version.
Also cleaned up the Makefile quite a bit.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from dff6d2639e)
Added -faligned-new to fix compilation.
As fbzmq is passing -Werror, fixed compilation with newer GCC versions.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 50f8657141)
Upstream backport. It seems the holdup is on python-twisted.
Without this, it fails with
SSL_get0_next_proto_negotiated: symbol not found
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from commit 0859931)
Backported upstream patches that fix this.
Removed local patch that fixes libp11 with version 0.4.7, which is not
used anymore. Upstream has a different solution.
License fixes and Makefile cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 6dbbc17b1f)
As part of the boost change. Also get rid of various CMake options as
CMake can find everything properly now.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
After talking to @jow on IRC, we found two problems. STAGING_DIR_HOST is
designed for tools, not host packages. Changing this to HOSTPKG allows
CMake and pkgconfig to work properly with fbthrift.
The host-libraries should not be modular like this for host packages.
Changed to eliminate them and to only build the needed ones. This can be
changed as conditions change.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes compilation when ChaCha20 is missing from OpenSSL 1.1
Added Maintainer.
Rearranged Makefile for consistency.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Partially restore uclibc patch. Some parts were upstreamed while others
were not.
Fixes compilation without ChaCha20 support in OpenSSL 1.1 and above.
Depend on libunwind conditionally. libunwind is not supported on all
targets. Depending on it unconditionally makes libfolly and dependent
packages unavailable on those targets.
Added missing Maintainer.
Several Makefile rearrangements for consistency.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Simplifies the Makefile.
Remove build hacks and use CMake
Use PKG_BUILD_PARALLEL for faster compilation.
Switch to the Compression submenu to group this with the others.
Added lz4 binaries to be installable.
Add Optimization option.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switch to SourceForge URL. More mirrors available.
Remove InstallDev section. This is already included with CMAKE_INSTALL.
Minor cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
INSTALL_BIN turns symlinks into actual files, which increases the total
size for no reason.
Small Makefile cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>