* Fixed indentation in base/docbook build file

* Replaced patch command with applypatch function in multiple build files in base, xorg, gtk, extra and xfce sections
This commit is contained in:
PktSurf 2022-02-23 23:21:55 +05:30
parent eadd648c0e
commit 1ddfe9abba
86 changed files with 166 additions and 166 deletions

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/remove-test.patch applypatch $srcdir/remove-test.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/gnu89-inline.patch applypatch $srcdir/gnu89-inline.patch
patch -p1 < $srcdir/001-throw-in-funcdef.patch applypatch $srcdir/001-throw-in-funcdef.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -16,7 +16,7 @@ build() {
sed -i 's@-o $(PKG_USER) -g $(PKG_GROUP)@@' include/buildmacros sed -i 's@-o $(PKG_USER) -g $(PKG_GROUP)@@' include/buildmacros
sed -i 's@CHOWN=_chown@CHOWN=true@' include/install-sh sed -i 's@CHOWN=_chown@CHOWN=true@' include/install-sh
patch -p1 < $srcdir/attr-cdefs.patch applypatch $srcdir/attr-cdefs.patch
make clean make clean

View file

@ -15,7 +15,7 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# Thank you slackware # Thank you slackware
patch -p1 < $srcdir/fixup-sh-script-completions.diff applypatch $srcdir/fixup-sh-script-completions.diff
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -13,7 +13,7 @@ build() {
cd "$app"_"$version" cd "$app"_"$version"
chown -R root.root . chown -R root.root .
patch -p1 < $srcdir/boost-execinfo.patch applypatch $srcdir/boost-execinfo.patch
unset CXX unset CXX
# Also symlink <toolchain>-gcc-6.3.0 to gcc-6.3.0 and <toolchain>-g++ to g++-6.3.0 # Also symlink <toolchain>-gcc-6.3.0 to gcc-6.3.0 and <toolchain>-g++ to g++-6.3.0

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/realpath-workaround.patch applypatch $srcdir/realpath-workaround.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -15,10 +15,10 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# taken from sabotage linux # taken from sabotage linux
patch -p1 < $srcdir/busybox-blowfish.patch applypatch $srcdir/busybox-blowfish.patch
patch -p1 < $srcdir/busybox-fdisk-sector-size.patch applypatch $srcdir/busybox-fdisk-sector-size.patch
patch -p1 < $srcdir/busybox-libbb-make-unicode-printable.patch applypatch $srcdir/busybox-libbb-make-unicode-printable.patch
patch -p1 < $srcdir/busybox-ping.patch applypatch $srcdir/busybox-ping.patch
cp $srcdir/busybox.config .config cp $srcdir/busybox.config .config
make CC="$CC" make CC="$CC"

View file

@ -16,7 +16,7 @@ build() {
# Taken from sabotage # Taken from sabotage
patch -p1 < $srcdir/bzip2-flags.patch applypatch $srcdir/bzip2-flags.patch
sed -i 's@$(PREFIX)@$(DESTDIR)$(PREFIX)@g' Makefile sed -i 's@$(PREFIX)@$(DESTDIR)$(PREFIX)@g' Makefile
sed -i 's@$(PREFIX)/man@$(PREFIX)/share/man@g' Makefile sed -i 's@$(PREFIX)/man@$(PREFIX)/share/man@g' Makefile

View file

@ -14,7 +14,7 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# Patch to remove incompatible arguments from run-parts # Patch to remove incompatible arguments from run-parts
patch -p1 < $srcdir/fixup_update-ca-certificates.diff applypatch $srcdir/fixup_update-ca-certificates.diff
# Update to certdata.txt from $srcdir: # Update to certdata.txt from $srcdir:
xzcat $srcdir/certdata-${version}.txt.xz > mozilla/certdata.txt xzcat $srcdir/certdata-${version}.txt.xz > mozilla/certdata.txt

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version".src" cd $app-$version".src"
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/10-add-musl-triples.patch applypatch $srcdir/10-add-musl-triples.patch
patch -p1 < $srcdir/30-fix-python-shebangs.patch applypatch $srcdir/30-fix-python-shebangs.patch
unset CFLAGS CXXFLAGS unset CFLAGS CXXFLAGS

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/ls.patch applypatch $srcdir/ls.patch
FORCE_UNSAFE_CONFIGURE=1 \ FORCE_UNSAFE_CONFIGURE=1 \
CFLAGS="$CFLAGS -static" \ CFLAGS="$CFLAGS -static" \

View file

@ -14,9 +14,9 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# Thank you alpine linux # Thank you alpine linux
patch -p1 < $srcdir/01-Makefile-dont-run-ldconfig.patch applypatch $srcdir/01-Makefile-dont-run-ldconfig.patch
# Thank you arch linux # Thank you arch linux
patch -p1 < $srcdir/crda-4.14-python-3.patch applypatch $srcdir/crda-4.14-python-3.patch
# Disable -Werror, just in case # Disable -Werror, just in case
sed -i 's@-Werror@@g' Makefile sed -i 's@-Werror@@g' Makefile

View file

@ -20,7 +20,7 @@ build() {
db_atomic=x86/gcc-assembly db_atomic=x86/gcc-assembly
fi fi
patch -p1 < $srcdir/bdb-configure.patch applypatch $srcdir/bdb-configure.patch
cd build_unix cd build_unix

View file

@ -14,10 +14,10 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/0002-README-var-spool-cron-crontabs-root.patch applypatch $srcdir/0002-README-var-spool-cron-crontabs-root.patch
patch -p1 < $srcdir/0006-Fixed-a-bug-whereby-syncs-killed-all-waiting-jobs.patch applypatch $srcdir/0006-Fixed-a-bug-whereby-syncs-killed-all-waiting-jobs.patch
patch -p1 < $srcdir/0007-Update-main.c.patch applypatch $srcdir/0007-Update-main.c.patch
patch -p1 < $srcdir/crontab.c.O_EXCL.diff applypatch $srcdir/crontab.c.O_EXCL.diff
make PREFIX="" BINDIR=/bin SBINDIR=/bin CRONTAB_GROUP=root make PREFIX="" BINDIR=/bin SBINDIR=/bin CRONTAB_GROUP=root

View file

@ -14,7 +14,7 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# Thank you slackware # Thank you slackware
patch -p1 < $srcdir/desktop-file-utils.quiet.warnings.diff applypatch $srcdir/desktop-file-utils.quiet.warnings.diff
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -12,17 +12,17 @@ build() {
mkandenterbuilddir mkandenterbuilddir
rm -rf $app-$version rm -rf $app-$version
tar xf $srcdir/docbook-xml-$DOCBOOKV.tar.?z* tar xf $srcdir/docbook-xml-$DOCBOOKV.tar.?z*
cd docbook-xml-$DOCBOOKV cd docbook-xml-$DOCBOOKV
fixbuilddirpermissions fixbuilddirpermissions
XML_CATALOG="$pkg/etc/xml/catalog" XML_CATALOG="$pkg/etc/xml/catalog"
XML_DOCBOOK="$pkg/etc/xml/docbook" XML_DOCBOOK="$pkg/etc/xml/docbook"
cd docbook-4.5 cd docbook-4.5
install -d -m755 "$pkg"/share/xml/docbook/xml-dtd-4.5 install -d -m755 "$pkg"/share/xml/docbook/xml-dtd-4.5
install -d -m755 "$pkg"/etc/xml install -d -m755 "$pkg"/etc/xml
#rm -rf /etc/xml #rm -rf /etc/xml
chown -R root:root . chown -R root:root .
@ -128,7 +128,7 @@ cd docbook-xsl-nons-$XSLV
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/non-recursive-string-subst.patch applypatch $srcdir/non-recursive-string-subst.patch
install -v -m755 -d "$pkg"/share/xml/docbook/xsl-stylesheets-"$XSLV" install -v -m755 -d "$pkg"/share/xml/docbook/xsl-stylesheets-"$XSLV"

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/file.etc.file.diff applypatch $srcdir/file.etc.file.diff
patch -p1 < $srcdir/file.short.diff applypatch $srcdir/file.short.diff
# linking against libseccomp causes weird "Bad system call" issues # linking against libseccomp causes weird "Bad system call" issues
CFLAGS="--std=c99" \ CFLAGS="--std=c99" \

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/findutils.no.default.options.warnings.diff applypatch $srcdir/findutils.no.default.options.warnings.diff
patch -p1 < $srcdir/mountlist.c.patch applypatch $srcdir/mountlist.c.patch
LDFLAGS="-static" \ LDFLAGS="-static" \
./configure \ ./configure \

View file

@ -15,10 +15,10 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/100-musl_fix.patch applypatch $srcdir/100-musl_fix.patch
patch -p1 < $srcdir/110-shared_libgcc.patch applypatch $srcdir/110-shared_libgcc.patch
patch -p1 < $srcdir/120-sigprocmask-invalid-call.patch applypatch $srcdir/120-sigprocmask-invalid-call.patch
patch -p1 < $srcdir/130-uclibc-fix.patch applypatch $srcdir/130-uclibc-fix.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/giflib-5.1.9-fix-missing-quantize-API-symbols.patch applypatch $srcdir/giflib-5.1.9-fix-missing-quantize-API-symbols.patch
make make
make install DESTDIR=$pkg PREFIX="/" make install DESTDIR=$pkg PREFIX="/"

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/gloox-musl.patch applypatch $srcdir/gloox-musl.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -13,11 +13,11 @@ tar xf $srcdir/$app-$version"_caa60026".tar.?z*
cd $app-$version"_caa60026" cd $app-$version"_caa60026"
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/gyp-fix-cmake.patch applypatch $srcdir/gyp-fix-cmake.patch
patch -p1 < $srcdir/gyp-ninja-build.patch applypatch $srcdir/gyp-ninja-build.patch
patch -p1 < $srcdir/gyp-python3.patch applypatch $srcdir/gyp-python3.patch
patch -p1 < $srcdir/gyp-python38.patch applypatch $srcdir/gyp-python38.patch
patch -p1 < $srcdir/gyp-python39.patch applypatch $srcdir/gyp-python39.patch
python3 setup.py install --prefix="" --root="$pkg" python3 setup.py install --prefix="" --root="$pkg"

View file

@ -14,12 +14,12 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/10-fix-compilation-with-cpp-headers.patch applypatch $srcdir/10-fix-compilation-with-cpp-headers.patch
patch -p1 < $srcdir/30-fix-utf16.patch applypatch $srcdir/30-fix-utf16.patch
patch -p1 < $srcdir/50-remove-outdated-check.patch applypatch $srcdir/50-remove-outdated-check.patch
patch -p1 < $srcdir/60-id3lib-missing-nullpointer-check.patch applypatch $srcdir/60-id3lib-missing-nullpointer-check.patch
patch -p1 < $srcdir/61-fix_vbr_stack_smash.patch applypatch $srcdir/61-fix_vbr_stack_smash.patch
patch -p1 < $srcdir/CVE-2007-4460.patch applypatch $srcdir/CVE-2007-4460.patch
libtoolize -fc libtoolize -fc
aclocal aclocal

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/intltool-regex-warning.patch applypatch $srcdir/intltool-regex-warning.patch
./configure \ ./configure \
--prefix="" --prefix=""

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/iptables-1.4.14-musl-fixes.patch applypatch $srcdir/iptables-1.4.14-musl-fixes.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd linux-headers-$version cd linux-headers-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/ptrace.h.patch applypatch $srcdir/ptrace.h.patch
make ARCH="$ARCH" prefix="/" DESTDIR=$pkg install make ARCH="$ARCH" prefix="/" DESTDIR=$pkg install
cp -r generic/include $pkg/ cp -r generic/include $pkg/

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/strndupa.patch applypatch $srcdir/strndupa.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/less.patch applypatch $srcdir/less.patch
patch -p1 < $srcdir/less-implicit.patch applypatch $srcdir/less-implicit.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/libdaemon-0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch applypatch $srcdir/libdaemon-0001-testd-use-unistd-h-instead-of-sys-unistd-h.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -15,7 +15,7 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# Thanks gentoo linux # Thanks gentoo linux
patch -p1 < $srcdir/icu-68.patch applypatch $srcdir/icu-68.patch
mkdir -p smbuild && cd smbuild mkdir -p smbuild && cd smbuild
cmake .. \ cmake .. \

View file

@ -13,7 +13,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/CVE-2008-2109.patch applypatch $srcdir/CVE-2008-2109.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -13,7 +13,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/libkate-0.4.1-no-libfl.patch applypatch $srcdir/libkate-0.4.1-no-libfl.patch
libtoolize --copy --force libtoolize --copy --force
aclocal aclocal

View file

@ -13,7 +13,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/musl-fix-includes.patch applypatch $srcdir/musl-fix-includes.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/libpng16.patch applypatch $srcdir/libpng16.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/soname-suffix.patch applypatch $srcdir/soname-suffix.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/libxml2-2.9.8-python3-unicode-errors.patch applypatch $srcdir/libxml2-2.9.8-python3-unicode-errors.patch
patch -p1 < $srcdir/revert-Make-xmlFreeNodeList-non-recursive.patch applypatch $srcdir/revert-Make-xmlFreeNodeList-non-recursive.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -15,8 +15,8 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# Thank you Arch Linux # Thank you Arch Linux
patch -p1 < $srcdir/0001-Make-generate-id-deterministic.patch applypatch $srcdir/0001-Make-generate-id-deterministic.patch
patch -p1 < $srcdir/0002-Fix-manpage.patch applypatch $srcdir/0002-Fix-manpage.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -13,10 +13,10 @@ build() {
cd $app-"$version".src cd $app-"$version".src
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch applypatch $srcdir/0001-Disable-dynamic-lib-tests-for-musl-s-dlclose-is-noop.patch
patch -p1 < $srcdir/fix-LLVMConfig-cmake-install-prefix.patch applypatch $srcdir/fix-LLVMConfig-cmake-install-prefix.patch
patch -p1 < $srcdir/fix-memory-mf_exec-on-aarch64.patch applypatch $srcdir/fix-memory-mf_exec-on-aarch64.patch
patch -p1 < $srcdir/python3-test.patch applypatch $srcdir/python3-test.patch
# We don't need our optimisations for small builds # We don't need our optimisations for small builds
unset CFLAGS CXXFLAGS unset CFLAGS CXXFLAGS

View file

@ -14,7 +14,7 @@ build() {
cd lua-$version cd lua-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/CVE-2019-6706-use-after-free-lua_upvaluejoin.patch applypatch $srcdir/CVE-2019-6706-use-after-free-lua_upvaluejoin.patch
eval $(sed -ne '/^\(V\|R\)= /s, ,,p' Makefile) eval $(sed -ne '/^\(V\|R\)= /s, ,,p' Makefile)

View file

@ -14,10 +14,10 @@ build() {
cd LVM"$version" cd LVM"$version"
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/fix-stdio-usage.patch applypatch $srcdir/fix-stdio-usage.patch
patch -p1 < $srcdir/mallinfo.patch applypatch $srcdir/mallinfo.patch
patch -p1 < $srcdir/lvm2-mlockall-config.patch applypatch $srcdir/lvm2-mlockall-config.patch
patch -p1 < $srcdir/lvm2-libdir-config.patch applypatch $srcdir/lvm2-libdir-config.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/disable-mbrtowc-test.patch applypatch $srcdir/disable-mbrtowc-test.patch
patch -p1 < $srcdir/localename-test-fix.patch applypatch $srcdir/localename-test-fix.patch
./configure \ ./configure \
--prefix="" --prefix=""

View file

@ -14,11 +14,11 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/main.c.patch applypatch $srcdir/main.c.patch
patch -p1 < $srcdir/fix-tbl-segfault.patch applypatch $srcdir/fix-tbl-segfault.patch
patch -p1 < $srcdir/shared-libmandoc.patch applypatch $srcdir/shared-libmandoc.patch
patch -p1 < $srcdir/simplify-compat.patch applypatch $srcdir/simplify-compat.patch
patch -p1 < $srcdir/outdated-warn-disable.patch applypatch $srcdir/outdated-warn-disable.patch
cp $srcdir/configure.local configure.local cp $srcdir/configure.local configure.local

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/01-fortify-source-compat.patch applypatch $srcdir/01-fortify-source-compat.patch
sed -i '/^groupname /s/mlocate/locate/' Makefile.in sed -i '/^groupname /s/mlocate/locate/' Makefile.in
autoreconf -vif autoreconf -vif

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/posix-fix.patch applypatch $srcdir/posix-fix.patch
python ./configure.py --bootstrap python ./configure.py --bootstrap

View file

@ -15,7 +15,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/parted-3.2-xfs.patch applypatch $srcdir/parted-3.2-xfs.patch
CFLAGS="-D_GNU_SOURCE -Dloff_t=off_t $CFLAGS -include sys/sysmacros.h" \ CFLAGS="-D_GNU_SOURCE -Dloff_t=off_t $CFLAGS -include sys/sysmacros.h" \
./configure \ ./configure \

View file

@ -15,7 +15,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/pciutils-pread.patch applypatch $srcdir/pciutils-pread.patch
make CFLAGS="$CFLAGS -D_GNU_SOURCE -DHAVE_PREAD -fPIC" \ make CFLAGS="$CFLAGS -D_GNU_SOURCE -DHAVE_PREAD -fPIC" \
LDFLAGS="-llzma" \ LDFLAGS="-llzma" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/procps-ng-netbsd-curses.patch applypatch $srcdir/procps-ng-netbsd-curses.patch
STRIP=false \ STRIP=false \
CPPFLAGS="$CFLAGS -DGLOB_TILDE=0 -DAF_INET6=10 -DAF_INET=2" \ CPPFLAGS="$CFLAGS -DGLOB_TILDE=0 -DAF_INET6=10 -DAF_INET=2" \

View file

@ -15,11 +15,11 @@ build() {
cd "Python-$version" cd "Python-$version"
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/fix-xattrs-glibc.patch applypatch $srcdir/fix-xattrs-glibc.patch
patch -p1 < $srcdir/musl-find_library.patch applypatch $srcdir/musl-find_library.patch
patch -p1 < $srcdir/python3-includedirs.patch applypatch $srcdir/python3-includedirs.patch
patch -p1 < $srcdir/python3-pathsearch.patch applypatch $srcdir/python3-pathsearch.patch
patch -p1 < $srcdir/python3-sysconfig-prefix.patch applypatch $srcdir/python3-sysconfig-prefix.patch
sed -i -e "s|^#.* /usr/local/bin/python|#!/bin/python3|" Lib/cgi.py sed -i -e "s|^#.* /usr/local/bin/python|#!/bin/python3|" Lib/cgi.py
find . -name '*.py' -exec \ find . -name '*.py' -exec \

View file

@ -15,8 +15,8 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# Thanks sabotage # Thanks sabotage
patch -p1 < $srcdir/ruby-test_insns-lower-recursion-depth.patch applypatch $srcdir/ruby-test_insns-lower-recursion-depth.patch
patch -p1 < $srcdir/ruby-rubygems-avoid-platform-specific-gems.patch applypatch $srcdir/ruby-rubygems-avoid-platform-specific-gems.patch
unset CFLAGS CXXFLAGS CPPFLAGS unset CFLAGS CXXFLAGS CPPFLAGS

View file

@ -31,20 +31,20 @@ build() {
cd ../../ cd ../../
fi fi
patch -p1 < $srcdir/0001-Fix-LLVM-build.patch applypatch $srcdir/0001-Fix-LLVM-build.patch
patch -p1 < $srcdir/00016-do-not-copy-libunwind.patch applypatch $srcdir/00016-do-not-copy-libunwind.patch
patch -p1 < $srcdir/0002-Allow-rustdoc-to-work-when-cross-compiling-on-musl.patch applypatch $srcdir/0002-Allow-rustdoc-to-work-when-cross-compiling-on-musl.patch
patch -p1 < $srcdir/0003-Require-static-native-libraries-when-linking-static-.patch applypatch $srcdir/0003-Require-static-native-libraries-when-linking-static-.patch
patch -p1 < $srcdir/0004-Remove-nostdlib-and-musl_root-from-musl-targets.patch applypatch $srcdir/0004-Remove-nostdlib-and-musl_root-from-musl-targets.patch
patch -p1 < $srcdir/0005-Prefer-libgcc_eh-over-libunwind-on-musl.patch applypatch $srcdir/0005-Prefer-libgcc_eh-over-libunwind-on-musl.patch
patch -p1 < $srcdir/0006-test-use-extern-for-plugins-Don-t-assume-multilib.patch applypatch $srcdir/0006-test-use-extern-for-plugins-Don-t-assume-multilib.patch
patch -p1 < $srcdir/0007-test-sysroot-crates-are-unstable-Fix-test-when-rpath.patch applypatch $srcdir/0007-test-sysroot-crates-are-unstable-Fix-test-when-rpath.patch
patch -p1 < $srcdir/0008-Ignore-broken-and-non-applicable-tests.patch applypatch $srcdir/0008-Ignore-broken-and-non-applicable-tests.patch
patch -p1 < $srcdir/0009-Link-stage2-tools-dynamically-to-libstd.patch applypatch $srcdir/0009-Link-stage2-tools-dynamically-to-libstd.patch
patch -p1 < $srcdir/0010-Move-debugger-scripts-to-usr-share-rust.patch applypatch $srcdir/0010-Move-debugger-scripts-to-usr-share-rust.patch
patch -p1 < $srcdir/0012-Fix-dynamic-linkage-of-musl-libc-for-the-libc-crate.patch applypatch $srcdir/0012-Fix-dynamic-linkage-of-musl-libc-for-the-libc-crate.patch
patch -p1 < $srcdir/0014-Void-fix-linkage-against-host-target-LLVM-in-cross-s.patch applypatch $srcdir/0014-Void-fix-linkage-against-host-target-LLVM-in-cross-s.patch
patch -p1 < $srcdir/disable_miri.patch applypatch $srcdir/disable_miri.patch
clear_vendor_checksums() { clear_vendor_checksums() {
sed -i 's/\("files":{\)[^}]*/\1/' vendor/$1/.cargo-checksum.json sed -i 's/\("files":{\)[^}]*/\1/' vendor/$1/.cargo-checksum.json

View file

@ -30,7 +30,7 @@ build() {
cd .. cd ..
PKG_CONFIG_PATH="$pkg_CONFIG_PATH:$LIBBSDPATH/lib/pkgconfig" PKG_CONFIG_PATH="$pkg_CONFIG_PATH:$LIBBSDPATH/lib/pkgconfig"
patch -p1 < $srcdir/sha2.h.patch applypatch $srcdir/sha2.h.patch
make CC="$CC -static" \ make CC="$CC -static" \
CFLAGS="-I$LIBBSDPATH/include" LDFLAGS="-L$LIBBSDPATH/lib" CFLAGS="-I$LIBBSDPATH/include" LDFLAGS="-L$LIBBSDPATH/lib"
make install PREFIX="" DESTDIR=$pkg make install PREFIX="" DESTDIR=$pkg

View file

@ -15,8 +15,8 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# Use memmove() instead of strcpy() in syslogd.c # Use memmove() instead of strcpy() in syslogd.c
patch -p1 --verbose < $srcdir/use_memmove_not_strcpy.diff applypatch $srcdir/use_memmove_not_strcpy.diff
patch -p1 < $srcdir/fix-includes.patch applypatch $srcdir/fix-includes.patch
sleep 1 sleep 1
make all syslog_tst CC="$CC -static" make all syslog_tst CC="$CC -static"

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/syslinux6-ext4_fix_64bit_feature.patch applypatch $srcdir/syslinux6-ext4_fix_64bit_feature.patch
# We don't use sbin # We don't use sbin
sed -i 's,/sbin,/bin,' syslinux.spec mk/syslinux.mk sed -i 's,/sbin,/bin,' syslinux.spec mk/syslinux.mk

View file

@ -15,7 +15,7 @@ build() {
tar xf $srcdir/tar-1.13.tar.?z tar xf $srcdir/tar-1.13.tar.?z
cd tar-1.13 cd tar-1.13
patch -p1 < $srcdir/tar-1.13.bzip2.diff applypatch $srcdir/tar-1.13.bzip2.diff
cp -p --verbose /usr/share/libtool/build-aux/config.{guess,sub} . cp -p --verbose /usr/share/libtool/build-aux/config.{guess,sub} .
fixbuilddirpermissions fixbuilddirpermissions
@ -34,7 +34,7 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# The "A lone zero block at %s" messages also cause problems: # The "A lone zero block at %s" messages also cause problems:
patch -p1 < $srcdir/tar.nolonezero.diff applypatch $srcdir/tar.nolonezero.diff
FORCE_UNSAFE_CONFIGURE=1 \ FORCE_UNSAFE_CONFIGURE=1 \
CFLAGS="-static" \ CFLAGS="-static" \

View file

@ -15,7 +15,7 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
# Thank you sabotage linux # Thank you sabotage linux
patch -p1 < $srcdir/cal.patch applypatch $srcdir/cal.patch
CFLAGS="$CFLAGS -include sys/sysmacros.h" \ CFLAGS="$CFLAGS -include sys/sysmacros.h" \
LDFLAGS="-lcurses -lterminfo" \ LDFLAGS="-lcurses -lterminfo" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/zstd.dont.link.pzstd.to.static.libzstd.a.diff applypatch $srcdir/zstd.dont.link.pzstd.to.static.libzstd.a.diff
make make
make -C contrib/pzstd make -C contrib/pzstd

View file

@ -20,8 +20,8 @@ _plugins="applix babelfish bmp clarisworks collab docbook eml epub \
passepartout pdb pdf presentation s5 sdw t602 urldict wikipedia wml \ passepartout pdb pdf presentation s5 sdw t602 urldict wikipedia wml \
xslfo" xslfo"
patch -p1 < $srcdir/enchant_checker.cpp.patch applypatch $srcdir/enchant_checker.cpp.patch
patch -p1 < $srcdir/unixmouse.diff applypatch $srcdir/unixmouse.diff
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/ace14_fixes.patch applypatch $srcdir/ace14_fixes.patch
LDFLAGS="-lpng -lz -lm" \ LDFLAGS="-lpng -lz -lm" \
./configure \ ./configure \

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/bluez-5.30-obexd_without_systemd-1.patch applypatch $srcdir/bluez-5.30-obexd_without_systemd-1.patch
[ "$ARCH" = "aarch64" ] && patch -p1 < $srcdir/bluez-5.40-rpi-fixes.patch [ "$ARCH" = "aarch64" ] && applypatch $srcdir/bluez-5.40-rpi-fixes.patch
sed -i -e 's|-lreadline|\0 -lncursesw|g' Makefile.{in,tools} sed -i -e 's|-lreadline|\0 -lncursesw|g' Makefile.{in,tools}
autoreconf -vif autoreconf -vif

View file

@ -14,9 +14,9 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/CVE-2019-19451.patch applypatch $srcdir/CVE-2019-19451.patch
patch -p1 < $srcdir/dia-unregister-import.patch applypatch $srcdir/dia-unregister-import.patch
patch -p1 < $srcdir/isinf.patch applypatch $srcdir/isinf.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -19,8 +19,8 @@ build() {
# though zlib is there. # though zlib is there.
# g++ is needed in /bin or /usr/bin else midway compile will fail. # g++ is needed in /bin or /usr/bin else midway compile will fail.
patch -p1 < $srcdir/ioapi.patch applypatch $srcdir/ioapi.patch
patch -p1 < $srcdir/scons-python3.patch applypatch $srcdir/scons-python3.patch
sed -i \ sed -i \
-e "s|symbols', 1|symbols', 0|" \ -e "s|symbols', 1|symbols', 0|" \

View file

@ -14,10 +14,10 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/gftp.glibc-2.30.diff applypatch $srcdir/gftp.glibc-2.30.diff
patch -p1 < $srcdir/gftp.expand.path.sigsegv.diff applypatch $srcdir/gftp.expand.path.sigsegv.diff
patch -p1 < $srcdir/gftp.desktop.diff applypatch $srcdir/gftp.desktop.diff
patch -p1 < $srcdir/fsplib.h.patch applypatch $srcdir/fsplib.h.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -20,7 +20,7 @@ build() {
# credits: sabotage linux # credits: sabotage linux
patch -p1 < $srcdir/gimp-toolbox-wilber.patch applypatch $srcdir/gimp-toolbox-wilber.patch
sed -i 's@^[[:space:]]*-I$(includedir)@@' $(find . -name Makefile.in) sed -i 's@^[[:space:]]*-I$(includedir)@@' $(find . -name Makefile.in)
sed -i 's@^libgimpui = .*$@libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la@' $(find plug-ins/ -name Makefile.in) sed -i 's@^libgimpui = .*$@libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la@' $(find plug-ins/ -name Makefile.in)
printf '#!/bin/sh\necho -lfreetype -I/usr/include/freetype2\n' > freetype-config printf '#!/bin/sh\necho -lfreetype -I/usr/include/freetype2\n' > freetype-config

View file

@ -44,7 +44,7 @@ build() {
cd xboard-$XBOARDVER cd xboard-$XBOARDVER
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/xboard.conf.diff applypatch $srcdir/xboard.conf.diff
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/ncurses.patch applypatch $srcdir/ncurses.patch
autoreconf -vif autoreconf -vif
CFLAGS="$CFLAGS -D_GNU_SOURCE" \ CFLAGS="$CFLAGS -D_GNU_SOURCE" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/fix-python.patch applypatch $srcdir/fix-python.patch
python3 setup.py build python3 setup.py build
python3 setup.py install --prefix="" --root=$pkg python3 setup.py install --prefix="" --root=$pkg

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version-source cd $app-$version-source
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/shared-lib.patch applypatch $srcdir/shared-lib.patch
patch -p1 < $srcdir/fix-big-endian.patch applypatch $srcdir/fix-big-endian.patch
# We use system libraries, not the ones that come with the mupdf source # We use system libraries, not the ones that come with the mupdf source
for library in curl freeglut freetype harfbuzz jbig2dec \ for library in curl freeglut freetype harfbuzz jbig2dec \

View file

@ -14,8 +14,8 @@ build() {
cd SDL-$version cd SDL-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/grabnotviewable.patch applypatch $srcdir/grabnotviewable.patch
patch -p1 < $srcdir/xdata32.patch applypatch $srcdir/xdata32.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd SDL2-$version cd SDL2-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/khronos.patch applypatch $srcdir/khronos.patch
mkdir -p smbuild && cd smbuild mkdir -p smbuild && cd smbuild
cmake .. \ cmake .. \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/spacefm-include-sysmacros.patch applypatch $srcdir/spacefm-include-sysmacros.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/getsubopt.patch applypatch $srcdir/getsubopt.patch
patch -p1 < $srcdir/types.patch applypatch $srcdir/types.patch
CFLAGS="$CFLAGS -D__off_t=off_t" \ CFLAGS="$CFLAGS -D__off_t=off_t" \
LIBS="-largp" \ LIBS="-largp" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/inherit-hicolor-theme.diff applypatch $srcdir/inherit-hicolor-theme.diff
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,8 +14,8 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/CVE-2018-19876.patch applypatch $srcdir/CVE-2018-19876.patch
patch -p1 < $srcdir/musl-stacksize.patch applypatch $srcdir/musl-stacksize.patch
autoreconf -vif autoreconf -vif

View file

@ -15,8 +15,8 @@ build() {
fixbuilddirpermissions fixbuilddirpermissions
autoreconf autoreconf
patch -p1 < $srcdir/gtk2-fixdso.patch applypatch $srcdir/gtk2-fixdso.patch
patch -p1 < $srcdir/xid-collision-debug.patch applypatch $srcdir/xid-collision-debug.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/enchant-2.diff applypatch $srcdir/enchant-2.diff
CPPFLAGS="$CFLAGS -D_GNU_SOURCE" \ CPPFLAGS="$CFLAGS -D_GNU_SOURCE" \
./configure \ ./configure \

View file

@ -16,7 +16,7 @@ build() {
# https://github.com/harfbuzz/harfbuzz/issues/2555 # https://github.com/harfbuzz/harfbuzz/issues/2555
# https://github.com/harfbuzz/harfbuzz/commit/bb37df76949802214323d7cd5454cd19bfb73a00 # https://github.com/harfbuzz/harfbuzz/commit/bb37df76949802214323d7cd5454cd19bfb73a00
patch -p1 < $srcdir/harfbuzz-old-gcc-header.patch applypatch $srcdir/harfbuzz-old-gcc-header.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/libunique-1.1.6-G_CONST_RETURN.patch applypatch $srcdir/libunique-1.1.6-G_CONST_RETURN.patch
CFLAGS="$CFLAGS -Wno-deprecated-declarations" \ CFLAGS="$CFLAGS -Wno-deprecated-declarations" \
CXXFLAGS="$CFLAGS" \ CXXFLAGS="$CFLAGS" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/openjpeg2-remove-thirdparty.patch applypatch $srcdir/openjpeg2-remove-thirdparty.patch
mkdir smbuild && cd smbuild mkdir smbuild && cd smbuild
cmake .. \ cmake .. \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/CVE-2019-1010238.patch applypatch $srcdir/CVE-2019-1010238.patch
touch pango/s-enum-types-h touch pango/s-enum-types-h
touch pango/s-enum-types-c touch pango/s-enum-types-c

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/default-xsettings-xml.patch applypatch $srcdir/default-xsettings-xml.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/dbus-allow-root-globally.diff applypatch $srcdir/dbus-allow-root-globally.diff
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -15,7 +15,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/fedora-fixes.patch applypatch $srcdir/fedora-fixes.patch
sed -e 's/-Werror//' -i configure.ac sed -e 's/-Werror//' -i configure.ac
autoreconf -vif autoreconf -vif

View file

@ -14,10 +14,10 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/add-use-elf-tls.patch applypatch $srcdir/add-use-elf-tls.patch
patch -p1 < $srcdir/adjust-cache-deflate-buffer.patch applypatch $srcdir/adjust-cache-deflate-buffer.patch
patch -p1 < $srcdir/disable-rgb10-by-default.patch applypatch $srcdir/disable-rgb10-by-default.patch
patch -p1 < $srcdir/musl-fix-includes.patch applypatch $srcdir/musl-fix-includes.patch
export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700" export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=700"

View file

@ -13,7 +13,7 @@ build() {
tar xf $srcdir/$app-$version.tar.?z* tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version cd $app-$version
patch -p1 < $srcdir/terminus-font.Makefile.paths.diff applypatch $srcdir/terminus-font.Makefile.paths.diff
fixbuilddirpermissions fixbuilddirpermissions
make make

View file

@ -14,7 +14,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/musl-macros.patch applypatch $srcdir/musl-macros.patch
./configure \ ./configure \
--prefix="" \ --prefix="" \

View file

@ -16,7 +16,7 @@ build() {
cd $app-$version cd $app-$version
fixbuilddirpermissions fixbuilddirpermissions
patch -p1 < $srcdir/git.patch applypatch $srcdir/git.patch
autoreconf -vif autoreconf -vif