* Added test.sh script
* Fixed build with riscv64
* Passed package version via go ldflags
* Refreshed patches
* Removed useless test binaries from package
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
In Go 1.18+ embedded files is natively supported, so this package
is useless now. It has been archived on Jun 2022 and failed to build
on the riscv64 target.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This is a new package for ragel which is a dependency for another
new package vectorscan
Co-authored-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Signed-off-by: John Audia <therealgraysky@proton.me>
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.
Signed-off-by: Andre Heider <a.heider@gmail.com>
Limit postinst and postrm only with INCLUDE_STATIC_LINK_SPEC enabled
as it's only needed to install and remove the generated spec file.
Also remove extra tab from scripts.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Copy patch from gcc 11 to gcc 12 and add missing hash.
Refresh patch for .c -> .cc change and drop
931-libffi-fix-MIPS-softfloat-build-issue as it got merged in
gcc 12.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
We do not build the tests for this package,
so we can avoid needing autoreconf
when the host automake version doesn't match
the version this package was bootstrapped with
by not changing the .am file in this patch.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Provide the library and headers for flex
in the staging directory
for the target build of packages
that depend on lexical functions.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
- Update 11 minor version to match the upstream
- Rename patches dir to reflect new gcc 11 minor version
- Drop upstream patch
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This is based on the toolchain GCC, and aims to share as much of its
Makefile and patches with that definition. The package requires two
additional patches:
(1) 003-dont-choke-when-building-32bit-on-64bit.patch, which fixes the
`error: size of array 'test_real_width' is negative` error that occurs
when building a 32-bit GCC on a 64-bit host. (Search the Internet for
examples of this error appearing.)
(2) 980-add-nostdinc++.patch, which backports a fix from 11.3.0 (11.2.0
only).
Signed-off-by: W. Michael Petullo <mike@flyn.org>
Amend the patch that disabled tests and docs to remove everything but
the src dir that builds the main flex program--the only file packaged.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This was previously used by cloudreve, but now deprecated.
Package `embed` has been built-in since Go 1.16, so this one is
pointless anyway.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This change aims to fix build problems that produce the error "gettext
infrastructure mismatch".
References:
- See the commit comments at:
baaf7f95cb
Signed-off-by: W. Michael Petullo <mike@flyn.org>
lpc21isp Makefile detects Darwin and defines __APPLE__ that is not
required for cross-compile build for OpenWrt
This patch sets OSTYPE="Linux" due to OpenWrt is always Linux
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
Even though PKG_BUILD_PARALLEL is set for the package, the package calls
$(MAKE) without $(PKG_JOBS), so it was always built with only one job.
Fix this by adding $(PKG_JOBS) to the $(MAKE) call, and calling make
install only after make all is finished.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Remove upstream backport.
Add patch fixing compilation with powerpc and musl.
Switch to AUTORELEASE for simplicity.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
There's no point to this package. Ninja files are typically generated by
meson or CMake, none of which are available as packages.
Signed-off-by: Rosen Penev <rosenp@gmail.com>