This commit addresses two issues encountered while building pthsem for
x86_64/musl:
1) Autoconf incorrectly assumes a broken Glibc and thus falls back
to Linux compatibility code which runs into an unsupported
platform error with musl libc. Since musl provides a proper
implementation of `sigaltstack(2)`, force configure to use the
POSIX compliant code when musl libc is used.
2) The `pth_syscall.c` file undefines various libc function names
which breaks the indirection set up by fortify-source headers,
therefore forcibly disable fortify source in the OpenWrt Makefile.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Depending on both, GnuTLS and OpenSSL doesn't make sense, we should
use either TLS implementation but not both. Use GnuTLS for now and
get rid of OpenSSL dependency by explicitely telling the package's
build-system to do so using CONFIGURE_ARGS.
If future uses of libmicrohttpd require OpenSSL, it probably makes
most sense to build several variants of the package, i.e.
libmicrohttpd-openssl as well as libmicrohttpd-gnutls. As with most
packages making use of any TLS implementation, these are build-time
decissions resulting in conflicting variants of the same package
which cannot be installed simultanously.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
When fortify source is enabled, the c-ares configure script will abort with:
configure: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=1
Change the OpenWrt Makefile to move any -D flags from TARGET_CFLAGS to
TARGET_CPPFLAGS in order to satisfy `configure`.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Minor release, changes from upstream:
- prefer noexcept over throw () with C++ 11.
- update ecb.h due to incompatibilities with c11.
- fix a potential aliasing issue when reading and writing
watcher callbacks.
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
Change occurences of `sys/unistd.h` to the standard `unistd.h` include.
Fixes build against musl.
Also refresh existing patch since it applied with fuzz.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
The correct includes for musl are protected by an __GLIBC__ check in the
upstream sources.
Since musl does not provide own defines to identify itself, simply invert
the condition to !__UCLIBC__ in order to fix the build on all libc flavors
supported by OpenWrt.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
- Add configure options --disable-nis, --disable-regenerate-docu
- 000-OE-libpam-xtests.patch is not relevant in OpenWrt
- 001-no_nis.patch was dropped because we now --disable-nis
- 002-no_yywrap.patch was dropped be cause it was fixed in 1.2.0
- 003-no_doc was dropped because we ignore doc/ with
--disable-regenreate-docu
- 004-fix_lib64 was replaced by new 0001-build-use-host_cpu...
- pam_rhosts will not be built with musl because ruserok{,_af{
are not available
- pam_lastlog will not be built with musl because logwtmp is missing
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
seafile-server seems to have compatibility issues with the 1.2 branch of
libevtp. This package makes it possible to build seafile against a
supported version, 1.1.7.
Cherry-picked r34095 'Add giflib-5.1.0 compatibility' into patches to
fix build against recent versions of giflib.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
musl doesn't allow including both, sys/prctl.h and linux/prctl.h.
Thus include linux/prctl.h only on GLIBC systems (that includes
uClibc which defines __GLIBC__)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Imports the latest version from the management feed, and fixes the
install paths. All example code, and desktop linux expects and installs
libev's headers to /usr/include/<ev.h> not under a subdirectory.
Signed-off-by: Karl Palsson <karlp@tweak.net.au>
This commit was not made by the package maintainer and needs to be reverted.
This reverts commit 1e2cd3318b.
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
This commit was not made by the package maintainer and needs to be reverted.
This reverts commit 5989f6ca0b.
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz.
- Unbroke MIPS support which got entirely lost since the upgrade from 2.4.1:
now all ISAs should work (MIPS1 would need kernel emulation though, untested)
- Fixed host installation which was broken on all targets
- Updated source origin to github and related variables
- Kept mipseb patch exception and MIPS16:=0 exclusion (needed for BB and CC compilation)
Only tested on a ZyXEL NBG6716 router which is MIPS32 (MIPS74Kc), ar71xx target.
Signed-off-by: Guillaume Déflache <guillaume.deflache@ibwag.com>
Update to latest release
add qrencode package which contains the qrencode binary
Remove libpng dependancy
Signed-off-by: Jonathan Bennett <jbennett@incomsystems.biz>
disable-doc turns off API documentation
disable-extra-programs turns off demo and test creation
Commit also removes whitespace at EOL in description.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This changes the ABI and .so number, so it is only suitable for
trunk packages. A patch included upstream has been dropped.
Full changelog:
https://github.com/warmcat/libwebsockets/blob/master/changelog
Signed-off-by: Karl Palsson <karlp@remake.is>
This update follows after the previous update[1]
Due to the Boost Dev patch submited in [2], this commit also updates
the boost patch in order to, instead of excluding all architectures
that do not support -m32 and -m64 options, it now includes only the
architectures that do support it.
[1]: https://github.com/openwrt/packages/pull/1186
[2]: https://github.com/boostorg/build/pull/76
Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com
Unfortunatly, due to changes in Boost, Boost.Build for version 1.58.0
requires a patch for gcc.jam. This patch prevents bjam from adding
-m32 and -m64 options to gcc compiler, when compiling for targets
that use the mips1 arch.
Patch initially provided by paalsteek (https://github.com/paalsteek)
Bug discussed here: https://github.com/openwrt/packages/issues/1160
Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com
- add license info
- add myself as maintainer
- put in a "Languages" submenu
- install pkgconfig .pc dev file
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Found on an all-y build with SSP enabled:
Package avahi-autoipd is missing dependencies for the following libraries:
libssp.so.0
Adding the missing dependency to address that.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Although this version is marked 'unstable' by upstream, it's very
robust and stable. So give it a broader audience for testing.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
- rpath is not necessary (buildroot does not use it too)
- SED of paths in configure does not seem needed (from pre 3.x version)
- remove configure section
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
compile errors in config phase with ArchLinux and Fedora 20
config.log trying to link with -I/usr/lib/librt.so:
/usr/lib/librt.so: undefined reference to `gettimeofday@GLIBC_2.2.5'
or Fedora20:
/usr/lib/librt.so: error adding symbols: File in wrong format
linkage is AC_LIB_HAVE_LINKFLAGS macro behaviour
see http://marc.info/?l=gnulib-bug&m=129660262901148
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Added MIPS (o32 and 64 abi) and Arm (aapcs abi) support. Everything else defaults to sysv.
Added Boost.Locale iconv dependency
- uCLibc does not implement monetary.h and because of that boost.locale.posix is off. For everything else it is on.
- For details check here: http://www.boost.org/doc/libs/1_57_0/libs/locale/doc/html/building_boost_locale.html
Added Boost.Context, Boost.Container, Boost.Coroutine and Boost.Log
Signed-off-by: Carlos M. Ferreira carlosmf.pt@gmail.com
The package already uses the generic autoreconf fixup so the additional call
to autogen.sh is unneeded and might even introduce wrong versions of the
required autotools into the build.
Remove the unneeded Build/Configure override to simplify the Makefile.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
The Makefile already uses the proper autoreconf fixup but leaves a manual
autoconf invocation in place.
The bad autoconf call leads to the following build error in the SDK:
configure.ac:3: installing `./config.guess'
configure.ac:3: installing `./config.sub'
configure.ac:20: installing `./install-sh'
configure.ac:20: installing `./missing'
src/Makefile.am: installing `./depcomp'
autoreconf: Leaving directory `.'
aclocal...
autoheader...
libtoolize... libtoolize nor glibtoolize not found
make[2]: *** [.../.configured_] Error 1
Remove the entire Build/Configure override to let libtorrent build correctly.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
The automake template does not specify libgobject-2.0.la as _LDADD dependency
for glib-compile-resources, leading to the following linker error:
.../ld: warning: libgmodule-2.0.so.0, needed by ./.libs/libgio-2.0.so, not found (try using -rpath or -rpath-link)
./.libs/libgio-2.0.so: undefined reference to `g_module_supported'
./.libs/libgio-2.0.so: undefined reference to `g_module_symbol'
./.libs/libgio-2.0.so: undefined reference to `g_module_close'
./.libs/libgio-2.0.so: undefined reference to `g_module_error'
./.libs/libgio-2.0.so: undefined reference to `g_module_open'
collect2: error: ld returned 1 exit status
This commit introduces a patch to add the missing libtool archive to the list
of libraries to link.
Due to the update of the .am file, a full autoreconf is required to update
configure and Makefile, leading to the following error:
error: HAVE_GTK_DOC does not appear in AM_CONDITIONAL
Therfore another patch is added to properly fix the conditional when using
automake-1.15.
Finally extend the copyright year in the Makefile and enable the generic
autoreconf fixup to properly build and link glib2.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>