From a92d370caa1cc878f08a7dda17eade4efa0bf83a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 18 Jun 2021 07:28:34 +0700 Subject: [PATCH] srcpkgs: add patch_args=-Np0 en-mass Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')" --- srcpkgs/0ad/template | 1 + srcpkgs/66-tools/template | 1 + srcpkgs/7kaa/template | 1 + srcpkgs/9base/template | 1 + srcpkgs/9mount/template | 1 + srcpkgs/Aegisub/template | 1 + srcpkgs/Brainfunk/template | 1 + srcpkgs/CPU-X/template | 1 + srcpkgs/Carla/template | 1 + srcpkgs/Cataclysm-DDA/template | 1 + srcpkgs/Chipmunk2D/template | 1 + srcpkgs/Clight/template | 1 + srcpkgs/Clp/template | 1 + srcpkgs/CoinMP/template | 1 + srcpkgs/CubicSDR/template | 1 + srcpkgs/DarkRadiant/template | 1 + srcpkgs/Fritzing/template | 1 + srcpkgs/GConf/template | 1 + srcpkgs/Gauche/template | 1 + srcpkgs/GraphicsMagick/template | 1 + srcpkgs/Haru/template | 1 + srcpkgs/LibreCAD/template | 1 + srcpkgs/LuaJIT/template | 1 + srcpkgs/MEGAcmd/template | 1 + srcpkgs/Maelstrom/template | 1 + srcpkgs/MonkeysAudio/template | 1 + srcpkgs/ORBit2/template | 1 + srcpkgs/OpenCPN/template | 1 + srcpkgs/OpenXcom/template | 1 + srcpkgs/PAmix/template | 1 + srcpkgs/PrusaSlicer/template | 1 + srcpkgs/QLC+/template | 1 + srcpkgs/SDL/template | 1 + srcpkgs/SDL2/template | 1 + srcpkgs/SLADE/template | 1 + srcpkgs/SMC/template | 1 + srcpkgs/Signal-Desktop/template | 1 + srcpkgs/TSC/template | 1 + srcpkgs/VeraCrypt/template | 1 + srcpkgs/XyGrib/template | 1 + srcpkgs/ZMusic/template | 1 + srcpkgs/a2ps/template | 1 + srcpkgs/abduco/template | 1 + srcpkgs/abook/template | 1 + srcpkgs/accountsservice/template | 1 + srcpkgs/acct/template | 1 + srcpkgs/acpi_call-dkms/template | 1 + srcpkgs/acpid/template | 1 + srcpkgs/actiona/template | 1 + srcpkgs/afterstep/template | 1 + srcpkgs/agg/template | 1 + srcpkgs/allegro4/template | 1 + srcpkgs/allegro5/template | 1 + srcpkgs/alsa-firmware/template | 1 + srcpkgs/alsa-tools/template | 1 + srcpkgs/amdvlk/template | 1 + srcpkgs/angrysearch/template | 1 + srcpkgs/anjuta/template | 1 + srcpkgs/anki/template | 1 + srcpkgs/antimicrox/template | 1 + srcpkgs/antiword/template | 1 + srcpkgs/apache/template | 1 + srcpkgs/apl/template | 1 + srcpkgs/appstream-glib/template | 1 + srcpkgs/apr/template | 1 + srcpkgs/aqbanking/template | 1 + srcpkgs/aqemu/template | 1 + srcpkgs/ardour/template | 1 + srcpkgs/arduino/template | 1 + srcpkgs/argon2/template | 1 + srcpkgs/argyllcms/template | 1 + srcpkgs/ark/template | 1 + srcpkgs/armadillo/template | 1 + srcpkgs/artyfx/template | 1 + srcpkgs/asignify/template | 1 + srcpkgs/assimp/template | 1 + srcpkgs/astroid/template | 1 + srcpkgs/astyle/template | 1 + srcpkgs/at/template | 1 + srcpkgs/aterm/template | 1 + srcpkgs/atomicparsley/template | 1 + srcpkgs/atop/template | 1 + srcpkgs/attic/template | 1 + srcpkgs/attract/template | 1 + srcpkgs/aubio/template | 1 + srcpkgs/audacity/template | 1 + srcpkgs/audiofile/template | 1 + srcpkgs/autoconf/template | 1 + srcpkgs/autoconf213/template | 1 + srcpkgs/autofs/template | 1 + srcpkgs/autogen/template | 1 + srcpkgs/avidemux/template | 1 + srcpkgs/avr-binutils/template | 1 + srcpkgs/bacula-common/template | 1 + srcpkgs/bananapi-uboot/template | 1 + srcpkgs/basu/template | 1 + srcpkgs/batman-adv14/template | 1 + srcpkgs/bbkeys/template | 1 + srcpkgs/bbswitch/template | 1 + srcpkgs/bc/template | 1 + srcpkgs/bcc/template | 1 + srcpkgs/bctoolbox/template | 1 + srcpkgs/beep/template | 1 + srcpkgs/beets/template | 1 + srcpkgs/beignet/template | 1 + srcpkgs/belle-sip/template | 1 + srcpkgs/berkeley-abc/template | 1 + srcpkgs/berry/template | 1 + srcpkgs/biew/template | 1 + srcpkgs/bin86/template | 1 + srcpkgs/binwalk/template | 1 + srcpkgs/bird/template | 1 + srcpkgs/bish/template | 1 + srcpkgs/bitchx/template | 1 + srcpkgs/bitfighter/template | 1 + srcpkgs/blackboxwm/template | 1 + srcpkgs/bmon/template | 1 + srcpkgs/boinc/template | 1 + srcpkgs/bomi/template | 1 + srcpkgs/bonnie++/template | 1 + srcpkgs/boomerang/template | 1 + srcpkgs/boost/template | 1 + srcpkgs/bootchart2/template | 1 + srcpkgs/botan/template | 1 + srcpkgs/bridge-utils/template | 1 + srcpkgs/brltty/template | 1 + srcpkgs/broadcom-wl-dkms/template | 1 + srcpkgs/browsh/template | 1 + srcpkgs/bsdiff/template | 1 + srcpkgs/bsdunzip/template | 1 + srcpkgs/bubblewrap/template | 1 + srcpkgs/buffer/template | 1 + srcpkgs/buildbot/template | 1 + srcpkgs/buku/template | 1 + srcpkgs/bullet/template | 1 + srcpkgs/bumblebee/template | 1 + srcpkgs/bup/template | 1 + srcpkgs/burp2-server/template | 1 + srcpkgs/busybox/template | 1 + srcpkgs/bzip2/template | 1 + srcpkgs/c-blosc/template | 1 + srcpkgs/c-client/template | 1 + srcpkgs/ca-certificates/template | 1 + srcpkgs/cabal-install/template | 1 + srcpkgs/cackey/template | 1 + srcpkgs/cadence/template | 1 + srcpkgs/calc/template | 1 + srcpkgs/caps/template | 1 + srcpkgs/cargo/template | 1 + srcpkgs/catch2/template | 1 + srcpkgs/catdoc/template | 1 + srcpkgs/cbang/template | 1 + srcpkgs/ccextractor/template | 1 + srcpkgs/ccl/template | 1 + srcpkgs/cclive/template | 1 + srcpkgs/ccsm/template | 1 + srcpkgs/cdb/template | 1 + srcpkgs/cdecl/template | 1 + srcpkgs/cdm/template | 1 + srcpkgs/cdparanoia/template | 1 + srcpkgs/cegui/template | 1 + srcpkgs/cegui07/template | 1 + srcpkgs/celestia-glut/template | 1 + srcpkgs/celestia-gtk/template | 1 + srcpkgs/chafa/template | 1 + srcpkgs/chatterino2/template | 1 + srcpkgs/chatty/template | 1 + srcpkgs/chkrootkit/template | 1 + srcpkgs/chmlib/template | 1 + srcpkgs/choosenim/template | 1 + srcpkgs/choqok/template | 1 + srcpkgs/chromium/template | 1 + srcpkgs/ck/template | 1 + srcpkgs/ckmame/template | 1 + srcpkgs/clementine/template | 1 + srcpkgs/cli-visualizer/template | 1 + srcpkgs/clib/template | 1 + srcpkgs/clisp/template | 1 + srcpkgs/cln/template | 1 + srcpkgs/clog/template | 1 + srcpkgs/cloog/template | 1 + srcpkgs/clucene/template | 1 + srcpkgs/clutter/template | 1 + srcpkgs/cmocka/template | 1 + srcpkgs/cmus/template | 1 + srcpkgs/codeblocks/template | 1 + srcpkgs/codecrypt/template | 1 + srcpkgs/codelite/template | 1 + srcpkgs/coin3/template | 1 + srcpkgs/collectd/template | 1 + srcpkgs/colord/template | 1 + srcpkgs/commoncpp2/template | 1 + srcpkgs/connman-ncurses/template | 1 + srcpkgs/containers.image/template | 1 + srcpkgs/coreboot-utils/template | 1 + srcpkgs/coreutils/template | 1 + srcpkgs/coturn/template | 1 + srcpkgs/cpuburn/template | 1 + srcpkgs/cpulimit/template | 1 + srcpkgs/criu/template | 1 + srcpkgs/crossguid/template | 1 + srcpkgs/crypto++/template | 1 + srcpkgs/csound/template | 1 + srcpkgs/csync2/template | 1 + srcpkgs/ctags/template | 1 + srcpkgs/cubieboard2-uboot/template | 1 + srcpkgs/cuetools/template | 1 + srcpkgs/cups-pdf/template | 1 + srcpkgs/cups/template | 1 + srcpkgs/cura-engine/template | 1 + srcpkgs/cutemarked/template | 1 + srcpkgs/cvsps2/template | 1 + srcpkgs/dante/template | 1 + srcpkgs/dar/template | 1 + srcpkgs/darkplaces/template | 1 + srcpkgs/darktable/template | 1 + srcpkgs/dash/template | 1 + srcpkgs/davfs2/template | 1 + srcpkgs/db/template | 1 + srcpkgs/dbus-glib/template | 1 + srcpkgs/dcraw/template | 1 + srcpkgs/dcron/template | 1 + srcpkgs/deadbeef-fb/template | 1 + srcpkgs/deadbeef/template | 1 + srcpkgs/debug-me/template | 1 + srcpkgs/desmume/template | 1 + srcpkgs/devil/template | 1 + srcpkgs/dhcp/template | 1 + srcpkgs/dhcpcd/template | 1 + srcpkgs/dia/template | 1 + srcpkgs/diod/template | 1 + srcpkgs/discord-ptb/template | 1 + srcpkgs/discord/template | 1 + srcpkgs/discount/template | 1 + srcpkgs/dispcalGUI/template | 1 + srcpkgs/djview/template | 1 + srcpkgs/dma/template | 1 + srcpkgs/dmd-bootstrap/template | 1 + srcpkgs/dmd2.081/template | 1 + srcpkgs/dmd2.091/template | 1 + srcpkgs/dmraid/template | 1 + srcpkgs/dmtx-utils/template | 1 + srcpkgs/docbook-xsl-ns/template | 1 + srcpkgs/docbook-xsl/template | 1 + srcpkgs/dolphin-emu/template | 1 + srcpkgs/dovecot/template | 1 + srcpkgs/doxygen/template | 1 + srcpkgs/dpdk/template | 1 + srcpkgs/dracut-crypt-ssh/template | 1 + srcpkgs/dracut/template | 1 + srcpkgs/drawterm/template | 1 + srcpkgs/drbd-utils/template | 1 + srcpkgs/dstat/template | 1 + srcpkgs/dua-cli/template | 1 + srcpkgs/dumpet/template | 1 + srcpkgs/dunelegacy/template | 1 + srcpkgs/duplicity/template | 1 + srcpkgs/dust3d/template | 1 + srcpkgs/dvd+rw-tools/template | 1 + srcpkgs/dvdauthor/template | 1 + srcpkgs/e2fsprogs/template | 1 + srcpkgs/eb/template | 1 + srcpkgs/eboard/template | 1 + srcpkgs/ecl/template | 1 + srcpkgs/ecryptfs-utils/template | 1 + srcpkgs/efibootmgr/template | 1 + srcpkgs/efl/template | 1 + srcpkgs/electron10/template | 1 + srcpkgs/electron12/template | 1 + srcpkgs/elogind/template | 1 + srcpkgs/emerald/template | 1 + srcpkgs/endless-sky-gl21/template | 1 + srcpkgs/engrampa/template | 1 + srcpkgs/enigma/template | 1 + srcpkgs/enlightenment/template | 1 + srcpkgs/entr/template | 1 + srcpkgs/enyo-doom/template | 1 + srcpkgs/epdfview/template | 1 + srcpkgs/espeakup/template | 1 + srcpkgs/eukleides/template | 1 + srcpkgs/evemu/template | 1 + srcpkgs/evolution-data-server/template | 1 + srcpkgs/evolution/template | 1 + srcpkgs/evtest/template | 1 + srcpkgs/ex-vi/template | 1 + srcpkgs/exfat-dkms/template | 1 + srcpkgs/exo/template | 1 + srcpkgs/expect/template | 1 + srcpkgs/extra-cmake-modules/template | 1 + srcpkgs/faad2/template | 1 + srcpkgs/fake-hwclock/template | 1 + srcpkgs/fakeroot/template | 1 + srcpkgs/falkon/template | 1 + srcpkgs/farstream/template | 1 + srcpkgs/fastd/template | 1 + srcpkgs/faust/template | 1 + srcpkgs/fbida/template | 1 + srcpkgs/fbreader/template | 1 + srcpkgs/fbterm/template | 1 + srcpkgs/fbv/template | 1 + srcpkgs/fbxkb/template | 1 + srcpkgs/fcitx-anthy/template | 1 + srcpkgs/fcron/template | 1 + srcpkgs/ferm/template | 1 + srcpkgs/ffmpeg/template | 1 + srcpkgs/fig2dev/template | 1 + srcpkgs/filezilla/template | 1 + srcpkgs/fingerprint-gui/template | 1 + srcpkgs/firefox-esr/template | 1 + srcpkgs/firefox/template | 1 + srcpkgs/firejail/template | 1 + srcpkgs/flatpak-builder/template | 1 + srcpkgs/flatpak/template | 1 + srcpkgs/flex/template | 1 + srcpkgs/flightgear/template | 1 + srcpkgs/flowcanvas/template | 1 + srcpkgs/foobillard++/template | 1 + srcpkgs/foomatic-db-engine/template | 1 + srcpkgs/foremost/template | 1 + srcpkgs/fossil/template | 1 + srcpkgs/fotoxx/template | 1 + srcpkgs/fpc/template | 1 + srcpkgs/fprint_demo/template | 1 + srcpkgs/frame/template | 1 + srcpkgs/freecad/template | 1 + srcpkgs/freeciv/template | 1 + srcpkgs/freedroidClassic/template | 1 + srcpkgs/freeimage/template | 1 + srcpkgs/freeipmi/template | 1 + srcpkgs/freeorion/template | 1 + srcpkgs/freeplane/template | 1 + srcpkgs/freetds/template | 1 + srcpkgs/freetype/template | 1 + srcpkgs/freshplayerplugin/template | 1 + srcpkgs/fs-utils/template | 1 + srcpkgs/fuse/template | 1 + srcpkgs/gamin/template | 1 + srcpkgs/gammu/template | 1 + srcpkgs/gatling/template | 1 + srcpkgs/gavl/template | 1 + srcpkgs/gbdfed/template | 1 + srcpkgs/gcc-multilib/template | 1 + srcpkgs/gcc/template | 1 + srcpkgs/gcolor2/template | 1 + srcpkgs/gdm/template | 1 + srcpkgs/gdmap/template | 1 + srcpkgs/geary/template | 1 + srcpkgs/geda/template | 1 + srcpkgs/geis/template | 1 + srcpkgs/geos/template | 1 + srcpkgs/gfm/template | 1 + srcpkgs/giac/template | 1 + srcpkgs/giflib/template | 1 + srcpkgs/giggle/template | 1 + srcpkgs/gimp/template | 1 + srcpkgs/git-annex/template | 1 + srcpkgs/gitea/template | 1 + srcpkgs/gitg/template | 1 + srcpkgs/gkrellm/template | 1 + srcpkgs/glances/template | 1 + srcpkgs/glib/template | 1 + srcpkgs/gloox/template | 1 + srcpkgs/glusterfs/template | 1 + srcpkgs/glyr/template | 1 + srcpkgs/gmrun/template | 1 + srcpkgs/gnome-authenticator/template | 1 + srcpkgs/gnome-desktop/template | 1 + srcpkgs/gnome-keyring/template | 1 + srcpkgs/gnome-latex/template | 1 + srcpkgs/gnome-photos/template | 1 + srcpkgs/gnome-screensaver/template | 1 + srcpkgs/gnome-session/template | 1 + srcpkgs/gnome-settings-daemon/template | 1 + srcpkgs/gnome-terminal/template | 1 + srcpkgs/gnu-efi-libs/template | 1 + srcpkgs/gnucash/template | 1 + srcpkgs/gnupg2/template | 1 + srcpkgs/gnuradio-nrsc5/template | 1 + srcpkgs/gnustep-base/template | 1 + srcpkgs/gnustep-make/template | 1 + srcpkgs/gnutls/template | 1 + srcpkgs/goaccess/template | 1 + srcpkgs/godot/template | 1 + srcpkgs/gogglesmm/template | 1 + srcpkgs/goldendict/template | 1 + srcpkgs/gosu/template | 1 + srcpkgs/goxel/template | 1 + srcpkgs/gpart/template | 1 + srcpkgs/gperftools/template | 1 + srcpkgs/gpgme/template | 1 + srcpkgs/gpick/template | 1 + srcpkgs/gpm/template | 1 + srcpkgs/gpsbabel/template | 1 + srcpkgs/gpsd/template | 1 + srcpkgs/grpc/template | 1 + srcpkgs/grub-customizer/template | 1 + srcpkgs/gscan2pdf/template | 1 + srcpkgs/gscope3/template | 1 + srcpkgs/gsl/template | 1 + srcpkgs/gsoap/template | 1 + srcpkgs/gst-plugins-bad1/template | 1 + srcpkgs/gst-plugins-base1/template | 1 + srcpkgs/gst123/template | 1 + srcpkgs/gstreamermm/template | 1 + srcpkgs/gthumb/template | 1 + srcpkgs/gtk-sharp/template | 1 + srcpkgs/gtk-sharp2/template | 1 + srcpkgs/gtk-theme-config/template | 1 + srcpkgs/gtkglext/template | 1 + srcpkgs/gtkpod/template | 1 + srcpkgs/gtkspell/template | 1 + srcpkgs/gtypist/template | 1 + srcpkgs/guake/template | 1 + srcpkgs/guile/template | 1 + srcpkgs/guile1.8/template | 1 + srcpkgs/guitarix2/template | 1 + srcpkgs/gummiboot/template | 1 + srcpkgs/gupnp-igd/template | 1 + srcpkgs/guvcview/template | 1 + srcpkgs/gwenhywfar/template | 1 + srcpkgs/gxemul/template | 1 + srcpkgs/gzdoom/template | 1 + srcpkgs/h2o/template | 1 + srcpkgs/halibut/template | 1 + srcpkgs/hamlib/template | 1 + srcpkgs/handbrake/template | 1 + srcpkgs/hardinfo/template | 1 + srcpkgs/heaptrack/template | 1 + srcpkgs/hedgewars/template | 1 + srcpkgs/hexchat/template | 1 + srcpkgs/hexer/template | 1 + srcpkgs/heyu/template | 1 + srcpkgs/hfsprogs/template | 1 + srcpkgs/higan/template | 1 + srcpkgs/hiredis/template | 1 + srcpkgs/hitch/template | 1 + srcpkgs/hlint/template | 1 + srcpkgs/hosts-update/template | 1 + srcpkgs/hplip/template | 1 + srcpkgs/hstr/template | 1 + srcpkgs/ht/template | 1 + srcpkgs/http-parser/template | 1 + srcpkgs/httpdirfs/template | 1 + srcpkgs/hugin/template | 1 + srcpkgs/hunspell/template | 1 + srcpkgs/i3status/template | 1 + srcpkgs/ibus-anthy/template | 1 + srcpkgs/ibus-avro/template | 1 + srcpkgs/id3lib/template | 1 + srcpkgs/ifupdown/template | 1 + srcpkgs/igt-gpu-tools/template | 1 + srcpkgs/ilmbase/template | 1 + srcpkgs/imagescan/template | 1 + srcpkgs/imgbrd-grabber/template | 1 + srcpkgs/imwheel/template | 1 + srcpkgs/indent/template | 1 + srcpkgs/injeqt/template | 1 + srcpkgs/input-utils/template | 1 + srcpkgs/inspectrum/template | 1 + srcpkgs/invada-studio-plugins-lv2/template | 1 + srcpkgs/io.elementary.calendar/template | 1 + srcpkgs/io.elementary.code/template | 1 + srcpkgs/io.elementary.music/template | 1 + srcpkgs/iotop/template | 1 + srcpkgs/iouyap/template | 1 + srcpkgs/ipmitool/template | 1 + srcpkgs/ipp-usb/template | 1 + srcpkgs/ippusbxd/template | 1 + srcpkgs/iptables/template | 1 + srcpkgs/iscan/template | 1 + srcpkgs/iucode-tool/template | 1 + srcpkgs/iverilog/template | 1 + srcpkgs/iwd/template | 1 + srcpkgs/j/template | 1 + srcpkgs/jack/template | 1 + srcpkgs/janet/template | 1 + srcpkgs/jbig2dec/template | 1 + srcpkgs/jedit/template | 1 + srcpkgs/jfsutils/template | 1 + srcpkgs/jsonnet/template | 1 + srcpkgs/jwm/template | 1 + srcpkgs/jxrlib/template | 1 + srcpkgs/kanshi/template | 1 + srcpkgs/katarakt/template | 1 + srcpkgs/kauth/template | 1 + srcpkgs/kbd/template | 1 + srcpkgs/kcgi/template | 1 + srcpkgs/kconfig/template | 1 + srcpkgs/kcoreaddons/template | 1 + srcpkgs/kdb/template | 1 + srcpkgs/kdelibs4support/template | 1 + srcpkgs/kdesignerplugin/template | 1 + srcpkgs/kdevelop-python/template | 1 + srcpkgs/kdevelop/template | 1 + srcpkgs/kdoctools/template | 1 + srcpkgs/kea/template | 1 + srcpkgs/kernel-libc-headers/template | 1 + srcpkgs/kexec-tools/template | 1 + srcpkgs/kexi/template | 1 + srcpkgs/keyutils/template | 1 + srcpkgs/kicad/template | 1 + srcpkgs/kid3/template | 1 + srcpkgs/kinit/template | 1 + srcpkgs/kio/template | 1 + srcpkgs/kmod/template | 1 + srcpkgs/kmscon/template | 1 + srcpkgs/kobodeluxe/template | 1 + srcpkgs/kodi-addon-inputstream-adaptive/template | 1 + srcpkgs/kore/template | 1 + srcpkgs/krita/template | 1 + srcpkgs/kscreenlocker/template | 1 + srcpkgs/kvirc/template | 1 + srcpkgs/kwallet-cli/template | 1 + srcpkgs/laditools/template | 1 + srcpkgs/ladspa-sdk/template | 1 + srcpkgs/lapack/template | 1 + srcpkgs/latencytop/template | 1 + srcpkgs/ldapvi/template | 1 + srcpkgs/ldb/template | 1 + srcpkgs/ledger/template | 1 + srcpkgs/lfe/template | 1 + srcpkgs/liba52/template | 1 + srcpkgs/libabigail/template | 1 + srcpkgs/libabw/template | 1 + srcpkgs/libaccounts-qt5/template | 1 + srcpkgs/libarchive/template | 1 + srcpkgs/libatasmart/template | 1 + srcpkgs/libax25/template | 1 + srcpkgs/libbsd/template | 1 + srcpkgs/libcanberra/template | 1 + srcpkgs/libcap-ng/template | 1 + srcpkgs/libcap/template | 1 + srcpkgs/libcec/template | 1 + srcpkgs/libcgroup/template | 1 + srcpkgs/libcmis/template | 1 + srcpkgs/libcprops/template | 1 + srcpkgs/libdaemon/template | 1 + srcpkgs/libdbus-c++/template | 1 + srcpkgs/libdill/template | 1 + srcpkgs/libdrm/template | 1 + srcpkgs/libesmtp/template | 1 + srcpkgs/libetpan/template | 1 + srcpkgs/libevdevPlus/template | 1 + srcpkgs/libexecinfo/template | 1 + srcpkgs/libfetch/template | 1 + srcpkgs/libffado/template | 1 + srcpkgs/libffi/template | 1 + srcpkgs/libfprint/template | 1 + srcpkgs/libfprint0/template | 1 + srcpkgs/libfreehand/template | 1 + srcpkgs/libgadu/template | 1 + srcpkgs/libgdal/template | 1 + srcpkgs/libgfshare/template | 1 + srcpkgs/libgit2-glib/template | 1 + srcpkgs/libglade/template | 1 + srcpkgs/libglvnd/template | 1 + srcpkgs/libgme/template | 1 + srcpkgs/libgpod/template | 1 + srcpkgs/libgsm/template | 1 + srcpkgs/libguestfs/template | 1 + srcpkgs/libieee1284/template | 1 + srcpkgs/libimobiledevice/template | 1 + srcpkgs/libindicator/template | 1 + srcpkgs/libiodbc/template | 1 + srcpkgs/libixion/template | 1 + srcpkgs/libmad/template | 1 + srcpkgs/libmemcached/template | 1 + srcpkgs/libmill/template | 1 + srcpkgs/libmilter/template | 1 + srcpkgs/libmirage/template | 1 + srcpkgs/libmowgli/template | 1 + srcpkgs/libmp4v2/template | 1 + srcpkgs/libmpd/template | 1 + srcpkgs/libmspub/template | 1 + srcpkgs/libmygpo-qt/template | 1 + srcpkgs/libmygui/template | 1 + srcpkgs/libnet/template | 1 + srcpkgs/libnetfilter_log/template | 1 + srcpkgs/libnfc/template | 1 + srcpkgs/libnfs/template | 1 + srcpkgs/libnih/template | 1 + srcpkgs/libnl/template | 1 + srcpkgs/libogre/template | 1 + srcpkgs/libomxil-bellagio/template | 1 + srcpkgs/libopenglrecorder/template | 1 + srcpkgs/libopenshot-audio/template | 1 + srcpkgs/libosinfo/template | 1 + srcpkgs/libostree/template | 1 + srcpkgs/libowfat/template | 1 + srcpkgs/libportal/template | 1 + srcpkgs/libproxy/template | 1 + srcpkgs/libpurple-steam/template | 1 + srcpkgs/libratbag/template | 1 + srcpkgs/libreadline8/template | 1 + srcpkgs/libreoffice/template | 1 + srcpkgs/libretro-mupen64plus-rpi/template | 1 + srcpkgs/libretro-mupen64plus/template | 1 + srcpkgs/librtas/template | 1 + srcpkgs/libscrypt/template | 1 + srcpkgs/libsearpc/template | 1 + srcpkgs/libselinux/template | 1 + srcpkgs/libsigrokdecode/template | 1 + srcpkgs/libsigsegv/template | 1 + srcpkgs/libsmbios/template | 1 + srcpkgs/libspnav/template | 1 + srcpkgs/libssh/template | 1 + srcpkgs/libtecla/template | 1 + srcpkgs/libticables2/template | 1 + srcpkgs/libtool/template | 1 + srcpkgs/libtorrent/template | 1 + srcpkgs/libu2f-host/template | 1 + srcpkgs/libu2f-server/template | 1 + srcpkgs/libucl/template | 1 + srcpkgs/libuninum/template | 1 + srcpkgs/libunique/template | 1 + srcpkgs/libunwind/template | 1 + srcpkgs/libusb-compat/template | 1 + srcpkgs/libusb/template | 1 + srcpkgs/libusbmuxd/template | 1 + srcpkgs/libuv/template | 1 + srcpkgs/libvdpau/template | 1 + srcpkgs/libvidstab/template | 1 + srcpkgs/libvirt-glib/template | 1 + srcpkgs/libwmf/template | 1 + srcpkgs/libxdg-basedir/template | 1 + srcpkgs/libxkbcommon/template | 1 + srcpkgs/libxml2-python/template | 1 + srcpkgs/libxml2/template | 1 + srcpkgs/libxo/template | 1 + srcpkgs/libzim/template | 1 + srcpkgs/lightdm-webkit2-greeter/template | 1 + srcpkgs/lightdm/template | 1 + srcpkgs/lighttpd/template | 1 + srcpkgs/lightzone/template | 1 + srcpkgs/lilo/template | 1 + srcpkgs/lilyterm/template | 1 + srcpkgs/linphone-desktop/template | 1 + srcpkgs/linssid/template | 1 + srcpkgs/linux-tools/template | 1 + srcpkgs/linux-vt-setcolors/template | 1 + srcpkgs/linux4.4/template | 1 + srcpkgs/liquid-dsp/template | 1 + srcpkgs/liquidwar/template | 1 + srcpkgs/litecoin/template | 1 + srcpkgs/llvm11/template | 1 + srcpkgs/llvm12/template | 1 + srcpkgs/lmdb/template | 1 + srcpkgs/lmms/template | 1 + srcpkgs/log4cxx/template | 1 + srcpkgs/loksh/template | 1 + srcpkgs/loudmouth/template | 1 + srcpkgs/lshw/template | 1 + srcpkgs/ltrace/template | 1 + srcpkgs/lttng-tools/template | 1 + srcpkgs/lua51-luasocket/template | 1 + srcpkgs/lua51/template | 1 + srcpkgs/lua52/template | 1 + srcpkgs/lua53/template | 1 + srcpkgs/lua54-lgi/template | 1 + srcpkgs/lua54-lualdap/template | 1 + srcpkgs/lua54/template | 1 + srcpkgs/luakit/template | 1 + srcpkgs/lumina/template | 1 + srcpkgs/lvm2/template | 1 + srcpkgs/lwipv6/template | 1 + srcpkgs/lxappearance/template | 1 + srcpkgs/lxdm/template | 1 + srcpkgs/lxpanel/template | 1 + srcpkgs/lzf/template | 1 + srcpkgs/mDNSResponder/template | 1 + srcpkgs/mairix/template | 1 + srcpkgs/makedumpfile/template | 1 + srcpkgs/makeself/template | 1 + srcpkgs/mame/template | 1 + srcpkgs/man-db/template | 1 + srcpkgs/marble5/template | 1 + srcpkgs/marco/template | 1 + srcpkgs/mariadb/template | 1 + srcpkgs/masterpassword-cli/template | 1 + srcpkgs/mate-utils/template | 1 + srcpkgs/matio/template | 1 + srcpkgs/maturin/template | 1 + srcpkgs/mc/template | 1 + srcpkgs/mcpp/template | 1 + srcpkgs/mdadm/template | 1 + srcpkgs/mdocml/template | 1 + srcpkgs/mednafen/template | 1 + srcpkgs/memtest86+/template | 1 + srcpkgs/mergerfs/template | 1 + srcpkgs/merkaartor/template | 1 + srcpkgs/mesa/template | 1 + srcpkgs/meson/template | 1 + srcpkgs/mg/template | 1 + srcpkgs/mhddfs/template | 1 + srcpkgs/milkytracker/template | 1 + srcpkgs/mimic/template | 1 + srcpkgs/minicom/template | 1 + srcpkgs/minidlna/template | 1 + srcpkgs/minijail/template | 1 + srcpkgs/minisat/template | 1 + srcpkgs/minissdpd/template | 1 + srcpkgs/mit-krb5/template | 1 + srcpkgs/mit-scheme-c/template | 1 + srcpkgs/mlocate/template | 1 + srcpkgs/mmv/template | 1 + srcpkgs/moc/template | 1 + srcpkgs/mod_wsgi/template | 1 + srcpkgs/mog/template | 1 + srcpkgs/mon/template | 1 + srcpkgs/monero/template | 1 + srcpkgs/mongoose/template | 1 + srcpkgs/monit/template | 1 + srcpkgs/mono/template | 1 + srcpkgs/moon-buggy/template | 1 + srcpkgs/moosefs/template | 1 + srcpkgs/mosh/template | 1 + srcpkgs/mosquitto/template | 1 + srcpkgs/mp3check/template | 1 + srcpkgs/mp3val/template | 1 + srcpkgs/mpg123/template | 1 + srcpkgs/mplayer/template | 1 + srcpkgs/mrxvt/template | 1 + srcpkgs/msg2/template | 1 + srcpkgs/msp430-toolchain/template | 1 + srcpkgs/mumble/template | 1 + srcpkgs/mupen64plus/template | 1 + srcpkgs/musikcube/template | 1 + srcpkgs/mutter/template | 1 + srcpkgs/mysql++/template | 1 + srcpkgs/nagstamon/template | 1 + srcpkgs/namecoin/template | 1 + srcpkgs/navit/template | 1 + srcpkgs/nemiver/template | 1 + srcpkgs/net-snmp/template | 1 + srcpkgs/netcat/template | 1 + srcpkgs/nethack/template | 1 + srcpkgs/netpgp/template | 1 + srcpkgs/netpgpverify/template | 1 + srcpkgs/nettle/template | 1 + srcpkgs/network-ups-tools/template | 1 + srcpkgs/newlisp/template | 1 + srcpkgs/nextcloud-client/template | 1 + srcpkgs/nfs4-acl-tools/template | 1 + srcpkgs/nginx/template | 1 + srcpkgs/ngspice/template | 1 + srcpkgs/nitroshare/template | 1 + srcpkgs/nmon/template | 1 + srcpkgs/nocache/template | 1 + srcpkgs/nodejs-lts-10/template | 1 + srcpkgs/nodejs-lts/template | 1 + srcpkgs/nodejs/template | 1 + srcpkgs/noip2/template | 1 + srcpkgs/notepadqq/template | 1 + srcpkgs/notes-up/template | 1 + srcpkgs/nrpe/template | 1 + srcpkgs/nsjail/template | 1 + srcpkgs/nspr/template | 1 + srcpkgs/nss/template | 1 + srcpkgs/ntp/template | 1 + srcpkgs/numactl/template | 1 + srcpkgs/nvme-cli/template | 1 + srcpkgs/nwipe/template | 1 + srcpkgs/nx-libs/template | 1 + srcpkgs/obexftp/template | 1 + srcpkgs/occt/template | 1 + srcpkgs/odroid-u2-kernel/template | 1 + srcpkgs/ofono/template | 1 + srcpkgs/ogmrip/template | 1 + srcpkgs/ogmtools/template | 1 + srcpkgs/oksh/template | 1 + srcpkgs/okteta/template | 1 + srcpkgs/okular/template | 1 + srcpkgs/olsrd/template | 1 + srcpkgs/omxplayer/template | 1 + srcpkgs/open-iscsi/template | 1 + srcpkgs/open-vm-tools/template | 1 + srcpkgs/openbabel/template | 1 + srcpkgs/openblas/template | 1 + srcpkgs/openbox/template | 1 + srcpkgs/openbsd-file/template | 1 + srcpkgs/opencollada/template | 1 + srcpkgs/opencolorio/template | 1 + srcpkgs/opencv/template | 1 + srcpkgs/opencv4/template | 1 + srcpkgs/opendkim/template | 1 + srcpkgs/openexr/template | 1 + srcpkgs/openjade/template | 1 + srcpkgs/openjpeg2/template | 1 + srcpkgs/openlierox/template | 1 + srcpkgs/openmpi/template | 1 + srcpkgs/openntpd/template | 1 + srcpkgs/opensm/template | 1 + srcpkgs/opensmtpd-extras/template | 1 + srcpkgs/opensmtpd/template | 1 + srcpkgs/opensonic/template | 1 + srcpkgs/openssh/template | 1 + srcpkgs/openssl/template | 1 + srcpkgs/opensurge/template | 1 + srcpkgs/opkg/template | 1 + srcpkgs/oprofile/template | 1 + srcpkgs/oragono/template | 1 + srcpkgs/orion/template | 1 + srcpkgs/os-prober/template | 1 + srcpkgs/osg/template | 1 + srcpkgs/osmid/template | 1 + srcpkgs/otfcc/template | 1 + srcpkgs/otpw/template | 1 + srcpkgs/owncloudclient/template | 1 + srcpkgs/p7zip/template | 1 + srcpkgs/pa-applet/template | 1 + srcpkgs/pacman/template | 1 + srcpkgs/pahole/template | 1 + srcpkgs/pam-mount/template | 1 + srcpkgs/pam-u2f/template | 1 + srcpkgs/pam_ssh/template | 1 + srcpkgs/pam_ssh_agent_auth/template | 1 + srcpkgs/papi/template | 1 + srcpkgs/par/template | 1 + srcpkgs/par2cmdline/template | 1 + srcpkgs/paraview/template | 1 + srcpkgs/parcellite/template | 1 + srcpkgs/partclone/template | 1 + srcpkgs/passwordsafe/template | 1 + srcpkgs/pax/template | 1 + srcpkgs/pcaudiolib/template | 1 + srcpkgs/pcc/template | 1 + srcpkgs/pchar/template | 1 + srcpkgs/pcsclite/template | 1 + srcpkgs/pcsx2/template | 1 + srcpkgs/pd/template | 1 + srcpkgs/pdsh/template | 1 + srcpkgs/perl-Text-BibTeX/template | 1 + srcpkgs/perl-Tk/template | 1 + srcpkgs/perl-WWW-Curl/template | 1 + srcpkgs/perl/template | 1 + srcpkgs/pgadmin3/template | 1 + srcpkgs/php/template | 1 + srcpkgs/pidgin-libnotify/template | 1 + srcpkgs/pidgin/template | 1 + srcpkgs/pijul/template | 1 + srcpkgs/pilot-link/template | 1 + srcpkgs/pinebookpro-uboot/template | 1 + srcpkgs/pingus/template | 1 + srcpkgs/pioneer/template | 1 + srcpkgs/pipenightdreams/template | 1 + srcpkgs/pipewire/template | 1 + srcpkgs/pjproject/template | 1 + srcpkgs/plasma-framework/template | 1 + srcpkgs/plasma-workspace/template | 1 + srcpkgs/plex-media-player/template | 1 + srcpkgs/plib/template | 1 + srcpkgs/plocate/template | 1 + srcpkgs/plotutils/template | 1 + srcpkgs/plume-creator/template | 1 + srcpkgs/plymouth/template | 1 + srcpkgs/pmount/template | 1 + srcpkgs/png++/template | 1 + srcpkgs/polkit/template | 1 + srcpkgs/polygen/template | 1 + srcpkgs/portaudio/template | 1 + srcpkgs/portmidi/template | 1 + srcpkgs/postfix/template | 1 + srcpkgs/postgresql/template | 1 + srcpkgs/postgresql12/template | 1 + srcpkgs/postgresql13/template | 1 + srcpkgs/povray/template | 1 + srcpkgs/powerpc-utils/template | 1 + srcpkgs/ppp/template | 1 + srcpkgs/pps-tools/template | 1 + srcpkgs/ppsspp/template | 1 + srcpkgs/pptpclient/template | 1 + srcpkgs/projectlibre/template | 1 + srcpkgs/proot/template | 1 + srcpkgs/protobuf-c/template | 1 + srcpkgs/prototype/template | 1 + srcpkgs/psensor/template | 1 + srcpkgs/ptii/template | 1 + srcpkgs/pugixml/template | 1 + srcpkgs/pulseview/template | 1 + srcpkgs/putty/template | 1 + srcpkgs/pvoc/template | 1 + srcpkgs/pwnat/template | 1 + srcpkgs/pygtk/template | 1 + srcpkgs/pymol/template | 1 + srcpkgs/pyside2-tools/template | 1 + srcpkgs/python-M2Crypto/template | 1 + srcpkgs/python-coverage/template | 1 + srcpkgs/python-docutils/template | 1 + srcpkgs/python-evdev/template | 1 + srcpkgs/python-nose/template | 1 + srcpkgs/python-pip/template | 1 + srcpkgs/python-requests/template | 1 + srcpkgs/python/template | 1 + srcpkgs/python3-PyBrowserID/template | 1 + srcpkgs/python3-PyQt5/template | 1 + srcpkgs/python3-aiohttp/template | 1 + srcpkgs/python3-boltons/template | 1 + srcpkgs/python3-cli_helpers/template | 1 + srcpkgs/python3-curtsies/template | 1 + srcpkgs/python3-entrypoints/template | 1 + srcpkgs/python3-gevent/template | 1 + srcpkgs/python3-gitchangelog/template | 1 + srcpkgs/python3-grpcio/template | 1 + srcpkgs/python3-mygpoclient/template | 1 + srcpkgs/python3-nose2/template | 1 + srcpkgs/python3-pdfminer.six/template | 1 + srcpkgs/python3-pikepdf/template | 1 + srcpkgs/python3-pip/template | 1 + srcpkgs/python3-pwntools/template | 1 + srcpkgs/python3-pylibgen/template | 1 + srcpkgs/python3-pyside2/template | 1 + srcpkgs/python3-repoze.sphinx.autointerface/template | 1 + srcpkgs/python3-telegram/template | 1 + srcpkgs/python3/template | 1 + srcpkgs/qca-qt5/template | 1 + srcpkgs/qdirstat/template | 1 + srcpkgs/qingy/template | 1 + srcpkgs/qmmp/template | 1 + srcpkgs/qpdfview/template | 1 + srcpkgs/qscintilla-qt5/template | 1 + srcpkgs/qsstv/template | 1 + srcpkgs/qt5-fsarchiver/template | 1 + srcpkgs/qt5-styleplugins/template | 1 + srcpkgs/qt5-webkit/template | 1 + srcpkgs/qt5/template | 1 + srcpkgs/qt5pas/template | 1 + srcpkgs/qt6-base/template | 1 + srcpkgs/qtav/template | 1 + srcpkgs/qtcreator/template | 1 + srcpkgs/qtikz/template | 1 + srcpkgs/qtkeychain-qt5/template | 1 + srcpkgs/qtpass/template | 1 + srcpkgs/quassel/template | 1 + srcpkgs/quickjs/template | 1 + srcpkgs/quota/template | 1 + srcpkgs/qv4l2/template | 1 + srcpkgs/rabbitmq-c/template | 1 + srcpkgs/racket/template | 1 + srcpkgs/radare2/template | 1 + srcpkgs/rakarrack/template | 1 + srcpkgs/rapidjson/template | 1 + srcpkgs/raptor/template | 1 + srcpkgs/rdedup/template | 1 + srcpkgs/rdis-git/template | 1 + srcpkgs/re/template | 1 + srcpkgs/redis/template | 1 + srcpkgs/redo/template | 1 + srcpkgs/refind/template | 1 + srcpkgs/reiserfsprogs/template | 1 + srcpkgs/renderdoc/template | 1 + srcpkgs/residualvm/template | 1 + srcpkgs/resvg/template | 1 + srcpkgs/retroshare/template | 1 + srcpkgs/rhythmbox/template | 1 + srcpkgs/rinse/template | 1 + srcpkgs/rix/template | 1 + srcpkgs/rmilter/template | 1 + srcpkgs/rmlint/template | 1 + srcpkgs/rpcbind/template | 1 + srcpkgs/rpi-imager/template | 1 + srcpkgs/rpm/template | 1 + srcpkgs/rspamd/template | 1 + srcpkgs/rsstail/template | 1 + srcpkgs/rstudio/template | 1 + srcpkgs/rsyslog/template | 1 + srcpkgs/rtl8812au-dkms/template | 1 + srcpkgs/rtl8822bu-dkms/template | 1 + srcpkgs/rtmpdump/template | 1 + srcpkgs/rtorrent/template | 1 + srcpkgs/rubberband/template | 1 + srcpkgs/ruby/template | 1 + srcpkgs/ruler/template | 1 + srcpkgs/run-mailcap/template | 1 + srcpkgs/runit/template | 1 + srcpkgs/rustup/template | 1 + srcpkgs/rxvt-unicode/template | 1 + srcpkgs/s3cmd/template | 1 + srcpkgs/samba/template | 1 + srcpkgs/sandboxfs/template | 1 + srcpkgs/sane/template | 1 + srcpkgs/sauerbraten/template | 1 + srcpkgs/sbcl/template | 1 + srcpkgs/sc3-plugins/template | 1 + srcpkgs/scanmem/template | 1 + srcpkgs/schroot/template | 1 + srcpkgs/screen/template | 1 + srcpkgs/scrotty/template | 1 + srcpkgs/scummvm/template | 1 + srcpkgs/sddm/template | 1 + srcpkgs/seafile-client-qt/template | 1 + srcpkgs/seexpr-krita/template | 1 + srcpkgs/serf/template | 1 + srcpkgs/shaderc/template | 1 + srcpkgs/shadow/template | 1 + srcpkgs/shapelib/template | 1 + srcpkgs/shiboken2/template | 1 + srcpkgs/shmux/template | 1 + srcpkgs/shotwell/template | 1 + srcpkgs/signond/template | 1 + srcpkgs/sile/template | 1 + srcpkgs/silly/template | 1 + srcpkgs/simgear/template | 1 + srcpkgs/simutron/template | 1 + srcpkgs/sisl/template | 1 + srcpkgs/skroll/template | 1 + srcpkgs/slcp/template | 1 + srcpkgs/sleuthkit/template | 1 + srcpkgs/slim/template | 1 + srcpkgs/sloccount/template | 1 + srcpkgs/slurm-wlm/template | 1 + srcpkgs/smpeg/template | 1 + srcpkgs/smpeg2/template | 1 + srcpkgs/snapper/template | 1 + srcpkgs/snappy/template | 1 + srcpkgs/socat/template | 1 + srcpkgs/socklog/template | 1 + srcpkgs/sombok/template | 1 + srcpkgs/sonic-visualiser/template | 1 + srcpkgs/sopwith/template | 1 + srcpkgs/soundmodem/template | 1 + srcpkgs/spacefm/template | 1 + srcpkgs/spamassassin/template | 1 + srcpkgs/spampd/template | 1 + srcpkgs/speech-dispatcher/template | 1 + srcpkgs/speed-dreams/template | 1 + srcpkgs/spice-gtk/template | 1 + srcpkgs/spim/template | 1 + srcpkgs/splix/template | 1 + srcpkgs/spreed-webrtc/template | 1 + srcpkgs/sqmail/template | 1 + srcpkgs/squashfs-tools/template | 1 + srcpkgs/srb2/template | 1 + srcpkgs/ssoma/template | 1 + srcpkgs/sssd/template | 1 + srcpkgs/stack/template | 1 + srcpkgs/starplot/template | 1 + srcpkgs/stepmania/template | 1 + srcpkgs/stfl/template | 1 + srcpkgs/stk/template | 1 + srcpkgs/stlink/template | 1 + srcpkgs/stockfish/template | 1 + srcpkgs/strawberry/template | 1 + srcpkgs/subversion-kwallet-auth/template | 1 + srcpkgs/subversion/template | 1 + srcpkgs/sudo/template | 1 + srcpkgs/sudoku/template | 1 + srcpkgs/sunxi-tools/template | 1 + srcpkgs/supercollider/template | 1 + srcpkgs/supertux2/template | 1 + srcpkgs/supertuxkart/template | 1 + srcpkgs/sutils/template | 1 + srcpkgs/sway/template | 1 + srcpkgs/swiften/template | 1 + srcpkgs/sword/template | 1 + srcpkgs/sxiv/template | 1 + srcpkgs/sylpheed/template | 1 + srcpkgs/synergy/template | 1 + srcpkgs/synfigstudio/template | 1 + srcpkgs/sysbench/template | 1 + srcpkgs/sysdig/template | 1 + srcpkgs/sysexxer-ng/template | 1 + srcpkgs/sysprof/template | 1 + srcpkgs/taskd/template | 1 + srcpkgs/tbb/template | 1 + srcpkgs/tc-play/template | 1 + srcpkgs/tcl/template | 1 + srcpkgs/tcpdump/template | 1 + srcpkgs/teensy_loader_cli/template | 1 + srcpkgs/teeworlds/template | 1 + srcpkgs/telegram-desktop/template | 1 + srcpkgs/telepathy-mission-control/template | 1 + srcpkgs/tepl/template | 1 + srcpkgs/terminal_markdown_viewer/template | 1 + srcpkgs/tesseract-ocr/template | 1 + srcpkgs/tesseract/template | 1 + srcpkgs/tevent/template | 1 + srcpkgs/texi2mdoc/template | 1 + srcpkgs/texlab/template | 1 + srcpkgs/texlive/template | 1 + srcpkgs/texstudio/template | 1 + srcpkgs/textosaurus/template | 1 + srcpkgs/texworks/template | 1 + srcpkgs/tgt/template | 1 + srcpkgs/thingylaunch/template | 1 + srcpkgs/thunderbird/template | 1 + srcpkgs/tickr/template | 1 + srcpkgs/tidy5/template | 1 + srcpkgs/tilp2/template | 1 + srcpkgs/tinyxml/template | 1 + srcpkgs/tlsh/template | 1 + srcpkgs/tmines/template | 1 + srcpkgs/tnftp/template | 1 + srcpkgs/tomahawk/template | 1 + srcpkgs/tor/template | 1 + srcpkgs/torbrowser-launcher/template | 1 + srcpkgs/touchegg/template | 1 + srcpkgs/trace-cmd/template | 1 + srcpkgs/traceroute/template | 1 + srcpkgs/tracker/template | 1 + srcpkgs/tracker3-miners/template | 1 + srcpkgs/transcode/template | 1 + srcpkgs/transmission/template | 1 + srcpkgs/treesheets/template | 1 + srcpkgs/trinity/template | 1 + srcpkgs/trojita/template | 1 + srcpkgs/trousers/template | 1 + srcpkgs/tsocks/template | 1 + srcpkgs/ttyrec/template | 1 + srcpkgs/tup/template | 1 + srcpkgs/turbovnc/template | 1 + srcpkgs/txr/template | 1 + srcpkgs/typespeed/template | 1 + srcpkgs/u2f-hidraw-policy/template | 1 + srcpkgs/u9fs/template | 1 + srcpkgs/ucspi-ssl/template | 1 + srcpkgs/udptunnel/template | 1 + srcpkgs/ufoai/template | 1 + srcpkgs/ufraw/template | 1 + srcpkgs/uftrace/template | 1 + srcpkgs/uim/template | 1 + srcpkgs/ulauncher/template | 1 + srcpkgs/ulogd/template | 1 + srcpkgs/unison/template | 1 + srcpkgs/unknown-horizons/template | 1 + srcpkgs/urbanterror/template | 1 + srcpkgs/urlview/template | 1 + srcpkgs/usbguard/template | 1 + srcpkgs/uwm/template | 1 + srcpkgs/uwsgi/template | 1 + srcpkgs/v4l-utils/template | 1 + srcpkgs/vala-panel/template | 1 + srcpkgs/vanitygen/template | 1 + srcpkgs/vapoursynth-editor/template | 1 + srcpkgs/varnish/template | 1 + srcpkgs/vboot-utils/template | 1 + srcpkgs/vde2/template | 1 + srcpkgs/vdirsyncer/template | 1 + srcpkgs/vdrift/template | 1 + srcpkgs/virglrenderer/template | 1 + srcpkgs/virtualbox-ose/template | 1 + srcpkgs/virtuoso/template | 1 + srcpkgs/visitors/template | 1 + srcpkgs/vitetris/template | 1 + srcpkgs/vlc/template | 1 + srcpkgs/voltron/template | 1 + srcpkgs/volumeicon/template | 1 + srcpkgs/vpcs/template | 1 + srcpkgs/vpn-ws/template | 1 + srcpkgs/vsftpd/template | 1 + srcpkgs/vte3/template | 1 + srcpkgs/w_scan/template | 1 + srcpkgs/waifu2x-converter-cpp/template | 1 + srcpkgs/webkit2gtk/template | 1 + srcpkgs/wicd/template | 1 + srcpkgs/widelands/template | 1 + srcpkgs/wildmidi/template | 1 + srcpkgs/wine/template | 1 + srcpkgs/wineasio/template | 1 + srcpkgs/winusb/template | 1 + srcpkgs/wireshark/template | 1 + srcpkgs/wm2/template | 1 + srcpkgs/woff2/template | 1 + srcpkgs/wordgrinder/template | 1 + srcpkgs/workrave/template | 1 + srcpkgs/wtype/template | 1 + srcpkgs/wvstreams/template | 1 + srcpkgs/wxPython4/template | 1 + srcpkgs/wxWidgets-gtk3/template | 1 + srcpkgs/wxWidgets/template | 1 + srcpkgs/x11vnc/template | 1 + srcpkgs/x265/template | 1 + srcpkgs/x42-plugins/template | 1 + srcpkgs/xapian-core/template | 1 + srcpkgs/xar/template | 1 + srcpkgs/xautolock/template | 1 + srcpkgs/xava/template | 1 + srcpkgs/xboxdrv/template | 1 + srcpkgs/xcolorsel/template | 1 + srcpkgs/xdg-utils/template | 1 + srcpkgs/xerces-c/template | 1 + srcpkgs/xf86-input-mtrack/template | 1 + srcpkgs/xf86-input-synaptics/template | 1 + srcpkgs/xf86-video-ati/template | 1 + srcpkgs/xf86-video-cirrus/template | 1 + srcpkgs/xf86-video-fbdev/template | 1 + srcpkgs/xf86-video-fbturbo-sunxi/template | 1 + srcpkgs/xf86-video-fbturbo/template | 1 + srcpkgs/xf86-video-intel/template | 1 + srcpkgs/xf86-video-mach64/template | 1 + srcpkgs/xf86-video-mga/template | 1 + srcpkgs/xf86-video-r128/template | 1 + srcpkgs/xf86-video-vmware/template | 1 + srcpkgs/xfig/template | 1 + srcpkgs/xfsprogs/template | 1 + srcpkgs/xinetd/template | 1 + srcpkgs/xinit/template | 1 + srcpkgs/xload/template | 1 + srcpkgs/xlunch/template | 1 + srcpkgs/xnp2/template | 1 + srcpkgs/xonotic/template | 1 + srcpkgs/xorg-cf-files/template | 1 + srcpkgs/xorg-server/template | 1 + srcpkgs/xosview/template | 1 + srcpkgs/xplanet/template | 1 + srcpkgs/xrick/template | 1 + srcpkgs/xsane/template | 1 + srcpkgs/xsettingsd/template | 1 + srcpkgs/xst/template | 1 + srcpkgs/xstarter/template | 1 + srcpkgs/xterm/template | 1 + srcpkgs/xye/template | 1 + srcpkgs/yabar/template | 1 + srcpkgs/yarn-bin/template | 1 + srcpkgs/yarn/template | 1 + srcpkgs/yeahconsole/template | 1 + srcpkgs/yeahwm/template | 1 + srcpkgs/yersinia/template | 1 + srcpkgs/ympd/template | 1 + srcpkgs/yoshimi/template | 1 + srcpkgs/yosys/template | 1 + srcpkgs/z3/template | 1 + srcpkgs/z80ex/template | 1 + srcpkgs/zabbix/template | 1 + srcpkgs/zbar/template | 1 + srcpkgs/zeal/template | 1 + srcpkgs/zeek/template | 1 + srcpkgs/zerofree/template | 1 + srcpkgs/zfs/template | 1 + srcpkgs/zimg/template | 1 + srcpkgs/zinnia/template | 1 + srcpkgs/zip/template | 1 + srcpkgs/zlib/template | 1 + srcpkgs/zsnes/template | 1 + srcpkgs/zulucrypt/template | 1 + srcpkgs/zutils/template | 1 + srcpkgs/zynaddsubfx/template | 1 + 1236 files changed, 1236 insertions(+) diff --git a/srcpkgs/0ad/template b/srcpkgs/0ad/template index d6bbdb48310..18393608493 100644 --- a/srcpkgs/0ad/template +++ b/srcpkgs/0ad/template @@ -17,6 +17,7 @@ distfiles="https://releases.wildfiregames.com/${pkgname}-${version}-alpha-unix-b checksum=325c23c9b6bfc16eb636af6a7a7bdaadbf19214b6eed0422d74cc0090bf137a8 nocross="uses bundled third-party libraries that do not cross-compile" lib32disabled=yes +patch_args=-Np0 CXXFLAGS="-fpermissive" # Use BFD linker to avoid erroneous detection of llvm pr8927 with *-musl diff --git a/srcpkgs/66-tools/template b/srcpkgs/66-tools/template index b9c5e7c66a7..ca916507c9a 100644 --- a/srcpkgs/66-tools/template +++ b/srcpkgs/66-tools/template @@ -17,6 +17,7 @@ homepage="http://web.obarun.org/software/index.html" changelog="https://framagit.org/Obarun/66-tools/-/raw/master/doc/upgrade.md" distfiles="https://framagit.org/Obarun/66-tools/-/archive/v${version}/66-tools-v${version}.tar.gz" checksum=c8cbe0d6c104e4d87d588d5980201770a6fd2fad11f99ff138a37ff918d68491 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/7kaa/template b/srcpkgs/7kaa/template index 7aa6e152c8f..b776195a806 100644 --- a/srcpkgs/7kaa/template +++ b/srcpkgs/7kaa/template @@ -15,6 +15,7 @@ distfiles="https://github.com/the3dfxdude/7kaa/releases/download/v${version}/${p checksum="f0265c077025d77b435f1c10b8ba178bdb16329e51ab735330ebaa71a104fbf8 b0d767b6e25719a14f5f34a93744a8022d7bc24af66275bee54dfc788695c1c3" replaces="7kaa-data>=0" +patch_args=-Np0 post_extract() { mv ../7kaa-music . diff --git a/srcpkgs/9base/template b/srcpkgs/9base/template index e7cee72701f..74ed0a369e0 100644 --- a/srcpkgs/9base/template +++ b/srcpkgs/9base/template @@ -17,6 +17,7 @@ distfiles="https://alpha.de.repo.voidlinux.org/distfiles/9base-${_githash}.tar.g checksum=b315509470c25db88595bd0e9478428dea54d7836fe2ba9d07279ae9496366fb conflicts="plan9port" provides="plan9port-20160418_4" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/9mount/template b/srcpkgs/9mount/template index 5b1160ad204..6cf8f4e2fc9 100644 --- a/srcpkgs/9mount/template +++ b/srcpkgs/9mount/template @@ -10,6 +10,7 @@ license="ISC" homepage="http://sqweek.net/code/9mount/" distfiles="http://sqweek.net/9p/$pkgname-$version.tar.gz" checksum=820d80b9b478d05ecb022ad658477b37cfc2414a8669c3af17d192a522064c17 +patch_args=-Np0 pre_build() { sed -i '/chown/d' Makefile diff --git a/srcpkgs/Aegisub/template b/srcpkgs/Aegisub/template index 2ddf6c24ee6..8dcd52f2a62 100644 --- a/srcpkgs/Aegisub/template +++ b/srcpkgs/Aegisub/template @@ -17,6 +17,7 @@ license="BSD-3-Clause, MIT" homepage="http://www.aegisub.org" distfiles="https://github.com/Aegisub/Aegisub/archive/v${version}.tar.gz" checksum=62757dd491455268a240f983b59734a801cc2e899039a7493deeaf5e24a61dcd +patch_args=-Np0 build_options="fftw openal portaudio" build_options_default="fftw" diff --git a/srcpkgs/Brainfunk/template b/srcpkgs/Brainfunk/template index 309179b0715..389100d545c 100644 --- a/srcpkgs/Brainfunk/template +++ b/srcpkgs/Brainfunk/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/GReaperEx/Brainfunk" distfiles="${homepage}/archive/v${version}-beta.tar.gz" checksum=6b48bd1fbe0dbce20f3e8af5c799023ea820ddc45aca8fac0ccecfa2de359ee2 +patch_args=-Np0 do_install() { vbin bfk diff --git a/srcpkgs/CPU-X/template b/srcpkgs/CPU-X/template index 0947bcfef81..f99e7a8e62a 100644 --- a/srcpkgs/CPU-X/template +++ b/srcpkgs/CPU-X/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="https://x0rg.github.io/CPU-X/" distfiles="https://github.com/X0rg/CPU-X/archive/v${version}.tar.gz" checksum=c41fbb3000e3e6f79e5228aa0237fde4f98b11df8ccb4c9a46f7e63a4a7011bf +patch_args=-Np0 build_options="gtk3" build_options_default="gtk3" diff --git a/srcpkgs/Carla/template b/srcpkgs/Carla/template index 701fd0ea30f..bc39346ecec 100644 --- a/srcpkgs/Carla/template +++ b/srcpkgs/Carla/template @@ -18,6 +18,7 @@ homepage="https://kxstudio.linuxaudio.org/Applications:Carla" distfiles="https://github.com/falkTX/Carla/archive/v${version}.tar.gz" checksum=a82ce08f3a82db9d878c8cb7e7e2f3b80834bf21801c6ec4ed95c0cfee25b963 python_version=3 +patch_args=-Np0 case $XBPS_TARGET_MACHINE in x86_64* | i686*);; diff --git a/srcpkgs/Cataclysm-DDA/template b/srcpkgs/Cataclysm-DDA/template index bbe66b9f29b..8e57303fe87 100644 --- a/srcpkgs/Cataclysm-DDA/template +++ b/srcpkgs/Cataclysm-DDA/template @@ -15,6 +15,7 @@ license="CC-BY-SA-3.0, CC-BY-3.0" homepage="https://cataclysmdda.org/" distfiles="https://github.com/CleverRaven/Cataclysm-DDA/archive/${version}.tar.gz" checksum=b0af9a9292929e17332edcea770bca9a91f1d08ea47726d78a47e09281a42fa3 +patch_args=-Np0 build_options="tiles backtrace" build_options_default="tiles" diff --git a/srcpkgs/Chipmunk2D/template b/srcpkgs/Chipmunk2D/template index 142051ec0a4..1f4180bda36 100644 --- a/srcpkgs/Chipmunk2D/template +++ b/srcpkgs/Chipmunk2D/template @@ -11,6 +11,7 @@ license="MIT" homepage="http://chipmunk-physics.net/" distfiles="https://github.com/slembcke/Chipmunk2D/archive/Chipmunk-${version}.tar.gz" checksum=6b6d8d5d910c4442fb9c8c4c46a178126d8c21d075cdb3ce439a7f8d8757b0ca +patch_args=-Np0 post_install() { vlicense LICENSE.txt diff --git a/srcpkgs/Clight/template b/srcpkgs/Clight/template index cff8201154a..70d18bd53b7 100644 --- a/srcpkgs/Clight/template +++ b/srcpkgs/Clight/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/FedeDP/Clight" distfiles="https://github.com/FedeDP/Clight/archive/${version}.tar.gz" checksum=2ce204edd58284c178b99e2ffec0105fc8e78d8a076350f64424b66c9878e91e +patch_args=-Np0 post_install() { vcompletion Extra/completions/_clight zsh diff --git a/srcpkgs/Clp/template b/srcpkgs/Clp/template index 5b2af733ca3..fe3a9f916b1 100644 --- a/srcpkgs/Clp/template +++ b/srcpkgs/Clp/template @@ -10,6 +10,7 @@ license="EPL-1.0" homepage="http://projects.coin-or.org/Clp" distfiles="https://www.coin-or.org/Tarballs/${pkgname}/${pkgname}-${version}.tgz" checksum=a13bf54291ad503cf76f5f93f2643d2add4faa5d0e60ff2db902ef715c094573 +patch_args=-Np0 libClp-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/CoinMP/template b/srcpkgs/CoinMP/template index 995353eee42..a889ea92d33 100644 --- a/srcpkgs/CoinMP/template +++ b/srcpkgs/CoinMP/template @@ -10,6 +10,7 @@ license="CPL-1.0" homepage="https://projects.coin-or.org/CoinMP" distfiles="http://www.coin-or.org/download/source/${pkgname}/${pkgname}-${version}.tgz" checksum=3459fb0ccbdd39342744684338984ac4cc153fb0434f4cae8cf74bd67490a38d +patch_args=-Np0 post_configure() { # remove erroneous cross base prefix from include paths diff --git a/srcpkgs/CubicSDR/template b/srcpkgs/CubicSDR/template index f2eb67e7f9b..fbc8339d6da 100644 --- a/srcpkgs/CubicSDR/template +++ b/srcpkgs/CubicSDR/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://cubicsdr.com" distfiles="https://github.com/cjcliffe/CubicSDR/archive/${version}.tar.gz" checksum=5cb44c110fcbbb70a468b7fa402cf35f84d8901b3dd42d471a90ac3f5db00f4d +patch_args=-Np0 build_options="alsa pulseaudio jack" build_options_default="alsa pulseaudio" diff --git a/srcpkgs/DarkRadiant/template b/srcpkgs/DarkRadiant/template index 1d47801303d..e5a0057af19 100644 --- a/srcpkgs/DarkRadiant/template +++ b/srcpkgs/DarkRadiant/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/codereader/DarkRadiant/" distfiles="https://github.com/codereader/DarkRadiant/archive/${version}.tar.gz" checksum=8c5dc0f7d160dea7e9c735f9739e36462dd8c8719a3022156f9584250fc3b867 +patch_args=-Np0 CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/lib/wx/include/gtk3-unicode-3.0" diff --git a/srcpkgs/Fritzing/template b/srcpkgs/Fritzing/template index d97ab1654a5..4dd6b0cb08f 100644 --- a/srcpkgs/Fritzing/template +++ b/srcpkgs/Fritzing/template @@ -16,6 +16,7 @@ distfiles="https://github.com/${pkgname}/${pkgname}-app/archive/${version}.tar.g https://github.com/${pkgname}/${pkgname}-parts/archive/${_partshash}.tar.gz>fritzing-parts-${_partshash}.tar.gz" checksum="2475a95aad2c1536eef3fdb72665c5c16590644b45bd110a0cde223c916625b8 2d5882f0180d04c582ef418fd286bf1d04142409d316a4cd5c9ce3e2d91434dd" +patch_args=-Np0 post_extract() { # looks for libgit2 and boost in the source tree diff --git a/srcpkgs/GConf/template b/srcpkgs/GConf/template index 4365c11e584..51c792007cb 100644 --- a/srcpkgs/GConf/template +++ b/srcpkgs/GConf/template @@ -22,6 +22,7 @@ make_dirs="/usr/share/gconf/schemas 0755 root root /etc/gconf/gconf.xml.defaults 0755 root root /etc/gconf/gconf.xml.mandatory 0755 root root /etc/gconf/gconf.xml.system 0755 root root" +patch_args=-Np0 # Package build options build_options="gir" diff --git a/srcpkgs/Gauche/template b/srcpkgs/Gauche/template index 74beafdc686..f40f1d382f9 100644 --- a/srcpkgs/Gauche/template +++ b/srcpkgs/Gauche/template @@ -15,6 +15,7 @@ alternatives=" scheme:scheme:/usr/bin/gauche scheme:scheme.1:/usr/share/man/man1/gauche.1 " +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then # Gauche needs itself to bootstrap for cross compilation. diff --git a/srcpkgs/GraphicsMagick/template b/srcpkgs/GraphicsMagick/template index 35f5269eac7..68825a0d4a7 100644 --- a/srcpkgs/GraphicsMagick/template +++ b/srcpkgs/GraphicsMagick/template @@ -21,6 +21,7 @@ changelog="http://www.graphicsmagick.org/NEWS.html" distfiles="${SOURCEFORGE_SITE}/graphicsmagick/graphicsmagick/${version}/${pkgname}-${version}.tar.gz" checksum=1e6723c48c4abbb31197fadf8396b2d579d97e197123edc70a4f057f0533d563 keep_libtool_archives=yes +patch_args=-Np0 post_install() { vlicense Copyright.txt LICENSE diff --git a/srcpkgs/Haru/template b/srcpkgs/Haru/template index d1207b72b88..439b4f93404 100644 --- a/srcpkgs/Haru/template +++ b/srcpkgs/Haru/template @@ -12,6 +12,7 @@ license="Zlib" homepage="http://libharu.org/" distfiles="https://github.com/libharu/libharu/archive/RELEASE_${version//./_}.tar.gz" checksum=8f9e68cc5d5f7d53d1bc61a1ed876add1faf4f91070dbc360d8b259f46d9a4d2 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args="--with-zlib=${XBPS_CROSS_BASE}/usr" diff --git a/srcpkgs/LibreCAD/template b/srcpkgs/LibreCAD/template index 3a5224f907e..da6fd2e7239 100644 --- a/srcpkgs/LibreCAD/template +++ b/srcpkgs/LibreCAD/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="http://librecad.org" distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz" checksum=74c4ede409b13d0365c65c0cd52dba04f1049530f6df706dc905443d5e60db06 +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then configure_args+=" BOOST_DIR=${XBPS_CROSS_BASE}/usr" diff --git a/srcpkgs/LuaJIT/template b/srcpkgs/LuaJIT/template index 9fbc72cbe4e..e270384ecd3 100644 --- a/srcpkgs/LuaJIT/template +++ b/srcpkgs/LuaJIT/template @@ -12,6 +12,7 @@ license="MIT" homepage="http://www.luajit.org" distfiles="http://luajit.org/download/${pkgname}-${_dist_version}.tar.gz" checksum=1ad2e34b111c802f9d0cdf019e986909123237a28c746b21295b63c9e785d9c3 +patch_args=-Np0 build_options="lua52compat" diff --git a/srcpkgs/MEGAcmd/template b/srcpkgs/MEGAcmd/template index eb94684afcf..893d78c880c 100644 --- a/srcpkgs/MEGAcmd/template +++ b/srcpkgs/MEGAcmd/template @@ -14,6 +14,7 @@ homepage="https://github.com/meganz/MEGAcmd" distfiles="https://github.com/meganz/MEGAcmd/archive/${version}_Linux.tar.gz" checksum=2a3626a9f1d22303fe2123f984a8ecf3779d6d59ac6c67c1bf43c2423dcb832d replaces="megacmd>=0" +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args="--with-libtool-sysroot=${XBPS_CROSS_BASE}" diff --git a/srcpkgs/Maelstrom/template b/srcpkgs/Maelstrom/template index 7c4be8c13b2..ea3d28d0c4f 100644 --- a/srcpkgs/Maelstrom/template +++ b/srcpkgs/Maelstrom/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://www.libsdl.org/projects/Maelstrom/" distfiles="${homepage}/src/${pkgname}-${version}.tar.gz" checksum=93680322f4b04d4727ea8e0b461f259b604dc69e7465cb91d2b9aad378a9a036 +patch_args=-Np0 CXXFLAGS="-Wno-error -Wno-write-strings -Wno-unused-result" diff --git a/srcpkgs/MonkeysAudio/template b/srcpkgs/MonkeysAudio/template index 6b9f47eda5e..202b419fa84 100644 --- a/srcpkgs/MonkeysAudio/template +++ b/srcpkgs/MonkeysAudio/template @@ -14,6 +14,7 @@ distfiles="https://monkeysaudio.com/files/MAC_SDK_${version//./}.zip checksum="0000cbfad5f008014bf3d963b72039c518a1e93ded55b23da715d912c830623e 7d60dabaf760f32180e272b5955d5f1a2febcf9930eff13e49a1934a286a5819" skip_extraction="license.html" +patch_args=-Np0 do_build() { cp -p ${XBPS_SRCDISTDIR}/${pkgname}-${version}/license.html ${wrksrc} diff --git a/srcpkgs/ORBit2/template b/srcpkgs/ORBit2/template index 10e7f52924b..34ac1a00a44 100644 --- a/srcpkgs/ORBit2/template +++ b/srcpkgs/ORBit2/template @@ -13,6 +13,7 @@ homepage="http://projects.gnome.org/ORBit2/" distfiles="http://ftp.acc.umu.se/pub/gnome/sources/${pkgname}/2.14/${pkgname}-${version}.tar.bz2" checksum=55c900a905482992730f575f3eef34d50bda717c197c97c08fa5a6eafd857550 disable_parallel_build=yes +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" ORBit2" diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template index ee67dbaff01..63796b6f17d 100644 --- a/srcpkgs/OpenCPN/template +++ b/srcpkgs/OpenCPN/template @@ -20,6 +20,7 @@ license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.0-or-later, MIT, WxWindows-e homepage="https://opencpn.org/" distfiles="https://github.com/OpenCPN/OpenCPN/archive/v${version}.tar.gz" checksum=f6ec38989bc38f5a7f63234c5e0230adeb73f5626b4e3d3dfa680f0c240badc7 +patch_args=-Np0 build_options="lzma libarchive exif crashreport" build_options_default="lzma libarchive exif" diff --git a/srcpkgs/OpenXcom/template b/srcpkgs/OpenXcom/template index f44cc1e9d91..fc79fbb7e1f 100644 --- a/srcpkgs/OpenXcom/template +++ b/srcpkgs/OpenXcom/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="http://openxcom.org/" distfiles="https://github.com/SupSuper/${pkgname}/archive/v${version}.tar.gz" checksum=45acb280010a01d60506b1c5f2951ae501c012cc6161aac470bd15c1e6981246 +patch_args=-Np0 pre_configure() { aclocal --install -Im4 diff --git a/srcpkgs/PAmix/template b/srcpkgs/PAmix/template index dc087f8c7f0..fece21ed427 100644 --- a/srcpkgs/PAmix/template +++ b/srcpkgs/PAmix/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://github.com/patroclos/PAmix" distfiles="${homepage}/archive/${version}.tar.gz" checksum=b63522889d70920d64229c66e2ab6929950476538443af297f6b242f7e9dc406 +patch_args=-Np0 case "${XBPS_TARGET_MACHINE}" in *-musl) broken="Parts of ncurses, not available on musl";; diff --git a/srcpkgs/PrusaSlicer/template b/srcpkgs/PrusaSlicer/template index dd0e76cb801..9a073edcf57 100644 --- a/srcpkgs/PrusaSlicer/template +++ b/srcpkgs/PrusaSlicer/template @@ -18,6 +18,7 @@ homepage="https://www.prusa3d.com/prusaslicer/" distfiles="https://github.com/prusa3d/Prusaslicer/archive/version_${version}.tar.gz" checksum=cd3bac5e29b5441fc4690f28cd7b1064e97dc00207bbdc88f7bd7832308d6ca5 nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/25230/steps/shell_3/logs/stdio" +patch_args=-Np0 Slic3rPE_package() { build_style=meta diff --git a/srcpkgs/QLC+/template b/srcpkgs/QLC+/template index 38322eb305c..8da1cc17f80 100644 --- a/srcpkgs/QLC+/template +++ b/srcpkgs/QLC+/template @@ -14,6 +14,7 @@ license="Apache-2.0" homepage="https://www.qlcplus.org/" distfiles="https://github.com/mcallegari/qlcplus/archive/QLC+_$version.tar.gz" checksum=cefb5e84dee04b3567733fcaf4f8125069eec859b506e790ba8a9d921f1e75cc +patch_args=-Np0 pre_build() { vsed -i 's/QMAKE_CXXFLAGS/#QMAKE_CXXFLAGS/' variables.pri diff --git a/srcpkgs/SDL/template b/srcpkgs/SDL/template index d55ee7ab382..03c5de1df7d 100644 --- a/srcpkgs/SDL/template +++ b/srcpkgs/SDL/template @@ -19,6 +19,7 @@ license="LGPL-2.1-only" homepage="http://www.libsdl.org/" distfiles="http://www.libsdl.org/release/SDL-${version}.tar.gz" checksum=d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00 +patch_args=-Np0 # Package build options build_options="x11 opengl aalib pulseaudio" diff --git a/srcpkgs/SDL2/template b/srcpkgs/SDL2/template index 9013c2e73e2..7bc1e95d78b 100644 --- a/srcpkgs/SDL2/template +++ b/srcpkgs/SDL2/template @@ -15,6 +15,7 @@ license="Zlib" homepage="http://www.libsdl.org/" distfiles="http://www.libsdl.org/release/${pkgname}-${version}.tar.gz" checksum=d8215b571a581be1332d2106f8036fcb03d12a70bae01e20f424976d275432bc +patch_args=-Np0 # Package build options build_options="gles opengl pulseaudio sndio vulkan wayland x11" diff --git a/srcpkgs/SLADE/template b/srcpkgs/SLADE/template index 030aac7a61b..1557b2429b3 100644 --- a/srcpkgs/SLADE/template +++ b/srcpkgs/SLADE/template @@ -15,6 +15,7 @@ homepage="https://github.com/sirjuddington/SLADE" changelog="https://github.com/sirjuddington/SLADE/releases/tag/${version}" distfiles="https://github.com/sirjuddington/SLADE/archive/${version}.tar.gz" checksum=7dc8a0089855f6321d2ec185fa5c97fcb7cc54857033aa3adec9a5ec8226ed60 +patch_args=-Np0 pre_configure() { case $XBPS_TARGET_MACHINE in diff --git a/srcpkgs/SMC/template b/srcpkgs/SMC/template index d67469fc18a..15f8f14acef 100644 --- a/srcpkgs/SMC/template +++ b/srcpkgs/SMC/template @@ -18,6 +18,7 @@ checksum=" b4194e70d3f1de3da884dd1a11e4f5cec25a205f66a3b85cc9fc1c86289b237d c5bb2e1830c7cbe499c93851f5a02b2b900b4730d2c7a133a44a7b43a297dab8" replaces="SMC-data>=0" +patch_args=-Np0 CXXFLAGS="-fpermissive -std=c++11" LDFLAGS="-Wl,--no-as-needed -lX11 -lboost_system" diff --git a/srcpkgs/Signal-Desktop/template b/srcpkgs/Signal-Desktop/template index 8999b6e483f..7fa1635eeff 100644 --- a/srcpkgs/Signal-Desktop/template +++ b/srcpkgs/Signal-Desktop/template @@ -14,6 +14,7 @@ homepage="https://github.com/signalapp/Signal-Desktop" distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz" checksum=f9f55c0195579b43712bf370b753337432eda4bcf89809d1c8f3deb0b4ee4400 nostrip_files="signal-desktop" +patch_args=-Np0 pre_build() { vsed -e 's/"node": "/&>=/' -i package.json diff --git a/srcpkgs/TSC/template b/srcpkgs/TSC/template index 71534315cf7..66ebf5dd530 100644 --- a/srcpkgs/TSC/template +++ b/srcpkgs/TSC/template @@ -19,6 +19,7 @@ homepage="https://www.secretchronicles.org/" distfiles="https://ftp.secretchronicles.org/releases/${pkgname}-${version}.tar.gz" checksum=6a16765b4951e3d5d1ea2b84e6da8f67b0271460f0c570b53ccdab80d7396261 replaces="TSC-data" +patch_args=-Np0 if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then broken="The host ($XBPS_WORDSIZE) and target ($XBPS_TARGET_WORDSIZE) word sizes need to be the same for cross building." diff --git a/srcpkgs/VeraCrypt/template b/srcpkgs/VeraCrypt/template index 2b4dd9fcc7e..c95a8fa6b25 100644 --- a/srcpkgs/VeraCrypt/template +++ b/srcpkgs/VeraCrypt/template @@ -16,6 +16,7 @@ license="Apache-2.0, custom:TrueCrypt-3.0" homepage="https://www.veracrypt.fr" distfiles="https://www.veracrypt.fr/code/VeraCrypt/snapshot/VeraCrypt-VeraCrypt_${_realversion}.tar.gz" checksum=cbdecffdfc258dccca6de1b79759e673dee3329280849b10d8253e802d45b41e +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) ;; diff --git a/srcpkgs/XyGrib/template b/srcpkgs/XyGrib/template index e4aa3a2e026..ccad1528e34 100644 --- a/srcpkgs/XyGrib/template +++ b/srcpkgs/XyGrib/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="https://opengribs.org/" distfiles="https://github.com/opengribs/XyGrib/archive/v${version}.tar.gz" checksum=2dc6099293ae6f7a4bfbfc0cab590cf7ad48241d608e6d7a76e35961b9fc2157 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then make_build_args="LINK=${XBPS_CROSS_TRIPLET}-c++" diff --git a/srcpkgs/ZMusic/template b/srcpkgs/ZMusic/template index 23e805e3c99..002c59fdc49 100644 --- a/srcpkgs/ZMusic/template +++ b/srcpkgs/ZMusic/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/coelckers/ZMusic" distfiles="${homepage}/archive/${version}.tar.gz" checksum=73082f661b7b0bb33348d1d186c132deec9132a1613480348a00172b49c9fd68 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = musl ]; then makedepends+=" musl-fts-devel" diff --git a/srcpkgs/a2ps/template b/srcpkgs/a2ps/template index 9335f38e08e..5497ec5a574 100644 --- a/srcpkgs/a2ps/template +++ b/srcpkgs/a2ps/template @@ -14,6 +14,7 @@ homepage="http://www.gnu.org/software/a2ps/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=f3ae8d3d4564a41b6e2a21f237d2f2b104f48108591e8b83497500182a3ab3a4 conf_files="/etc/a2ps/a2ps.cfg /etc/a2ps/a2ps-site.cfg" +patch_args=-Np0 LDFLAGS="-lm" diff --git a/srcpkgs/abduco/template b/srcpkgs/abduco/template index 21fa18ce85a..6aa3a516c5e 100644 --- a/srcpkgs/abduco/template +++ b/srcpkgs/abduco/template @@ -10,6 +10,7 @@ license="ISC" homepage="http://www.brain-dump.org/projects/abduco/" distfiles="http://www.brain-dump.org/projects/${pkgname}/${pkgname}-${version}.tar.gz" checksum=c90909e13fa95770b5afc3b59f311b3d3d2fdfae23f9569fa4f96a3e192a35f4 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/abook/template b/srcpkgs/abook/template index 9538e8d1f4d..c22614dedfb 100644 --- a/srcpkgs/abook/template +++ b/srcpkgs/abook/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://abook.sourceforge.net/" distfiles="http://abook.sourceforge.net/devel/${pkgname}-${version}.tar.gz" checksum=f0a90df8694fb34685ecdd45d97db28b88046c15c95e7b0700596028bd8bc0f9 +patch_args=-Np0 post_extract() { autoreconf --install diff --git a/srcpkgs/accountsservice/template b/srcpkgs/accountsservice/template index c00a4077d8f..84c28f82c87 100644 --- a/srcpkgs/accountsservice/template +++ b/srcpkgs/accountsservice/template @@ -17,6 +17,7 @@ checksum=ff2b2419a7e06bd9cb335ffe391c7409b49a0f0130b890bd54692a3986699c9b make_dirs=" /var/lib/AccountsService/users 755 root root /var/lib/AccountsService/icons 755 root root" +patch_args=-Np0 # Package build options build_options="elogind gir" diff --git a/srcpkgs/acct/template b/srcpkgs/acct/template index 860bb6b28cc..b3ac5cc0559 100644 --- a/srcpkgs/acct/template +++ b/srcpkgs/acct/template @@ -9,6 +9,7 @@ license="GPL-3.0-or-later" maintainer="Orphaned " distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=4c15bf2b58b16378bcc83f70e77d4d40ab0b194acf2ebeefdb507f151faa663f +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then post_extract() { diff --git a/srcpkgs/acpi_call-dkms/template b/srcpkgs/acpi_call-dkms/template index 2a24e481538..752770b0da9 100644 --- a/srcpkgs/acpi_call-dkms/template +++ b/srcpkgs/acpi_call-dkms/template @@ -10,6 +10,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/damadmai/acpi_call" distfiles="$homepage/archive/v$version.tar.gz" checksum=c48a0a8768d657a8da7b59d7dbf6276554313fa6a0cb012fa4cf85a77e55f44b +patch_args=-Np0 dkms_modules="acpi_call ${version}" depends="dkms" diff --git a/srcpkgs/acpid/template b/srcpkgs/acpid/template index 8312d0e4e15..df44a949213 100644 --- a/srcpkgs/acpid/template +++ b/srcpkgs/acpid/template @@ -10,6 +10,7 @@ homepage="https://sourceforge.net/projects/acpid2/" distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-${version}.tar.xz" checksum=f2d2d30b3edc3234bd82f6f7186699a6aa3c85c8d20bc4e30e9b3c68a1ed157e conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh" +patch_args=-Np0 post_install() { vinstall ${FILESDIR}/handler.sh 755 etc/acpi diff --git a/srcpkgs/actiona/template b/srcpkgs/actiona/template index 6ce3ccdc6b4..9b66b6e673a 100644 --- a/srcpkgs/actiona/template +++ b/srcpkgs/actiona/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://actiona.tools/" distfiles="https://github.com/Jmgr/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=447065e380f8f37db4c8af01df8e1b9d7189cd256205f758845b71d8de6f37ea +patch_args=-Np0 post_build() { lrelease-qt5 locale/*.ts diff --git a/srcpkgs/afterstep/template b/srcpkgs/afterstep/template index ba9c15546de..f5b99af2649 100644 --- a/srcpkgs/afterstep/template +++ b/srcpkgs/afterstep/template @@ -13,6 +13,7 @@ license="MIT" homepage="http://www.afterstep.org/" distfiles="https://github.com/sashavasko/${pkgname}-devel/archive/${version}.tar.gz" checksum=7a82d06a9ce432ef3b0856ff39f6da416aa8cbc249dbb2ff3c1cdcb02e2ca46d +patch_args=-Np0 pre_configure() { autoreconf -fi libAfterBase diff --git a/srcpkgs/agg/template b/srcpkgs/agg/template index a313e19cb1f..5cdbcaa17b4 100644 --- a/srcpkgs/agg/template +++ b/srcpkgs/agg/template @@ -13,6 +13,7 @@ homepage="http://www.antigrain.com/" license="GPL-2.0-or-later" distfiles="http://www.antigrain.com/agg-${version}.tar.gz" checksum=ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f +patch_args=-Np0 pre_configure() { sed -e '/AM_C_PROTOTYPES/d' -i configure.in diff --git a/srcpkgs/allegro4/template b/srcpkgs/allegro4/template index f8901c34cec..99b570dcb67 100644 --- a/srcpkgs/allegro4/template +++ b/srcpkgs/allegro4/template @@ -17,6 +17,7 @@ homepage="http://alleg.sourceforge.net/" homepage="https://liballeg.org" distfiles="https://github.com/liballeg/allegro5/releases/download/${version}/allegro-${version}.tar.gz" checksum=ec19dbc9a021244582b4819b3583ee594b50141f9fcf6944a4ed8069cbf8d4d4 +patch_args=-Np0 pre_configure() { if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/allegro5/template b/srcpkgs/allegro5/template index f55a7eb6c14..d96d1b77923 100644 --- a/srcpkgs/allegro5/template +++ b/srcpkgs/allegro5/template @@ -17,6 +17,7 @@ license="Allegro License (MIT alike)" homepage="https://liballeg.org/" distfiles="https://github.com/liballeg/allegro5/releases/download/${version}/allegro-${version}.tar.gz" checksum=5de8189ec051e1865f359654f86ec68e2a12a94edd00ad06d1106caa5ff27763 +patch_args=-Np0 post_install() { vlicense LICENSE.txt diff --git a/srcpkgs/alsa-firmware/template b/srcpkgs/alsa-firmware/template index b85bc791275..8ded0831aa1 100644 --- a/srcpkgs/alsa-firmware/template +++ b/srcpkgs/alsa-firmware/template @@ -12,6 +12,7 @@ distfiles="https://www.alsa-project.org/files/pub/firmware/${pkgname}-${version} checksum=b67b6d7d08bcfc247ef6ff0ab88a99c188305a3cf57ae2dfd0bcd9a5b36cd5bb nostrip=yes ignore_elf_files="/usr/share/alsa/firmware/mixartloader/miXart8.elf" +patch_args=-Np0 pre_configure() { export CC="${BUILD_CC}" CFLAGS="${BUILD_CFLAGS}" LDFLAGS="${BUILD_LDFLAGS}" diff --git a/srcpkgs/alsa-tools/template b/srcpkgs/alsa-tools/template index 1078472c79a..e96cc23f154 100644 --- a/srcpkgs/alsa-tools/template +++ b/srcpkgs/alsa-tools/template @@ -12,6 +12,7 @@ homepage="http://alsa-project.org" distfiles="https://www.alsa-project.org/files/pub/tools/alsa-tools-${version}.tar.bz2" checksum=bfd3c7aae1289269605d3da02279159b10e3dabdd31e658cbceaa30170957349 python_version=3 +patch_args=-Np0 _tools=" as10k1 echomixer envy24control hdajackretask hdajacksensetest hda-verb hdspconf diff --git a/srcpkgs/amdvlk/template b/srcpkgs/amdvlk/template index 1182a174b55..6a29a3bc929 100644 --- a/srcpkgs/amdvlk/template +++ b/srcpkgs/amdvlk/template @@ -42,6 +42,7 @@ checksum="ec17d7f7c7af5adaa2fee7744321da3665be215105df7c3fc72bfeff2575a509 186060fbcf87165224ba7df0e1858b66ebc42cf190c481aef1df8d89ebab7abd" nocross=yes lib32files="/usr/share/vulkan/icd.d/amd_icd32.json" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686*) nodebug=yes;; diff --git a/srcpkgs/angrysearch/template b/srcpkgs/angrysearch/template index 96b6b6604ba..bf03527607a 100644 --- a/srcpkgs/angrysearch/template +++ b/srcpkgs/angrysearch/template @@ -13,6 +13,7 @@ homepage="https://github.com/dotheevo/angrysearch/" distfiles="http://github.com/dotheevo/${pkgname}/archive/v${version}.tar.gz" checksum=9a550649c3efafb26660860758f2e75702ce96a0a0c50dc34ced2967b51a843f python_version=3 +patch_args=-Np0 do_install() { vinstall angrysearch.desktop 644 "usr/share/applications" diff --git a/srcpkgs/anjuta/template b/srcpkgs/anjuta/template index b46d58aeafe..e861c17df63 100644 --- a/srcpkgs/anjuta/template +++ b/srcpkgs/anjuta/template @@ -22,6 +22,7 @@ license="GPL-2.0-or-later" homepage="https://projects.gnome.org/anjuta" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=42a93130ed3ee02d064a7094e94e1ffae2032b3f35a87bf441e37fc3bb3a148f +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/anki/template b/srcpkgs/anki/template index 55976fbd26e..731999e6360 100644 --- a/srcpkgs/anki/template +++ b/srcpkgs/anki/template @@ -13,6 +13,7 @@ homepage="https://apps.ankiweb.net" changelog="https://apps.ankiweb.net/docs/changes.html" distfiles="https://apps.ankiweb.net/downloads/archive/anki-$version-source.tgz" checksum=5a53760164c77d619f55107a13099cffe620566a7f610b61b6c4b52487f3bb89 +patch_args=-Np0 python_version=3 diff --git a/srcpkgs/antimicrox/template b/srcpkgs/antimicrox/template index 6a77e8e3a09..1e4a1d08186 100644 --- a/srcpkgs/antimicrox/template +++ b/srcpkgs/antimicrox/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/AntiMicroX/antimicrox" distfiles="${homepage}/archive/${version}.tar.gz" checksum=53c6b0e6c8ea8c3a5527b56e1ad052eae983ba36abfc090769c6164bc5f342dd +patch_args=-Np0 libantimicrox_package() { short_desc+=" - libraries" diff --git a/srcpkgs/antiword/template b/srcpkgs/antiword/template index a4dfb6ceb22..c33563fa0c9 100644 --- a/srcpkgs/antiword/template +++ b/srcpkgs/antiword/template @@ -12,6 +12,7 @@ distfiles="http://www.winfield.demon.nl/linux/antiword-${version}.tar.gz http://sources.debian.net/data/main/a/antiword/0.37-10/debian/patches/docx.patch" checksum="8e2c000fcbc6d641b0e6ff95e13c846da3ff31097801e86702124a206888f5ac 0ca787f8e31a2e05e6c0ff73406d9a7f0355fe27238a0cde3ed7cf6d3418c8aa" +patch_args=-Np0 do_build() { # debian patch for better docx handling diff --git a/srcpkgs/apache/template b/srcpkgs/apache/template index 3c92ff8fc98..24fa60ac48a 100644 --- a/srcpkgs/apache/template +++ b/srcpkgs/apache/template @@ -37,6 +37,7 @@ homepage="http://httpd.apache.org/" changelog="http://www.apache.org/dist/httpd/CHANGES_2.4" distfiles="https://archive.apache.org/dist/httpd/httpd-${version}.tar.bz2" checksum=1bc826e7b2e88108c7e4bf43c026636f77a41d849cfb667aa7b5c0b86dbf966c +patch_args=-Np0 system_accounts="_${pkgname}" _apache_homedir="/srv/www/$pkgname" diff --git a/srcpkgs/apl/template b/srcpkgs/apl/template index 88b8d32b672..06472f65162 100644 --- a/srcpkgs/apl/template +++ b/srcpkgs/apl/template @@ -14,6 +14,7 @@ distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=144f4c858a0d430ce8f28be90a35920dd8e0951e56976cb80b55053fa0d8bbcb nocross="execs target binary: ./Gtk_server --ev1 > Gtk_events1.asciidoc" CXXFLAGS="-Wno-format-truncation -Wno-class-memaccess -Wno-maybe-uninitialized -Wno-restrict -Wno-cpp" +patch_args=-Np0 post_install() { vdoc support-files/Dyalog-Keyboard/apl.xkb diff --git a/srcpkgs/appstream-glib/template b/srcpkgs/appstream-glib/template index 5eaf493d53f..36c6fffca5d 100644 --- a/srcpkgs/appstream-glib/template +++ b/srcpkgs/appstream-glib/template @@ -16,6 +16,7 @@ homepage="https://people.freedesktop.org/~hughsient/appstream-glib/" changelog="https://raw.githubusercontent.com/hughsie/appstream-glib/master/NEWS" distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz" checksum=ca1ed22e3bde3912cb903aaa7de085d55771da454f1c0573fd9608e1de9c4002 +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/apr/template b/srcpkgs/apr/template index f2dc1241668..1fa0399f64b 100644 --- a/srcpkgs/apr/template +++ b/srcpkgs/apr/template @@ -11,6 +11,7 @@ license="Apache-2.0" homepage="http://apr.apache.org/" distfiles="http://www.apache.org/dist/apr/apr-${version}.tar.bz2" checksum=e2e148f0b2e99b8e5c6caa09f6d4fb4dd3e83f744aa72a952f94f5a14436f7ea +patch_args=-Np0 # Do not redefine struct iovec in include/apr_want.h CFLAGS="-DAPR_IOVEC_DEFINED=1" diff --git a/srcpkgs/aqbanking/template b/srcpkgs/aqbanking/template index ea55a80935d..9f509f32546 100644 --- a/srcpkgs/aqbanking/template +++ b/srcpkgs/aqbanking/template @@ -12,6 +12,7 @@ homepage="http://www.aquamaniac.de/aqbanking" distfiles="https://www.aquamaniac.de/rdm/attachments/download/372/${pkgname}-${version}.tar.gz" checksum=a0e85da2072c927bc32cfd808caaccfdabe34725e75618b08d8049306d8355cc disable_parallel_build=yes +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then export PKG_CONFIG_PATH=${XBPS_CROSS_BASE}/usr/lib/pkgconfig diff --git a/srcpkgs/aqemu/template b/srcpkgs/aqemu/template index eea61aa562b..0ada7d5bc74 100644 --- a/srcpkgs/aqemu/template +++ b/srcpkgs/aqemu/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="http://aqemu.sourceforge.net" distfiles="https://github.com/TBK/aqemu/archive/v${version}.tar.gz" checksum=576ae78de936518a1de057355ffc192b59e42be934f0111122b2c5fcafe318a7 +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-devel" diff --git a/srcpkgs/ardour/template b/srcpkgs/ardour/template index ae133e67b14..14e6810a0ac 100644 --- a/srcpkgs/ardour/template +++ b/srcpkgs/ardour/template @@ -18,6 +18,7 @@ short_desc="Professional-grade digital audio workstation" maintainer="tibequadorian " license="GPL-2.0-or-later" homepage="http://ardour.org" +patch_args=-Np0 CXXFLAGS="-fpermissive" diff --git a/srcpkgs/arduino/template b/srcpkgs/arduino/template index d352962e73d..5d6531ec93f 100644 --- a/srcpkgs/arduino/template +++ b/srcpkgs/arduino/template @@ -19,6 +19,7 @@ checksum="2a2a7bf0a93d36dff2e27f50e490529f10ff73337d6a0b7b222fa6b1a529c9f7 6c3ab029e0e4a75e2e603d449014374aa8269218fdd03a4aaa46ab743b1912fd" nostrip=yes nocross="cross build lacks essential libraries" +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = musl ]; then broken="downloads multiple binaries linked to glibc; segfaults with gcompat" diff --git a/srcpkgs/argon2/template b/srcpkgs/argon2/template index 7cc1bb0617e..04bdaf7a141 100644 --- a/srcpkgs/argon2/template +++ b/srcpkgs/argon2/template @@ -14,6 +14,7 @@ license="CC0-1.0, Apache-2.0" homepage="https://github.com/P-H-C/phc-winner-argon2" distfiles="https://github.com/P-H-C/phc-winner-argon2/archive/${version}.tar.gz" checksum=daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c +patch_args=-Np0 libargon2_package() { short_desc="Password hashing library" diff --git a/srcpkgs/argyllcms/template b/srcpkgs/argyllcms/template index 5fb8294254f..33d0d14436c 100644 --- a/srcpkgs/argyllcms/template +++ b/srcpkgs/argyllcms/template @@ -12,6 +12,7 @@ license="AGPL-3.0-or-later, GPL-2.0-or-later, GPL-3.0-or-later" homepage="https://www.argyllcms.com/" distfiles="https://www.argyllcms.com/Argyll_V${version}_src.zip" checksum=be378ca836b17b8684db05e9feaab138d711835ef00a04a76ac0ceacd386a3e3 +patch_args=-Np0 # Build system look only under / for headers and libraries. Breaks cross. nocross=yes diff --git a/srcpkgs/ark/template b/srcpkgs/ark/template index dfa7870ed4c..22022fc8a64 100644 --- a/srcpkgs/ark/template +++ b/srcpkgs/ark/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="https://kde.org/applications/en/utilities/org.kde.ark" distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz" checksum=09e0294c36a881585183bf165020ef832bfbbd181547ea26eb78268aab46a768 +patch_args=-Np0 do_check() { cd build diff --git a/srcpkgs/armadillo/template b/srcpkgs/armadillo/template index 9407c3aa8b4..52e72128108 100644 --- a/srcpkgs/armadillo/template +++ b/srcpkgs/armadillo/template @@ -12,6 +12,7 @@ license="Apache-2.0" homepage="http://arma.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/arma/${pkgname}-${version}.tar.xz" checksum=d78658c9442addf7f718eb05881150ee3ec25604d06dd3af4942422b3ce26d05 +patch_args=-Np0 build_options="hdf5" desc_option_hdf5="HDF5 support" diff --git a/srcpkgs/artyfx/template b/srcpkgs/artyfx/template index f06781b6373..279fa42510d 100644 --- a/srcpkgs/artyfx/template +++ b/srcpkgs/artyfx/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://openavproductions.com/artyfx/" distfiles="https://github.com/openAVproductions/openAV-ArtyFX/archive/release-$version.tar.gz" checksum=a2a8d02b47bea44d0053cd4f8c6411f68a6fe9b9e4348a4139cd9bfd70105c00 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in armv7*) diff --git a/srcpkgs/asignify/template b/srcpkgs/asignify/template index 24b6f55108e..a6bc88da22d 100644 --- a/srcpkgs/asignify/template +++ b/srcpkgs/asignify/template @@ -10,6 +10,7 @@ license="BSD-2-Clause" homepage="https://github.com/vstakhov/asignify" distfiles="https://github.com/vstakhov/asignify/archive/${version}.tar.gz" checksum=81272713900b51049633139549181fa23e56eeb580e0ea0325546d2fe7ca503d +patch_args=-Np0 pre_configure() { NOCONFIGURE=1 ./autogen.sh diff --git a/srcpkgs/assimp/template b/srcpkgs/assimp/template index 7d45161ede5..39b1cb64289 100644 --- a/srcpkgs/assimp/template +++ b/srcpkgs/assimp/template @@ -13,6 +13,7 @@ license="BSD-3-Clause" homepage="http://assimp.sourceforge.net/" distfiles="https://github.com/assimp/assimp/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=11310ec1f2ad2cd46b95ba88faca8f7aaa1efe9aa12605c55e3de2b977b3dbfc +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/astroid/template b/srcpkgs/astroid/template index e37e50c628f..b1c72bcbe60 100644 --- a/srcpkgs/astroid/template +++ b/srcpkgs/astroid/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="http://astroidmail.github.io/" distfiles="https://github.com/astroidmail/astroid/archive/v${version}.tar.gz" checksum=8581bbdbc71bd00d4cdd473cfad8bc604628bb15616fe5eab5c623461f686c65 +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" qemu-user-static prelink-cross" diff --git a/srcpkgs/astyle/template b/srcpkgs/astyle/template index 860e5840811..d6e09e75d70 100644 --- a/srcpkgs/astyle/template +++ b/srcpkgs/astyle/template @@ -11,6 +11,7 @@ license="MIT" homepage="http://astyle.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}_${version}_linux.tar.gz" checksum=cbcc4cf996294534bb56f025d6f199ebfde81aa4c271ccbd5ee1c1a3192745d7 +patch_args=-Np0 do_install() { vbin bin/astyle diff --git a/srcpkgs/at/template b/srcpkgs/at/template index 772c4582b3e..563b741d6af 100644 --- a/srcpkgs/at/template +++ b/srcpkgs/at/template @@ -16,6 +16,7 @@ homepage="http://packages.qa.debian.org/a/at.html" distfiles="${DEBIAN_SITE}/main/a/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=2211da14914fde1f9cc83592838fb6385a32fb11fcecb7816c77700df6559088 disable_parallel_build=yes +patch_args=-Np0 conf_files="/etc/at.deny" system_accounts="at" diff --git a/srcpkgs/aterm/template b/srcpkgs/aterm/template index cf474ff86de..6608120fc2d 100644 --- a/srcpkgs/aterm/template +++ b/srcpkgs/aterm/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://www.afterstep.org/aterm.php" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2" checksum=a161c3b2d9c7149130a41963899993af21eae92e8e362f4b5b3c7c4cb16760ce +patch_args=-Np0 pre_build() { sed -i '/INSTALL_PROGRAM/s,-c -s,-c ,g' src/Makefile diff --git a/srcpkgs/atomicparsley/template b/srcpkgs/atomicparsley/template index b82abf7d377..4f6d6cc2d8f 100644 --- a/srcpkgs/atomicparsley/template +++ b/srcpkgs/atomicparsley/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://bitbucket.org/wez/atomicparsley/" distfiles="https://bitbucket.org/wez/atomicparsley/get/${version}.tar.gz" checksum=8ba4e3e21d7a9239932e2a6f34842194d8f9eba84ce9eb83fb35369f5f3f05ab +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/atop/template b/srcpkgs/atop/template index 8c981e65787..8ba868d263e 100644 --- a/srcpkgs/atop/template +++ b/srcpkgs/atop/template @@ -12,6 +12,7 @@ homepage="https://www.atoptool.nl/" distfiles="https://www.atoptool.nl/download/atop-${version}.tar.gz" checksum=4b911057ce50463b6e8b3016c5963d48535c0cddeebc6eda817e292b22f93f33 python_version=2 #unverified +patch_args=-Np0 make_dirs="/var/log/atop 755 root root" diff --git a/srcpkgs/attic/template b/srcpkgs/attic/template index 153c0341edc..3e7feff29c0 100644 --- a/srcpkgs/attic/template +++ b/srcpkgs/attic/template @@ -13,6 +13,7 @@ license="BSD-3-Clause" homepage="https://attic-backup.org/" distfiles="${PYPI_SITE}/A/Attic/Attic-${version}.tar.gz" checksum=6650cd28072101c2e05941e77b93a62f91da6179785e4e4b4880916c469bba2c +patch_args=-Np0 pre_build() { if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/attract/template b/srcpkgs/attract/template index ceff4287193..dd2419954f9 100644 --- a/srcpkgs/attract/template +++ b/srcpkgs/attract/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="http://attractmode.org/" distfiles="https://github.com/mickelson/attract/archive/v${version}.tar.gz" checksum=4c17641ce0a0b9ff77da5e75f0cb26cc48e4c6295ef57d86a37db18b2bd9fbe9 +patch_args=-Np0 CFLAGS="-std=gnu++11 \ -I extlibs/audio/include \ diff --git a/srcpkgs/aubio/template b/srcpkgs/aubio/template index eaab3e9fdb7..c903e81ed8d 100644 --- a/srcpkgs/aubio/template +++ b/srcpkgs/aubio/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="http://aubio.org" distfiles="${homepage}/pub/${pkgname}-${version}.tar.bz2" checksum=d48282ae4dab83b3dc94c16cf011bcb63835c1c02b515490e1883049c3d1f3da +patch_args=-Np0 libaubio_package() { short_desc+=" - Runtime libraries" diff --git a/srcpkgs/audacity/template b/srcpkgs/audacity/template index c91520872ce..4ed153f8b74 100644 --- a/srcpkgs/audacity/template +++ b/srcpkgs/audacity/template @@ -18,6 +18,7 @@ license="GPL-2.0-or-later" homepage="https://www.audacityteam.org" distfiles="https://github.com/${pkgname}/${pkgname}/archive/Audacity-${version}.tar.gz" checksum=50240f07471373a7e5c2df65cc26eeeaaced9a0850ad1f95cb795f171ea3009f +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) ;; diff --git a/srcpkgs/audiofile/template b/srcpkgs/audiofile/template index a4eef3f4026..7779d5ec203 100644 --- a/srcpkgs/audiofile/template +++ b/srcpkgs/audiofile/template @@ -13,6 +13,7 @@ homepage="http://audiofile.68k.org" distfiles="http://github.com/mpruett/audiofile/archive/audiofile-${version}.tar.gz" checksum=52125fee6c7454d743acdc27ebda194c6b5c7b9111426c7d5fdea0754cd366cc disable_parallel_build=1 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/autoconf/template b/srcpkgs/autoconf/template index 260e8c753f0..a3018bf709b 100644 --- a/srcpkgs/autoconf/template +++ b/srcpkgs/autoconf/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later, GPL-3.0-or-later" homepage="http://www.gnu.org/software/autoconf" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz" checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684 +patch_args=-Np0 pre_check() { # Disable failing test by adding diff --git a/srcpkgs/autoconf213/template b/srcpkgs/autoconf213/template index 31f07cb74c0..ebbcb4df454 100644 --- a/srcpkgs/autoconf213/template +++ b/srcpkgs/autoconf213/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="http://www.gnu.org/software/autoconf" distfiles="${GNU_SITE}/autoconf/autoconf-$version.tar.gz" checksum=f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e +patch_args=-Np0 post_install() { # Avoid conflict with other versions. diff --git a/srcpkgs/autofs/template b/srcpkgs/autofs/template index b306368242d..bd2ab279254 100644 --- a/srcpkgs/autofs/template +++ b/srcpkgs/autofs/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="https://www.kernel.org/pub/linux/daemons/autofs" distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz" checksum=a36b268611b79b07051749870ba540b139938efc84bc0293244c483e94f9ced7 +patch_args=-Np0 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gssglue -I${XBPS_CROSS_BASE}/usr/include/tirpc" diff --git a/srcpkgs/autogen/template b/srcpkgs/autogen/template index cfc9d20c9df..3b6d72d5090 100644 --- a/srcpkgs/autogen/template +++ b/srcpkgs/autogen/template @@ -17,6 +17,7 @@ replaces="autogen-docs>=0 autogen-devel>=0" _libopts=libopts-42.1.17.tar.gz CFLAGS="-Wno-error=format-truncation -Wno-error=format-overflow -Wno-error=unused-parameter" +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" autogen guile-devel" diff --git a/srcpkgs/avidemux/template b/srcpkgs/avidemux/template index e62a3bc2c43..abedf3e2bc0 100644 --- a/srcpkgs/avidemux/template +++ b/srcpkgs/avidemux/template @@ -19,6 +19,7 @@ homepage="http://avidemux.sourceforge.net/" changelog="http://avidemux.sourceforge.net/news.html" distfiles="${SOURCEFORGE_SITE}/avidemux/avidemux/${version}/${pkgname}_${version}.tar.gz" checksum=9a88741f3535443d4bde35d4207ca2ff96d3b136db2e7232cb50dd6b4eb293cf +patch_args=-Np0 do_configure() { MAKEFLAGS=${makejobs} \ diff --git a/srcpkgs/avr-binutils/template b/srcpkgs/avr-binutils/template index 7d3a15725c5..d00bec12e17 100644 --- a/srcpkgs/avr-binutils/template +++ b/srcpkgs/avr-binutils/template @@ -14,6 +14,7 @@ license="GPL-3.0-only" homepage="http://www.gnu.org/software/binutils/" distfiles="$GNU_SITE/binutils/binutils-$version.tar.xz" checksum=0ab6c55dd86a92ed561972ba15b9b70a8b9f75557f896446c82e8b36e473ee04 +patch_args=-Np0 post_install() { rm -rf "$DESTDIR"/usr/share/info \ diff --git a/srcpkgs/bacula-common/template b/srcpkgs/bacula-common/template index 04b89e171ad..9facbbf2efe 100644 --- a/srcpkgs/bacula-common/template +++ b/srcpkgs/bacula-common/template @@ -17,6 +17,7 @@ distfiles="${SOURCEFORGE_SITE}/bacula/bacula-${version}.tar.gz" checksum=a40d04d2c48135972cecb6578405e835c4b9d798c0950017de0fad40ca94e8a0 alternatives="bacula-db-backend:/usr/lib/libbaccats-${version}.so:/usr/lib/libbaccats-sqlite3-${version}.so" shlib_provides="libbaccats-${version}.so" +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/bananapi-uboot/template b/srcpkgs/bananapi-uboot/template index fabedf3d597..80acf0c6e8f 100644 --- a/srcpkgs/bananapi-uboot/template +++ b/srcpkgs/bananapi-uboot/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="https://github.com/hardkernel/u-boot" distfiles="https://github.com/Bananian/u-boot-bananapi/archive/bananian-v${version}.tar.gz" checksum=8be162b0b8e85d3fbc2e14af3b71c4a204f4a9c63f6f13275f86629624c1d6a6 +patch_args=-Np0 conf_files="/boot/uEnv.txt" archs="armv7l*" diff --git a/srcpkgs/basu/template b/srcpkgs/basu/template index 1a3614b781c..0244cc11cc2 100644 --- a/srcpkgs/basu/template +++ b/srcpkgs/basu/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/emersion/basu" distfiles="${homepage}/releases/download/v${version}/${pkgname}-${version}.tar.gz" checksum=e2fda9b69fc6c4530173fcf8db94c29aa5f3ed932d948cc6a31892623cde5e4b +patch_args=-Np0 basu-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/batman-adv14/template b/srcpkgs/batman-adv14/template index 8fb35827056..a1776f12109 100644 --- a/srcpkgs/batman-adv14/template +++ b/srcpkgs/batman-adv14/template @@ -11,6 +11,7 @@ distfiles="http://downloads.open-mesh.org/batman/releases/batman-adv-${version}/ checksum=a9b1b7542c94cc6bf7c97b7b0d02bf071b5632a64480ae419358b9cb9cab6870 provides="batman-adv-${version}_${revision}" conflicts="batman-adv>=0" +patch_args=-Np0 dkms_modules="batman-adv14 ${version}" depends="dkms" diff --git a/srcpkgs/bbkeys/template b/srcpkgs/bbkeys/template index a9a52c11007..40ae05dec71 100644 --- a/srcpkgs/bbkeys/template +++ b/srcpkgs/bbkeys/template @@ -11,6 +11,7 @@ license="MIT" homepage="https://github.com/bbidulock/bbkeys" distfiles="${homepage}/releases/download/rel-${version//.}/bbkeys-${version}.tar.lz" checksum=ece0113b2cc6367e2cad95f59cf43d7576b5a1a7eb8a9e3f10ce9814db67b95c +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/bbswitch/template b/srcpkgs/bbswitch/template index 4dc9d3235e6..049ba73bc32 100644 --- a/srcpkgs/bbswitch/template +++ b/srcpkgs/bbswitch/template @@ -11,6 +11,7 @@ homepage="http://github.com/Bumblebee-Project/bbswitch" distfiles="https://github.com/Bumblebee-Project/bbswitch/archive/v$version.tar.gz" checksum=76cabd3f734fb4fe6ebfe3ec9814138d0d6f47d47238521ecbd6a986b60d1477 dkms_modules="${pkgname} ${version}" +patch_args=-Np0 do_install() { vinstall Makefile 644 usr/src/${pkgname}-${version} diff --git a/srcpkgs/bc/template b/srcpkgs/bc/template index c6ca1b7d899..bff25a4c64e 100644 --- a/srcpkgs/bc/template +++ b/srcpkgs/bc/template @@ -18,6 +18,7 @@ alternatives=" dc:dc:/usr/bin/gnu-dc dc:dc.1:/usr/share/man/man1/gnu-dc.1" disable_parallel_build=yes +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" bc" diff --git a/srcpkgs/bcc/template b/srcpkgs/bcc/template index cbdb9de0abc..091ad9473a2 100644 --- a/srcpkgs/bcc/template +++ b/srcpkgs/bcc/template @@ -15,6 +15,7 @@ homepage="https://github.com/iovisor/bcc" distfiles="https://github.com/iovisor/bcc/releases/download/v${version}/bcc-src-with-submodule.tar.gz" checksum=93edc925675262aa509f5eaf146f2fc7dfa3e01d1b0336a5de01ee6d72fa493b python_version="3" +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/bctoolbox/template b/srcpkgs/bctoolbox/template index 4de00e55e20..f308b687414 100644 --- a/srcpkgs/bctoolbox/template +++ b/srcpkgs/bctoolbox/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="https://gitlab.linphone.org/BC/public/bctoolbox" distfiles="https://gitlab.linphone.org/BC/public/bctoolbox/-/archive/${version}/bctoolbox-${version}.tar.gz" checksum=1364d5f42b5514546b9c6654c227804ff92cf9cf13fdc7cb6ca666e3bb5a7987 +patch_args=-Np0 bctoolbox-devel_package() { depends="bctoolbox-${version}_${revision}" diff --git a/srcpkgs/beep/template b/srcpkgs/beep/template index 0f3c10d9781..3be4bf6147f 100644 --- a/srcpkgs/beep/template +++ b/srcpkgs/beep/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://www.johnath.com/beep/" distfiles="http://www.johnath.com/${pkgname}/${pkgname}-${version}.tar.gz" checksum=59acef7a987de5557cefd1a904666cc2691f132929af39e65450b182a581ec2d +patch_args=-Np0 post_extract() { rm -f Makefile diff --git a/srcpkgs/beets/template b/srcpkgs/beets/template index 8dfb44bf88a..60e86df7539 100644 --- a/srcpkgs/beets/template +++ b/srcpkgs/beets/template @@ -17,6 +17,7 @@ license="MIT" homepage="http://beets.radbox.org/" distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz" checksum=d29b432cab0c80947b5229f548762948c4dd4a430e5d02760bfeb95da3cc8054 +patch_args=-Np0 post_install() { vman man/beet.1 diff --git a/srcpkgs/beignet/template b/srcpkgs/beignet/template index 29a1ef99dbd..dbe0d1888c6 100644 --- a/srcpkgs/beignet/template +++ b/srcpkgs/beignet/template @@ -14,6 +14,7 @@ license="LGPL-2.1-or-later" homepage="http://www.freedesktop.org/wiki/Software/Beignet/" distfiles="https://01.org/sites/default/files/${pkgname}-${version}-source.tar.gz" checksum=c555edba149de23243965a703f39f79fa06f15bcff5a3762b5544b0925010b43 +patch_args=-Np0 post_install() { # remove CL headers, we do use opencl-headers instead. diff --git a/srcpkgs/belle-sip/template b/srcpkgs/belle-sip/template index 6351feba635..9f9c297d358 100644 --- a/srcpkgs/belle-sip/template +++ b/srcpkgs/belle-sip/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://www.linphone.org" distfiles="https://gitlab.linphone.org/BC/public/belle-sip/-/archive/${version}/belle-sip-${version}.tar.gz" checksum=4f9218b0bbf55c2f68d70a0e83779e591ef9fe97f1caf7550768ea192ee34cee +patch_args=-Np0 belle-sip-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/berkeley-abc/template b/srcpkgs/berkeley-abc/template index f5aeb2a1e4f..280c3e0bce2 100644 --- a/srcpkgs/berkeley-abc/template +++ b/srcpkgs/berkeley-abc/template @@ -15,6 +15,7 @@ license="custom:University-of-California, BSD-4-Clause, MIT, BSD-2-Clause" homepage="http://www.eecs.berkeley.edu/~alanmi/abc/" distfiles="https://github.com/berkeley-abc/abc/archive/$_gitrev.tar.gz" checksum=52f1e9bf62c1e0d3b3cbe145f61b409a725e73fe606ba010efcbb2701a14171b +patch_args=-Np0 post_patch() { vsed -i -e '/^CC *:=/d' -e '/^CXX *:=/d' -e '/^AR *:=/d' \ diff --git a/srcpkgs/berry/template b/srcpkgs/berry/template index 05256589af2..a9fb2bf9434 100644 --- a/srcpkgs/berry/template +++ b/srcpkgs/berry/template @@ -11,6 +11,7 @@ license="MIT" homepage="https://github.com/JLErvin/berry" distfiles="https://github.com/JLErvin/berry/archive/${version}.tar.gz" checksum=1d6de883a0cd96ceb167c5ad2e855b0b15fa84872d41a22e05d0fdf0cf4be6b8 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/biew/template b/srcpkgs/biew/template index 73a17e44c8d..06db316d4c6 100644 --- a/srcpkgs/biew/template +++ b/srcpkgs/biew/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://beye.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/beye/${pkgname}/${version}/${pkgname}-${_shortversion}-src.tar.bz2" checksum=2e85f03c908dd6ec832461fbfbc79169a33f4caccf48c8fe60cbd29f5fb06d17 +patch_args=-Np0 pre_configure() { configure_args+=" --target-arch=generic --ld=$CC" diff --git a/srcpkgs/bin86/template b/srcpkgs/bin86/template index 8d711210193..fd37d2a267d 100644 --- a/srcpkgs/bin86/template +++ b/srcpkgs/bin86/template @@ -9,6 +9,7 @@ license="GPL-2" distfiles="http://v3.sk/~lkundrak/dev86/bin86-${version}.tar.gz" checksum=021e37cde3a20632c4c9000993cb4aa9f58cb82b1d3c26b9aeb62d6566925738 archs="i686* x86_64*" +patch_args=-Np0 do_build() { make ${makejobs} CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" PREFIX=/usr diff --git a/srcpkgs/binwalk/template b/srcpkgs/binwalk/template index 6c61fff87ae..cec10ddb7e7 100644 --- a/srcpkgs/binwalk/template +++ b/srcpkgs/binwalk/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://github.com/ReFirmLabs/binwalk" distfiles="https://github.com/ReFirmLabs/binwalk/archive/v${version}.tar.gz" checksum=7ec9d8fcb8686f4060d37e1096669e3ed8ce1194c91ad80199622448bcc01b19 +patch_args=-Np0 post_extract() { vsed -i -e 's;/etc/bash_completion.d/%s;%s.bash;' setup.py diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template index bc40598b036..493605a5ceb 100644 --- a/srcpkgs/bird/template +++ b/srcpkgs/bird/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://bird.network.cz" distfiles="https://gitlab.labs.nic.cz/labs/bird/-/archive/v${version}/bird-v${version}.tar.gz" checksum=4d0eeea762dcd4422e1e276e2ed123cfed630cf1cce017b50463d79fcf2fff0c +patch_args=-Np0 conf_files="/etc/bird.conf" system_accounts="_bird" diff --git a/srcpkgs/bish/template b/srcpkgs/bish/template index 2355c664a42..f5140a9ac2d 100644 --- a/srcpkgs/bish/template +++ b/srcpkgs/bish/template @@ -9,6 +9,7 @@ license="MIT" homepage="https://github.com/tdenniston/bish" distfiles="https://github.com/tdenniston/bish/archive/v${version}.tar.gz" checksum=796d1efcbc9e8c7ea604881860aa8d857aad089c4eeb766283c21c210687942b +patch_args=-Np0 do_install() { vbin bish diff --git a/srcpkgs/bitchx/template b/srcpkgs/bitchx/template index 450fde27dee..f5de7ac8697 100644 --- a/srcpkgs/bitchx/template +++ b/srcpkgs/bitchx/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="http://bitchx.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=2d270500dd42b5e2b191980d584f6587ca8a0dbda26b35ce7fadb519f53c83e2 +patch_args=-Np0 disable_parallel_build=yes diff --git a/srcpkgs/bitfighter/template b/srcpkgs/bitfighter/template index c3b2cc22a26..58e03310739 100644 --- a/srcpkgs/bitfighter/template +++ b/srcpkgs/bitfighter/template @@ -20,6 +20,7 @@ checksum="cd47c453d9e6875ded627b987a645e2ff2c757363f394b152f62d868e1d81427 d628a2b0af024a965b92877f321f2174d6309b7ce9236775af3bd86a67fcc72b" python_version=2 replaces="bitfighter-data>=0" +patch_args=-Np0 CXXFLAGS="-Wno-narrowing" diff --git a/srcpkgs/blackboxwm/template b/srcpkgs/blackboxwm/template index 10ad09eac50..05fffcbf3af 100644 --- a/srcpkgs/blackboxwm/template +++ b/srcpkgs/blackboxwm/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://github.com/bbidulock/blackboxwm" distfiles="${homepage}/releases/download/${version}/blackbox-${version}.tar.lz" checksum=e4f814fb02f6a977e9aab1c60192087597b79b0a56cc4a14e8a962b7d45d82d1 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/bmon/template b/srcpkgs/bmon/template index 67b13cb31a5..64f426cc2ec 100644 --- a/srcpkgs/bmon/template +++ b/srcpkgs/bmon/template @@ -11,6 +11,7 @@ license="BSD-2-Clause, MIT" homepage="http://github.com/tgraf/bmon/" distfiles="http://github.com/tgraf/${pkgname}/archive/v${version}.tar.gz" checksum=d5e503ff6b116c681ebf4d10e238604dde836dceb9c0008eb92416a96c87ca40 +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/boinc/template b/srcpkgs/boinc/template index 1eba13495c2..944fdaf172d 100644 --- a/srcpkgs/boinc/template +++ b/srcpkgs/boinc/template @@ -21,6 +21,7 @@ system_accounts="boinc" boinc_homedir="/var/lib/boinc" boinc_shell="/bin/bash" conflicts="boinc-nox>=0" +patch_args=-Np0 CXXFLAGS="-Wno-redundant-decls" diff --git a/srcpkgs/bomi/template b/srcpkgs/bomi/template index 4cab853148a..f66197af1d8 100644 --- a/srcpkgs/bomi/template +++ b/srcpkgs/bomi/template @@ -21,6 +21,7 @@ changelog="https://raw.githubusercontent.com/xylosper/bomi/master/CHANGES.txt" distfiles="https://github.com/xylosper/bomi/archive/v${version}.tar.gz" checksum=c76ac45733cdafa7003bbc178e5a90a683df9aec30cd85f188bb17c7af9e282e nocross=https://build.voidlinux.org/builders/armv7l_builder/builds/1382/steps/shell_3/logs/stdio +patch_args=-Np0 pre_configure() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/bonnie++/template b/srcpkgs/bonnie++/template index 8fa4be8c3d6..5c1be95b51f 100644 --- a/srcpkgs/bonnie++/template +++ b/srcpkgs/bonnie++/template @@ -9,6 +9,7 @@ license="GPL-2.0-only" homepage="http://www.coker.com.au/bonnie++/" distfiles="http://www.coker.com.au/bonnie++/bonnie++-${version}.tgz" checksum=6e0bcbc08b78856fd998dd7bcb352d4615a99c26c2dc83d5b8345b102bad0b04 +patch_args=-Np0 post_extract() { sed -i -e 's/sbin/bin/g' \ diff --git a/srcpkgs/boomerang/template b/srcpkgs/boomerang/template index 904e0e8571f..00b49809a56 100644 --- a/srcpkgs/boomerang/template +++ b/srcpkgs/boomerang/template @@ -14,6 +14,7 @@ license="BSD-3-Clause" homepage="https://github.com/BoomerangDecompiler/boomerang" distfiles="https://github.com/BoomerangDecompiler/boomerang/archive/v${version}.tar.gz" checksum=1d2c9c2f5de1a3e1d5fe3879e82bca268d1c49e6ba3d0a7848695f18c594384d +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in ppc64*) ;; diff --git a/srcpkgs/boost/template b/srcpkgs/boost/template index 5b559e932d1..23f6a6acc51 100644 --- a/srcpkgs/boost/template +++ b/srcpkgs/boost/template @@ -12,6 +12,7 @@ homepage="http://www.boost.org/" distfiles="https://dl.bintray.com/boostorg/release/${version}/source/boost_${version//./_}.tar.bz2" checksum=59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722 python_version=3 +patch_args=-Np0 CXXFLAGS="-std=c++14" diff --git a/srcpkgs/bootchart2/template b/srcpkgs/bootchart2/template index 62cd9d2116a..e63b864e5e4 100644 --- a/srcpkgs/bootchart2/template +++ b/srcpkgs/bootchart2/template @@ -16,6 +16,7 @@ distfiles="https://github.com/xrmx/bootchart/archive/${version}.tar.gz" checksum=cec7871c3dba47a1165873b0acde30a82221fde1d3a942da5e7dd09b513d2017 make_dirs="/usr/lib/bootchart/tmpfs 0755 root root" conflicts="bootchart>=0" +patch_args=-Np0 post_patch() { vsed -i -e 's,\$(EARLY_PREFIX)/sbin/,/usr/bin/,' Makefile diff --git a/srcpkgs/botan/template b/srcpkgs/botan/template index d2e6ffb9ccd..5e9e3c803e3 100644 --- a/srcpkgs/botan/template +++ b/srcpkgs/botan/template @@ -14,6 +14,7 @@ homepage="https://botan.randombit.net/" distfiles="https://botan.randombit.net/releases/Botan-${version}.tar.xz" checksum=92ed6ebc918d86bd1b04221ca518af4cf29cc326c4760740bd2d22e61cea2628 python_version=3 +patch_args=-Np0 LDFLAGS="-pthread" CXXFLAGS="-O3" diff --git a/srcpkgs/bridge-utils/template b/srcpkgs/bridge-utils/template index 08827cd6ad5..e50ac51ba44 100644 --- a/srcpkgs/bridge-utils/template +++ b/srcpkgs/bridge-utils/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge" distfiles="${KERNEL_SITE}/utils/net/bridge-utils/bridge-utils-${version}.tar.xz" checksum=cc67efb5d5fb8928a6569b3fade2b4042ec17da04678dab127d96b46489e26c8 +patch_args=-Np0 pre_configure() { sed "s/u_int\([0-9]*\)_t/uint\1_t/" -i libbridge/libbridge.h diff --git a/srcpkgs/brltty/template b/srcpkgs/brltty/template index 53e15ed6ff0..b9c6ba6ec6b 100644 --- a/srcpkgs/brltty/template +++ b/srcpkgs/brltty/template @@ -14,6 +14,7 @@ homepage="http://mielke.cc/brltty/" distfiles="http://mielke.cc/brltty/archive/brltty-${version}.tar.xz" checksum=4a28e3f1879aee9082f9ce4100fd4053be47add7f8ab0f2af6d6a20590934b62 python_version=3 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) configure_args="${configure_args} --with-ports-package=glibc";; diff --git a/srcpkgs/broadcom-wl-dkms/template b/srcpkgs/broadcom-wl-dkms/template index 55bc9c0e1d3..a31c8c385c7 100644 --- a/srcpkgs/broadcom-wl-dkms/template +++ b/srcpkgs/broadcom-wl-dkms/template @@ -1,4 +1,5 @@ # Template file for 'broadcom-wl-dkms' +patch_args=-Np0 pkgname=broadcom-wl-dkms version=6.30.223.271 diff --git a/srcpkgs/browsh/template b/srcpkgs/browsh/template index 856fefd13d7..67675e7dcab 100644 --- a/srcpkgs/browsh/template +++ b/srcpkgs/browsh/template @@ -17,6 +17,7 @@ distfiles="https://$go_import_path/archive/v$version.tar.gz checksum="965ce2d94d1d9e4b92411d344421c0bea40994527cafd694c5a6e8e206681ede b410527a69dba88a30d8a6d341a20eb5cb1f84b684e9bc8bb6bc88a2930e0eea" skip_extraction="browsh.xpi" +patch_args=-Np0 pre_build() { _prefix="$XBPS_SRCDISTDIR/$pkgname-$version" diff --git a/srcpkgs/bsdiff/template b/srcpkgs/bsdiff/template index d1396b8c707..5f038e447a7 100644 --- a/srcpkgs/bsdiff/template +++ b/srcpkgs/bsdiff/template @@ -10,6 +10,7 @@ homepage="http://www.daemonology.net/bsdiff" distfiles="${DEBIAN_SITE}/main/b/bsdiff/bsdiff_${version}.orig.tar.gz" #distfiles="${homepage}/${pkgname}-${version}.tar.gz" checksum=18821588b2dc5bf159aa37d3bcb7b885d85ffd1e19f23a0c57a58723fea85f48 +patch_args=-Np0 do_build() { for i in diff patch; do diff --git a/srcpkgs/bsdunzip/template b/srcpkgs/bsdunzip/template index e6ac1e4a369..922b71d2b7d 100644 --- a/srcpkgs/bsdunzip/template +++ b/srcpkgs/bsdunzip/template @@ -10,6 +10,7 @@ license="BSD-2-Clause, ISC" homepage="https://github.com/somasis/bsdunzip" distfiles="https://github.com/somasis/bsdunzip/archive/${version}.tar.gz" checksum=06c52c77fa518732665aa2daa73f364cd2470a5d47a83c9c79f86f207cf3ecc1 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/bubblewrap/template b/srcpkgs/bubblewrap/template index 4df1dac5939..c8d5dda0433 100644 --- a/srcpkgs/bubblewrap/template +++ b/srcpkgs/bubblewrap/template @@ -11,6 +11,7 @@ license="LGPL-2.0-or-later" homepage="https://github.com/containers/bubblewrap" distfiles="${homepage}/releases/download/v${version}/${pkgname}-${version}.tar.xz" checksum=b9c69b9b1c61a608f34325c8e1a495229bacf6e4a07cbb0c80cf7a814d7ccc03 +patch_args=-Np0 post_install() { if [ "$XBPS_TARGET_LIBC" = "musl" ]; then diff --git a/srcpkgs/buffer/template b/srcpkgs/buffer/template index df0fb0c0c64..e1c05e510af 100644 --- a/srcpkgs/buffer/template +++ b/srcpkgs/buffer/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/scotte/buffer" distfiles="https://github.com/scotte/buffer/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz" checksum=14a881fcd070b1dcd8ec91d8d036f22094c22ac3769c274f0d7d6799038a73c3 +patch_args=-Np0 pre_build() { sed -i Makefile \ diff --git a/srcpkgs/buildbot/template b/srcpkgs/buildbot/template index ae905fc67ab..bec731f4e53 100644 --- a/srcpkgs/buildbot/template +++ b/srcpkgs/buildbot/template @@ -13,6 +13,7 @@ license="GPL-2.0-only" homepage="https://buildbot.net/" distfiles="${PYPI_SITE}/b/${pkgname}/${pkgname}-${version}.tar.gz" checksum=331efd07bd7522c222a8fb258801e8d78332c88d778ee76416b9e1028676e964 +patch_args=-Np0 pre_install() { sed -i 's,#!/usr/bin/env jython,#!/usr/bin/python2,' contrib/run_maxq.py diff --git a/srcpkgs/buku/template b/srcpkgs/buku/template index b2c1962d919..2785910412d 100644 --- a/srcpkgs/buku/template +++ b/srcpkgs/buku/template @@ -10,6 +10,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/jarun/Buku" distfiles="https://github.com/jarun/Buku/archive/v${version}.tar.gz" checksum=2e1968016d3856184db8ac49cdc92a6c70869f62846185f28c8c60ead0c42888 +patch_args=-Np0 do_install() { vbin buku diff --git a/srcpkgs/bullet/template b/srcpkgs/bullet/template index 9dabf7d8929..3f2af8aafdf 100644 --- a/srcpkgs/bullet/template +++ b/srcpkgs/bullet/template @@ -15,6 +15,7 @@ homepage="http://www.bulletphysics.com/Bullet/" distfiles="https://github.com/bulletphysics/bullet3/archive/${version}.tar.gz" checksum=baa642c906576d4d98d041d0acb80d85dd6eff6e3c16a009b1abf1ccd2bc0a61 shlib_provides="libOpenGLWindow.so libgwen.so" +patch_args=-Np0 post_install() { vlicense LICENSE.txt diff --git a/srcpkgs/bumblebee/template b/srcpkgs/bumblebee/template index c54ea65d32c..93aa7c8e3bf 100644 --- a/srcpkgs/bumblebee/template +++ b/srcpkgs/bumblebee/template @@ -24,6 +24,7 @@ homepage="http://www.bumblebee-project.org/" distfiles="http://www.bumblebee-project.org/${pkgname}-${version}.tar.gz" checksum=1018703b07e2f607a4641249d69478ce076ae5a1e9dd6cff5694d394fa7ee30e system_groups="bumblebee" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/bup/template b/srcpkgs/bup/template index b40c3cddbf6..5028dce8364 100644 --- a/srcpkgs/bup/template +++ b/srcpkgs/bup/template @@ -14,6 +14,7 @@ distfiles="https://github.com/bup/bup/archive/${version}.tar.gz" checksum=a894cfa96c44b9ef48003b2c2104dc5fa6361dd2f4d519261a93178984a51259 python_version=3 nocross=yes +patch_args=-Np0 pre_configure() { sed -i 's#^PREFIX=.*#PREFIX=/usr#' Makefile diff --git a/srcpkgs/burp2-server/template b/srcpkgs/burp2-server/template index f3d95a8f152..c9d602c5124 100644 --- a/srcpkgs/burp2-server/template +++ b/srcpkgs/burp2-server/template @@ -1,5 +1,6 @@ # Template file for 'burp2-server' _desc="Network-based backup and restore program" +patch_args=-Np0 pkgname=burp2-server version=2.4.0 diff --git a/srcpkgs/busybox/template b/srcpkgs/busybox/template index 07377569ba5..b580ccc52e9 100644 --- a/srcpkgs/busybox/template +++ b/srcpkgs/busybox/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="https://www.busybox.net" distfiles="${homepage}/downloads/busybox-${version}.tar.bz2" checksum=9d57c4bd33974140fd4111260468af22856f12f5b5ef7c70c8d9b75c712a0dee +patch_args=-Np0 _alternatives_core=" ash:ash:/usr/bin/busybox diff --git a/srcpkgs/bzip2/template b/srcpkgs/bzip2/template index c39a9427efb..d51b4a9e6ef 100644 --- a/srcpkgs/bzip2/template +++ b/srcpkgs/bzip2/template @@ -10,6 +10,7 @@ homepage="https://sourceware.org/bzip2/" changelog="https://sourceware.org/bzip2/CHANGES" distfiles="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz" checksum=ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269 +patch_args=-Np0 do_build() { make ${makejobs} CFLAGS="$CFLAGS -fPIC $LDFLAGS" LDFLAGS="$LDFLAGS" -f Makefile-libbz2_so diff --git a/srcpkgs/c-blosc/template b/srcpkgs/c-blosc/template index a488bfbf05d..b272c4a370c 100644 --- a/srcpkgs/c-blosc/template +++ b/srcpkgs/c-blosc/template @@ -12,6 +12,7 @@ license="BSD-3-Clause, MIT" homepage="https://www.blosc.org" distfiles="https://github.com/Blosc/c-blosc/archive/v${version}.tar.gz" checksum=42c4d3fcce52af9f8e2078f8f57681bfc711706a3330cb72b9b39e05ae18a413 +patch_args=-Np0 post_install() { vlicense LICENSES/BLOSC.txt diff --git a/srcpkgs/c-client/template b/srcpkgs/c-client/template index bf65dc7277b..83210555d17 100644 --- a/srcpkgs/c-client/template +++ b/srcpkgs/c-client/template @@ -11,6 +11,7 @@ homepage="http://www.washington.edu/imap" distfiles="http://ftp.ntua.gr/pub/net/mail/imap/imap-${version}.tar.gz" checksum=53e15a2b5c1bc80161d42e9f69792a3fa18332b7b771910131004eb520004a28 nocross=yes +patch_args=-Np0 do_configure() { sed \ diff --git a/srcpkgs/ca-certificates/template b/srcpkgs/ca-certificates/template index 854e76a613c..cd82c7f4c9b 100644 --- a/srcpkgs/ca-certificates/template +++ b/srcpkgs/ca-certificates/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later, MPL-2.0" homepage="https://tracker.debian.org/pkg/ca-certificates" distfiles="${DEBIAN_SITE}/main/c/${pkgname}/${pkgname}_${version}.tar.xz" checksum=daa3afae563711c30a0586ddae4336e8e3974c2b627faaca404c4e0141b64665 +patch_args=-Np0 post_extract() { $BUILD_CC $BUILD_CFLAGS ${FILESDIR}/certdata2pem.c -o ${wrksrc}/mozilla/certdata2pem diff --git a/srcpkgs/cabal-install/template b/srcpkgs/cabal-install/template index 2c15789b1f9..1db0f1c792e 100644 --- a/srcpkgs/cabal-install/template +++ b/srcpkgs/cabal-install/template @@ -13,6 +13,7 @@ distfiles="https://hackage.haskell.org/packages/archive/${pkgname}/${version}/${ checksum=a0555e895aaf17ca08453fde8b19af96725da8398e027aa43a49c1658a600cb0 nopie_files="/usr/bin/cabal" nocross=yes +patch_args=-Np0 do_build() { PREFIX=$PWD/build sh bootstrap.sh --jobs ${XBPS_MAKEJOBS} --user diff --git a/srcpkgs/cackey/template b/srcpkgs/cackey/template index 468dcd1c7b1..6358543e178 100644 --- a/srcpkgs/cackey/template +++ b/srcpkgs/cackey/template @@ -13,6 +13,7 @@ homepage="http://www.rkeene.org/projects/info/wiki/161" distfiles="http://cackey.rkeene.org/download/$version/cackey-$version.tar.gz" checksum=e2074055bab8eb1c277bfa3355767c50f792d5b87bf41f9c0d1af0e77f311583 CPPFLAGS="-I$XBPS_CROSS_BASE/usr/include/PCSC" +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/cadence/template b/srcpkgs/cadence/template index b429ab1f0fc..283dc9312e0 100644 --- a/srcpkgs/cadence/template +++ b/srcpkgs/cadence/template @@ -16,6 +16,7 @@ license="GPL-2.0-only" homepage="http://kxstudio.linuxaudio.org/Applications:Cadence" distfiles="https://github.com/falkTX/Cadence/archive/v${version}.tar.gz" checksum=e530787ded0d53a3004c7a8260114ddb970c2aea43875d62eccd599ac96e1fd1 +patch_args=-Np0 post_extract() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/calc/template b/srcpkgs/calc/template index bc2087ca2bd..d5c191ab4da 100644 --- a/srcpkgs/calc/template +++ b/srcpkgs/calc/template @@ -11,6 +11,7 @@ homepage="http://www.isthe.com/chongo/tech/comp/calc/index.html" distfiles="http://www.isthe.com/chongo/src/calc/calc-${version}.tar.bz2" checksum=eb1dc5dd680019e30264109167e20539fe9ac869049d8b1639781a51d1dea84c disable_parallel_build=yes +patch_args=-Np0 post_extract() { case $XBPS_TARGET_MACHINE in diff --git a/srcpkgs/caps/template b/srcpkgs/caps/template index 5555e35858a..853aec8890b 100644 --- a/srcpkgs/caps/template +++ b/srcpkgs/caps/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="http://quitte.de/dsp/caps.html" distfiles="http://quitte.de/dsp/${pkgname}_${version}.tar.bz2" checksum=e7496c5bce05abebe3dcb635926153bbb58a9337a6e423f048d3b61d8a4f98c9 +patch_args=-Np0 pre_build() { make_build_args="CC=${CXX} LD=${LD}" diff --git a/srcpkgs/cargo/template b/srcpkgs/cargo/template index 9c9781d1fc4..654bdfe4a90 100644 --- a/srcpkgs/cargo/template +++ b/srcpkgs/cargo/template @@ -14,6 +14,7 @@ homepage="https://crates.io/" distfiles="https://github.com/rust-lang/cargo/archive/${version}.tar.gz" checksum=59ba1ce05becb4a5e0772d334d75f9dce3d5487ca288ac986e786241bb1cbac5 replaces="cargo-tree>=0" +patch_args=-Np0 build_options="static bindist" desc_option_bindist="Generate a tarball for bootstrap" diff --git a/srcpkgs/catch2/template b/srcpkgs/catch2/template index 23e59016d31..09607734bc9 100644 --- a/srcpkgs/catch2/template +++ b/srcpkgs/catch2/template @@ -15,6 +15,7 @@ license="BSL-1.0" homepage="https://github.com/catchorg/Catch2" distfiles="https://github.com/catchorg/Catch2/archive/v${version}/${pkgname}-v${version}.tar.gz" checksum=e7eb70b3d0ac2ed7dcf14563ad808740c29e628edde99e973adad373a2b5e4df +patch_args=-Np0 post_install() { vlicense LICENSE.txt diff --git a/srcpkgs/catdoc/template b/srcpkgs/catdoc/template index ff26dbc5f7b..06522d69211 100644 --- a/srcpkgs/catdoc/template +++ b/srcpkgs/catdoc/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="http://www.wagner.pp.ru/~vitus/software/catdoc/" distfiles="http://ftp.wagner.pp.ru/pub/${pkgname}/${pkgname}-${version}.tar.gz" checksum=514a84180352b6bf367c1d2499819dfa82b60d8c45777432fa643a5ed7d80796 +patch_args=-Np0 do_install() { vmkdir usr/share/man/man1 diff --git a/srcpkgs/cbang/template b/srcpkgs/cbang/template index 63388b2aa82..739b521d98c 100644 --- a/srcpkgs/cbang/template +++ b/srcpkgs/cbang/template @@ -14,6 +14,7 @@ license="LGPL-2.1-only" homepage="https://github.com/CauldronDevelopmentLLC/cbang" distfiles="https://github.com/CauldronDevelopmentLLC/cbang/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=8aa5efacf419b712b5bd0172c9d56301bdcbd477cb590ceec25c3595a192e9c0 +patch_args=-Np0 pre_build() { make_build_args+=" prefix=$DESTDIR/usr" diff --git a/srcpkgs/ccextractor/template b/srcpkgs/ccextractor/template index fe27e68b04f..9bdd5e05fc3 100644 --- a/srcpkgs/ccextractor/template +++ b/srcpkgs/ccextractor/template @@ -15,6 +15,7 @@ changelog="https://raw.githubusercontent.com/CCExtractor/ccextractor/master/docs distfiles="https://github.com/CCExtractor/${pkgname}/archive/v${version}.tar.gz" checksum=bbe8d95347d0cf31bd26489b733fd959a7b98c681f14c59309bff54713fd539d CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tesseract -DPNG_POWERPC_VSX_OPT=0 -fcommon" +patch_args=-Np0 pre_configure() { sed -i -e "s/tesseract --version/tesseract-ocr --version/g" configure.ac diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template index 5972ddeb0ce..d6a2bc83ee7 100644 --- a/srcpkgs/ccl/template +++ b/srcpkgs/ccl/template @@ -21,6 +21,7 @@ nopie=1 nostrip=1 disable_parallel_build=1 python_version=3 +patch_args=-Np0 case $XBPS_MACHINE in x86_64*) _arch=64 ;; diff --git a/srcpkgs/cclive/template b/srcpkgs/cclive/template index c43dbb94209..d221a95f252 100644 --- a/srcpkgs/cclive/template +++ b/srcpkgs/cclive/template @@ -12,6 +12,7 @@ homepage="http://cclive.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=2edeaf5d76455723577e0b593f0322a97f1e0c8b0cffcc70eca8b5d17374a495 CPPFLAGS="-P" +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/ccsm/template b/srcpkgs/ccsm/template index 7f27e3317fc..168445d7ec4 100644 --- a/srcpkgs/ccsm/template +++ b/srcpkgs/ccsm/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/compiz-reloaded" distfiles="https://github.com/compiz-reloaded/ccsm/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=99192a021631cc5a82131fbc03d2f1b7e587892878902113d9bde57a6b00bfa4 +patch_args=-Np0 if [ -z "$CROSS_BUILD" ]; then makedepends+=" python-gobject-devel" diff --git a/srcpkgs/cdb/template b/srcpkgs/cdb/template index c95afff379b..410f978ee7f 100644 --- a/srcpkgs/cdb/template +++ b/srcpkgs/cdb/template @@ -9,6 +9,7 @@ license="Public Domain" homepage="http://cr.yp.to/cdb.html" distfiles="http://cr.yp.to/cdb/cdb-${version}.tar.gz" checksum="1919577799a50c080a8a05a1cbfa5fa7e7abc823d8d7df2eeb181e624b7952c5" +patch_args=-Np0 alternatives=" cdb:cdbdump:/usr/bin/cdb-dump diff --git a/srcpkgs/cdecl/template b/srcpkgs/cdecl/template index e120ca3af50..6de89635713 100644 --- a/srcpkgs/cdecl/template +++ b/srcpkgs/cdecl/template @@ -14,6 +14,7 @@ homepage="http://cdecl.org/" distfiles="${homepage}files/${wrksrc}.tar.gz" checksum=9ee6402be7e4f5bb5e6ee60c6b9ea3862935bf070e6cecd0ab0842305406f3ac CFLAGS="-DUSE_READLINE" +patch_args=-Np0 pre_build() { flex -l -o cdlex.c cdlex.l diff --git a/srcpkgs/cdm/template b/srcpkgs/cdm/template index f1fb8b2f646..5f8a016741b 100644 --- a/srcpkgs/cdm/template +++ b/srcpkgs/cdm/template @@ -9,6 +9,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/evertiro/cdm" distfiles="https://github.com/evertiro/cdm/archive/${version}.tar.gz" checksum=530042165ce65cdff3ec62ba9f077d0e8c6744c13f5d449d84fe2506a79d2e56 +patch_args=-Np0 do_install() { sed -i 's| /| $PKGDESTDIR/|g' install.sh diff --git a/srcpkgs/cdparanoia/template b/srcpkgs/cdparanoia/template index 3cf09587f21..956184ded11 100644 --- a/srcpkgs/cdparanoia/template +++ b/srcpkgs/cdparanoia/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://www.xiph.org/paranoia/" distfiles="http://downloads.xiph.org/releases/$pkgname/$pkgname-III-$version.src.tgz" checksum=005db45ef4ee017f5c32ec124f913a0546e77014266c6a1c50df902a55fe64df +patch_args=-Np0 CFLAGS="-Du_int16_t=uint16_t -Du_int32_t=uint32_t" disable_parallel_build=yes diff --git a/srcpkgs/cegui/template b/srcpkgs/cegui/template index 070fa66aff8..14cd66cd83f 100644 --- a/srcpkgs/cegui/template +++ b/srcpkgs/cegui/template @@ -23,6 +23,7 @@ homepage="http://cegui.org.uk/" distfiles="https://github.com/cegui/cegui/archive/${_githash}.tar.gz" checksum=70156257313b81d068d6592887157dd16b91d7bc0dfdcba02a96ed371d329e64 replaces="cegui-data>=0 cegui-sample>=0" +patch_args=-Np0 build_options="gtk irrlicht ogre python" desc_option_irrlicht="Enable support for Irrlicht" diff --git a/srcpkgs/cegui07/template b/srcpkgs/cegui07/template index 3fa7f80a2ea..352613cf01d 100644 --- a/srcpkgs/cegui07/template +++ b/srcpkgs/cegui07/template @@ -20,6 +20,7 @@ license="MIT" homepage="http://cegui.org.uk/" distfiles="${SOURCEFORGE_SITE}/crayzedsgui/CEGUI%20Mk-2/${version}/CEGUI-${version}.tar.gz" checksum=7c3b264def08b46de749c2acaba363e907479d924612436f3bd09da2e474bb8c +patch_args=-Np0 build_options="irrlicht python" desc_option_irrlicht="Enable support for Irrlicht" diff --git a/srcpkgs/celestia-glut/template b/srcpkgs/celestia-glut/template index 2ee6f0cd64f..22f9e62c648 100644 --- a/srcpkgs/celestia-glut/template +++ b/srcpkgs/celestia-glut/template @@ -14,6 +14,7 @@ license="GPL-2.0-only" homepage="https://celestia.space" distfiles="${SOURCEFORGE_SITE}/celestia/celestia-${version}.tar.gz" checksum="d35570ccb9440fc0bd3e73eb9b4c3e8a4c25f3ae444a13d1175053fa16dc34c4" +patch_args=-Np0 provides="celestia-${version}_${revision}" replaces="celestia>=0" diff --git a/srcpkgs/celestia-gtk/template b/srcpkgs/celestia-gtk/template index 85e1c6ee1ed..b0001ac504b 100644 --- a/srcpkgs/celestia-gtk/template +++ b/srcpkgs/celestia-gtk/template @@ -14,6 +14,7 @@ license="GPL-2.0-only" homepage="https://celestia.space" distfiles="${SOURCEFORGE_SITE}/celestia/celestia-${version}.tar.gz" checksum="d35570ccb9440fc0bd3e73eb9b4c3e8a4c25f3ae444a13d1175053fa16dc34c4" +patch_args=-Np0 provides="celestia-${version}_${revision}" replaces="celestia>=0" diff --git a/srcpkgs/chafa/template b/srcpkgs/chafa/template index 1b07026b9ea..b6c87f0e275 100644 --- a/srcpkgs/chafa/template +++ b/srcpkgs/chafa/template @@ -11,6 +11,7 @@ license="LGPL-3.0-or-later" homepage="https://hpjansson.org/chafa/" distfiles="https://hpjansson.org/chafa/releases/chafa-${version}.tar.xz" checksum=0706e101a6e0e806335aeb57445e2f6beffe0be29a761f561979e81691c2c681 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in x86_64*|i686*) ;; diff --git a/srcpkgs/chatterino2/template b/srcpkgs/chatterino2/template index f69730b3a9f..642d3147fdd 100644 --- a/srcpkgs/chatterino2/template +++ b/srcpkgs/chatterino2/template @@ -29,6 +29,7 @@ e8755e68ff6fc39b4338d424ee9aed2ed5a8eab6eb37af69de2ff21b8dc94e66 f387cc7eaf27dec462bc85a212619f8086167cf0b47e11825b8580d35a740dfe 5a5cd8338fcb0a14a4bbe0840f83505d0444a9000956145e85e5550feeb744b0 eb492b89e67f4ec632bd43f2701d53e355f1d1afbec3cd3af5891c1a6aaaa454" +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/chatty/template b/srcpkgs/chatty/template index a13ad9765b5..c4ab65395aa 100644 --- a/srcpkgs/chatty/template +++ b/srcpkgs/chatty/template @@ -10,6 +10,7 @@ license="GPL-3.0-only" homepage="http://chatty.github.io/" distfiles="https://github.com/chatty/chatty/archive/v${version}.tar.gz" checksum=2eed3a4ed4f1ea58d89e535182bd32771522e4bccb5aa3bf4329aec9d7ab554c +patch_args=-Np0 do_build() { gradle shadowJar diff --git a/srcpkgs/chkrootkit/template b/srcpkgs/chkrootkit/template index 01558c933f8..1f614156b11 100644 --- a/srcpkgs/chkrootkit/template +++ b/srcpkgs/chkrootkit/template @@ -10,6 +10,7 @@ license="BSD-2-Clause" homepage="http://www.chkrootkit.org" distfiles="ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit-${version}.tar.gz" checksum=7262dae33b338976828b5d156b70d159e0043c0db43ada8dee66c97387cf45b5 +patch_args=-Np0 CFLAGS="-fPIC" LDFLAGS="-fPIC" diff --git a/srcpkgs/chmlib/template b/srcpkgs/chmlib/template index a573c27d149..44f3de8568b 100644 --- a/srcpkgs/chmlib/template +++ b/srcpkgs/chmlib/template @@ -10,6 +10,7 @@ license="LGPL-2.1-or-later" homepage="http://www.jedrea.com/chmlib/" distfiles="http://www.jedrea.com/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=3449d64b0cf71578b2c7e3ddc048d4af3661f44a83941ea074a7813f3a59ffa3 +patch_args=-Np0 libchmlib_package() { short_desc="Library for dealing with Microsoft ITSS/CHM format files" diff --git a/srcpkgs/choosenim/template b/srcpkgs/choosenim/template index e2fb62b08d8..eb5ee1d0fed 100644 --- a/srcpkgs/choosenim/template +++ b/srcpkgs/choosenim/template @@ -13,6 +13,7 @@ distfiles="${homepage}/archive/v${version}.tar.gz>choosenim-${version}.tar.gz https://github.com/genotrance/nimarchive/archive/v0.5.4.tar.gz>nimarchive-0.5.4.tar.gz" checksum="0e78a59cfb3cf7926f8dff3a4215949ccfaecd6c6dddc3b2e062098b5da03edb c38e8c66c2eac2bc021d450f2b60d0e45c5355df963d0133930448639c0bd8d4" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in ppc-musl) broken="ftbfs" ;; diff --git a/srcpkgs/choqok/template b/srcpkgs/choqok/template index 75a2c16f63e..df6cbfc32b2 100644 --- a/srcpkgs/choqok/template +++ b/srcpkgs/choqok/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="http://choqok.kde.org/" distfiles="${KDE_SITE}/${pkgname}/${version%.*}/src/${pkgname}-${version}.tar.xz" checksum=26600d95f152c3e04881efb7fb3eb07b5c52fa6ffee838690f28b45defb4a47e +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" kcoreaddons kdoctools ${makedepends}" diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index 2c1bb5d7a35..cbc7e092ac8 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -11,6 +11,7 @@ homepage="https://www.chromium.org/" distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz" checksum=45d5a43ef798d20313c78fa8a075be0c22055e39c8481eb53eabda81df901b31 nocross=yes +patch_args=-Np0 lib32disabled=yes nodebug=yes diff --git a/srcpkgs/ck/template b/srcpkgs/ck/template index f67b160c87c..4cfe121c7fe 100644 --- a/srcpkgs/ck/template +++ b/srcpkgs/ck/template @@ -10,6 +10,7 @@ license="BSD-2-Clause" homepage="http://concurrencykit.org/" distfiles="https://github.com/concurrencykit/ck/archive/${version}.tar.gz" checksum=e730cb448fb0ecf9d19bf4c7efe9efc3c04dd9127311d87d8f91484742b0da24 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/ckmame/template b/srcpkgs/ckmame/template index 1b88f6a965c..3889029f0c9 100644 --- a/srcpkgs/ckmame/template +++ b/srcpkgs/ckmame/template @@ -14,6 +14,7 @@ license="BSD-3-clause" homepage="https://nih.at/ckmame/" distfiles="https://github.com/nih-at/ckmame/archive/rel-${version//./-}.tar.gz>${pkgname}-${version}.tar.gz" checksum=9fc5dcf1d2dd75351b2cdf43ce10fecda7d97c8c1a8dd0fe1f653229bb316130 +patch_args=-Np0 post_install() { vlicense ${wrksrc}/LICENSE diff --git a/srcpkgs/clementine/template b/srcpkgs/clementine/template index 40a6ac8c70a..c150fcf650f 100644 --- a/srcpkgs/clementine/template +++ b/srcpkgs/clementine/template @@ -22,6 +22,7 @@ homepage="https://www.clementine-player.org/" distfiles="https://github.com/clementine-player/Clementine/releases/download/${_fullver}/${pkgname}-${_fullver}.tar.xz" checksum=e1fa2482b81336282a36a5451a0217c274e5b45aa3eeed83fe3fd29a5df59397 build_options="spotify" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in x86_64 | i686 | armv7l) diff --git a/srcpkgs/cli-visualizer/template b/srcpkgs/cli-visualizer/template index e758562274e..d95ce4d4b36 100644 --- a/srcpkgs/cli-visualizer/template +++ b/srcpkgs/cli-visualizer/template @@ -13,6 +13,7 @@ distfiles="${homepage}/archive/v${version}.tar.gz" checksum=927e4c18403c7a40397e8698ffefd1b37250be20fa0ec55fda9a82cf9cc8ba51 build_options="pulseaudio" build_options_default="pulseaudio" +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/clib/template b/srcpkgs/clib/template index 6e3bf69b149..f4802d32a73 100644 --- a/srcpkgs/clib/template +++ b/srcpkgs/clib/template @@ -11,6 +11,7 @@ license="MIT" homepage="https://github.com/clibs/clib" distfiles="https://github.com/clibs/clib/archive/${version}.tar.gz" checksum=74643374883651a272ed8ac8e8a6789c0b4a4b13e20a9d45798fd770821e620d +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/clisp/template b/srcpkgs/clisp/template index ee0941a3d58..f062b8a1244 100644 --- a/srcpkgs/clisp/template +++ b/srcpkgs/clisp/template @@ -21,6 +21,7 @@ lib32disabled=yes disable_parallel_build=yes build_options="readline" build_options_default="readline" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686-musl) broken="*** - MULTIPLE-VALUE-SETQ: variable EXTRA-FILE-TYPES has no value";; diff --git a/srcpkgs/cln/template b/srcpkgs/cln/template index fc771b0f9ad..173890a0b83 100644 --- a/srcpkgs/cln/template +++ b/srcpkgs/cln/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="https://www.ginac.de/CLN/" distfiles="${homepage}/${pkgname}-${version}.tar.bz2" checksum=f492530e8879bda529009b6033e1923c8f4aae843149fc28c667c20b094d984a +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in arm*|aarch64*) CPPFLAGS="-DNO_ASM";; diff --git a/srcpkgs/clog/template b/srcpkgs/clog/template index b255ad949bc..2195202ec95 100644 --- a/srcpkgs/clog/template +++ b/srcpkgs/clog/template @@ -9,6 +9,7 @@ license="MIT" homepage="https://taskwarrior.org/docs/clog/" distfiles="http://gothenburgbitfactory.org/download/clog-${version}.tar.gz" checksum=fed44a8d398790ab0cf426c1b006e7246e20f3fcd56c0ec4132d24b05d5d2018 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/cloog/template b/srcpkgs/cloog/template index 18a84032fdd..d65b97fcf48 100644 --- a/srcpkgs/cloog/template +++ b/srcpkgs/cloog/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="http://www.bastoul.net/cloog/" distfiles="https://github.com/periscop/cloog/releases/download/cloog-${version}/cloog-${version}.tar.gz" checksum=835c49951ff57be71dcceb6234d19d2cc22a3a5df84aea0a9d9760d92166fc72 +patch_args=-Np0 cloog-devel_package() { depends="${makedepends} cloog>=${version}_${revision}" diff --git a/srcpkgs/clucene/template b/srcpkgs/clucene/template index fe045cb3635..67d9d964128 100644 --- a/srcpkgs/clucene/template +++ b/srcpkgs/clucene/template @@ -15,6 +15,7 @@ license="LGPL-2+/ASL-2.0" maintainer="Orphaned " distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-core-${version}.tar.gz" checksum=ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = musl ]; then # threading segfaults on musl diff --git a/srcpkgs/clutter/template b/srcpkgs/clutter/template index 461e2fe0797..44b3ab7c88d 100644 --- a/srcpkgs/clutter/template +++ b/srcpkgs/clutter/template @@ -18,6 +18,7 @@ license="LGPL-2.1-or-later" homepage="http://www.clutter-project.org" distfiles="${GNOME_SITE}/clutter/${version%.*}/clutter-${version}.tar.xz" checksum=8b48fac159843f556d0a6be3dbfc6b083fc6d9c58a20a49a6b4919ab4263c4e6 +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/cmocka/template b/srcpkgs/cmocka/template index ea0384420a3..dfe97283fad 100644 --- a/srcpkgs/cmocka/template +++ b/srcpkgs/cmocka/template @@ -13,6 +13,7 @@ license="Apache-2.0" homepage="https://cmocka.org/" distfiles="https://cmocka.org/files/${version%.*}/cmocka-${version}.tar.xz" checksum=f0ccd8242d55e2fd74b16ba518359151f6f8383ff8aef4976e48393f77bba8b6 +patch_args=-Np0 cmocka-devel_package() { depends="cmocka-${version}_${revision}" diff --git a/srcpkgs/cmus/template b/srcpkgs/cmus/template index fd8e518e2af..891beaef9a5 100644 --- a/srcpkgs/cmus/template +++ b/srcpkgs/cmus/template @@ -19,6 +19,7 @@ checksum=6fb799cae60db9324f03922bbb2e322107fd386ab429c0271996985294e2ef44 build_options="elogind" build_options_default="elogind" desc_option_elogind="Support MPRIS interface via elogind" +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/codeblocks/template b/srcpkgs/codeblocks/template index 33b9b9a7785..c1f7945b39c 100644 --- a/srcpkgs/codeblocks/template +++ b/srcpkgs/codeblocks/template @@ -14,6 +14,7 @@ license="GPL-3.0-only" homepage="http://www.codeblocks.org" distfiles="${SOURCEFORGE_SITE}/${pkgname}/Sources/${version}/${pkgname}-${version}.tar.xz" checksum=15eeb3e28aea054e1f38b0c7f4671b4d4d1116fd05f63c07aa95a91db89eaac5 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" wxWidgets-devel tinyxml-devel" diff --git a/srcpkgs/codecrypt/template b/srcpkgs/codecrypt/template index cd326930709..51c0dcbbd0b 100644 --- a/srcpkgs/codecrypt/template +++ b/srcpkgs/codecrypt/template @@ -11,6 +11,7 @@ license="LGPL-3.0-or-later" homepage="https://e-x-a.org/codecrypt" distfiles="https://github.com/exaexa/codecrypt/archive/v${version}.tar.gz" checksum=25f11bc361b4f8aca7245698334b5715b7d594d708a75e8cdb2aa732dc46eb96 +patch_args=-Np0 LDFLAGS="-lpthread" diff --git a/srcpkgs/codelite/template b/srcpkgs/codelite/template index cedc1e11c24..db21463032d 100644 --- a/srcpkgs/codelite/template +++ b/srcpkgs/codelite/template @@ -20,6 +20,7 @@ distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz" checksum=f2653fa42d6214999718236998cb223e6de00a498c0cfde795e901be693fb9ac nocross=yes python_version=2 #unverified +patch_args=-Np0 build_options="hunspell lldb mysql sftp" build_options_default="hunspell sftp" diff --git a/srcpkgs/coin3/template b/srcpkgs/coin3/template index 2130c0b8b26..3ed1add5ffa 100644 --- a/srcpkgs/coin3/template +++ b/srcpkgs/coin3/template @@ -14,6 +14,7 @@ license="BSD-3-Clause" homepage="https://coin3d.github.io/" distfiles="https://github.com/coin3d/coin/archive/Coin-${version}.tar.gz" checksum=b00d2a8e9d962397cf9bf0d9baa81bcecfbd16eef675a98c792f5cf49eb6e805 +patch_args=-Np0 CFLAGS=-DNDEBUG CXXFLAGS=-DNDEBUG diff --git a/srcpkgs/collectd/template b/srcpkgs/collectd/template index 28fa815e85a..b9fa1053465 100644 --- a/srcpkgs/collectd/template +++ b/srcpkgs/collectd/template @@ -23,6 +23,7 @@ homepage="https://collectd.org" distfiles="https://collectd.org/files/${pkgname}-${version}.tar.bz2" checksum=5bae043042c19c31f77eb8464e56a01a5454e0b39fa07cf7ad0f1bfc9c3a09d6 LDFLAGS="-lgcrypt" +patch_args=-Np0 build_options="rrdtool perl notify prometheus" desc_option_rrdtool="Enable support for RRDTool" diff --git a/srcpkgs/colord/template b/srcpkgs/colord/template index 98739d4802b..14bc56ad385 100644 --- a/srcpkgs/colord/template +++ b/srcpkgs/colord/template @@ -17,6 +17,7 @@ license="GPL-2.0-only" homepage="https://www.freedesktop.org/software/colord" distfiles="${homepage}/releases/${pkgname}-${version}.tar.xz" checksum=b774ea443d239f4a2ee1853bd678426e669ddeda413dcb71cea1638c4d6c5e17 +patch_args=-Np0 system_accounts="colord" colord_homedir="/var/lib/colord" diff --git a/srcpkgs/commoncpp2/template b/srcpkgs/commoncpp2/template index 181a6a9e07b..ddbd6ba5836 100644 --- a/srcpkgs/commoncpp2/template +++ b/srcpkgs/commoncpp2/template @@ -10,6 +10,7 @@ license="GPL-3.0-or-later" homepage='http://www.gnu.org/software/commoncpp/' distfiles="${GNU_SITE}/commoncpp/$pkgname-${version}.tar.gz" checksum="53ced4aff74e28a1d8018eb2b4974519028db3c12471ab6dff1c873578c9af4e" +patch_args=-Np0 commoncpp2-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/connman-ncurses/template b/srcpkgs/connman-ncurses/template index 5fd4b33b08f..0d2f48a12e2 100644 --- a/srcpkgs/connman-ncurses/template +++ b/srcpkgs/connman-ncurses/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/eurogiciel-oss/connman-json-client" distfiles="https://github.com/eurogiciel-oss/connman-json-client/archive/v${version}.tar.gz" checksum=724604787b51cd3bd2ba5d2291f5f2efe0558a1ec78d92d3c92ebc78f6c63219 +patch_args=-Np0 pre_configure() { mkdir -p m4 diff --git a/srcpkgs/containers.image/template b/srcpkgs/containers.image/template index f587e0ef364..d292c68747b 100644 --- a/srcpkgs/containers.image/template +++ b/srcpkgs/containers.image/template @@ -11,6 +11,7 @@ license="Apache-2.0" homepage="https://github.com/containers/image" distfiles="https://github.com/containers/image/archive/v${version}.tar.gz" checksum=99440d59728ed741e6171046cf3a6a820c2e3414cd9c17ee640efd289a015c3f +patch_args=-Np0 do_build() { mkdir -p build diff --git a/srcpkgs/coreboot-utils/template b/srcpkgs/coreboot-utils/template index 4eec377ecea..3f161fe4755 100644 --- a/srcpkgs/coreboot-utils/template +++ b/srcpkgs/coreboot-utils/template @@ -13,6 +13,7 @@ license="GPL-2.0-only" homepage="https://coreboot.org" distfiles="https://coreboot.org/releases/coreboot-${version}.tar.xz" checksum=4779da645a25ddebc78f1bd2bd0b740fb1e6479572648d4650042a2b9502856a +patch_args=-Np0 do_build() { for util in cbfstool cbmem ectool ifdtool inteltool intelmetool \ diff --git a/srcpkgs/coreutils/template b/srcpkgs/coreutils/template index b9148c85496..fd25f8220a7 100644 --- a/srcpkgs/coreutils/template +++ b/srcpkgs/coreutils/template @@ -11,6 +11,7 @@ homepage="https://www.gnu.org/software/coreutils" changelog="https://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob_plain;f=NEWS;hb=HEAD" distfiles="${GNU_SITE}/coreutils/coreutils-${version}.tar.xz" checksum=4458d8de7849df44ccab15e16b1548b285224dbba5f08fac070c1c0e0bcc4cfa +patch_args=-Np0 replaces="chroot-coreutils>=0 coreutils-doc>=0 b2sum>=0" diff --git a/srcpkgs/coturn/template b/srcpkgs/coturn/template index edfb526f496..1f662c41f17 100644 --- a/srcpkgs/coturn/template +++ b/srcpkgs/coturn/template @@ -13,6 +13,7 @@ license="BSD-3-Clause" homepage="https://github.com/coturn/coturn" distfiles="https://github.com/coturn/coturn/archive/${version}.tar.gz" checksum=4ff1f8c041ac71445018d81321d4b66e5dce4f171ef73a348d858dc9a0cc1cce +patch_args=-Np0 post_patch() { # LibreSSL does not support FIPS mode diff --git a/srcpkgs/cpuburn/template b/srcpkgs/cpuburn/template index a215520fb76..735ecbcba22 100644 --- a/srcpkgs/cpuburn/template +++ b/srcpkgs/cpuburn/template @@ -9,6 +9,7 @@ license="GPL-2.0-only" homepage="https://launchpad.net/ubuntu/+source/cpuburn/" distfiles="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${version}.orig.tar.gz" checksum=eb191ce9bfbf453d30c218c3419573df102a3588f96c4a43686c84bb9da4bed6 +patch_args=-Np0 do_build() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/cpulimit/template b/srcpkgs/cpulimit/template index 9fbf6eccf66..f1a756a81a7 100644 --- a/srcpkgs/cpulimit/template +++ b/srcpkgs/cpulimit/template @@ -9,6 +9,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/opsengine/cpulimit" distfiles="https://github.com/opsengine/${pkgname}/archive/v${version}.tar.gz" checksum=64312f9ac569ddcadb615593cd002c94b76e93a0d4625d3ce1abb49e08e2c2da +patch_args=-Np0 pre_build() { export CFLAGS="$CFLAGS $LDFLAGS" diff --git a/srcpkgs/criu/template b/srcpkgs/criu/template index c9f68933e75..2c9eda89e07 100644 --- a/srcpkgs/criu/template +++ b/srcpkgs/criu/template @@ -18,6 +18,7 @@ homepage="http://criu.org/" distfiles="https://download.openvz.org/criu/criu-${version}.tar.bz2" checksum=f63f30188b84e9a611429f732381f27e37c60cde0afc9821600f8597d21e39cb nocross="fails to run protobuf internals" +patch_args=-Np0 do_install() { make DESTDIR=${DESTDIR} PREFIX=/usr LOGROTATEDIR=/etc/logrotate.d \ diff --git a/srcpkgs/crossguid/template b/srcpkgs/crossguid/template index c846590103f..acec9575355 100644 --- a/srcpkgs/crossguid/template +++ b/srcpkgs/crossguid/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://github.com/graeme-hill/crossguid" distfiles="$homepage/archive/v$version.tar.gz" checksum=48321928473c682b0cdc7e17bbd3390f79f4b98ab22fef3b81a852dda81fd195 +patch_args=-Np0 do_install() { vlicense LICENSE diff --git a/srcpkgs/crypto++/template b/srcpkgs/crypto++/template index b524377319e..ecc5291e1b3 100644 --- a/srcpkgs/crypto++/template +++ b/srcpkgs/crypto++/template @@ -14,6 +14,7 @@ license="BSL-1.0" homepage="http://www.cryptopp.com/" distfiles="https://github.com/weidai11/cryptopp/archive/CRYPTOPP_${version//./_}.tar.gz" checksum=63304c6f943f435a4e385273e15abb69cff3b85a44663150bf5a6069b84abd43 +patch_args=-Np0 CXXFLAGS="-DNDEBUG -fPIC" diff --git a/srcpkgs/csound/template b/srcpkgs/csound/template index f02f97bc632..d38bf362720 100644 --- a/srcpkgs/csound/template +++ b/srcpkgs/csound/template @@ -18,6 +18,7 @@ license="LGPL-2.1-or-later" homepage="https://csound.com/" distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz" checksum=d47ed0fb70c752cb06ee2655ee9f010d8d1e369fc73d09d2ac2bc1b3060bf724 +patch_args=-Np0 CFLAGS="-fcommon" CXXFLAGS="-Wno-error -fcommon" diff --git a/srcpkgs/csync2/template b/srcpkgs/csync2/template index f8738551c27..1b16f75c10e 100644 --- a/srcpkgs/csync2/template +++ b/srcpkgs/csync2/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="http://oss.linbit.com/csync2/" distfiles="https://github.com/LINBIT/csync2/archive/csync2-$version.tar.gz" checksum=a1c6b0364eb9f19986a92fccd369bae29aa5aa55300e0664dadaf80d80de23ff +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/ctags/template b/srcpkgs/ctags/template index 56b3c3dfdfa..2395dacd820 100644 --- a/srcpkgs/ctags/template +++ b/srcpkgs/ctags/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="https://ctags.io/" distfiles="https://github.com/universal-ctags/ctags/archive/p${version}.tar.gz" checksum=26d9efe481a57e81195878cdb0baca730a3c4d234b9a7c4f6bf2c8def42bf42b +patch_args=-Np0 do_configure() { ./autogen.sh diff --git a/srcpkgs/cubieboard2-uboot/template b/srcpkgs/cubieboard2-uboot/template index 23f63f574f0..8861e5c7b17 100644 --- a/srcpkgs/cubieboard2-uboot/template +++ b/srcpkgs/cubieboard2-uboot/template @@ -10,6 +10,7 @@ license="GPL-2" homepage="http://www.denx.de/wiki/U-Boot/WebHome" distfiles="ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2" checksum=45813e6565dcc0436abe6752624324cdbf5f3ac106570d76d32b46ec529bcdc8 +patch_args=-Np0 archs="armv7l*" diff --git a/srcpkgs/cuetools/template b/srcpkgs/cuetools/template index 7e039c051c7..8eb6785e684 100644 --- a/srcpkgs/cuetools/template +++ b/srcpkgs/cuetools/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/svend/cuetools" distfiles="https://github.com/svend/${pkgname}/archive/${version}.tar.gz" checksum=24a2420f100c69a6539a9feeb4130d19532f9f8a0428a8b9b289c6da761eb107 +patch_args=-Np0 pre_configure() { aclocal diff --git a/srcpkgs/cups-pdf/template b/srcpkgs/cups-pdf/template index 897437df779..b8339fc1bf2 100644 --- a/srcpkgs/cups-pdf/template +++ b/srcpkgs/cups-pdf/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://www.cups-pdf.de/" distfiles="https://www.cups-pdf.de/src/${pkgname}_${version}.tar.gz" checksum=738669edff7f1469fe5e411202d87f93ba25b45f332a623fb607d49c59aa9531 +patch_args=-Np0 do_build() { $CC $CFLAGS -o $pkgname src/cups-pdf.c -lcups ${LDFLAGS} diff --git a/srcpkgs/cups/template b/srcpkgs/cups/template index 66204733fa8..9520c2240a0 100644 --- a/srcpkgs/cups/template +++ b/srcpkgs/cups/template @@ -17,6 +17,7 @@ license="Apache-2.0" homepage="https://github.com/OpenPrinting/cups" distfiles="https://github.com/OpenPrinting/cups/releases/download/v${version}/cups-${version}-source.tar.gz" checksum=deb3575bbe79c0ae963402787f265bfcf8d804a71fc2c94318a74efec86f96df +patch_args=-Np0 conf_files="/etc/pam.d/cups /etc/cups/*.conf /etc/xinetd.d/cups-lpd" make_dirs=" diff --git a/srcpkgs/cura-engine/template b/srcpkgs/cura-engine/template index e138e37605d..adb5f59e0aa 100644 --- a/srcpkgs/cura-engine/template +++ b/srcpkgs/cura-engine/template @@ -14,6 +14,7 @@ license="AGPL-3.0-or-later" homepage="https://github.com/Ultimaker/CuraEngine" distfiles="https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz" checksum=7e1e408f269a604418f37575ba8ef5f69323bebc4dd7f3091c1c2e9b000ffcbf +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/cutemarked/template b/srcpkgs/cutemarked/template index 39f15d81ea0..ddf409fb9a7 100644 --- a/srcpkgs/cutemarked/template +++ b/srcpkgs/cutemarked/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://cloose.github.io/CuteMarkEd/" distfiles="https://github.com/cloose/${pkgname}/archive/v${version}.tar.gz" checksum=78a41808c2f0452375810abdff76eeaaee012f8d1368a2b8772ec6b4d2ceeec8 +patch_args=-Np0 pre_build() { lrelease app/app.pro diff --git a/srcpkgs/cvsps2/template b/srcpkgs/cvsps2/template index 1bf720a7774..b80618d3217 100644 --- a/srcpkgs/cvsps2/template +++ b/srcpkgs/cvsps2/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="http://cvsps.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/cvsps/cvsps-${version}.tar.gz" checksum=91d3198b33463861a581686d5fcf99a5c484e7c4d819384c04fda9cafec1075a +patch_args=-Np0 post_extract() { sed -i 's/linux/__GLIBC__/g' cbtcommon/text_util.c diff --git a/srcpkgs/dante/template b/srcpkgs/dante/template index 17fe0f69ae6..62b5f04f9a4 100644 --- a/srcpkgs/dante/template +++ b/srcpkgs/dante/template @@ -10,6 +10,7 @@ license="MIT-CMU" homepage="http://www.inet.no/dante/index.html" distfiles="http://www.inet.no/dante/files/dante-${version}.tar.gz" checksum=4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then configure_args="--with-libc=libc.so.6" diff --git a/srcpkgs/dar/template b/srcpkgs/dar/template index c289909e812..ec40334f51f 100644 --- a/srcpkgs/dar/template +++ b/srcpkgs/dar/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://dar.linux.free.fr/" distfiles="${SOURCEFORGE_SITE}/dar/dar-${version}.tar.gz" checksum=3fea9ff9e55fb9827e17a080de7d1a2605b82c2320c0dec969071efefdbfd097 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args+=" --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr diff --git a/srcpkgs/darkplaces/template b/srcpkgs/darkplaces/template index 9e282a06105..cb5f7671d68 100644 --- a/srcpkgs/darkplaces/template +++ b/srcpkgs/darkplaces/template @@ -12,6 +12,7 @@ license="GPL-2" homepage="http://icculus.org/twilight/darkplaces/" distfiles="http://icculus.org/twilight/$pkgname/files/darkplacesengine${version}.zip" checksum=69e5a50991884196e403bd6aab4a33bba553a934a167be366672ab4e223b06c9 +patch_args=-Np0 post_extract() { # Extract the real source code. diff --git a/srcpkgs/darktable/template b/srcpkgs/darktable/template index 24f17d36dda..6b3d09a1c0a 100644 --- a/srcpkgs/darktable/template +++ b/srcpkgs/darktable/template @@ -23,6 +23,7 @@ homepage="http://www.darktable.org/" changelog="https://github.com/darktable-org/darktable/releases" distfiles="https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz" checksum=7fc3f851da9bcd7c5053ecd09f21aa3eb6103be98a6c58f52010b6f22174941e +patch_args=-Np0 build_options="gmic" diff --git a/srcpkgs/dash/template b/srcpkgs/dash/template index d966b55956b..34375cdca66 100644 --- a/srcpkgs/dash/template +++ b/srcpkgs/dash/template @@ -11,6 +11,7 @@ homepage="http://gondor.apana.org.au/~herbert/dash/" distfiles="http://gondor.apana.org.au/~herbert/dash/files/$pkgname-$version.tar.gz" checksum=4e15b7ba5363bcc2a443549910cdc15b5ad601df8196b5f294c712eff037e08d register_shell="/usr/bin/sh /usr/bin/dash /bin/sh /bin/dash" +patch_args=-Np0 alternatives=" sh:sh:/usr/bin/dash diff --git a/srcpkgs/davfs2/template b/srcpkgs/davfs2/template index 01eb6336fc4..0b38a2b6f8c 100644 --- a/srcpkgs/davfs2/template +++ b/srcpkgs/davfs2/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="https://savannah.nongnu.org/projects/davfs2" distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=2e6b675685bd917772be60f0999ae098c80f79ff20dc131e8fec4547cbb63b50 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/db/template b/srcpkgs/db/template index 2d340913b04..217e0eb0139 100644 --- a/srcpkgs/db/template +++ b/srcpkgs/db/template @@ -14,6 +14,7 @@ license="BSD-4-Clause" homepage="http://www.oracle.com/technetwork/products/berkeleydb/overview/index.html" distfiles="http://download.oracle.com/berkeley-db/db-${version}.tar.gz" checksum=e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628 +patch_args=-Np0 post_install() { chmod 755 ${DESTDIR}/usr/bin/* diff --git a/srcpkgs/dbus-glib/template b/srcpkgs/dbus-glib/template index ee905b75bfe..3a273bea56b 100644 --- a/srcpkgs/dbus-glib/template +++ b/srcpkgs/dbus-glib/template @@ -13,6 +13,7 @@ license="GPL-2" homepage="http://www.freedesktop.org/wiki/Software/DBusBindings" distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz" checksum=7ce4760cf66c69148f6bd6c92feaabb8812dee30846b24cd0f7395c436d7e825 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args+=" --with-dbus-binding-tool=dbus-binding-tool" diff --git a/srcpkgs/dcraw/template b/srcpkgs/dcraw/template index 67cb2f426ef..e05e4f27e3b 100644 --- a/srcpkgs/dcraw/template +++ b/srcpkgs/dcraw/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://www.dechifro.org/dcraw/" distfiles="https://www.dechifro.org/dcraw/archive/${pkgname}-${version}.tar.gz" checksum=2890c3da2642cd44c5f3bfed2c9b2c1db83da5cec09cc17e0fa72e17541fb4b9 +patch_args=-Np0 do_build() { $CC $CFLAGS $LDFLAGS \ diff --git a/srcpkgs/dcron/template b/srcpkgs/dcron/template index eb975fd13a3..e7333970c76 100644 --- a/srcpkgs/dcron/template +++ b/srcpkgs/dcron/template @@ -11,6 +11,7 @@ changelog="https://raw.githubusercontent.com/dubiousjim/dcron/v${version}/CHANGE distfiles="https://github.com/dubiousjim/dcron/archive/v${version}.tar.gz" checksum=7c047194b9339b781971b000bf5512c11e856d20a14fe5323d5a1823f04c2a3f provides="cron-daemon-0_1" +patch_args=-Np0 alternatives=" crond:crond:/etc/sv/dcron diff --git a/srcpkgs/deadbeef-fb/template b/srcpkgs/deadbeef-fb/template index c62ae6fc7b4..ae67fbb103f 100644 --- a/srcpkgs/deadbeef-fb/template +++ b/srcpkgs/deadbeef-fb/template @@ -17,6 +17,7 @@ distfiles="https://gitlab.com/zykure/${pkgname}/repository/${_commit}/archive.ta checksum=19a0c2ea3743926e71f9b20f616ff5bdbfd9839a553b33cc192dfed7bed3cb1d build_options="gtk3" build_options_default="gtk3" +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/deadbeef/template b/srcpkgs/deadbeef/template index 5666c1d97c9..a070c45c9a2 100644 --- a/srcpkgs/deadbeef/template +++ b/srcpkgs/deadbeef/template @@ -26,6 +26,7 @@ checksum="cbfe873d5bd84b70011dd6131b249fea8c89318c37411696a890c55029ac3e27 c5eeb3fa116d51d251fe7c7e5c44798680f6478c43a1fffdcb28c4caf1c68286 35b58679dbfec2c3a2688b1896afb0fb73b5184ac05d5bdbb787a86b5c00430d" LDFLAGS+=" -Wl,-z,stack-size=1048576" +patch_args=-Np0 # The soundtouchup plugin was made default in 1.8.4 and fails to build on i686. # Fixing that might be a good maintainer task. diff --git a/srcpkgs/debug-me/template b/srcpkgs/debug-me/template index 3df514e0be4..e6f9059f38c 100644 --- a/srcpkgs/debug-me/template +++ b/srcpkgs/debug-me/template @@ -12,6 +12,7 @@ distfiles="https://git.joeyh.name/index.cgi/${pkgname}.git/snapshot/${pkgname}-$ checksum=9497dc9b85a58e5c499ea25fa1bed9f4fd6cdd2f57564f52a0e4152ad4fdc102 nocross=yes # Can't yet cross compile Haskell nopie_files="/usr/bin/debug-me" +patch_args=-Np0 post_install() { vlicense AGPL diff --git a/srcpkgs/desmume/template b/srcpkgs/desmume/template index 3afaa5027f7..db37ee4a51b 100644 --- a/srcpkgs/desmume/template +++ b/srcpkgs/desmume/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://www.desmume.org" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=3ab34ba6cc009566245025c1dd94bf449b6a1b416d24387cb42e183c78e38896 +patch_args=-Np0 post_extract() { # git eats CRLFs, so the patch has wrong line ending. Instead diff --git a/srcpkgs/devil/template b/srcpkgs/devil/template index 1dffc7bdd52..1a76819b665 100644 --- a/srcpkgs/devil/template +++ b/srcpkgs/devil/template @@ -16,6 +16,7 @@ distfiles="${SOURCEFORGE_SITE}/openil/DevIL-${version}.tar.gz" checksum=0075973ee7dd89f0507873e2580ac78336452d29d34a07134b208f44e2feb709 # The examples subpkg is gone replaces="devil-examples<1.8.0" +patch_args=-Np0 devil-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template index 2db18dcc60b..a466f6607a2 100644 --- a/srcpkgs/dhcp/template +++ b/srcpkgs/dhcp/template @@ -11,6 +11,7 @@ license="MPL-2.0" homepage="https://www.isc.org/downloads/dhcp" distfiles="http://ftp.isc.org/isc/dhcp/${version/P/-P}/dhcp-${version/P/-P}.tar.gz" checksum=b05e04337539545a8faa0d6ac518defc61a07e5aec66a857f455e7f218c85a1a +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/dhcpcd/template b/srcpkgs/dhcpcd/template index e651bd01906..dbd6f288fbb 100644 --- a/srcpkgs/dhcpcd/template +++ b/srcpkgs/dhcpcd/template @@ -17,6 +17,7 @@ distfiles="https://roy.marples.name/downloads/dhcpcd/dhcpcd-${version}.tar.xz" checksum=41a69297f380bf15ee8f94f73154f8c2bca7157a087c0d5aca8de000ba1d4513 lib32disabled=yes conf_files=/etc/dhcpcd.conf +patch_args=-Np0 system_accounts="_dhcpcd" _dhcpcd_homedir="/var/db/dhcpcd" diff --git a/srcpkgs/dia/template b/srcpkgs/dia/template index 45f48aab4dc..62af8fcba80 100644 --- a/srcpkgs/dia/template +++ b/srcpkgs/dia/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Apps/Dia" distfiles="${GNOME_SITE}/dia/${version%.*}/dia-${version}.tar.xz" checksum=22914e48ef48f894bb5143c5efc3d01ab96e0a0cde80de11058d3b4301377d34 +patch_args=-Np0 post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure diff --git a/srcpkgs/diod/template b/srcpkgs/diod/template index de62d6c62b7..548e1f9f054 100644 --- a/srcpkgs/diod/template +++ b/srcpkgs/diod/template @@ -12,6 +12,7 @@ license="GPL-2" homepage="https://github.com/chaos/diod" distfiles="https://github.com/chaos/diod/releases/download/${version}/${pkgname}-${version}.tar.gz" checksum=f41d2b91c1a712132f5457d9d1c3caca985f069bdc8ef27bf4c148ac1d9f8c9f +patch_args=-Np0 post_install() { vsv diod diff --git a/srcpkgs/discord-ptb/template b/srcpkgs/discord-ptb/template index b1467a7dc26..35bd7f20fa2 100644 --- a/srcpkgs/discord-ptb/template +++ b/srcpkgs/discord-ptb/template @@ -16,6 +16,7 @@ _license_checksum=9abbd207c86f76a59c0017c131dc7a30089c40b4dacb54a0f339272468344e nopie=yes restricted=yes repository=nonfree +patch_args=-Np0 post_extract() { $XBPS_FETCH_CMD -o eula https://discord.com/terms; cat eula | diff --git a/srcpkgs/discord/template b/srcpkgs/discord/template index fc6a70079d8..17f259b8206 100644 --- a/srcpkgs/discord/template +++ b/srcpkgs/discord/template @@ -14,6 +14,7 @@ checksum=adede954e9c696d96e254759b539527a24ab1d42f0d548c5c4309d1a3fc3c25e repository=nonfree restricted=yes nopie=yes +patch_args=-Np0 do_install() { local package_location="usr/lib/$pkgname" item diff --git a/srcpkgs/discount/template b/srcpkgs/discount/template index d47f4651841..3bee8589539 100644 --- a/srcpkgs/discount/template +++ b/srcpkgs/discount/template @@ -12,6 +12,7 @@ homepage="http://www.pell.portland.or.us/~orc/Code/discount" distfiles="https://github.com/Orc/discount/archive/v${version}.tar.gz" checksum=72c1325ddfc40871d6810f1e272cf2d45b361f26357eb38f170fd04d737bb9f2 disable_parallel_build=yes +patch_args=-Np0 do_install() { make DESTDIR=${DESTDIR} install install.man diff --git a/srcpkgs/dispcalGUI/template b/srcpkgs/dispcalGUI/template index 1bb51316a5d..6e86a157729 100644 --- a/srcpkgs/dispcalGUI/template +++ b/srcpkgs/dispcalGUI/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://displaycal.net/" distfiles="${SOURCEFORGE_SITE}/dispcalgui/${_name}-${version}.tar.gz" checksum=7c34dfbd9f66f24f1d4c88de4a5a0de688aad719f095874b6259637d30893bea +patch_args=-Np0 pre_configure() { sed -i 's|MimeType=model/vrml;x-world/x-vrml;|MimeType=model/vrml;|' misc/displaycal-vrml-to-x3d-converter.desktop diff --git a/srcpkgs/djview/template b/srcpkgs/djview/template index 76a0d1cc410..bade9c6f96b 100644 --- a/srcpkgs/djview/template +++ b/srcpkgs/djview/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://djvu.sourceforge.net/djview4.html" distfiles="${SOURCEFORGE_SITE}/djvu/${pkgname}-${version}.tar.gz" checksum=5673c6a8b7e195b91a1720b24091915b8145de34879db1158bc936b100eaf3e3 +patch_args=-Np0 post_extract() { vsed -i -e '/Exec/s/djview4/djview/' \ diff --git a/srcpkgs/dma/template b/srcpkgs/dma/template index 71892496013..5ec809adcf7 100644 --- a/srcpkgs/dma/template +++ b/srcpkgs/dma/template @@ -13,6 +13,7 @@ homepage="https://github.com/corecode/dma" distfiles="https://github.com/corecode/dma/archive/v${version}.tar.gz" checksum=9d4b903f2b750d888f51d668d08d2ea18404dedb0a52cffeb3c81376023c1946 system_accounts="mail" +patch_args=-Np0 provides="smtp-server-0_1 smtp-forwarder-0_1" replaces="smtp-server>=0 smtp-forwarder>=0" diff --git a/srcpkgs/dmd-bootstrap/template b/srcpkgs/dmd-bootstrap/template index 029b0024fae..1a7c483982f 100644 --- a/srcpkgs/dmd-bootstrap/template +++ b/srcpkgs/dmd-bootstrap/template @@ -21,6 +21,7 @@ checksum=" 7f4d84f2b5252c0cc33bffbb4de8aab9321df844b8512e27e90267cbb9bc7422 57306f80a63b83b755043d05e85e83cf3178701c92d295c97d1a5a8be8ffce19" provides="d-compiler-${version}_${revision}" +patch_args=-Np0 post_extract() { rm -rf dmd druntime phobos diff --git a/srcpkgs/dmd2.081/template b/srcpkgs/dmd2.081/template index 79aad094008..f33ef534d0e 100644 --- a/srcpkgs/dmd2.081/template +++ b/srcpkgs/dmd2.081/template @@ -24,6 +24,7 @@ provides="d-compiler-${version}_${revision}" conflicts="dmd-bootstrap" nopie=yes LDFLAGS="-lpthread" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in x86_64*) _archbits=64;; diff --git a/srcpkgs/dmd2.091/template b/srcpkgs/dmd2.091/template index 72521df7cd3..13e976b57a4 100644 --- a/srcpkgs/dmd2.091/template +++ b/srcpkgs/dmd2.091/template @@ -26,6 +26,7 @@ nopie=yes nocross=yes disable_parallel_build=yes LDFLAGS="-lpthread" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in x86_64*) _archbits=64;; diff --git a/srcpkgs/dmraid/template b/srcpkgs/dmraid/template index 420749bc8aa..5e51fa6f224 100644 --- a/srcpkgs/dmraid/template +++ b/srcpkgs/dmraid/template @@ -17,6 +17,7 @@ distfiles="${homepage}/src/dmraid-${_distver}-${_patchver}.tar.bz2" checksum=93421bd169d71ff5e7d2db95b62b030bfa205a12010b6468dcdef80337d6fbd8 disable_parallel_build=yes lib32disabled=yes +patch_args=-Np0 dmraid-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/dmtx-utils/template b/srcpkgs/dmtx-utils/template index b251f0a2061..a38d7cfcb77 100644 --- a/srcpkgs/dmtx-utils/template +++ b/srcpkgs/dmtx-utils/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/dmtx/dmtx-utils" distfiles="https://github.com/dmtx/dmtx-utils/archive/v${version}/dmtx-utils-${version}.tar.gz" checksum=0d396ec14f32a8cf9e08369a4122a16aa2e5fa1675e02218f16f1ab777ea2a28 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/docbook-xsl-ns/template b/srcpkgs/docbook-xsl-ns/template index 04b3c274e51..1b88e629d0a 100644 --- a/srcpkgs/docbook-xsl-ns/template +++ b/srcpkgs/docbook-xsl-ns/template @@ -13,6 +13,7 @@ homepage="https://docbook.org/" distfiles="https://github.com/docbook/xslt10-stylesheets/releases/download/release/${version}/${wrksrc}.tar.bz2" checksum=316524ea444e53208a2fb90eeb676af755da96e1417835ba5f5eb719c81fa371 xml_entries="nextCatalog /usr/share/xsl-ns/docbook/catalog.xml --" +patch_args=-Np0 do_install() { local xslmods="assembly common eclipse epub epub3 fo highlighting html \ diff --git a/srcpkgs/docbook-xsl/template b/srcpkgs/docbook-xsl/template index 5cf9b0d5fc9..260eee70d6f 100644 --- a/srcpkgs/docbook-xsl/template +++ b/srcpkgs/docbook-xsl/template @@ -13,6 +13,7 @@ homepage="https://docbook.org/" distfiles="https://github.com/docbook/xslt10-stylesheets/releases/download/release/${version}/${wrksrc}.tar.bz2" checksum=ee8b9eca0b7a8f89075832a2da7534bce8c5478fc8fc2676f512d5d87d832102 xml_entries="nextCatalog /usr/share/xsl/docbook/catalog.xml --" +patch_args=-Np0 do_install() { local xslmods="assembly common eclipse epub epub3 fo highlighting html \ diff --git a/srcpkgs/dolphin-emu/template b/srcpkgs/dolphin-emu/template index 729f66512d4..fdd4a636e7a 100644 --- a/srcpkgs/dolphin-emu/template +++ b/srcpkgs/dolphin-emu/template @@ -22,6 +22,7 @@ homepage="http://dolphin-emu.org" distfiles="https://github.com/dolphin-emu/dolphin/archive/${_commit}.tar.gz" checksum=a7ce8390993b3309108dea8f23976b343d2d7cd527f3ded9ef4c2a0462c7f338 nopie=yes +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in x86_64*|aarch64*) ;; diff --git a/srcpkgs/dovecot/template b/srcpkgs/dovecot/template index 0222fd25026..fddc5c1649d 100644 --- a/srcpkgs/dovecot/template +++ b/srcpkgs/dovecot/template @@ -21,6 +21,7 @@ homepage="https://dovecot.org/" distfiles="${homepage}/releases/2.3/${pkgname}-${version}.tar.gz" checksum=c8b3d7f3af1e558a3ff0f970309d4013a4d3ce136f8c02a53a3b05f345b9a34a keep_libtool_archives=yes +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then _tsize=${XBPS_TARGET_WORDSIZE} diff --git a/srcpkgs/doxygen/template b/srcpkgs/doxygen/template index 051c1568bbb..f86d771cb36 100644 --- a/srcpkgs/doxygen/template +++ b/srcpkgs/doxygen/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="http://www.doxygen.org/" distfiles="http://doxygen.nl/files/doxygen-${version}.src.tar.gz" checksum=67aeae1be4e1565519898f46f1f7092f1973cce8a767e93101ee0111717091d1 +patch_args=-Np0 build_options="wizard" desc_option_wizard="build Qt5 GUI configuration tool, doxywizard" diff --git a/srcpkgs/dpdk/template b/srcpkgs/dpdk/template index 0f74b4c99d6..acd23532f88 100644 --- a/srcpkgs/dpdk/template +++ b/srcpkgs/dpdk/template @@ -18,6 +18,7 @@ distfiles="https://github.com/DPDK/${pkgname}/archive/v${version}.tar.gz" checksum=1ceff1a6f4f8d5f6f62c1682097249227ac5225ccd9638e0af09f5411c681038 # import py3compat python_version=3 +patch_args=-Np0 case "${XBPS_TARGET_MACHINE}" in armv7l*) configure_args+=" -Dmachine=armv7-a";; diff --git a/srcpkgs/dracut-crypt-ssh/template b/srcpkgs/dracut-crypt-ssh/template index 1425d223052..4a13f8ac5c1 100644 --- a/srcpkgs/dracut-crypt-ssh/template +++ b/srcpkgs/dracut-crypt-ssh/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/dracut-crypt-ssh/dracut-crypt-ssh" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=c50b57b16d4aea3707e1f3e86777fafdb1b3551f2f4b6c4de5576eeb3b2f6bbc +patch_args=-Np0 pre_configure() { sed -i '111s/^/#/' configure diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template index c8db2195c8a..240e6661f2b 100644 --- a/srcpkgs/dracut/template +++ b/srcpkgs/dracut/template @@ -17,6 +17,7 @@ checksum=d5a1b47cdb07919d8225d5b5f538e6ae604988f3df0afbde99a8dc775277b726 subpackages="dracut-network" # Checks require distfiles come from a git repository make_check=no +patch_args=-Np0 make_dirs=" /etc/dracut.conf.d 0755 root root diff --git a/srcpkgs/drawterm/template b/srcpkgs/drawterm/template index b871806e44e..50dcbd25c79 100644 --- a/srcpkgs/drawterm/template +++ b/srcpkgs/drawterm/template @@ -11,6 +11,7 @@ license="LPL-1.02" homepage="http://drawterm.9front.org/" distfiles="https://code.9front.org/hg/${pkgname}/archive/${_hghash}.tar.gz" checksum=5740acc4f7eb8f0ea0524839847d993b7865d240070da69f7a28ca3b7aef6813 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in armv5*) CFLAGS+=" -DARMv5" ;; diff --git a/srcpkgs/drbd-utils/template b/srcpkgs/drbd-utils/template index 10574a2bee1..2b0963b34c1 100644 --- a/srcpkgs/drbd-utils/template +++ b/srcpkgs/drbd-utils/template @@ -28,6 +28,7 @@ license="GPL-2.0-or-later" homepage="http://www.drbd.org" distfiles="https://www.linbit.com/downloads/drbd/utils/${pkgname}-${version}.tar.gz" checksum=1102e2a2001a45685c2f4ce5cb14e5a8a099044f53389d38480b3a88f5db3fd1 +patch_args=-Np0 # XXX mirror which is reachable from musl builders if [ "$XBPS_TARGET_LIBC" = "musl" ]; then diff --git a/srcpkgs/dstat/template b/srcpkgs/dstat/template index 9e9d9d3217a..d23277b42bd 100644 --- a/srcpkgs/dstat/template +++ b/srcpkgs/dstat/template @@ -11,6 +11,7 @@ homepage="http://dag.wiee.rs/home-made/dstat/" distfiles="https://github.com/dagwieers/dstat/archive/v${version}.tar.gz" checksum=4fbd58f3461c86d09a3ab97472aa204de37aa33d31a0493a3e5ed86a2045abea python_version="3" +patch_args=-Np0 do_install() { make install DESTDIR=$DESTDIR diff --git a/srcpkgs/dua-cli/template b/srcpkgs/dua-cli/template index 4215cb08773..ef71afecf4d 100644 --- a/srcpkgs/dua-cli/template +++ b/srcpkgs/dua-cli/template @@ -9,6 +9,7 @@ license="MIT" homepage="https://github.com/Byron/dua-cli" distfiles="https://github.com/Byron/dua-cli/archive/v${version}.tar.gz" checksum=2af2408eecca4a1a04d0d395322f110b97e49d5366eb435e2e0e36b8b92684bb +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/dumpet/template b/srcpkgs/dumpet/template index 35204d8aa5e..866d90e01bc 100644 --- a/srcpkgs/dumpet/template +++ b/srcpkgs/dumpet/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://tracker.debian.org/pkg/dumpet" distfiles="http://http.debian.net/debian/pool/main/d/dumpet/dumpet_${version}.orig.tar.bz2" checksum=2cc1fa3a1b06f885e4524d1be80bdacc5b6a55057d0577262f2f5186b49a4da3 +patch_args=-Np0 do_build() { make CC=$CC CFLAGS="$CFLAGS -I${XBPS_CROSS_BASE}/usr/include/libxml2" \ diff --git a/srcpkgs/dunelegacy/template b/srcpkgs/dunelegacy/template index b9373d6d47d..2f87366e852 100644 --- a/srcpkgs/dunelegacy/template +++ b/srcpkgs/dunelegacy/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://dunelegacy.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}/${pkgname}-${version}-src.tar.bz2" checksum=4740df9e94712b34f5d6fa1ca3c24658c4808b40431aa156ed66c318be9f4de8 +patch_args=-Np0 post_install() { vinstall dunelegacy.desktop 644 usr/share/applications diff --git a/srcpkgs/duplicity/template b/srcpkgs/duplicity/template index 85bfe131638..5ca7c963de6 100644 --- a/srcpkgs/duplicity/template +++ b/srcpkgs/duplicity/template @@ -13,6 +13,7 @@ homepage="http://duplicity.nongnu.org/" changelog="http://duplicity.nongnu.org/vers8/CHANGELOG.md" distfiles="http://launchpad.net/duplicity/${version%.*}-series/${version}/+download/duplicity-${version}.tar.gz" checksum=2643fea0f52920a0fb114069c78389f9621f1c24db7f26bda77bbc239b01ae53 +patch_args=-Np0 do_check() { # Disable as tests don't work diff --git a/srcpkgs/dust3d/template b/srcpkgs/dust3d/template index 9ad93449998..ae6182905ce 100644 --- a/srcpkgs/dust3d/template +++ b/srcpkgs/dust3d/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://dust3d.org/" distfiles="https://github.com/huxingyi/dust3d/archive/${_version}.tar.gz" checksum=7c29e1153e6b568459ab8a8fadbec3398a43b5d60f295018c3f0cdcad2d2b4b1 +patch_args=-Np0 do_install() { vbin dust3d diff --git a/srcpkgs/dvd+rw-tools/template b/srcpkgs/dvd+rw-tools/template index b3c996b8fc2..29fac22fb79 100644 --- a/srcpkgs/dvd+rw-tools/template +++ b/srcpkgs/dvd+rw-tools/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="http://fy.chalmers.se/~appro/linux/DVD+RW/" distfiles="http://fy.chalmers.se/~appro/linux/DVD+RW/tools/${pkgname}-${version}.tar.gz" checksum=f8d60f822e914128bcbc5f64fbe3ed131cbff9045dca7e12c5b77b26edde72ca +patch_args=-Np0 do_install() { vbin growisofs diff --git a/srcpkgs/dvdauthor/template b/srcpkgs/dvdauthor/template index c4a81cd4aaf..499be371af6 100644 --- a/srcpkgs/dvdauthor/template +++ b/srcpkgs/dvdauthor/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://dvdauthor.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/dvdauthor/dvdauthor-${version}.tar.gz" checksum="3020a92de9f78eb36f48b6f22d5a001c47107826634a785a62dfcd080f612eb7" +patch_args=-Np0 build_options="NTSC PAL" build_options_default="PAL" diff --git a/srcpkgs/e2fsprogs/template b/srcpkgs/e2fsprogs/template index ada38513b98..3ba60e34d29 100644 --- a/srcpkgs/e2fsprogs/template +++ b/srcpkgs/e2fsprogs/template @@ -19,6 +19,7 @@ homepage="http://e2fsprogs.sourceforge.net/" distfiles="${KERNEL_SITE}/kernel/people/tytso/e2fsprogs/v${version}/e2fsprogs-${version}.tar.xz" checksum=23aa093295c94e71ef1be490c4004871c5b01d216a8cb4d111fa6c0aac354168 conf_files="/etc/mke2fs.conf /etc/e2scrub.conf" +patch_args=-Np0 do_check() { ln -sfv /tools/lib/lib{blk,uu}id.so.1 lib diff --git a/srcpkgs/eb/template b/srcpkgs/eb/template index 9e71add969a..6a2c71df08e 100644 --- a/srcpkgs/eb/template +++ b/srcpkgs/eb/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="https://github.com/2ion/eb" distfiles="https://github.com/2ion/eb/archive/${version}.tar.gz" checksum=16274f4d5ec34cc37ed308927390a1d0d09e0e6a2b35fbff7d17aacca0524a37 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/eboard/template b/srcpkgs/eboard/template index 187fdd3651b..c6d7fa2a681 100644 --- a/srcpkgs/eboard/template +++ b/srcpkgs/eboard/template @@ -12,6 +12,7 @@ homepage="http://www.bergo.eng.br/eboard" distfiles="https://github.com/fbergo/eboard/archive/v${version}.tar.gz" checksum=2a1ba23a27c94ee4ec167bb31ab7dd6eedf148e139c9a96e8cb5ac36ec8423c1 broken="ELF in /usr/share" +patch_args=-Np0 pre_install() { mkdir -p "${DESTDIR}/usr/share/eboard" diff --git a/srcpkgs/ecl/template b/srcpkgs/ecl/template index a4e160c15be..06d2acb9333 100644 --- a/srcpkgs/ecl/template +++ b/srcpkgs/ecl/template @@ -14,6 +14,7 @@ license="LGPL-2.1-or-later" homepage="https://common-lisp.net/project/ecl/" distfiles="https://common-lisp.net/project/ecl/static/files/release/ecl-${version}.tgz" checksum=76a585c616e8fa83a6b7209325a309da5bc0ca68e0658f396f49955638111254 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then # Depend on system ecl diff --git a/srcpkgs/ecryptfs-utils/template b/srcpkgs/ecryptfs-utils/template index 6bdc07b97c3..72e1050a251 100644 --- a/srcpkgs/ecryptfs-utils/template +++ b/srcpkgs/ecryptfs-utils/template @@ -17,6 +17,7 @@ homepage="http://ecryptfs.org/" distfiles="http://launchpad.net/ecryptfs/trunk/${version}/+download/${pkgname}_${version}.orig.tar.gz" checksum=112cb3e37e81a1ecd8e39516725dec0ce55c5f3df6284e0f4cc0f118750a987f lib32disabled=yes +patch_args=-Np0 CPPFLAGS="-D_FILE_OFFSET_BITS=64 -I${XBPS_CROSS_BASE}/usr/include/python2.7" diff --git a/srcpkgs/efibootmgr/template b/srcpkgs/efibootmgr/template index bd2e88bbbea..7acb1f7500b 100644 --- a/srcpkgs/efibootmgr/template +++ b/srcpkgs/efibootmgr/template @@ -11,6 +11,7 @@ homepage="https://github.com/rhinstaller/efibootmgr" distfiles="https://github.com/rhinstaller/efibootmgr/releases/download/${version}/${pkgname}-${version}.tar.bz2" distfiles="https://github.com/rhboot/efibootmgr/archive/${version}.tar.gz" checksum=22a95ebe0d5c9fb2915b3a100450f8f37484d1dbb8b296f55b343cc84f10397d +patch_args=-Np0 conf_files="/etc/default/efibootmgr-kernel-hook" diff --git a/srcpkgs/efl/template b/srcpkgs/efl/template index 8786d5d94ed..49804000873 100644 --- a/srcpkgs/efl/template +++ b/srcpkgs/efl/template @@ -56,6 +56,7 @@ changelog="https://git.enlightenment.org/core/efl.git/plain/NEWS" distfiles="https://download.enlightenment.org/rel/libs/efl/efl-${version}.tar.xz" checksum=351ca0211ca000234527a503585f039f985607ec9439e34b49d8b8bbf35a7e6b make_check=extended +patch_args=-Np0 if [ "$XBPS_CHECK_PKGS" ]; then configure_args+=" -Dbuild-tests=true" diff --git a/srcpkgs/electron10/template b/srcpkgs/electron10/template index 0f2c83f6f48..9d6d3d0ef70 100644 --- a/srcpkgs/electron10/template +++ b/srcpkgs/electron10/template @@ -33,6 +33,7 @@ distfiles="https://github.com/electron/electron/archive/v$version.tar.gz>electro checksum="d75b78107656ef854cc99a967b225eeb1e5989c0a1307d9efad3f8039d387cd8 e018547e54566410fb365d9f3dae10037c30fca5debe6ba8baceef3ad3b03d28 dcd0a1e619ff326399ca8fd87f61c255f4d1e9bff47860064993f01e4ff37fe1" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in ppc64*-musl) makedepends+=" libucontext-devel" ;; diff --git a/srcpkgs/electron12/template b/srcpkgs/electron12/template index 51c50b0f74a..3f236d8decd 100644 --- a/srcpkgs/electron12/template +++ b/srcpkgs/electron12/template @@ -34,6 +34,7 @@ distfiles="https://github.com/electron/electron/archive/v$version.tar.gz>electro checksum="1b4073baa3e93bb410591688b7ca6e59201ae9c8cf18f05e5a05ecfd7ffebfc8 1a75ea6aeb98f2d3b6feae1fbf5692679e93d5b7631bc7c762dd873499deda5b bcdf869b0743405515ee897b1047b5e851a717e426b4974d26537c9b10dfd53a" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in ppc64*-musl) makedepends+=" libucontext-devel" ;; diff --git a/srcpkgs/elogind/template b/srcpkgs/elogind/template index 8e9fb0ef6c8..bf02b6d0f53 100644 --- a/srcpkgs/elogind/template +++ b/srcpkgs/elogind/template @@ -22,6 +22,7 @@ checksum=dd2fcf22a89a078cad22e633d2f14a4cc9f4a9c8bae25c0e39fc4aec3e273bc9 conf_files="/etc/elogind/*.conf" # tests fail differently due to containerization and kernel features make_check=ci-skip +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args+=" -Dutmp=false" diff --git a/srcpkgs/emerald/template b/srcpkgs/emerald/template index 736828d1e67..e486c3a5757 100644 --- a/srcpkgs/emerald/template +++ b/srcpkgs/emerald/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/compiz-reloaded" distfiles="https://github.com/compiz-reloaded/emerald/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=53112b557c0d726ad75450b69df1649412ab5fcdf6c0827e383889f58bf437b1 +patch_args=-Np0 pre_configure() { mkdir -p m4 diff --git a/srcpkgs/endless-sky-gl21/template b/srcpkgs/endless-sky-gl21/template index 5bb8355dc57..fe920ce6556 100644 --- a/srcpkgs/endless-sky-gl21/template +++ b/srcpkgs/endless-sky-gl21/template @@ -15,6 +15,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/SolraBizna/endless-sky" distfiles="https://github.com/SolraBizna/endless-sky/archive/${_commit}.tar.gz" checksum=46918d0cc35aaeb1219194099223e3338245aa04aa3f29fd76e3376bf5779376 +patch_args=-Np0 endless-sky-gl21-data_package() { short_desc+=" - data files" diff --git a/srcpkgs/engrampa/template b/srcpkgs/engrampa/template index ac402d6fb4a..3bf7459fc21 100644 --- a/srcpkgs/engrampa/template +++ b/srcpkgs/engrampa/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://mate-desktop.org" distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz" checksum=ee280d288c974732ec7bc2d1c3e18fa563b33a30f3e4cb3e976ebc71be6c4674 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/enigma/template b/srcpkgs/enigma/template index d04fa511249..861fec84d44 100644 --- a/srcpkgs/enigma/template +++ b/srcpkgs/enigma/template @@ -12,6 +12,7 @@ homepage="http://www.nongnu.org/enigma/" distfiles="${SOURCEFORGE_SITE}/enigma-game/Release%20${version}/${pkgname}-${version}.tar.gz" checksum=d872cf067d8eb560d3bb1cb17245814bc56ac3953ae1f12e2229c8eb6f82ce01 replaces="enigma-data>=0" +patch_args=-Np0 CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/SDL" diff --git a/srcpkgs/enlightenment/template b/srcpkgs/enlightenment/template index db9c886dc92..2ffabb259e5 100644 --- a/srcpkgs/enlightenment/template +++ b/srcpkgs/enlightenment/template @@ -20,6 +20,7 @@ checksum=be18e2f18d6c0b058f633e769863d3cbc4c07b629058ae670dec74cd7906dff1 lib32disabled=yes build_options="wayland" build_options_default="wayland" +patch_args=-Np0 if [ "$CROSS_BUILD" -a "$build_option_wayland" ]; then hostmakedepends+=" wayland-devel" diff --git a/srcpkgs/entr/template b/srcpkgs/entr/template index fa608a4d0dd..0e8f027eabe 100644 --- a/srcpkgs/entr/template +++ b/srcpkgs/entr/template @@ -10,6 +10,7 @@ homepage="http://entrproject.org" changelog="https://raw.githubusercontent.com/eradman/entr/master/NEWS" distfiles="$homepage/code/$pkgname-$version.tar.gz" checksum=e256a4d2fbe46f6132460833ba447e65d7f35ba9d0b265e7c4150397cc4405a2 +patch_args=-Np0 post_extract() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/enyo-doom/template b/srcpkgs/enyo-doom/template index 9e900f2799a..d529a514908 100644 --- a/srcpkgs/enyo-doom/template +++ b/srcpkgs/enyo-doom/template @@ -10,6 +10,7 @@ license="GPL-3.0-or-later" homepage="https://gitlab.com/sdcofer70/enyo-doom" distfiles="https://gitlab.com/sdcofer70/enyo-doom/-/archive/${version}/enyo-doom-${version}.tar.bz2" checksum=03d490081753dfd1d40b7cc8142b8f0e7642bad6f3d724f9ba9cfad0253f1a34 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-devel" diff --git a/srcpkgs/epdfview/template b/srcpkgs/epdfview/template index 2c6b5774b49..06d6a4fd442 100644 --- a/srcpkgs/epdfview/template +++ b/srcpkgs/epdfview/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://freshmeat.sourceforge.net/projects/epdfview" distfiles="http://anduin.linuxfromscratch.org/BLFS/epdfview/epdfview-${version}.tar.bz2" checksum=948648ae7c9d7b3b408d738bd4f48d87375b1196cae1129d6b846a8de0f2f8f0 +patch_args=-Np0 post_install() { for f in 24 32 48; do diff --git a/srcpkgs/espeakup/template b/srcpkgs/espeakup/template index 6cbc9d0da55..569162c6857 100644 --- a/srcpkgs/espeakup/template +++ b/srcpkgs/espeakup/template @@ -10,6 +10,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/williamh/espeakup" distfiles="https://github.com/williamh/espeakup/archive/v${version}.tar.gz" checksum="4de284e30b6bdb0f9dee9c8ea02d13a3d20a61415b812338446b8b381e997ef4" +patch_args=-Np0 post_install() { vsv espeakup diff --git a/srcpkgs/eukleides/template b/srcpkgs/eukleides/template index a955ef5bc91..992cfa8e25b 100644 --- a/srcpkgs/eukleides/template +++ b/srcpkgs/eukleides/template @@ -12,6 +12,7 @@ homepage="http://www.eukleides.org/" distfiles="http://www.eukleides.org/files/${pkgname}-${version}.tar.bz2" checksum=18c489460cb2cb98f4ea9c0187519ef77b4422117fd43bcd4e4836580ef40c69 disable_parallel_build=yes +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/evemu/template b/srcpkgs/evemu/template index e65f2f63ac9..bc53c54383e 100644 --- a/srcpkgs/evemu/template +++ b/srcpkgs/evemu/template @@ -11,6 +11,7 @@ license="LGPL-3.0-only, MIT" homepage="https://freedesktop.org/wiki/Evemu/" distfiles=${FREEDESKTOP_SITE}/evemu/evemu-$version.tar.xz checksum=78c9400d55eeeb5ab75161360543f9376438c4da4934cb34cdda5b46021ae379 +patch_args=-Np0 post_install() { sed -n '/Copyright/,/IN THE SOFTWARE/p' src/evemu.c >LICENSE diff --git a/srcpkgs/evolution-data-server/template b/srcpkgs/evolution-data-server/template index 136c47804c0..b4cc9ccbab4 100644 --- a/srcpkgs/evolution-data-server/template +++ b/srcpkgs/evolution-data-server/template @@ -20,6 +20,7 @@ homepage="https://wiki.gnome.org/Apps/Evolution" changelog="https://raw.githubusercontent.com/GNOME/evolution-data-server/gnome-3-38/NEWS" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=ec82951639f32a5cece80a8b0b9aa3f66b7d318e3ee2c1c35234f2e2bde8a418 +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/evolution/template b/srcpkgs/evolution/template index 1b3b6fa7e9f..84071a14f9a 100644 --- a/srcpkgs/evolution/template +++ b/srcpkgs/evolution/template @@ -22,6 +22,7 @@ distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=9b4c31352332fb9dc0ff23625ba1552c13808f1c9ba019496b750be87e07a5fd shlib_provides="libevolution-calendar.so libevolution-util.so libemail-engine.so libevolution-mail.so libevolution-shell.so libevolution-mail-formatter.so" +patch_args=-Np0 evolution-devel_package() { depends="webkit2gtk-devel gtk+3-devel libglib-devel evolution-data-server-devel diff --git a/srcpkgs/evtest/template b/srcpkgs/evtest/template index 1feed55a9d6..ee6bca695ac 100644 --- a/srcpkgs/evtest/template +++ b/srcpkgs/evtest/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="https://cgit.freedesktop.org/evtest/" distfiles="https://cgit.freedesktop.org/evtest/snapshot/evtest-${version}.tar.xz" checksum=e49f1f160b30c8f7c2a4caef5ab655f1caf816483d19fdedd6db2d251d7ab80e +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/ex-vi/template b/srcpkgs/ex-vi/template index ea54bb43789..84e0dbe713d 100644 --- a/srcpkgs/ex-vi/template +++ b/srcpkgs/ex-vi/template @@ -15,6 +15,7 @@ distfiles="${SOURCEFORGE_SITE}/$pkgname/ex-${version}.tar.bz2" checksum=da4be7cf67e94572463b19e56850aa36dc4e39eb0d933d3688fe8574bb632409 CFLAGS=-I. disable_parallel_build=yes +patch_args=-Np0 alternatives=" vi:ex:/usr/bin/ex-ex diff --git a/srcpkgs/exfat-dkms/template b/srcpkgs/exfat-dkms/template index f0d28ef17df..1f590f1e8c9 100644 --- a/srcpkgs/exfat-dkms/template +++ b/srcpkgs/exfat-dkms/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/dorimanx/exfat-nofuse" distfiles="https://github.com/dorimanx/exfat-nofuse/archive/${_commit}.tar.gz" checksum=b88a98f0a7e1b987465f5ccfcafb384b293506c7fec9d3b91b803e0fe5b16e0a +patch_args=-Np0 dkms_modules="exfat ${version}" depends="dkms" diff --git a/srcpkgs/exo/template b/srcpkgs/exo/template index 65ff908fb98..e872f31c77b 100644 --- a/srcpkgs/exo/template +++ b/srcpkgs/exo/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://xfce.org/" distfiles="https://archive.xfce.org/src/xfce/exo/${version%.*}/exo-${version}.tar.bz2" checksum=4e89f5536afbf1cb9191cceb720fb2764df1a4fae3459512b7320841ab5a9e9d +patch_args=-Np0 pre_configure() { if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/expect/template b/srcpkgs/expect/template index 2d0bdbd4e44..59a7d2c99aa 100644 --- a/srcpkgs/expect/template +++ b/srcpkgs/expect/template @@ -14,6 +14,7 @@ license="Public Domain" homepage="http://www.nist.gov/el/msid/expect.cfm" distfiles="${SOURCEFORGE_SITE}/${pkgname}/Expect/${version}/${pkgname}${version}.tar.gz" checksum=49a7da83b0bdd9f46d04a04deec19c7767bb9a323e40c4781f89caf760b92c34 +patch_args=-Np0 alternatives=" mkpasswd:mkpasswd:/usr/bin/expect-mkpasswd diff --git a/srcpkgs/extra-cmake-modules/template b/srcpkgs/extra-cmake-modules/template index c7f83efd7fe..26197cf56b8 100644 --- a/srcpkgs/extra-cmake-modules/template +++ b/srcpkgs/extra-cmake-modules/template @@ -14,6 +14,7 @@ homepage="https://invent.kde.org/frameworks/extra-cmake-modules" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=72b7f3b3917f3208fff10f0402b0fa3a65815aca924f0f94a4f96383d8e0f81e python_version=3 +patch_args=-Np0 do_check() { cd build diff --git a/srcpkgs/faad2/template b/srcpkgs/faad2/template index 33158709e65..e2e9b2ff124 100644 --- a/srcpkgs/faad2/template +++ b/srcpkgs/faad2/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://www.audiocoding.com/" distfiles="https://github.com/knik0/faad2/archive/${version//./_}.tar.gz" checksum=0c6d9636c96f95c7d736f097d418829ced8ec6dbd899cc6cc82b728480a84bfb +patch_args=-Np0 pre_configure() { autoreconf -vfi diff --git a/srcpkgs/fake-hwclock/template b/srcpkgs/fake-hwclock/template index 5e69b6e020e..0a90feae5d2 100644 --- a/srcpkgs/fake-hwclock/template +++ b/srcpkgs/fake-hwclock/template @@ -9,6 +9,7 @@ license="GPL-2.0-only" homepage="https://tracker.debian.org/pkg/fake-hwclock" distfiles="${DEBIAN_SITE}/main/f/${pkgname}/${pkgname}_${version}.tar.xz" checksum=02a825f7460ab06b370c203250606c67b0effffa1645a4a4f7ff3928eec4957e +patch_args=-Np0 conf_files="/etc/default/fake-hwclock" diff --git a/srcpkgs/fakeroot/template b/srcpkgs/fakeroot/template index f9d2cf9bb08..cae58c1efc5 100644 --- a/srcpkgs/fakeroot/template +++ b/srcpkgs/fakeroot/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="https://salsa.debian.org/clint/fakeroot" distfiles="${DEBIAN_SITE}/main/f/fakeroot/${pkgname}_${version}.orig.tar.gz" checksum=8e903683357f7f5bcc31b879fd743391ad47691d4be33d24a76be3b6c21e956c +patch_args=-Np0 lib32disabled=yes diff --git a/srcpkgs/falkon/template b/srcpkgs/falkon/template index 1a5eb3cd60b..4727e1fb6cc 100644 --- a/srcpkgs/falkon/template +++ b/srcpkgs/falkon/template @@ -16,6 +16,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/KDE/falkon" distfiles="${KDE_SITE}/falkon/${version%.*}/falkon-${version}.tar.xz" checksum=ce743cd80c0e2d525a784e29c9b487f73480119b0567f9ce8ef1f44cca527587 +patch_args=-Np0 LDFLAGS="-Wl,--no-fatal-warnings" diff --git a/srcpkgs/farstream/template b/srcpkgs/farstream/template index 6162c2966a5..470b3cb4f76 100644 --- a/srcpkgs/farstream/template +++ b/srcpkgs/farstream/template @@ -15,6 +15,7 @@ license="LGPL-2.1-or-later" homepage="http://www.freedesktop.org/wiki/Software/Farstream" distfiles="${FREEDESKTOP_SITE}/farstream/releases/$pkgname/$pkgname-$version.tar.gz" checksum=cb7d112433cf7c2e37a8ec918fb24f0ea5cb293cfa1002488e431de26482f47b +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/fastd/template b/srcpkgs/fastd/template index d07de67b11d..e03c1838342 100644 --- a/srcpkgs/fastd/template +++ b/srcpkgs/fastd/template @@ -17,6 +17,7 @@ conf_files=" /etc/fastd/fastd.conf" make_dirs="/etc/fastd/peers 755 root root" CFLAGS="-I$XBPS_CROSS_BASE/usr/include/sodium" +patch_args=-Np0 pre_configure() { # remove ssse3 requirement to support older AMD CPUs. diff --git a/srcpkgs/faust/template b/srcpkgs/faust/template index 03b44b2f258..bac06eafa81 100644 --- a/srcpkgs/faust/template +++ b/srcpkgs/faust/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://faust.grame.fr/" distfiles=https://github.com/grame-cncm/faust/releases/download/${version}/${pkgname}-${version}.tar.gz checksum="6cf64b8ee92c2db74d7d83d726b0ecb6f7e141deeadf4cd40c60e467893e0bfc" +patch_args=-Np0 # Android stuffs, used by the 'faust2android' script. nostrip_files="libsndfile.so " diff --git a/srcpkgs/fbida/template b/srcpkgs/fbida/template index 34763234373..46290f5cb5d 100644 --- a/srcpkgs/fbida/template +++ b/srcpkgs/fbida/template @@ -18,6 +18,7 @@ checksum=95b7c01556cb6ef9819f358b314ddfeb8a4cbe862b521a3ed62f03d163154438 depends="fbida-exiftran-${version}_${revision} fbida-fbi-${version}_${revision} fbida-fbpdf-${version}_${revision} $(vopt_if ida fbida-ida-${version}_${revision})" nocross="Requires cairo-gl.pc for the target which Void does not have" +patch_args=-Np0 build_options="ida" desc_option_ida="Build ida motif application (needs motif-devel)" diff --git a/srcpkgs/fbreader/template b/srcpkgs/fbreader/template index 0ffe6f5aeea..1dcbe6f1c55 100644 --- a/srcpkgs/fbreader/template +++ b/srcpkgs/fbreader/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://www.fbreader.org/" distfiles="http://www.fbreader.org/files/desktop/${pkgname}-sources-${version}.tgz" checksum=3d7c31d5ea314589d2a963290ad16f4d3d631a41e802b8b39f8be0c9f71eb8e9 +patch_args=-Np0 do_build() { sed -e "s:-llinebreak:-lunibreak:" -i makefiles/config.mk zlibrary/text/Makefile diff --git a/srcpkgs/fbterm/template b/srcpkgs/fbterm/template index f97ecc509dc..47a4ba3ff5b 100644 --- a/srcpkgs/fbterm/template +++ b/srcpkgs/fbterm/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/izmntuk/fbterm" distfiles="https://github.com/izmntuk/${pkgname}/archive/v${version%.*}.tar.gz" checksum=68e9742b23d6f143d809a5930f5f22c7e55d7c14a4ab2c8a842e0b5c27b1f863 +patch_args=-Np0 post_configure() { sed -i "s,tic,& -o $DESTDIR/usr/share/terminfo," terminfo/Makefile diff --git a/srcpkgs/fbv/template b/srcpkgs/fbv/template index 0df248768ce..da3387dc2b6 100644 --- a/srcpkgs/fbv/template +++ b/srcpkgs/fbv/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="http://www.eclis.ch/fbv/" distfiles="http://s-tech.elsat.net.pl/fbv/fbv-${version}.tar.gz" checksum=9b55b9dafd5eb01562060d860e267e309a1876e8ba5ce4d3303484b94129ab3c +patch_args=-Np0 do_configure() { sed -i '/^CFLAGS/d' Makefile diff --git a/srcpkgs/fbxkb/template b/srcpkgs/fbxkb/template index 1356d32df97..123e36a95f2 100644 --- a/srcpkgs/fbxkb/template +++ b/srcpkgs/fbxkb/template @@ -11,6 +11,7 @@ license="MIT" homepage="http://fbxkb.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tgz" checksum="fcbaf4ed9a70f58ea1316b19da74e2ca8b3fb0e2de5a73c849317589ce840ef2" +patch_args=-Np0 pre_build() { # Substitute compiler, diff --git a/srcpkgs/fcitx-anthy/template b/srcpkgs/fcitx-anthy/template index 02150ea5ca5..42a048057b1 100644 --- a/srcpkgs/fcitx-anthy/template +++ b/srcpkgs/fcitx-anthy/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://fcitx-im.org/" distfiles="https://github.com/fcitx/fcitx-anthy/archive/${version}.tar.gz" checksum=dcb561138508757f37da8a85bdf296368b592649b15ab76e8706db47cc25402a +patch_args=-Np0 CXXFLAGS='-D_GNU_SOURCE' diff --git a/srcpkgs/fcron/template b/srcpkgs/fcron/template index 11efd44b0bb..ffb03fb0fce 100644 --- a/srcpkgs/fcron/template +++ b/srcpkgs/fcron/template @@ -31,6 +31,7 @@ license="GPL-2.0-or-later" homepage="http://fcron.free.fr" distfiles="$homepage/archives/$pkgname-$version.src.tar.gz" checksum=9aead33a0926e2eec123698c502114c6d67b483fe1ec232969fae6809b0bab60 +patch_args=-Np0 alternatives=" crond:crond:/etc/sv/fcron diff --git a/srcpkgs/ferm/template b/srcpkgs/ferm/template index 3b623d0dd0c..0183d4c4bee 100644 --- a/srcpkgs/ferm/template +++ b/srcpkgs/ferm/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="http://ferm.foo-projects.org/" distfiles="http://ferm.foo-projects.org/download/${version:0:3}/ferm-${version}.tar.xz" checksum=689541465e7c073cbd604c9cd18f113c31c0b41bb12614726a59b17e44058885 +patch_args=-Np0 do_install() { make install PREFIX=${DESTDIR}/usr diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template index e6667478fe1..50ab8e58c2b 100644 --- a/srcpkgs/ffmpeg/template +++ b/srcpkgs/ffmpeg/template @@ -10,6 +10,7 @@ homepage="https://www.ffmpeg.org" changelog="https://raw.githubusercontent.com/FFmpeg/FFmpeg/master/Changelog" distfiles="${homepage}/releases/ffmpeg-${version}.tar.xz" checksum=46e4e64f1dd0233cbc0934b9f1c0da676008cad34725113fb7f802cfa84ccddb +patch_args=-Np0 hostmakedepends="pkg-config perl yasm" makedepends="zlib-devel bzip2-devel freetype-devel alsa-lib-devel libXfixes-devel diff --git a/srcpkgs/fig2dev/template b/srcpkgs/fig2dev/template index 87bdbd3d8ad..95003a4f225 100644 --- a/srcpkgs/fig2dev/template +++ b/srcpkgs/fig2dev/template @@ -13,6 +13,7 @@ homepage="http://www.xfig.org/" distfiles="${SOURCEFORGE_SITE}/mcj/${pkgname}-${version}.tar.xz" checksum=6336ac492d0f71dfb7a1dd8f4d78eae17aa57a34f743d4e5ba9814991c2da7ae replaces="transfig>=0" +patch_args=-Np0 post_install() { sed '/^$/q' LICENSE diff --git a/srcpkgs/filezilla/template b/srcpkgs/filezilla/template index b115f782ed4..00f45608543 100644 --- a/srcpkgs/filezilla/template +++ b/srcpkgs/filezilla/template @@ -16,6 +16,7 @@ homepage="https://filezilla-project.org" changelog="https://svn.filezilla-project.org/filezilla/FileZilla3/trunk/NEWS?view=co" distfiles="https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2" checksum=703a199c13bb681d6eb0e3fe6e1cc9d0b690016acdd47b26bd12a2a95ff4aa6a +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" wxWidgets-gtk3-devel xdg-utils" diff --git a/srcpkgs/fingerprint-gui/template b/srcpkgs/fingerprint-gui/template index 08d226569eb..52f7084d1d9 100644 --- a/srcpkgs/fingerprint-gui/template +++ b/srcpkgs/fingerprint-gui/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://www.ullrich-online.cc/fingerprint/" distfiles="https://github.com/maksbotan/${pkgname}/archive/v${version}-qt5.tar.gz" checksum=a28d43e7e505f8ed15c8360bd91603eaf3206c225a542d0116669caafd89154c +patch_args=-Np0 # build system deals poorly with cross headers so include # them manually diff --git a/srcpkgs/firefox-esr/template b/srcpkgs/firefox-esr/template index e4ea57638c2..38251ae0a73 100644 --- a/srcpkgs/firefox-esr/template +++ b/srcpkgs/firefox-esr/template @@ -25,6 +25,7 @@ distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${versi checksum=979141a6d94bbe303815e9cd1ab1d23b5ce2f9c77d9d5486871eaecf0ea2df40 lib32disabled=yes conflicts="firefox>=0" +patch_args=-Np0 build_options="alsa jack dbus pulseaudio xscreensaver sndio wayland" build_options_default="alsa jack dbus pulseaudio xscreensaver sndio wayland" diff --git a/srcpkgs/firefox/template b/srcpkgs/firefox/template index 3ce8a92ecbb..01dfcc17657 100644 --- a/srcpkgs/firefox/template +++ b/srcpkgs/firefox/template @@ -12,6 +12,7 @@ license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://www.mozilla.org/firefox/" distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz" checksum=db43d7d5796455051a5b847f6daa3423393803c9288c8b6d7f1186f5e2e0a90a +patch_args=-Np0 lib32disabled=yes diff --git a/srcpkgs/firejail/template b/srcpkgs/firejail/template index 6b6a27403ec..ab0544ef2e0 100644 --- a/srcpkgs/firejail/template +++ b/srcpkgs/firejail/template @@ -14,5 +14,6 @@ changelog="https://github.com/netblue30/firejail/raw/master/RELNOTES" distfiles="https://github.com/netblue30/firejail/archive/${version}.tar.gz" checksum=17a20c4c9f114aa8fdab467cecb60309f599ad08b4bbb3e751c992d98a95ac18 conf_files="/etc/firejail/* /etc/apparmor.d/local/firejail-default" +patch_args=-Np0 nocross=yes diff --git a/srcpkgs/flatpak-builder/template b/srcpkgs/flatpak-builder/template index 208481c58b2..6435f58c3f6 100644 --- a/srcpkgs/flatpak-builder/template +++ b/srcpkgs/flatpak-builder/template @@ -14,6 +14,7 @@ distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz checksum=4780c1b8e0838ffb64e9639bd7801417964fd818c7c6d5e9afca4d5511ded2c8 # Tests expects a Debian derivate hosts to build a flatpak container from. make_check=no +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" flatpak-devel" diff --git a/srcpkgs/flatpak/template b/srcpkgs/flatpak/template index da8807535ee..d3bfe457845 100644 --- a/srcpkgs/flatpak/template +++ b/srcpkgs/flatpak/template @@ -23,6 +23,7 @@ homepage="https://flatpak.org/" changelog="https://github.com/flatpak/flatpak/raw/master/NEWS" distfiles="https://github.com/flatpak/flatpak/releases/download/${version}/flatpak-${version}.tar.xz" checksum=db152739d072f8ff299e4e888d8963a1b4538da7b10e0b86525be438f2e1dde4 +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/flex/template b/srcpkgs/flex/template index f07dee0ee48..60b111758bd 100644 --- a/srcpkgs/flex/template +++ b/srcpkgs/flex/template @@ -13,6 +13,7 @@ license="custom:flex" homepage="https://github.com/westes/flex" distfiles="https://github.com/westes/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.gz" checksum=e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 +patch_args=-Np0 # Required to enable the definition of reallocarray() in stdlib.h CFLAGS="-D_GNU_SOURCE" diff --git a/srcpkgs/flightgear/template b/srcpkgs/flightgear/template index e5528205b9e..ac8cb4c9032 100644 --- a/srcpkgs/flightgear/template +++ b/srcpkgs/flightgear/template @@ -22,6 +22,7 @@ checksum=" 1f07e8ef2c558dae3b9738e313b57e711d38e569f85d49fc2c5ae647e3949a17 2196f4ffcdeaae3a8b0a2b6ebf62a456bfd0198abb6c0619f763204d89804a03" python_version=2 +patch_args=-Np0 nocross=https://build.voidlinux.org/builders/armv7l-musl_builder/builds/4773/steps/shell_3/logs/stdio diff --git a/srcpkgs/flowcanvas/template b/srcpkgs/flowcanvas/template index 4b61be70106..10fd327e1c9 100644 --- a/srcpkgs/flowcanvas/template +++ b/srcpkgs/flowcanvas/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://drobilla.net/software/flowcanvas/" distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2" checksum=047928d858fd1e9296a9984de7468c86bbe23fc42e286691b8f273541402c596 +patch_args=-Np0 CXXFLAGS="-std=c++11" diff --git a/srcpkgs/foobillard++/template b/srcpkgs/foobillard++/template index d92355a8cab..185f4f62b16 100644 --- a/srcpkgs/foobillard++/template +++ b/srcpkgs/foobillard++/template @@ -19,6 +19,7 @@ CFLAGS="-fgnu89-inline" # flags from freetype-config and sdl-config CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/freetype2" CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/SDL -D_GNU_SOURCE=1" +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/foomatic-db-engine/template b/srcpkgs/foomatic-db-engine/template index dc1a21716e5..909ca2605b9 100644 --- a/srcpkgs/foomatic-db-engine/template +++ b/srcpkgs/foomatic-db-engine/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://www.openprinting.org/" distfiles="https://www.openprinting.org/download/foomatic/$pkgname-$version.tar.gz" checksum=b5c89027aa26967d2e6db62e2af7db0c4039d2480d4fbf2476a6ddcf609a5faf +patch_args=-Np0 post_configure() { # Compiling and linking in one step requires $(LDFLAGS) diff --git a/srcpkgs/foremost/template b/srcpkgs/foremost/template index cb463049d37..91e33666702 100644 --- a/srcpkgs/foremost/template +++ b/srcpkgs/foremost/template @@ -9,6 +9,7 @@ license="Public Domain" homepage="http://foremost.sourceforge.net/" distfiles="http://foremost.sourceforge.net/pkg/foremost-${version}.tar.gz" checksum=502054ef212e3d90b292e99c7f7ac91f89f024720cd5a7e7680c3d1901ef5f34 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/fossil/template b/srcpkgs/fossil/template index 0e8afbbdadf..6773f5d8544 100644 --- a/srcpkgs/fossil/template +++ b/srcpkgs/fossil/template @@ -13,6 +13,7 @@ homepage="https://www.fossil-scm.org" changelog="https://www.fossil-scm.org/home/doc/trunk/www/changes.wiki" distfiles="https://www.fossil-scm.org/index.html/uv/fossil-src-${version}.tar.gz" checksum=80d27923c663b2a2c710f8ae8cd549862e04f8c04285706274c34ae3c8ca17d1 +patch_args=-Np0 post_extract() { vsed -i 's/test_system_sqlite$/# &/' auto.def # failing on cross diff --git a/srcpkgs/fotoxx/template b/srcpkgs/fotoxx/template index a3c968fcdef..d954ae81449 100644 --- a/srcpkgs/fotoxx/template +++ b/srcpkgs/fotoxx/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://www.kornelix.net/fotoxx/fotoxx.html" distfiles="https://www.kornelix.net/downloads/downloads/fotoxx-${version}.tar.gz" checksum=0c16597053ce8e186fb8163839f4f4ed44548bf00e43e88951f4346a9dbbb620 +patch_args=-Np0 CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/champlain-0.12" diff --git a/srcpkgs/fpc/template b/srcpkgs/fpc/template index 7967b25165b..c867802cf75 100644 --- a/srcpkgs/fpc/template +++ b/srcpkgs/fpc/template @@ -40,6 +40,7 @@ esac nocross=yes nopie=yes noverifyrdeps=yes +patch_args=-Np0 post_extract() { # extract recursive tar files or otherwise post-process. diff --git a/srcpkgs/fprint_demo/template b/srcpkgs/fprint_demo/template index 723fa68f3f7..8e08614dbf4 100644 --- a/srcpkgs/fprint_demo/template +++ b/srcpkgs/fprint_demo/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://www.freedesktop.org/wiki/Software/fprint/fprint_demo/" distfiles="https://github.com/dsd/${pkgname}/archive/v${version}.tar.gz" checksum=6f54f43e0a015cd83504a2c726a59154c5aee83e229e8494d54e592624ee3ad5 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/frame/template b/srcpkgs/frame/template index faf98cc4493..d43faff47cc 100644 --- a/srcpkgs/frame/template +++ b/srcpkgs/frame/template @@ -12,6 +12,7 @@ license="LGPL-3.0-only" homepage="https://launchpad.net/frame" distfiles="https://launchpad.net/${pkgname}/trunk/v${version}/+download/${pkgname}-${version}.tar.gz" checksum=cfb9ab52cdccd926f1822a457264d0014c7eb9f4600a72626063dd073b26256f +patch_args=-Np0 frame-devel_package() { depends="frame>=${version}_${revision}" diff --git a/srcpkgs/freecad/template b/srcpkgs/freecad/template index a1127268079..86abc16ea9e 100644 --- a/srcpkgs/freecad/template +++ b/srcpkgs/freecad/template @@ -4,6 +4,7 @@ version=0.19.2 revision=1 wrksrc="FreeCAD-${version}" build_style=cmake +patch_args=-Np0 _inst_prefix=/usr/lib/${pkgname} configure_args=" diff --git a/srcpkgs/freeciv/template b/srcpkgs/freeciv/template index cb643452944..2dbb80c62a5 100644 --- a/srcpkgs/freeciv/template +++ b/srcpkgs/freeciv/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://freeciv.org/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=6181ef3d3c76264383aabbe0eaf1550d8a65ca42639e6c17cc2938165e176c8f +patch_args=-Np0 subpackages="freeciv-gtk2 freeciv-gtk3 freeciv-sdl freeciv-xaw" if [ -z "$CROSS_BUILD" ]; then diff --git a/srcpkgs/freedroidClassic/template b/srcpkgs/freedroidClassic/template index fe8b987c8ac..a386f4e0ae0 100644 --- a/srcpkgs/freedroidClassic/template +++ b/srcpkgs/freedroidClassic/template @@ -13,6 +13,7 @@ license="GPL-2" homepage="http://freedroid.org" distfiles="http://sourceforge.net/projects/freedroid/files/${pkgname}/FreedroidClassic-${version}/freedroid-${version}.tar.gz" checksum=0934bd29fb2ad0367ea3bdfdce47537179f9af6aa960cbcc897c40da2e1a0ee3 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/freeimage/template b/srcpkgs/freeimage/template index c45052a67b1..49167a73638 100644 --- a/srcpkgs/freeimage/template +++ b/srcpkgs/freeimage/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later, FreeImage" homepage="http://freeimage.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/freeimage/Source%20Distribution/FreeImage${version//./}.zip" checksum=f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd +patch_args=-Np0 CFLAGS="-fPIC -DPIC -fexceptions -fvisibility=hidden -DPNG_POWERPC_VSX_OPT=0" CXXFLAGS="${CFLAGS} -Wno-ctor-dtor-privacy" diff --git a/srcpkgs/freeipmi/template b/srcpkgs/freeipmi/template index e6818b20f15..0a0b1477442 100644 --- a/srcpkgs/freeipmi/template +++ b/srcpkgs/freeipmi/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/freeipmi/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=cfa30179b44c582e73cf92c2ad0e54fe49f9fd87f7a0889be9dc2db5802e6aab +patch_args=-Np0 conf_files="/etc/freeipmi/*.conf" make_dirs="/var/cache/ipmiseld 0755 root root" diff --git a/srcpkgs/freeorion/template b/srcpkgs/freeorion/template index 37bfc09176c..32ccda48339 100644 --- a/srcpkgs/freeorion/template +++ b/srcpkgs/freeorion/template @@ -16,6 +16,7 @@ homepage="https://freeorion.org/index.php/Main_Page" changelog="https://raw.githubusercontent.com/freeorion/freeorion/master/ChangeLog.md" distfiles="https://github.com/freeorion/freeorion/releases/download/v${version}/FreeOrion_v${_release}_Source.tar.gz" checksum=e72ab42cba1ee8842507340931ef389e64011e040a4adc74add5f4997bbcba8b +patch_args=-Np0 post_extract() { _build_no=${_release/*_/} diff --git a/srcpkgs/freeplane/template b/srcpkgs/freeplane/template index 52a4365845f..2d92e1536f5 100644 --- a/srcpkgs/freeplane/template +++ b/srcpkgs/freeplane/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="http://freeplane.sourceforge.net/" distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname%20stable/${pkgname}_src-$version.tar.gz" checksum=7cb3abeda6a073262b63603852d3f3fe2cdb34e917435e9648209efa9c3b1e21 +patch_args=-Np0 make_dirs=" /usr/share/freeplane/fwdir/condperm/ 755 root root diff --git a/srcpkgs/freetds/template b/srcpkgs/freetds/template index c1e2b541a6b..bc88622a836 100644 --- a/srcpkgs/freetds/template +++ b/srcpkgs/freetds/template @@ -13,6 +13,7 @@ license="LGPL-2.0-or-later" homepage="https://www.freetds.org/" distfiles="https://www.freetds.org/files/stable/freetds-${version}.tar.gz" checksum=a2134ff1852003c0aeed82bd5f7842233ff287c3a14252b84d2653983aff7da1 +patch_args=-Np0 conf_files="/etc/freetds/freetds.conf /etc/freetds/locales.conf diff --git a/srcpkgs/freetype/template b/srcpkgs/freetype/template index ba4c6ad900c..b41edae73a6 100644 --- a/srcpkgs/freetype/template +++ b/srcpkgs/freetype/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later, FTL" homepage="https://www.freetype.org/" distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=86a854d8905b19698bbc8f23b860bc104246ce4854dcea8e3b0fb21284f75784 +patch_args=-Np0 post_patch() { vsed -i -e "s/%PKG_CONFIG%/pkg-config/" builds/unix/freetype-config.in diff --git a/srcpkgs/freshplayerplugin/template b/srcpkgs/freshplayerplugin/template index a6205c0ba98..7730d4954be 100644 --- a/srcpkgs/freshplayerplugin/template +++ b/srcpkgs/freshplayerplugin/template @@ -13,6 +13,7 @@ homepage="https://github.com/i-rinat/freshplayerplugin" changelog="https://raw.githubusercontent.com/i-rinat/freshplayerplugin/master/ChangeLog" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=4fa4fe07e812f6e10784ff984e1389b9b444ca44b84101999c6fad8f55db59d9 +patch_args=-Np0 do_install() { vinstall build/libfreshwrapper-flashplayer.so 755 usr/lib/mozilla/plugins diff --git a/srcpkgs/fs-utils/template b/srcpkgs/fs-utils/template index 91a0d1dcc0d..cc8fe606ab0 100644 --- a/srcpkgs/fs-utils/template +++ b/srcpkgs/fs-utils/template @@ -15,6 +15,7 @@ distfiles="$homepage/archive/v$version.tar.gz checksum="0f63aa92f673f290d4bca9009ca6f213e70ac70519c5cdac3fa64acf5afa5bae 228892fd0f669ee3051aee19f8660e4719bee9bd70c1b02adcaee518d4155866" skip_extraction="LICENSE" +patch_args=-Np0 post_install() { vlicense ${XBPS_SRCDISTDIR}/${pkgname}-${version}/LICENSE diff --git a/srcpkgs/fuse/template b/srcpkgs/fuse/template index 10061307b41..812f9dfc16d 100644 --- a/srcpkgs/fuse/template +++ b/srcpkgs/fuse/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://github.com/libfuse/libfuse" distfiles="${homepage}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz" checksum=d0e69d5d608cc22ff4843791ad097f554dd32540ddc9bed7638cc6fea7c1b4b5 +patch_args=-Np0 post_install() { # remove obsolete rules file provided by udev. diff --git a/srcpkgs/gamin/template b/srcpkgs/gamin/template index 3ed85f0bb6f..bc4b244b575 100644 --- a/srcpkgs/gamin/template +++ b/srcpkgs/gamin/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="http://www.gnome.org/~veillard/gamin/" distfiles="$GNOME_SITE/gamin/0.1/gamin-${version}.tar.bz2" checksum=a59948b20ce2f14136c013f155abb8c8d51db2ea167c063ff33461e453fec10a +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/gammu/template b/srcpkgs/gammu/template index bb5d54bcfe9..71ebeecdab9 100644 --- a/srcpkgs/gammu/template +++ b/srcpkgs/gammu/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://wammu.eu" distfiles="https://dl.cihar.com/gammu/releases/gammu-${version}.tar.bz2" checksum=6197f8b4d35746d31567e61880121def676f225eba05276648410eaa6ce60c9f +patch_args=-Np0 gammu-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/gatling/template b/srcpkgs/gatling/template index 9993c3a0cd6..15aefdfd53d 100644 --- a/srcpkgs/gatling/template +++ b/srcpkgs/gatling/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="http://www.fefe.de/gatling" distfiles="https://www.fefe.de/gatling/$pkgname-$version.tar.xz" checksum=5f96438ee201d7f1f6c2e0849ff273b196bdc7493f29a719ce8ed08c8be6365b +patch_args=-Np0 CFLAGS="-std=c99 -I${XBPS_CROSS_BASE}/usr/include/libowfat -fcommon" diff --git a/srcpkgs/gavl/template b/srcpkgs/gavl/template index 0f5f50d9356..8abcc051e74 100644 --- a/srcpkgs/gavl/template +++ b/srcpkgs/gavl/template @@ -11,6 +11,7 @@ homepage="http://gmerlin.sourceforge.net/gavl.html" distfiles="${SOURCEFORGE_SITE}/gmerlin/gavl/${version}/gavl-${version}.tar.gz" checksum=51aaac41391a915bd9bad07710957424b046410a276e7deaff24a870929d33ce CFLAGS="-lm" +patch_args=-Np0 gavl-devel_package() { depends="gavl>=${version}_${revision}" diff --git a/srcpkgs/gbdfed/template b/srcpkgs/gbdfed/template index 788a9abab08..55de7fabe98 100644 --- a/srcpkgs/gbdfed/template +++ b/srcpkgs/gbdfed/template @@ -12,6 +12,7 @@ license="BSD-2-Clause, MIT" homepage="http://sofia.nmsu.edu/~mleisher/Software/gbdfed/" distfiles="https://src.fedoraproject.org/repo/pkgs/gbdfed/gbdfed-${version}.tar.bz2/2a2e1cbfe8566db6d302f0b9ab79b8dd/gbdfed-${version}.tar.bz2" checksum=5db25d4ce688dcb188dee056e58614a94a5e4fce4b6066fbb310951ab999093c +patch_args=-Np0 post_install() { sed '/^$/q' LICENSE diff --git a/srcpkgs/gcc-multilib/template b/srcpkgs/gcc-multilib/template index 07ceeccc93d..ade2f5007df 100644 --- a/srcpkgs/gcc-multilib/template +++ b/srcpkgs/gcc-multilib/template @@ -2,6 +2,7 @@ archs="x86_64" _triplet="x86_64-unknown-linux-gnu" _majorver=10.2 +patch_args=-Np0 pkgname=gcc-multilib version=${_majorver}.1pre1 diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template index ba708493485..4de5faa93f5 100644 --- a/srcpkgs/gcc/template +++ b/srcpkgs/gcc/template @@ -8,6 +8,7 @@ _gmp_version=6.2.0 _mpfr_version=4.1.0 _mpc_version=1.1.0 _isl_version=0.21 +patch_args=-Np0 pkgname=gcc # we are using a 10-stable git snapshot alpine is using in order diff --git a/srcpkgs/gcolor2/template b/srcpkgs/gcolor2/template index 4aec89567aa..7a3eaeb093a 100644 --- a/srcpkgs/gcolor2/template +++ b/srcpkgs/gcolor2/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="http://gcolor2.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=89bd6c6d27ba5a679ec60057de8497855072f520515b490e5986fc3509774f23 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/gdm/template b/srcpkgs/gdm/template index c76e13c2de1..371445e58e2 100644 --- a/srcpkgs/gdm/template +++ b/srcpkgs/gdm/template @@ -24,6 +24,7 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Projects/GDM" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=5ed74b739d3a232ffb1e4a132bcf965bdfe955d995b528773588775b02f2950e +patch_args=-Np0 conf_files=" /etc/gdm/custom.conf diff --git a/srcpkgs/gdmap/template b/srcpkgs/gdmap/template index 47b0105feb3..7b321c76487 100644 --- a/srcpkgs/gdmap/template +++ b/srcpkgs/gdmap/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="http://gdmap.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=a200c98004b349443f853bf611e49941403fce46f2335850913f85c710a2285b +patch_args=-Np0 post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure diff --git a/srcpkgs/geary/template b/srcpkgs/geary/template index a74b1ff16cd..17c2c0af317 100644 --- a/srcpkgs/geary/template +++ b/srcpkgs/geary/template @@ -20,6 +20,7 @@ homepage="https://wiki.gnome.org/Apps/Geary" _series=${version%.${version#*.*.}} distfiles="${GNOME_SITE}/${pkgname}/${_series}/geary-${version}.tar.xz" checksum=e72e212798536657d5100e1e1a4a67f3836d6f0235340aae53e576f2a774e812 +patch_args=-Np0 post_patch() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/geda/template b/srcpkgs/geda/template index 6626bc91fd9..32afaf0681b 100644 --- a/srcpkgs/geda/template +++ b/srcpkgs/geda/template @@ -18,6 +18,7 @@ distfiles="http://ftp.geda-project.org/geda-gaf/stable/v${version%.*}/${version} checksum=e862ab241528538fa3bee2739261f568011102b60c5e39a2f0358663c042c8a4 python_version=2 replaces="geda-data>=0" +patch_args=-Np0 CFLAGS="-Wno-deprecated-declarations -fcommon -Wno-unused-function" diff --git a/srcpkgs/geis/template b/srcpkgs/geis/template index ddad320d93a..3f3b40e5231 100644 --- a/srcpkgs/geis/template +++ b/srcpkgs/geis/template @@ -12,6 +12,7 @@ license="GPL-3.0-only" homepage="https://launchpad.net/geis" distfiles="https://launchpad.net/geis/trunk/$version/+download/geis-$version.tar.xz" checksum=8a60f5683852094038904e690d23cc5a90a980fc52da67f0f28890baa25c70eb +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then configure_args+=" --enable-integration-tests=no" diff --git a/srcpkgs/geos/template b/srcpkgs/geos/template index efc698ab3dc..bd7f56da854 100644 --- a/srcpkgs/geos/template +++ b/srcpkgs/geos/template @@ -9,6 +9,7 @@ license="LGPL-2.1-or-later" homepage="https://trac.osgeo.org/geos" distfiles="https://download.osgeo.org/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=7e630507dcac9dc07565d249a26f06a15c9f5b0c52dd29129a0e3d381d7e382a +patch_args=-Np0 geos-devel_package() { depends="${makedepends} ${sourcepkg}-${version}_${revision}" diff --git a/srcpkgs/gfm/template b/srcpkgs/gfm/template index a2166105374..950339e880e 100644 --- a/srcpkgs/gfm/template +++ b/srcpkgs/gfm/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://www.ticalc.org" distfiles="${SOURCEFORGE_SITE}/tilp/tilp2-linux/tilp2-${_tilpver}/${pkgname}-${version}.tar.bz2" checksum=09031ac0abf686b6a8bc9935f331ef460415783a1057f11b0af993526b52017f +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" gettext-devel" diff --git a/srcpkgs/giac/template b/srcpkgs/giac/template index ca95534498f..1e87c15d2b3 100644 --- a/srcpkgs/giac/template +++ b/srcpkgs/giac/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html" distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz" checksum=bbd6f0aafe373de3c9ed53d21878224e847359fdd9a7cdf9e9096e7c960f10b4 +patch_args=-Np0 # need more than 4*65536 stack, see try_parse() in gen.cc line 11812 LDFLAGS="-Wl,-z,stack-size=2097152" diff --git a/srcpkgs/giflib/template b/srcpkgs/giflib/template index 4f01f28e079..9f3d399c6a5 100644 --- a/srcpkgs/giflib/template +++ b/srcpkgs/giflib/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://sourceforge.net/projects/giflib/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=31da5562f44c5f15d63340a09a4fd62b48c45620cd302f77a6d9acf0077879bd +patch_args=-Np0 CFLAGS="-fPIC" diff --git a/srcpkgs/giggle/template b/srcpkgs/giggle/template index 8240dd9afcd..91eee3d7d91 100644 --- a/srcpkgs/giggle/template +++ b/srcpkgs/giggle/template @@ -14,6 +14,7 @@ homepage="https://wiki.gnome.org/Apps/giggle" distfiles="${GNOME_SITE}/${pkgname}/${version}/${pkgname}-${version}.tar.xz" checksum=ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59 lib32disabled=yes +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/gimp/template b/srcpkgs/gimp/template index 999c9a6f46f..45a894853d3 100644 --- a/srcpkgs/gimp/template +++ b/srcpkgs/gimp/template @@ -23,6 +23,7 @@ checksum=bd1bb762368c0dd3175cf05006812dd676949c3707e21f4e6857435cb435989e python_version=2 lib32disabled=yes no_generic_pkgconfig_link=yes +patch_args=-Np0 pre_configure() { NOCONFIGURE=1 autoreconf -fi diff --git a/srcpkgs/git-annex/template b/srcpkgs/git-annex/template index cdcd6bb0f83..25f8338e683 100644 --- a/srcpkgs/git-annex/template +++ b/srcpkgs/git-annex/template @@ -15,6 +15,7 @@ distfiles="https://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}- checksum=17109144b2aadfab79fa0e193df3e0c02fd80f738a5ed6eccb0d11692bedb01d nopie_files="/usr/bin/git-annex" nocross=yes +patch_args=-Np0 # These install steps are pulled from the install target in the # git-annex Makefile. The target can't be called directly because it is diff --git a/srcpkgs/gitea/template b/srcpkgs/gitea/template index f375d2dcfa1..eae2e61b681 100644 --- a/srcpkgs/gitea/template +++ b/srcpkgs/gitea/template @@ -33,6 +33,7 @@ homepage="https://gitea.io" changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md" distfiles="https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz" checksum=d04bca934feba35600aaf739c82b7cbe7d8b911a086d7ac54f0710b689a85ac3 +patch_args=-Np0 system_accounts="_gitea" _gitea_homedir="/var/lib/gitea" diff --git a/srcpkgs/gitg/template b/srcpkgs/gitg/template index e309a6a1462..87376f22160 100644 --- a/srcpkgs/gitg/template +++ b/srcpkgs/gitg/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Apps/Gitg" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=24a4aabf8a42aa2e783e1fb5996ebb3c2a82a01b9689269f1329517ef124ef5a +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args+=" -Dexe_wrapper=qemu-${XBPS_TARGET_QEMU_MACHINE}-static" diff --git a/srcpkgs/gkrellm/template b/srcpkgs/gkrellm/template index f2c1721ac5e..59a20ddb0b9 100644 --- a/srcpkgs/gkrellm/template +++ b/srcpkgs/gkrellm/template @@ -11,6 +11,7 @@ license="GPL-3.0.or-later" homepage="http://gkrellm.srcbox.net" distfiles="${homepage}/releases/gkrellm-${version}.tar.bz2" checksum=1ee0643ed9ed99f88c1504c89d9ccb20780cf29319c904b68e80a8e7c8678c06 +patch_args=-Np0 do_install() { make PREFIX=/usr DESTDIR=${DESTDIR} STRIP= install diff --git a/srcpkgs/glances/template b/srcpkgs/glances/template index 29bc7790e11..daf47f64f7a 100644 --- a/srcpkgs/glances/template +++ b/srcpkgs/glances/template @@ -12,6 +12,7 @@ license="LGPL-3.0-or-later" homepage="https://github.com/nicolargo/glances" distfiles="https://github.com/nicolargo/glances/archive/v${version}.tar.gz" checksum=5839a110af35af35b7a1d30c15e59c59359480c2eaec852d30480c96b8cf8d76 +patch_args=-Np0 post_install() { vsconf conf/glances.conf diff --git a/srcpkgs/glib/template b/srcpkgs/glib/template index 855a55856b3..9538134e3b3 100644 --- a/srcpkgs/glib/template +++ b/srcpkgs/glib/template @@ -17,6 +17,7 @@ homepage="https://wiki.gnome.org/Projects/GLib" changelog="https://gitlab.gnome.org/GNOME/glib/raw/master/NEWS" distfiles="${GNOME_SITE}/glib/${version%.*}/glib-${version}.tar.xz" checksum=ecc7798a9cc034eabdfd7f246e6dd461cdbf1175fcc2e9867cc7da7b7309e0fb +patch_args=-Np0 build_options="gtk_doc" desc_option_gtk_doc="Build GTK API docs" diff --git a/srcpkgs/gloox/template b/srcpkgs/gloox/template index 0099876f5b2..f56bd162123 100644 --- a/srcpkgs/gloox/template +++ b/srcpkgs/gloox/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="https://camaya.net/gloox" distfiles="https://camaya.net/download/gloox-${version}.tar.bz2" checksum=4ade1b14848ccfcd89a505a4fff05116c24f13cef8d02fab0ade2717117ec964 +patch_args=-Np0 gloox-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/glusterfs/template b/srcpkgs/glusterfs/template index 93fd87eeda7..ec10ef21466 100644 --- a/srcpkgs/glusterfs/template +++ b/srcpkgs/glusterfs/template @@ -18,6 +18,7 @@ license="GPL-2.0-or-later, LGPL-3.0-only" homepage="https://www.gluster.org/" distfiles="https://download.gluster.org/pub/gluster/glusterfs/${version%.*}/${version}/${pkgname}-${version}.tar.gz" checksum=6f29ae4ab2c270ade0cd14a3f733d7d33fda78e79e81b148cd50711f65069d87 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) broken="not yet supported";; diff --git a/srcpkgs/glyr/template b/srcpkgs/glyr/template index 30dbe4e87f8..6055834d3fb 100644 --- a/srcpkgs/glyr/template +++ b/srcpkgs/glyr/template @@ -11,6 +11,7 @@ license="LGPL-3.0-or-later" homepage="https://github.com/sahib/glyr" distfiles="https://github.com/sahib/glyr/archive/${version}.tar.gz" checksum=77e8da60221c8d27612e4a36482069f26f8ed74a1b2768ebc373c8144ca806e8 +patch_args=-Np0 glyr-devel_package() { depends="glyr>=${version}_${revision}" diff --git a/srcpkgs/gmrun/template b/srcpkgs/gmrun/template index b3565fa4929..4e6727f20d0 100644 --- a/srcpkgs/gmrun/template +++ b/srcpkgs/gmrun/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://sf.net/projects/gmrun" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=17297bce53249ccc7145931db22251b47f77ac355f78cf8abf1e87ae16341fa0 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/gnome-authenticator/template b/srcpkgs/gnome-authenticator/template index e1bd1ee9e44..ceca3efe857 100644 --- a/srcpkgs/gnome-authenticator/template +++ b/srcpkgs/gnome-authenticator/template @@ -15,6 +15,7 @@ license="GPL-3.0-or-later" homepage="https://gitlab.gnome.org/World/Authenticator" distfiles="${homepage}/-/archive/${version}/Authenticator-${version}.tar.gz" checksum="d7250fbef1de2dcb599a55ff3d40dcc6ed5618fe89d50ec795281d8ba3123d5b" +patch_args=-Np0 post_patch() { find src/Authenticator/widgets -type f -exec \ diff --git a/srcpkgs/gnome-desktop/template b/srcpkgs/gnome-desktop/template index b92478185d6..72565e7b28e 100644 --- a/srcpkgs/gnome-desktop/template +++ b/srcpkgs/gnome-desktop/template @@ -17,6 +17,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://gitlab.gnome.org/GNOME/gnome-desktop" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=02dd6e5860e90395b5d88745ee30239a919285afbb7a22cf17e3be25e9abfbf6 +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/gnome-keyring/template b/srcpkgs/gnome-keyring/template index b8defd1997d..6ec17559c86 100644 --- a/srcpkgs/gnome-keyring/template +++ b/srcpkgs/gnome-keyring/template @@ -17,6 +17,7 @@ homepage="https://www.gnome.org" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" checksum=a3d24db08ee2fdf240fbbf0971a98c8ee295aa0e1a774537f4ea938038a3b931 lib32disabled=yes +patch_args=-Np0 do_check() { # Requires X11 server diff --git a/srcpkgs/gnome-latex/template b/srcpkgs/gnome-latex/template index 4739891c8ff..f1c5f3c7c3c 100644 --- a/srcpkgs/gnome-latex/template +++ b/srcpkgs/gnome-latex/template @@ -16,6 +16,7 @@ license="GPL-3.0-or-later" homepage="https://wiki.gnome.org/Apps/GNOME-LaTeX" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=a82a9fc6f056929ea18d6dffd121e71b2c21768808c86ef1f34da0f86e220d77 +patch_args=-Np0 # for 00-port-to-tepl-6.patch hostmakedepends+=" automake gettext-devel-tools libtool" diff --git a/srcpkgs/gnome-photos/template b/srcpkgs/gnome-photos/template index fee19723ed8..57280f65379 100644 --- a/srcpkgs/gnome-photos/template +++ b/srcpkgs/gnome-photos/template @@ -17,6 +17,7 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Apps/Photos" distfiles="${GNOME_SITE}/gnome-photos/${version%.*}/gnome-photos-${version}.tar.xz" checksum=e02d73e138af8b2868b5cad7faa1bdd278aeade3b6c3c92836511a4e6f3af1af +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/gnome-screensaver/template b/srcpkgs/gnome-screensaver/template index 1a23f6dcfb0..d0a3a8968ce 100644 --- a/srcpkgs/gnome-screensaver/template +++ b/srcpkgs/gnome-screensaver/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="https://wiki.gnome.org/Projects/GnomeScreensaver" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=f39b78d4f7fed748c7f0a31d694112fb907c6d3c4e63db22eb858df07e962cd0 +patch_args=-Np0 post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure diff --git a/srcpkgs/gnome-session/template b/srcpkgs/gnome-session/template index e5bc350e66f..ff7a0d03e67 100644 --- a/srcpkgs/gnome-session/template +++ b/srcpkgs/gnome-session/template @@ -16,6 +16,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://gitlab.gnome.org/GNOME/gnome-session" distfiles="${GNOME_SITE}/${pkgname}/${version%.*.*}/${pkgname}-${version}.tar.xz" checksum=9c787829ee32e13e1508b9aee2b1d9ba42a02c48e6c8094e34f3e7f92af4df82 +patch_args=-Np0 post_install() { rm -rf ${DESTDIR}/tmp diff --git a/srcpkgs/gnome-settings-daemon/template b/srcpkgs/gnome-settings-daemon/template index 081c88ebfd7..f6d6acf73f2 100644 --- a/srcpkgs/gnome-settings-daemon/template +++ b/srcpkgs/gnome-settings-daemon/template @@ -20,6 +20,7 @@ license="GPL-3.0-or-later" homepage="https://gitlab.gnome.org/GNOME/gnome-settings-daemon" distfiles="${GNOME_SITE}/${pkgname}/${version%.*.*}/${pkgname}-${version}.tar.xz" checksum=37dfac1b69a53e2e499228420259d6e134c1c06b74530af88fa855bda1187b21 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" polkit" diff --git a/srcpkgs/gnome-terminal/template b/srcpkgs/gnome-terminal/template index 4a397445dd1..89ddda4dfea 100644 --- a/srcpkgs/gnome-terminal/template +++ b/srcpkgs/gnome-terminal/template @@ -15,6 +15,7 @@ homepage="https://wiki.gnome.org/Apps/Terminal" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=4c79af8ffe8bd3a5daca1911ea2c0acd6872860a1dd5d7eea219f4ab4ae556ac lib32disabled=yes +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args+=" --disable-search-provider" diff --git a/srcpkgs/gnu-efi-libs/template b/srcpkgs/gnu-efi-libs/template index 0b8c679b522..e85a677cbae 100644 --- a/srcpkgs/gnu-efi-libs/template +++ b/srcpkgs/gnu-efi-libs/template @@ -12,6 +12,7 @@ homepage="https://sourceforge.net/projects/gnu-efi/" distfiles="${SOURCEFORGE_SITE}/gnu-efi/gnu-efi-${version}.tar.bz2" checksum=0196f2e1fd3c334b66e610a608a0e59233474c7a01bec7bc53989639aa327669 nostrip=yes +patch_args=-Np0 # If we are cross-building we need to pass the cross-compilation triplet # to the CROSS_COMPILE environment variable so the build system uses diff --git a/srcpkgs/gnucash/template b/srcpkgs/gnucash/template index fa8bd17d09a..084157bb473 100644 --- a/srcpkgs/gnucash/template +++ b/srcpkgs/gnucash/template @@ -18,6 +18,7 @@ homepage="http://www.gnucash.org" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" #distfiles="https://sources.voidlinux.org/gnucash-${version}/gnucash-${version}.tar.bz2" checksum=bc1f48a8453488a2e9f6b83b68613aa55caebe4d2983460bdac7e084b46cffdc +patch_args=-Np0 pycompile_dirs="usr/share/gnucash/python" conf_files="/etc/gnucash/environment" diff --git a/srcpkgs/gnupg2/template b/srcpkgs/gnupg2/template index 36fba35e68b..0d7118e83c3 100644 --- a/srcpkgs/gnupg2/template +++ b/srcpkgs/gnupg2/template @@ -22,6 +22,7 @@ distfiles="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2" checksum=6ff891fc7583a9c3fb9f097ee0d1de0a12469d4b53997e7ba5064950637dfaec build_options="ldap" build_options_default="ldap" +patch_args=-Np0 post_patch() { # On at least aarch64, configure sets this even though it doesn't exist diff --git a/srcpkgs/gnuradio-nrsc5/template b/srcpkgs/gnuradio-nrsc5/template index 6299e7c90b0..0f7ad2134ac 100644 --- a/srcpkgs/gnuradio-nrsc5/template +++ b/srcpkgs/gnuradio-nrsc5/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/argilo/gr-nrsc5/" distfiles="https://github.com/argilo/gr-nrsc5/archive/v${version}.tar.gz" checksum=d736c4cb1104254d07296d2a61880e07149c9bfd1a49aed504215672d4e09485 +patch_args=-Np0 export CMAKE_GENERATOR="Unix Makefiles" diff --git a/srcpkgs/gnustep-base/template b/srcpkgs/gnustep-base/template index 483dd8011be..aaf01eaaf64 100644 --- a/srcpkgs/gnustep-base/template +++ b/srcpkgs/gnustep-base/template @@ -13,6 +13,7 @@ homepage="http://www.gnustep.org/" distfiles="http://ftp.gnustep.org/pub/gnustep/core/gnustep-base-${version}.tar.gz" checksum=c7d7c6e64ac5f5d0a4d5c4369170fc24ed503209e91935eb0e2979d1601039ed make_check=extended +patch_args=-Np0 nocross="objc doesn't get cross build at present within gcc" case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/gnustep-make/template b/srcpkgs/gnustep-make/template index e77d199252d..4c6407db9f5 100644 --- a/srcpkgs/gnustep-make/template +++ b/srcpkgs/gnustep-make/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="http://www.gnustep.org" distfiles="http://ftp.gnustep.org/pub/gnustep/core/${pkgname}-${version}.tar.gz" checksum=a0b066c11257879c7c85311dea69c67f6dc741ef339db6514f85b64992c40d2a +patch_args=-Np0 post_install() { sed -i 's,/builddir/.xbps-gnustep-make/wrappers,/usr/bin,g' ${DESTDIR}/usr/share/GNUstep/Makefiles/config.make diff --git a/srcpkgs/gnutls/template b/srcpkgs/gnutls/template index 3f02c29d3b2..fc1a507c8b1 100644 --- a/srcpkgs/gnutls/template +++ b/srcpkgs/gnutls/template @@ -22,6 +22,7 @@ license="GPL-3.0-only, LGPL-2.1-or-later" homepage="https://gnutls.org" distfiles="https://www.gnupg.org/ftp/gcrypt/gnutls/v${version%.*}/gnutls-${version}.tar.xz" checksum=1b79b381ac283d8b054368b335c408fedcb9b7144e0c07f531e3537d4328f3b3 +patch_args=-Np0 pre_check() { # same as $PASS in tests/cert-tests/certtool diff --git a/srcpkgs/goaccess/template b/srcpkgs/goaccess/template index ce6231cc025..2dec69e429b 100644 --- a/srcpkgs/goaccess/template +++ b/srcpkgs/goaccess/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://goaccess.io" distfiles="http://tar.goaccess.io/goaccess-${version}.tar.gz" checksum=c4820e781f75d9446f6b1be5fc8d11c6ec94a47fa8dd523001698c589f46c1ba +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/godot/template b/srcpkgs/godot/template index aa63677d6d8..134880e902c 100644 --- a/srcpkgs/godot/template +++ b/srcpkgs/godot/template @@ -29,6 +29,7 @@ homepage="https://www.godotengine.org/" distfiles="https://github.com/godotengine/${pkgname}/archive/${version}-stable.tar.gz" checksum=595ff16eaef3d0b6c030575f4b7fcae8b805e407b90a2f71af3e4142362c1794 nocross=https://build.voidlinux.org/builders/armv7l_builder/builds/6342/steps/shell_3/logs/stdio +patch_args=-Np0 CFLAGS+=" -fPIE -fPIC" LDFLAGS+=" -pie" diff --git a/srcpkgs/gogglesmm/template b/srcpkgs/gogglesmm/template index 29579786726..0b4c48ad6b2 100644 --- a/srcpkgs/gogglesmm/template +++ b/srcpkgs/gogglesmm/template @@ -17,6 +17,7 @@ distfiles="https://github.com/gogglesmm/gogglesmm/archive/${version}.tar.gz" checksum=f068667e0a825ac792eda344cbe94c29fe8668ddbdd269c094e5bf168acd2380 python_version=2 #unverified nocross="Tries to execute compiled code" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) broken="PTHREAD_RWLOCK_PREFER_WRITER_NP usage" ;; diff --git a/srcpkgs/goldendict/template b/srcpkgs/goldendict/template index 7553e408d1a..c987fefdac4 100644 --- a/srcpkgs/goldendict/template +++ b/srcpkgs/goldendict/template @@ -16,6 +16,7 @@ license="GPL-3.0-or-later" homepage="http://goldendict.org/" distfiles="https://github.com/goldendict/goldendict/archive/${version/RC/-RC}.tar.gz" checksum=bccee0a3d3902f8fa31e439e220a405065fff774e5f8c581be2b0743d3f83fde +patch_args=-Np0 CXXFLAGS="-Wno-deprecated" diff --git a/srcpkgs/gosu/template b/srcpkgs/gosu/template index 1dffcc0a766..9bc74859e37 100644 --- a/srcpkgs/gosu/template +++ b/srcpkgs/gosu/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://www.libgosu.org" distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" checksum=4dbc4998e2c630ee7758544de4286c70c68e639524b6088ccdc7b5487c928695 +patch_args=-Np0 CXXFLAGS+=" -D_GLIBCXX_USE_C99_STDIO=1" diff --git a/srcpkgs/goxel/template b/srcpkgs/goxel/template index e731c606727..ee3c31ace46 100644 --- a/srcpkgs/goxel/template +++ b/srcpkgs/goxel/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="https://guillaumechereau.github.io/goxel/" distfiles="https://github.com/guillaumechereau/goxel/archive/v${version}.tar.gz" checksum=dfb91e62bdd5332e3938923db924bae43f12eaa181040d16e4cc7082316adf1c +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/gpart/template b/srcpkgs/gpart/template index d222fbf9a78..3c733243002 100644 --- a/srcpkgs/gpart/template +++ b/srcpkgs/gpart/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/baruch/gpart" distfiles="https://github.com/baruch/gpart/archive/${version}.tar.gz" checksum=ec56d12ec9ffdb9877c12692ea6e51620b1ae44473d3d253b27fc31ed9ebb4dd +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/gperftools/template b/srcpkgs/gperftools/template index de7e9423d34..859e6a4e874 100644 --- a/srcpkgs/gperftools/template +++ b/srcpkgs/gperftools/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://github.com/gperftools/gperftools" distfiles="${homepage}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz" checksum=240deacdd628b6459671b83eb0c4db8e97baadf659f25b92e9a078d536bd513e +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then # needed by some newly enabled code diff --git a/srcpkgs/gpgme/template b/srcpkgs/gpgme/template index 072da12708d..62f7384c0bf 100644 --- a/srcpkgs/gpgme/template +++ b/srcpkgs/gpgme/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://www.gnupg.org/software/gpgme/index.html" distfiles="https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-${version}.tar.bz2" checksum=eebc3c1b27f1c8979896ff361ba9bb4778b508b2496c2fc10e3775a40b1de1ad +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args+=" ac_cv_sys_file_offset_bits=no" diff --git a/srcpkgs/gpick/template b/srcpkgs/gpick/template index b3010833414..aad5569a332 100644 --- a/srcpkgs/gpick/template +++ b/srcpkgs/gpick/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://github.com/thezbyg/gpick" distfiles="https://github.com/thezbyg/gpick/archive/${pkgname}-${version}.tar.gz" checksum=7d02be171cc88c44ad3e3572c0922bbabedc9d542b989f324fca9d5db3161e9c +patch_args=-Np0 post_install() { rm -rf ${DESTDIR}/usr/share/doc diff --git a/srcpkgs/gpm/template b/srcpkgs/gpm/template index 360f58668c5..534422693fe 100644 --- a/srcpkgs/gpm/template +++ b/srcpkgs/gpm/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://www.nico.schottelius.org/software/gpm/" distfiles="http://www.nico.schottelius.org/software/gpm/archives/gpm-${version}.tar.lzma" checksum=a955053b36556ffa7c628ce18fd6de7d625966573fa412fb08869533d8f7385c +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/gpsbabel/template b/srcpkgs/gpsbabel/template index 24c0a420e09..12305e0fe6e 100644 --- a/srcpkgs/gpsbabel/template +++ b/srcpkgs/gpsbabel/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://www.gpsbabel.org/" distfiles="https://github.com/gpsbabel/${pkgname}/archive/${pkgname}_${version//./_}.tar.gz" checksum=30b186631fb43db576b8177385ed5c31a5a15c02a6bc07bae1e0d7af9058a797 +patch_args=-Np0 replaces="gpsbabel-gui>=0" diff --git a/srcpkgs/gpsd/template b/srcpkgs/gpsd/template index 4198bf21493..6d76d341736 100644 --- a/srcpkgs/gpsd/template +++ b/srcpkgs/gpsd/template @@ -18,6 +18,7 @@ distfiles="http://download-mirror.savannah.gnu.org/releases/gpsd/gpsd-${version} checksum=3998a5cbb728e97f896f46c3c83301b1e6c5d859393e58c2fad8c5426774d571 python_version=3 # Must be same version as scons system_accounts="gpsd" +patch_args=-Np0 subpackages="gpsd-devel gpsd-qt gpsd-qt-devel" if [ -z "$CROSS_BUILD" ]; then diff --git a/srcpkgs/grpc/template b/srcpkgs/grpc/template index 60677cf4f68..d0763bb7db4 100644 --- a/srcpkgs/grpc/template +++ b/srcpkgs/grpc/template @@ -20,6 +20,7 @@ distfiles="${homepage}/archive/v${version}/${pkgname}-${version}.tar.gz https://github.com/abseil/abseil-cpp/archive/${_abseilver}/abseil-cpp-${_abseilver}.tar.gz" checksum="abd9e52c69000f2c051761cfa1f12d52d8b7647b6c66828a91d462e796f2aede 35f22ef5cb286f09954b7cc4c85b5a3f6221c9d4df6b8c4a1e9d399555b366ee" +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then # need host grpc_cpp_plugin diff --git a/srcpkgs/grub-customizer/template b/srcpkgs/grub-customizer/template index 67f3cfb3e7e..f0ead5f9e0e 100644 --- a/srcpkgs/grub-customizer/template +++ b/srcpkgs/grub-customizer/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://launchpad.net/grub-customizer/" distfiles="https://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}_${version}.tar.gz" checksum=532f793eea4c6ee6cde4bc987966fa1924946c1da5e3c7b4d4a97f2689661ee0 +patch_args=-Np0 pre_configure() { # Modify desktop file for Void Linux diff --git a/srcpkgs/gscan2pdf/template b/srcpkgs/gscan2pdf/template index 9c137da14b8..28cb1dd9013 100644 --- a/srcpkgs/gscan2pdf/template +++ b/srcpkgs/gscan2pdf/template @@ -18,6 +18,7 @@ homepage="http://gscan2pdf.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=e5c10a9e695674308d29fe8661c5bb7230e25dfbc098716c26a3188ef1e54074 nocross=yes +patch_args=-Np0 do_check() { # Tests require a Display server diff --git a/srcpkgs/gscope3/template b/srcpkgs/gscope3/template index ff6db18c2d4..2a2d58f2f6f 100644 --- a/srcpkgs/gscope3/template +++ b/srcpkgs/gscope3/template @@ -14,6 +14,7 @@ license="MIT" homepage="https://github.com/tefletch/gscope" distfiles="https://github.com/tefletch/gscope/archive/${_release}.tar.gz" checksum=06d0fd4351b4f8dc1850c81b07c112b0974bfb140f9fe56f8af6f865be3e0a2a +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/gsl/template b/srcpkgs/gsl/template index 1d6677032a3..c11a13e203b 100644 --- a/srcpkgs/gsl/template +++ b/srcpkgs/gsl/template @@ -9,6 +9,7 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/gsl/gsl.html" distfiles="${GNU_SITE}/gsl/${pkgname}-${version}.tar.gz" checksum=b782339fc7a38fe17689cb39966c4d821236c28018b6593ddb6fd59ee40786a8 +patch_args=-Np0 gsl-devel_package() { depends="gsl>=${version}_${revision}" diff --git a/srcpkgs/gsoap/template b/srcpkgs/gsoap/template index c0cf0340566..132f058dfe9 100644 --- a/srcpkgs/gsoap/template +++ b/srcpkgs/gsoap/template @@ -14,6 +14,7 @@ homepage="http://www.cs.fsu.edu/~engelen/soap.html" distfiles="${SOURCEFORGE_SITE}/gsoap2/gsoap_${version}.zip" checksum=2ca21b5ab2b40d899566c559f71a1d51ed7eac3f00160ab78060027a3ee6488f disable_parallel_build=yes +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/gst-plugins-bad1/template b/srcpkgs/gst-plugins-bad1/template index 7b97a3e3184..0cf2cdc941f 100644 --- a/srcpkgs/gst-plugins-bad1/template +++ b/srcpkgs/gst-plugins-bad1/template @@ -37,6 +37,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://gstreamer.freedesktop.org" distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz" checksum=74e806bc5595b18c70e9ca93571e27e79dfb808e5d2e7967afa952b52e99c85f +patch_args=-Np0 build_options="gir gme" build_options_default="gir" diff --git a/srcpkgs/gst-plugins-base1/template b/srcpkgs/gst-plugins-base1/template index 050521f071c..ca6cdbf62db 100644 --- a/srcpkgs/gst-plugins-base1/template +++ b/srcpkgs/gst-plugins-base1/template @@ -23,6 +23,7 @@ license="GPL-2.0-or-later, LGPL-2.0-or-later" homepage="https://gstreamer.freedesktop.org" distfiles="${homepage}/src/${pkgname/1/}/${pkgname/1/}-${version}.tar.xz" checksum=29e53229a84d01d722f6f6db13087231cdf6113dd85c25746b9b58c3d68e8323 +patch_args=-Np0 build_options="cdparanoia gir sndio" build_options_default="cdparanoia gir" diff --git a/srcpkgs/gst123/template b/srcpkgs/gst123/template index f3a2d41316b..fa17cc86b1f 100644 --- a/srcpkgs/gst123/template +++ b/srcpkgs/gst123/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="http://space.twc.de/~stefan/gst123.php/" distfiles="http://space.twc.de/~stefan/gst123/gst123-$version.tar.bz2" checksum=c7b4729773f66cc679e94df76bcc6a95a2222192730f906e527e72624f084a7d +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/gstreamermm/template b/srcpkgs/gstreamermm/template index 863e982f34e..54bec6d8dc2 100644 --- a/srcpkgs/gstreamermm/template +++ b/srcpkgs/gstreamermm/template @@ -12,6 +12,7 @@ homepage="https://gstreamer.freedesktop.org/bindings/cplusplus.html" license="GPL-2, GPL-2.1" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=be58fe9ef7d7e392568ec85e80a84f4730adbf91fb0355ff7d7c616675ea8d60 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/gthumb/template b/srcpkgs/gthumb/template index ed6afee1b83..e383495da80 100644 --- a/srcpkgs/gthumb/template +++ b/srcpkgs/gthumb/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="http://live.gnome.org/gthumb" distfiles="${GNOME_SITE}/gthumb/${version%.*}/gthumb-${version}.tar.xz" checksum=fdeae42818378f9b3cab00604eeeb5b7c0a7a5ecfe69de08b993867746435c93 +patch_args=-Np0 LDFLAGS="-fPIC" diff --git a/srcpkgs/gtk-sharp/template b/srcpkgs/gtk-sharp/template index f3125a45788..d20183b8daa 100644 --- a/srcpkgs/gtk-sharp/template +++ b/srcpkgs/gtk-sharp/template @@ -13,6 +13,7 @@ license="LGPL-2.1-or-later" short_desc="Graphical User Interface Toolkit for mono and .Net (Gtk#)" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=6440f571416267ae0cb5698071d087b31e3084693fa2c829b1db37ca7ea2c3a2 +patch_args=-Np0 if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then _have_mdoc="no" diff --git a/srcpkgs/gtk-sharp2/template b/srcpkgs/gtk-sharp2/template index 3137a6310b2..07e49e956fe 100644 --- a/srcpkgs/gtk-sharp2/template +++ b/srcpkgs/gtk-sharp2/template @@ -13,6 +13,7 @@ license="LGPL-2.1-only" homepage="https://www.mono-project.com/docs/gui/gtksharp/" distfiles="https://download.mono-project.com/sources/gtk-sharp212/gtk-sharp-${version}.tar.gz" checksum=02680578e4535441064aac21d33315daa009d742cab8098ac8b2749d86fffb6a +patch_args=-Np0 if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then _have_mdoc="no" diff --git a/srcpkgs/gtk-theme-config/template b/srcpkgs/gtk-theme-config/template index 6dd97132c14..66ce7d1851f 100644 --- a/srcpkgs/gtk-theme-config/template +++ b/srcpkgs/gtk-theme-config/template @@ -13,6 +13,7 @@ license="GPL-3.0-only" homepage="https://github.com/satya164/gtk-theme-config" distfiles="$homepage/archive/v$version.tar.gz" checksum=174aac3ea43966168d120dbd9e0f23d7900d095ee1b0cf32472d59b0fdea8448 +patch_args=-Np0 pre_build() { local _p _cflags _ldflags diff --git a/srcpkgs/gtkglext/template b/srcpkgs/gtkglext/template index 737a9741598..640d422140c 100644 --- a/srcpkgs/gtkglext/template +++ b/srcpkgs/gtkglext/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://projects.gnome.org/gtkglext" distfiles="${SOURCEFORGE_SITE}/gtkglext/gtkglext/${version}/gtkglext-${version}.tar.gz" checksum=e5073f3c6b816e7fa67d359d9745a5bb5de94a628ac85f624c992925a46844f9 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/gtkpod/template b/srcpkgs/gtkpod/template index bfcb41e6219..5cb367989c0 100644 --- a/srcpkgs/gtkpod/template +++ b/srcpkgs/gtkpod/template @@ -16,6 +16,7 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=a57dc8ae9138e0cb4cee98691e7a95001130c9ea7823e6a75cc72503facd3a76 # Line 55: print in python 2 style python_version=2 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/gtkspell/template b/srcpkgs/gtkspell/template index bf480eaae32..3b95f95dfed 100644 --- a/srcpkgs/gtkspell/template +++ b/srcpkgs/gtkspell/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="http://gtkspell.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02 +patch_args=-Np0 post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' \ diff --git a/srcpkgs/gtypist/template b/srcpkgs/gtypist/template index d4bf9dc4184..f9e1bd30635 100644 --- a/srcpkgs/gtypist/template +++ b/srcpkgs/gtypist/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="https://www.gnu.org/software/gtypist/" distfiles="$GNU_SITE/gtypist/gtypist-${version}.tar.xz" checksum="c13af40b12479f8219ffa6c66020618c0ce305ad305590fde02d2c20eb9cf977" +patch_args=-Np0 pre_configure() { autoreconf diff --git a/srcpkgs/guake/template b/srcpkgs/guake/template index 9fbc1895da9..c31b734bc58 100644 --- a/srcpkgs/guake/template +++ b/srcpkgs/guake/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://guake-project.org/" distfiles="${PYPI_SITE}/g/guake/guake-${version}.tar.gz" checksum=31fd7d6f62aa0a5e0121e240682e6a9e5ce61cdb266f9438987837f52d552e47 +patch_args=-Np0 pre_build() { GUAKE_SCHEMA_DIR="/usr/share/glib-2.0/schemas" diff --git a/srcpkgs/guile/template b/srcpkgs/guile/template index f9ce43c0670..60eaa34eb6e 100644 --- a/srcpkgs/guile/template +++ b/srcpkgs/guile/template @@ -14,6 +14,7 @@ homepage="http://www.gnu.org/software/guile" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=44b4c5fbbe257ccdebea18420212c9b3e90c3c86a54920d8554039fc6769a007 subpackages="libguile guile-devel" +patch_args=-Np0 if [ "$XBPS_ENDIAN" != "$XBPS_TARGET_ENDIAN" ]; then broken="opposite-endian host generates broken files" diff --git a/srcpkgs/guile1.8/template b/srcpkgs/guile1.8/template index 2f575000cbf..47192116554 100644 --- a/srcpkgs/guile1.8/template +++ b/srcpkgs/guile1.8/template @@ -14,6 +14,7 @@ license="LGPL-2.1-or-later" homepage="https://www.gnu.org/software/guile/guile.html" distfiles="${GNU_SITE}/${pkgname/1.8/}/${pkgname/1.8/}-${version}.tar.gz" checksum=c3471fed2e72e5b04ad133bbaaf16369e8360283679bcf19800bc1b381024050 +patch_args=-Np0 post_install() { # conflicts with guile-2.0 diff --git a/srcpkgs/guitarix2/template b/srcpkgs/guitarix2/template index 2d066a454c3..8435021d0db 100644 --- a/srcpkgs/guitarix2/template +++ b/srcpkgs/guitarix2/template @@ -19,6 +19,7 @@ license="GPL-3.0-or-later" homepage="http://guitarix.org" distfiles="${SOURCEFORGE_SITE}/guitarix/guitarix/guitarix2-${version}.tar.xz" checksum=797e46e07148fba89e46fac4efe73a5b3a98f070bca85db3d143de781b142c80 +patch_args=-Np0 build_options="avahi bluez" desc_option_avahi="Build with avahi support" diff --git a/srcpkgs/gummiboot/template b/srcpkgs/gummiboot/template index 68e6f5be926..966eae785ea 100644 --- a/srcpkgs/gummiboot/template +++ b/srcpkgs/gummiboot/template @@ -15,6 +15,7 @@ license="LGPL-2.0-or-later" homepage="https://pkgs.alpinelinux.org/package/edge/main/x86/gummiboot" distfiles="https://dev.alpinelinux.org/archive/gummiboot/gummiboot-${version}.tar.gz" checksum=2b649a6eb22007cd34bb355ba4ca6c1a8058e115c13048985f09a0f11f3d5295 +patch_args=-Np0 CFLAGS="-std=gnu89" diff --git a/srcpkgs/gupnp-igd/template b/srcpkgs/gupnp-igd/template index 314a36472b8..416943f715b 100644 --- a/srcpkgs/gupnp-igd/template +++ b/srcpkgs/gupnp-igd/template @@ -13,6 +13,7 @@ license="LGPL-2.1-or-later" homepage="http://gupnp.org" distfiles="${GNOME_SITE}/${pkgname}/0.2/${pkgname}-${version}.tar.xz" checksum=8b4a1aa38bacbcac2c1755153147ead7ee9af7d4d1f544b6577cfc35e10e3b20 +patch_args=-Np0 # Package build options build_options="gir" diff --git a/srcpkgs/guvcview/template b/srcpkgs/guvcview/template index 447b27aecf5..be0eba3ceed 100644 --- a/srcpkgs/guvcview/template +++ b/srcpkgs/guvcview/template @@ -15,6 +15,7 @@ license="GPL-3.0-or-later" homepage="http://guvcview.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-src-${version}.tar.gz" checksum=95381cef5ee139e15f90b79d1425cc22bbaae43f87452cdce6674636aff37e85 +patch_args=-Np0 post_extract() { sed '31a#include ' -i guvcview/guvcview.c diff --git a/srcpkgs/gwenhywfar/template b/srcpkgs/gwenhywfar/template index c6e01f4bea8..fb27f03a88f 100644 --- a/srcpkgs/gwenhywfar/template +++ b/srcpkgs/gwenhywfar/template @@ -13,6 +13,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/aqbanking/gwenhywfar" distfiles="https://github.com/aqbanking/gwenhywfar/archive/${version}.tar.gz" checksum=9f2876770824a283d02fd730bb1f7a98970fa6f20121f4af433d6698831c3a84 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-devel" diff --git a/srcpkgs/gxemul/template b/srcpkgs/gxemul/template index dabacd79492..ea1ffa47d80 100644 --- a/srcpkgs/gxemul/template +++ b/srcpkgs/gxemul/template @@ -11,6 +11,7 @@ changelog="http://gavare.se/gxemul/gxemul-stable/HISTORY.html" distfiles="http://gavare.se/gxemul/src/gxemul-${version}.tar.gz" checksum=a703ac7965feb3c701c7677d78c353f0efa1af4d36a9508fb045eb63dd571547 nocross="./_testpri: cannot execute binary file: Exec format error" +patch_args=-Np0 do_configure() { PREFIX=/usr MANDIR=${DESTDIR}/usr/share/man ./configure diff --git a/srcpkgs/gzdoom/template b/srcpkgs/gzdoom/template index ce1204db0d0..1ecb236fea6 100644 --- a/srcpkgs/gzdoom/template +++ b/srcpkgs/gzdoom/template @@ -22,6 +22,7 @@ checksum="21eb1a221dae532a6c29f243584be3d5454f8eb4da85a67e405115f89666611d e0b85ca089a3714968f56acc9525f352dbec14f15e88e0aef1cdece64c4f3cbf" skip_extraction="${pkgname}_${version}_amd64.deb" nocross=yes +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = musl ]; then makedepends+=" musl-fts-devel libexecinfo-devel" diff --git a/srcpkgs/h2o/template b/srcpkgs/h2o/template index 3b300024f05..054560ce7e7 100644 --- a/srcpkgs/h2o/template +++ b/srcpkgs/h2o/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://h2o.examp1e.net/" distfiles="https://github.com/h2o/h2o/archive/v${version}.tar.gz" checksum=f8cbc1b530d85ff098f6efc2c3fdbc5e29baffb30614caac59d5c710f7bda201 +patch_args=-Np0 system_accounts="h2o" diff --git a/srcpkgs/halibut/template b/srcpkgs/halibut/template index e428d771ea8..9ffa4c05c38 100644 --- a/srcpkgs/halibut/template +++ b/srcpkgs/halibut/template @@ -13,6 +13,7 @@ license="MIT" homepage="http://www.chiark.greenend.org.uk/~sgtatham/halibut/" distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz" checksum=1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f +patch_args=-Np0 CFLAGS='-I../charset -I../build -fcommon' diff --git a/srcpkgs/hamlib/template b/srcpkgs/hamlib/template index 086b6c614c1..bd96ed226bb 100644 --- a/srcpkgs/hamlib/template +++ b/srcpkgs/hamlib/template @@ -15,6 +15,7 @@ license="LGPL-2.1-or-later, GPL-2.0-or-later" homepage="https://sourceforge.net/projects/hamlib/" distfiles="${SOURCEFORGE_SITE}/hamlib/${version}/${pkgname}-${version}.tar.gz" checksum=e200b22f307e9a0c826187c2b08fe81c7d0283cf07056e6db3463d1481580fd5 +patch_args=-Np0 pre_configure() { CFLAGS+=" -DNO_POSIX_2008_LOCALE -D_GNU_SOURCE" diff --git a/srcpkgs/handbrake/template b/srcpkgs/handbrake/template index 6992bc520ed..e1bf58b6288 100644 --- a/srcpkgs/handbrake/template +++ b/srcpkgs/handbrake/template @@ -24,6 +24,7 @@ homepage="https://handbrake.fr/" distfiles="https://github.com/HandBrake/HandBrake/releases/download/${version}/HandBrake-${version}-source.tar.bz2" checksum=218a37d95f48b5e7cf285363d3ab16c314d97627a7a710cab3758902ae877f85 nocross=yes +patch_args=-Np0 build_options="fdk_aac nvenc" diff --git a/srcpkgs/hardinfo/template b/srcpkgs/hardinfo/template index 6c2745d675c..a8c28a32a11 100644 --- a/srcpkgs/hardinfo/template +++ b/srcpkgs/hardinfo/template @@ -13,6 +13,7 @@ homepage="http://sourceforge.net/projects/hardinfo.berlios/" distfiles="${SOURCEFORGE_SITE}/${pkgname}.berlios/${pkgname}-${version}.tar.bz2" checksum=a0df6c0d7c92a7d20710b8eb551197398a965aaae053782b89a32a160b731b7a lib32disabled=yes +patch_args=-Np0 post_patch() { local _arch diff --git a/srcpkgs/heaptrack/template b/srcpkgs/heaptrack/template index f4f4c35044f..347ce6b4be4 100644 --- a/srcpkgs/heaptrack/template +++ b/srcpkgs/heaptrack/template @@ -16,6 +16,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/KDE/heaptrack" distfiles="https://github.com/KDE/heaptrack/archive/v${version}.tar.gz" checksum=f299a4846b80e607a412f439e17cddae13f0529701ffdb05eaa7ba878865717e +patch_args=-Np0 heaptrack-gui_package() { short_desc+=" - GUI" diff --git a/srcpkgs/hedgewars/template b/srcpkgs/hedgewars/template index 7060dbc37d9..0dc528ff7ce 100644 --- a/srcpkgs/hedgewars/template +++ b/srcpkgs/hedgewars/template @@ -21,6 +21,7 @@ nopie_files="/usr/bin/hwengine" nocross="Needs investigation: fails to link hwengine" replaces="hedgewars-data>=0" export CMAKE_GENERATOR="Unix Makefiles" +patch_args=-Np0 case $XBPS_TARGET_MACHINE in x86_64*|ppc64le|ppc64) diff --git a/srcpkgs/hexchat/template b/srcpkgs/hexchat/template index 90b8de48193..580dbd4a5eb 100644 --- a/srcpkgs/hexchat/template +++ b/srcpkgs/hexchat/template @@ -20,6 +20,7 @@ distfiles="https://dl.hexchat.net/hexchat/${pkgname}-${version}.tar.xz" checksum=901a9d13db5a4da69b827f6093306bbd16863dc49016f7668bd3e4506512e882 build_options="LuaJIT" lib32disabled=yes +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in arm*-musl) : "LuaJIT is broken for musl cross arches" ;; diff --git a/srcpkgs/hexer/template b/srcpkgs/hexer/template index 2c2b7486a8d..89b88a46a13 100644 --- a/srcpkgs/hexer/template +++ b/srcpkgs/hexer/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://devel.ringlet.net/editors/hexer/" distfiles="https://devel.ringlet.net/files/editors/hexer/hexer-${version}.tar.xz" checksum=e6b84ace5283825943f88ce7ec4ae836ec15ba41978b3a858d6d478cfe09ff94 +patch_args=-Np0 post_install() { vlicense COPYRIGHT diff --git a/srcpkgs/heyu/template b/srcpkgs/heyu/template index 93b3ad7cc58..0bd88177c04 100644 --- a/srcpkgs/heyu/template +++ b/srcpkgs/heyu/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="http://www.heyu.org" distfiles="https://github.com/HeyuX10Automation/heyu/archive/v${version}.tar.gz" checksum=621a20f45eef62070b3f95ad17ecbc3e7e1f7352d25dac86093ff6938b606baa +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/hfsprogs/template b/srcpkgs/hfsprogs/template index f1e0c690511..12b6d3a3126 100644 --- a/srcpkgs/hfsprogs/template +++ b/srcpkgs/hfsprogs/template @@ -14,6 +14,7 @@ license="APSL-2.0" homepage="https://www.opensource.apple.com/" distfiles="https://src.fedoraproject.org/repo/pkgs/hfsplus-tools/diskdev_cmds-${version}.tar.gz/${_md5sum}/diskdev_cmds-${version}.tar.gz" checksum=b01b203a97f9a3bf36a027c13ddfc59292730552e62722d690d33bd5c24f5497 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/higan/template b/srcpkgs/higan/template index 500c11f64aa..c744321efe4 100644 --- a/srcpkgs/higan/template +++ b/srcpkgs/higan/template @@ -17,6 +17,7 @@ license="GPL-3.0-or-later, ISC" homepage="https://byuu.org/emulation/higan/" distfiles="https://byuu.org/download/higan/higan_v${version}-source.zip" checksum=1b70d85454aaae557fd5ba5aaed9add8cb8c939f2b7a07a6d3734f971bb07ab7 +patch_args=-Np0 build_options="icarus" build_options_default="icarus" diff --git a/srcpkgs/hiredis/template b/srcpkgs/hiredis/template index 05e5d6cf565..c4cca466c02 100644 --- a/srcpkgs/hiredis/template +++ b/srcpkgs/hiredis/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="https://github.com/redis/hiredis" distfiles="https://github.com/redis/hiredis/archive/v${version}.tar.gz" checksum=2a0b5fe5119ec973a0c1966bfc4bd7ed39dbce1cb6d749064af9121fe971936f +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/hitch/template b/srcpkgs/hitch/template index 805170a687f..bf3889702ce 100644 --- a/srcpkgs/hitch/template +++ b/srcpkgs/hitch/template @@ -14,6 +14,7 @@ homepage="https://hitch-tls.org/" distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz" checksum=c97ef8f1e115156640c40dfdfe9662d5f6d57a796fccad3bbad198ec797ce5c4 system_accounts="_hitch" +patch_args=-Np0 post_patch() { vsed -i -e "s/grep -Pq/grep -q/" -e 's/\\t/\t/' \ diff --git a/srcpkgs/hlint/template b/srcpkgs/hlint/template index 16fbb03ce2b..7a68e466759 100644 --- a/srcpkgs/hlint/template +++ b/srcpkgs/hlint/template @@ -13,6 +13,7 @@ distfiles="https://github.com/ndmitchell/${pkgname}/archive/v${version}.tar.gz" checksum=207539d3627efd3caed9e6fd3b1aeb8f1eb64553f1f9f166090adbf2fb71e172 nocross=yes # Can't yet cross compile Haskell nopie_files="/usr/bin/hlint" +patch_args=-Np0 post_install() { rm -f ${DESTDIR}/usr/bin/engine diff --git a/srcpkgs/hosts-update/template b/srcpkgs/hosts-update/template index 5d872b4f4e8..eaf1d2f63a3 100644 --- a/srcpkgs/hosts-update/template +++ b/srcpkgs/hosts-update/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://github.com/graysky2/hosts-update" distfiles="${homepage}/archive/v${version}.tar.gz" checksum="9a0fdb028beaf9fa4c2ec5f1a0030fcfe1a996ea42b874b944ec07885ca0f2ba" +patch_args=-Np0 post_install() { vlicense MIT diff --git a/srcpkgs/hplip/template b/srcpkgs/hplip/template index 397508c55a3..3dc5da2ca41 100644 --- a/srcpkgs/hplip/template +++ b/srcpkgs/hplip/template @@ -33,6 +33,7 @@ homepage="https://developers.hp.com/hp-linux-imaging-and-printing" distfiles="${SOURCEFORGE_SITE}/hplip/hplip/${version}/hplip-${version}.tar.gz" checksum=36251189aa9cc349f6a3eacbb7ac3c4fd26fc9f087c9f75cee051010c85d2ddf conflicts="hplip-gui" +patch_args=-Np0 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libusb-1.0 -I${XBPS_CROSS_BASE}/${py3_inc}" diff --git a/srcpkgs/hstr/template b/srcpkgs/hstr/template index ee259a9eac0..443d455e861 100644 --- a/srcpkgs/hstr/template +++ b/srcpkgs/hstr/template @@ -12,6 +12,7 @@ homepage="https://github.com/dvorka/hstr" changelog="https://raw.githubusercontent.com/dvorka/hstr/master/Changelog" distfiles="https://github.com/dvorka/hstr/archive/${version}.tar.gz" checksum=c7e7408671757b3f4be9c5a59b4e2d56e7a7b601ace2a94eb6b2b61f20ee890b +patch_args=-Np0 pre_configure() { vsed -i 's|ncursesw/curses.h|curses.h|g' src/include/hstr.h diff --git a/srcpkgs/ht/template b/srcpkgs/ht/template index 2506a2c9720..7535d6cca89 100644 --- a/srcpkgs/ht/template +++ b/srcpkgs/ht/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="http://hte.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/hte/ht-source/${pkgname}-${version}.tar.bz2" checksum=31f5e8e2ca7f85d40bb18ef518bf1a105a6f602918a0755bc649f3f407b75d70 +patch_args=-Np0 CXXFLAGS="-Wno-narrowing" diff --git a/srcpkgs/http-parser/template b/srcpkgs/http-parser/template index a372064d4a7..67cf7f77d6c 100644 --- a/srcpkgs/http-parser/template +++ b/srcpkgs/http-parser/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://github.com/nodejs/http-parser" distfiles="${homepage}/archive/${_githash}.tar.gz" checksum=765a21444322ea2476ca1e3cfeb74d280eeb37f4713cf52d2bf398dabf6e4128 +patch_args=-Np0 pre_install() { vmkdir usr/lib/pkgconfig diff --git a/srcpkgs/httpdirfs/template b/srcpkgs/httpdirfs/template index 0028d235c5d..6b99f599778 100644 --- a/srcpkgs/httpdirfs/template +++ b/srcpkgs/httpdirfs/template @@ -12,6 +12,7 @@ license="GPL-3.0-only" homepage="https://github.com/fangfufu/httpdirfs" distfiles="https://github.com/fangfufu/httpdirfs/archive/${version}.tar.gz" checksum=05be4d83434eaea002f550b77aed6c05ff135927662d53a6e2b224e766a50a9a +patch_args=-Np0 CFLAGS="-D_FILE_OFFSET_BITS=64" diff --git a/srcpkgs/hugin/template b/srcpkgs/hugin/template index 451e75fe682..e3b975ff529 100644 --- a/srcpkgs/hugin/template +++ b/srcpkgs/hugin/template @@ -19,6 +19,7 @@ homepage="http://hugin.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${pkgname}-${version%.*}/${pkgname}-${version}.tar.bz2" checksum=283e7601259a7914cb075333424410928a439dc5f84216f33e2fe55501fbcacb python_version=3 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" python3" diff --git a/srcpkgs/hunspell/template b/srcpkgs/hunspell/template index 929f4b1893e..04144a0ade2 100644 --- a/srcpkgs/hunspell/template +++ b/srcpkgs/hunspell/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1" homepage="https://hunspell.github.io/" distfiles="https://github.com/hunspell/hunspell/archive/v${version}.tar.gz" checksum=bb27b86eb910a8285407cf3ca33b62643a02798cf2eef468c0a74f6c3ee6bc8a +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/i3status/template b/srcpkgs/i3status/template index 5ef9f206834..5edaa41782d 100644 --- a/srcpkgs/i3status/template +++ b/srcpkgs/i3status/template @@ -16,6 +16,7 @@ homepage="https://www.i3wm.org/i3status/" distfiles="${homepage}/${pkgname}-${version}.tar.bz2" checksum=ce89c9ff8565f62e88299f1a611229afdfc356b4e97368a5f8c4f06ad2fa1466 conf_files="/etc/i3status.conf" +patch_args=-Np0 build_options="pulseaudio" build_options_default="pulseaudio" diff --git a/srcpkgs/ibus-anthy/template b/srcpkgs/ibus-anthy/template index 9b96fa82063..8e3bb449acd 100644 --- a/srcpkgs/ibus-anthy/template +++ b/srcpkgs/ibus-anthy/template @@ -15,6 +15,7 @@ homepage="https://github.com/ibus/ibus/wiki" distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz" checksum=57d42a302be72409708274aa680c6d7515077766853a2b9193b9974c9c6eeaf6 make_check=extended +patch_args=-Np0 post_patch() { 2to3 -w gir/test.py diff --git a/srcpkgs/ibus-avro/template b/srcpkgs/ibus-avro/template index 22b51f29ee9..5067e69d761 100644 --- a/srcpkgs/ibus-avro/template +++ b/srcpkgs/ibus-avro/template @@ -13,6 +13,7 @@ license="MPL-1.1" homepage="https://linux.omicronlab.com" distfiles="https://github.com/sarim/${pkgname}/archive/${version}.tar.gz" checksum=9d00f12f2d01916e56533fd0267173b644a57161770b60a0f4d9daa61fe8bd1a +patch_args=-Np0 pre_configure() { autoreconf -vfi diff --git a/srcpkgs/id3lib/template b/srcpkgs/id3lib/template index 44cb7f55f1d..7452bae122e 100644 --- a/srcpkgs/id3lib/template +++ b/srcpkgs/id3lib/template @@ -11,6 +11,7 @@ license="LGPL-2.0-or-later" homepage="http://id3lib.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079 +patch_args=-Np0 pre_configure() { libtoolize -fc diff --git a/srcpkgs/ifupdown/template b/srcpkgs/ifupdown/template index 584d52eea19..fd60247ccc7 100644 --- a/srcpkgs/ifupdown/template +++ b/srcpkgs/ifupdown/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://tracker.debian.org/pkg/ifupdown" distfiles="http://http.debian.net/debian/pool/main/i/ifupdown/ifupdown_${version}.tar.xz" checksum=d754426562a63b7d0cf06e8b00abe353fe9fd7ac5aabe3745f6d4e294ca233a8 +patch_args=-Np0 make_dirs="/etc/network/interfaces.d 0755 root root /etc/network/if-pre-up.d 0755 root root diff --git a/srcpkgs/igt-gpu-tools/template b/srcpkgs/igt-gpu-tools/template index 3b222ecd18d..0bcf2cfe2c7 100644 --- a/srcpkgs/igt-gpu-tools/template +++ b/srcpkgs/igt-gpu-tools/template @@ -17,6 +17,7 @@ distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz" checksum=40454d8f0484ea2477862007398a08eef78a6c252c4defce1c934548593fdd11 # tests don't behave in containers make_check=ci-skip +patch_args=-Np0 lib32disabled=yes archs="i686* x86_64*" diff --git a/srcpkgs/ilmbase/template b/srcpkgs/ilmbase/template index 1dd24b5335f..ca4c57337f1 100644 --- a/srcpkgs/ilmbase/template +++ b/srcpkgs/ilmbase/template @@ -13,6 +13,7 @@ license="BSD-3-Clause" homepage="https://www.openexr.com/" distfiles="https://github.com/openexr/openexr/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=8e5bfd89f4ae1221f84216a163003edddf0d37b8aac4ee42b46edb55544599b9 +patch_args=-Np0 pre_configure() { if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/imagescan/template b/srcpkgs/imagescan/template index 0a0cb5e2b3f..2deac5f8b87 100644 --- a/srcpkgs/imagescan/template +++ b/srcpkgs/imagescan/template @@ -18,6 +18,7 @@ homepage="https://gitlab.com/utsushi/imagescan/" distfiles="http://support.epson.net/linux/src/scanner/imagescanv3/debian/${pkgname}_${version}.orig.tar.gz" checksum=9440b103b8218863ab08e891d2a9dc9ef52db51485e11017d52fb2036e279477 mutable_files="/etc/sane.d/dll.d/utsushi" +patch_args=-Np0 CFLAGS="-Wno-error" CXXFLAGS="-Wno-error" diff --git a/srcpkgs/imgbrd-grabber/template b/srcpkgs/imgbrd-grabber/template index d1e0ef6a517..50232eb2998 100644 --- a/srcpkgs/imgbrd-grabber/template +++ b/srcpkgs/imgbrd-grabber/template @@ -14,6 +14,7 @@ homepage="https://bionus.github.io/imgbrd-grabber" changelog="https://github.com/Bionus/imgbrd-grabber/releases" distfiles="https://github.com/Bionus/imgbrd-grabber/archive/v${version}.tar.gz" checksum=4ecb247f92fb4ba7c3245439bcd221e8c64dd037c1761065a663adb6b4571740 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake" diff --git a/srcpkgs/imwheel/template b/srcpkgs/imwheel/template index 85496586c7d..5da49f1e4ff 100644 --- a/srcpkgs/imwheel/template +++ b/srcpkgs/imwheel/template @@ -13,6 +13,7 @@ license="GPL-2.0-only" homepage="http://imwheel.sourceforge.net/" distfiles="https://sourceforge.net/projects/${pkgname}/files/${pkgname}-source/${version}pre12/${pkgname}-${version}pre12.tar.gz" checksum=2320ed019c95ca4d922968e1e1cbf0c075a914e865e3965d2bd694ca3d57cfe3 +patch_args=-Np0 pre_configure() { mv configure.{in,ac} diff --git a/srcpkgs/indent/template b/srcpkgs/indent/template index 3616080326f..522b94c0e68 100644 --- a/srcpkgs/indent/template +++ b/srcpkgs/indent/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/s/indent/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=e77d68c0211515459b8812118d606812e300097cfac0b4e9fb3472664263bb8b +patch_args=-Np0 pre_configure() { sed -i 's#^docdir = .*$#docdir = @docdir@#' doc/Makefile.in diff --git a/srcpkgs/injeqt/template b/srcpkgs/injeqt/template index 3efad365a49..3159202729e 100644 --- a/srcpkgs/injeqt/template +++ b/srcpkgs/injeqt/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/vogel/injeqt/" distfiles="https://github.com/vogel/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=77540cedb0b26affe993dd18124d796059e34c80a51d9ae6433fdff1860db135 +patch_args=-Np0 CXXFLAGS="-fno-lifetime-dse -Wno-error=cast-align" diff --git a/srcpkgs/input-utils/template b/srcpkgs/input-utils/template index 35b48c548e2..319161f0e5d 100644 --- a/srcpkgs/input-utils/template +++ b/srcpkgs/input-utils/template @@ -10,6 +10,7 @@ license="GPL-2" distfiles="https://www.kraxel.org/releases/input/input-${version}.tar.gz" checksum=9142c34d508f2da4cd53d6348fee77e30b69c35c8dabfadfc5a6db09c4bd8087 wrksrc="input-${version}" +patch_args=-Np0 do_install() { vman lsinput.man lsinput.8 diff --git a/srcpkgs/inspectrum/template b/srcpkgs/inspectrum/template index 83ba7b10095..232164d753f 100644 --- a/srcpkgs/inspectrum/template +++ b/srcpkgs/inspectrum/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/miek/inspectrum" distfiles="https://github.com/miek/inspectrum/archive/v${version}.tar.gz" checksum=7be5be96f50b0cea5b3dd647f06cc00adfa805a395484aa2ab84cf3e49b7227b +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-qmake qt5-host-tools" diff --git a/srcpkgs/invada-studio-plugins-lv2/template b/srcpkgs/invada-studio-plugins-lv2/template index 6bd6ddf74a5..ee7f7a8ffe2 100644 --- a/srcpkgs/invada-studio-plugins-lv2/template +++ b/srcpkgs/invada-studio-plugins-lv2/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://launchpad.net/invada-studio/" distfiles="https://launchpad.net/invada-studio/lv2/1.2/+download/${pkgname}_${version}-nopkg.tgz" checksum=c6cac7c32effc6b3052e3b017133244f385ef8e053147859d88eae6facaf7d12 +patch_args=-Np0 post_patch() { find . -name Makefile -exec \ diff --git a/srcpkgs/io.elementary.calendar/template b/srcpkgs/io.elementary.calendar/template index 7ff446f97d1..936700ba2cd 100644 --- a/srcpkgs/io.elementary.calendar/template +++ b/srcpkgs/io.elementary.calendar/template @@ -17,6 +17,7 @@ license="GPL-3.0-only" homepage="https://github.com/elementary/calendar" distfiles="${homepage}/archive/${_git_commit}.tar.gz" checksum=3be3851baeed67144e5cbed209b2c1b982fe9830db13372e3051423295dee345 +patch_args=-Np0 libio.elementary.calendar_package() { short_desc+=" - library" diff --git a/srcpkgs/io.elementary.code/template b/srcpkgs/io.elementary.code/template index 8d43ad4130d..c29de4c8c0b 100644 --- a/srcpkgs/io.elementary.code/template +++ b/srcpkgs/io.elementary.code/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/elementary/code" distfiles="${homepage}/archive/${version}.tar.gz" checksum=d84b38193b72cd93995aae604358c83c5b6976d8472ce985027b947cfed990bf +patch_args=-Np0 libio.elementary.code_package() { short_desc+=" - library" diff --git a/srcpkgs/io.elementary.music/template b/srcpkgs/io.elementary.music/template index de6ae0f94d9..a4e05603f35 100644 --- a/srcpkgs/io.elementary.music/template +++ b/srcpkgs/io.elementary.music/template @@ -15,6 +15,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/elementary/music" distfiles="${homepage}/archive/${version}.tar.gz" checksum=ed7cba3b07189273890b321b21cda198f18b102e4466eb7207c0b5f27b31dfc9 +patch_args=-Np0 libio.elementary.music_package() { short_desc+=" - library" diff --git a/srcpkgs/iotop/template b/srcpkgs/iotop/template index 84a9f788616..8af2af900ba 100644 --- a/srcpkgs/iotop/template +++ b/srcpkgs/iotop/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://guichaz.free.fr/iotop" distfiles="http://guichaz.free.fr/iotop/files/iotop-${version}.tar.bz2" checksum=3adea2a24eda49bbbaeb4e6ed2042355b441dbd7161e883067a02bfc8dcef75b +patch_args=-Np0 post_install() { chmod 644 ${DESTDIR}/usr/share/man/man8/iotop.8 diff --git a/srcpkgs/iouyap/template b/srcpkgs/iouyap/template index 09cd966c6e1..a7ddbbccf8c 100644 --- a/srcpkgs/iouyap/template +++ b/srcpkgs/iouyap/template @@ -10,6 +10,7 @@ license="GPL-3" homepage="https://github.com/GNS3/iouyap" distfiles="https://github.com/GNS3/${pkgname}/archive/v${version}.tar.gz" checksum=181850a4ce73a4d4035f9eb39b2656ae31d360f18b577ee65f5149132da3eccf +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/ipmitool/template b/srcpkgs/ipmitool/template index eab8e525c87..7d48962c223 100644 --- a/srcpkgs/ipmitool/template +++ b/srcpkgs/ipmitool/template @@ -10,6 +10,7 @@ license="BSD" homepage="http://ipmitool.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=0c1ba3b1555edefb7c32ae8cd6a3e04322056bc087918f07189eeedfc8b81e01 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/ipp-usb/template b/srcpkgs/ipp-usb/template index 98b472d1599..79f18ba1d54 100644 --- a/srcpkgs/ipp-usb/template +++ b/srcpkgs/ipp-usb/template @@ -14,6 +14,7 @@ license="BSD-2-Clause" homepage="https://github.com/OpenPrinting/ipp-usb" distfiles="https://github.com/OpenPrinting/ipp-usb/archive/$version.tar.gz" checksum=06855b4da0bcaad430a42534c117a3f3224c4f6b0f6321da898e3422ae97ae15 +patch_args=-Np0 post_install() { vsv ipp-usb diff --git a/srcpkgs/ippusbxd/template b/srcpkgs/ippusbxd/template index e81064e8b91..0cf0278b951 100644 --- a/srcpkgs/ippusbxd/template +++ b/srcpkgs/ippusbxd/template @@ -14,6 +14,7 @@ homepage="https://github.com/OpenPrinting/ippusbxd" distfiles="${homepage}/archive/${version}.tar.gz" checksum=996a572c8f6d1426a58ad3b95c21fea7f5b64d5db34a825c543d7869b3c77891 conf_files="/etc/apparmor.d/usr.sbin.ippusbxd" +patch_args=-Np0 export CMAKE_GENERATOR="Unix Makefiles" diff --git a/srcpkgs/iptables/template b/srcpkgs/iptables/template index 0d0ed43206d..3b0269d22f1 100644 --- a/srcpkgs/iptables/template +++ b/srcpkgs/iptables/template @@ -20,6 +20,7 @@ alternatives=" iptables:iptables:/usr/bin/xtables-legacy-multi iptables:iptables-restore:/usr/bin/xtables-legacy-multi iptables:iptables-save:/usr/bin/xtables-legacy-multi" +patch_args=-Np0 pre_build() { rm include/linux/types.h diff --git a/srcpkgs/iscan/template b/srcpkgs/iscan/template index 18c0d969766..c39d09a19fa 100644 --- a/srcpkgs/iscan/template +++ b/srcpkgs/iscan/template @@ -17,6 +17,7 @@ distfiles="http://support.epson.net/linux/src/scanner/iscan/${pkgname}_${version checksum=597b9913de42d7a27f95bc82e533cbe778121ba13e3a03bc037f8d09a43447d5 repository=nonfree LDFLAGS="-ldl -lpng16" +patch_args=-Np0 post_configure() { # fix wrongly created link diff --git a/srcpkgs/iucode-tool/template b/srcpkgs/iucode-tool/template index d28c1046105..99a6f0f6b95 100644 --- a/srcpkgs/iucode-tool/template +++ b/srcpkgs/iucode-tool/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="https://gitlab.com/iucode-tool/iucode-tool/wikis/home" distfiles="https://gitlab.com/iucode-tool/releases/raw/latest/iucode-tool_${version}.tar.xz" checksum=12b88efa4d0d95af08db05a50b3dcb217c0eb2bfc67b483779e33d498ddb2f95 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends="argp-standalone" ;; diff --git a/srcpkgs/iverilog/template b/srcpkgs/iverilog/template index b0f12c03fa8..1159f49d35d 100644 --- a/srcpkgs/iverilog/template +++ b/srcpkgs/iverilog/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="http://iverilog.icarus.com/" distfiles="https://github.com/steveicarus/iverilog/archive/v${version/./_}.tar.gz" checksum=6327fb900e66b46803d928b7ca439409a0dc32731d82143b20387be0833f1c95 +patch_args=-Np0 nocross="draw_tt.exe: cannot execute binary file: Exec format error" diff --git a/srcpkgs/iwd/template b/srcpkgs/iwd/template index 3a1c0fc2312..c6b0f6fc503 100644 --- a/srcpkgs/iwd/template +++ b/srcpkgs/iwd/template @@ -21,6 +21,7 @@ make_dirs="/var/lib/iwd 0600 root root /etc/iwd 755 root root" # tests depend on kernel features make_check=extended +patch_args=-Np0 do_check() { dbus-run-session make check diff --git a/srcpkgs/j/template b/srcpkgs/j/template index c9b0c669497..c1681088ec1 100644 --- a/srcpkgs/j/template +++ b/srcpkgs/j/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://jsoftware.com/" distfiles="https://github.com/jsoftware/jsource/archive/j${_vrel}.tar.gz" checksum=6b1cdcc1a0c3d955e400cf676f115de51ef9d1da495d08721ee999f48f6f9209 +patch_args=-Np0 _jsz="j${XBPS_TARGET_WORDSIZE}" _jtype="release" diff --git a/srcpkgs/jack/template b/srcpkgs/jack/template index 092d7292d34..5ab29e6a32b 100644 --- a/srcpkgs/jack/template +++ b/srcpkgs/jack/template @@ -17,6 +17,7 @@ homepage="https://jackaudio.org/" distfiles="https://github.com/jackaudio/jack2/archive/v${version}.tar.gz" checksum=5a1d64118034d58529d68a9af42710f9d4843536257c496118065ea3d3e4ae2c python_version=3 +patch_args=-Np0 # Package build options build_options="ffado zalsa" diff --git a/srcpkgs/janet/template b/srcpkgs/janet/template index d3c71796a07..5805a21c011 100644 --- a/srcpkgs/janet/template +++ b/srcpkgs/janet/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://janet-lang.org/" distfiles="https://github.com/janet-lang/janet/archive/v${version}.tar.gz" checksum=ed9350ad7f0270e67f18a78dae4910b9534f19cd3f20f7183b757171e8cc79a5 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/jbig2dec/template b/srcpkgs/jbig2dec/template index d0c23438982..3ccef4e8ea2 100644 --- a/srcpkgs/jbig2dec/template +++ b/srcpkgs/jbig2dec/template @@ -13,6 +13,7 @@ license="AGPL-3.0-or-later" homepage="https://www.jbig2dec.com" distfiles="https://github.com/ArtifexSoftware/jbig2dec/archive/${version}.tar.gz" checksum=e81b787ad0b147a437a52d9ce7de1a8f429655e8aa030383b6b2dd8919373717 +patch_args=-Np0 pre_configure() { sed -i '$ d' autogen.sh diff --git a/srcpkgs/jedit/template b/srcpkgs/jedit/template index cf7ac8cdd20..9c5c764194b 100644 --- a/srcpkgs/jedit/template +++ b/srcpkgs/jedit/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://jedit.org" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${version}/${pkgname}${version}source.tar.bz2" checksum=76c16ae0168d9b64ecddd8bf08aa49ab352adb2c9687191bc71895a96a8dfe1d +patch_args=-Np0 post_patch() { # skip junit stuff, fails in chroot diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template index 22f153adb29..98d7a0c90fd 100644 --- a/srcpkgs/jfsutils/template +++ b/srcpkgs/jfsutils/template @@ -10,5 +10,6 @@ license="GPL-2.0-or-later" homepage="http://jfs.sourceforge.net" distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz" checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/jsonnet/template b/srcpkgs/jsonnet/template index b09df3187a0..1f0d020e16e 100644 --- a/srcpkgs/jsonnet/template +++ b/srcpkgs/jsonnet/template @@ -9,6 +9,7 @@ license="Apache-2.0" homepage="https://github.com/google/jsonnet" distfiles="https://github.com/google/jsonnet/archive/v${version}.tar.gz" checksum=076b52edf888c01097010ad4299e3b2e7a72b60a41abbc65af364af1ed3c8dbe +patch_args=-Np0 CXXFLAGS="-fPIC -Iinclude -Ithird_party/json -Ithird_party/md5" diff --git a/srcpkgs/jwm/template b/srcpkgs/jwm/template index 96efe18d60c..08c2501eecf 100644 --- a/srcpkgs/jwm/template +++ b/srcpkgs/jwm/template @@ -15,6 +15,7 @@ conf_files="/etc/system.jwmrc" homepage="http://joewing.net/projects/jwm" distfiles="http://joewing.net/projects/jwm/releases/jwm-$version.tar.xz" checksum=745d2f5df3a4ce9ecc8e75445edb3fbe31dd46c0c26d129cc14de7ad8b665326 +patch_args=-Np0 post_install() { vinstall ${FILESDIR}/jwm.desktop 644 usr/share/xsessions diff --git a/srcpkgs/jxrlib/template b/srcpkgs/jxrlib/template index 48f02dceab6..c9ed1e4c14a 100644 --- a/srcpkgs/jxrlib/template +++ b/srcpkgs/jxrlib/template @@ -9,6 +9,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/glencoesoftware/jxrlib" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=d1fbc5759a665949e7cb82de03c3258788bd07323f195a9e8ea9322504627cc3 +patch_args=-Np0 jxrlib-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/kanshi/template b/srcpkgs/kanshi/template index e6fe40f4a69..d9e4c799e61 100644 --- a/srcpkgs/kanshi/template +++ b/srcpkgs/kanshi/template @@ -11,6 +11,7 @@ license="MIT" homepage="https://github.com/emersion/kanshi" distfiles="https://github.com/emersion/kanshi/archive/v${version}.tar.gz" checksum=f7e782d2b49380aed370213b8d74af9fe806d9dc94b3c19179475f4b18e26566 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/katarakt/template b/srcpkgs/katarakt/template index 13fc25ba662..05c85364c95 100644 --- a/srcpkgs/katarakt/template +++ b/srcpkgs/katarakt/template @@ -13,6 +13,7 @@ homepage="https://wwwcip.cs.fau.de/~go18gomu/katarakt" #distfiles="https://wwwcip.cs.fau.de/~go18gomu/katarakt/tarballs/katarakt-${version}.tar.xz" distfiles="https://gitlab.cs.fau.de/Qui_Sum/katarakt/-/archive/v${version}/katarakt-v${version}.tar.gz" checksum=f60b3b7477975301a6c6657eb0a24d5cc28d321cca70e9746d4d1ea91e239c46 +patch_args=-Np0 post_build() { make doc diff --git a/srcpkgs/kauth/template b/srcpkgs/kauth/template index 359d4cf5494..2e0a30cc420 100644 --- a/srcpkgs/kauth/template +++ b/srcpkgs/kauth/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kauth" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=cb617df419d60c1087a1ac53bc601ffaf590798f2f346dbc26b01ea94a3286fc +patch_args=-Np0 do_check() { cd build diff --git a/srcpkgs/kbd/template b/srcpkgs/kbd/template index 10b5c5dba29..0b0457f171d 100644 --- a/srcpkgs/kbd/template +++ b/srcpkgs/kbd/template @@ -13,6 +13,7 @@ homepage="http://www.kbd-project.org/" distfiles="${KERNEL_SITE}/utils/${pkgname}/${pkgname}-${version}.tar.xz" checksum=55f0740458cfd3a84e775e50d7e8b92dc01846db1edad8e2411ccc293ece9b9f replaces="kbd-data>=0" +patch_args=-Np0 post_patch() { # Rename keymap files with the same names diff --git a/srcpkgs/kcgi/template b/srcpkgs/kcgi/template index 021c97022dc..7a5b093157b 100644 --- a/srcpkgs/kcgi/template +++ b/srcpkgs/kcgi/template @@ -16,6 +16,7 @@ homepage="http://kristaps.bsd.lv/kcgi/" changelog="https://kristaps.bsd.lv/kcgi/archive.html" distfiles="http://kristaps.bsd.lv/kcgi/snapshots/kcgi-${version}.tgz" checksum=06ed033de3723651d76e2fac1c2442aaa3a28ac231cbfda4142dfb8782cab363 +patch_args=-Np0 seccomp_audit_get_suffix() { case "$1" in diff --git a/srcpkgs/kconfig/template b/srcpkgs/kconfig/template index ab982bb293e..5ae35d5e13e 100644 --- a/srcpkgs/kconfig/template +++ b/srcpkgs/kconfig/template @@ -11,6 +11,7 @@ license="LGPL-2.0-only, LGPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kconfig" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=7c84a05609a22a2bd7185fc46e73a0d39604340574d5e85e24b170e84f84eee8 +patch_args=-Np0 do_check() { cd build diff --git a/srcpkgs/kcoreaddons/template b/srcpkgs/kcoreaddons/template index d623b52d2bf..6dfd7046c78 100644 --- a/srcpkgs/kcoreaddons/template +++ b/srcpkgs/kcoreaddons/template @@ -12,6 +12,7 @@ license="LGPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kcoreaddons" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=723c99b63c159f6c70ef4a56acbab8afdc54a9fa3269ff7a21ed2467179e8a57 +patch_args=-Np0 post_install() { vsed -e 's;${_IMPORT_PREFIX};/usr;g' \ diff --git a/srcpkgs/kdb/template b/srcpkgs/kdb/template index 0bc353bd708..e28e194c4d5 100644 --- a/srcpkgs/kdb/template +++ b/srcpkgs/kdb/template @@ -12,6 +12,7 @@ license="LGPL-2.0-or-later" homepage="http://www.kexi-project.org/" distfiles="${KDE_SITE}/kdb/src/kdb-${version}.tar.xz" checksum=8f8983bc8d143832dc14bc2003ba6af1af27688e477c0c791fd61445464f2069 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-qmake qt5-host-tools python3" diff --git a/srcpkgs/kdelibs4support/template b/srcpkgs/kdelibs4support/template index 71da12a5395..d6b2c48a8b3 100644 --- a/srcpkgs/kdelibs4support/template +++ b/srcpkgs/kdelibs4support/template @@ -18,6 +18,7 @@ license="LGPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kdelibs4support" distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz" checksum=ea1a7e50e36fee629e4d9b1bf44bf27a169174d95dc36d37d4af82a5cf50e432 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then # gettaddrinfo runtime test is always fine (can't be achieved in crossbuild) diff --git a/srcpkgs/kdesignerplugin/template b/srcpkgs/kdesignerplugin/template index 2659fed1db0..9101a9dc844 100644 --- a/srcpkgs/kdesignerplugin/template +++ b/srcpkgs/kdesignerplugin/template @@ -13,6 +13,7 @@ license="LGPL-2.1-only" homepage="https://invent.kde.org/frameworks/kdesignerplugin" distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz" checksum=203ff1989d7c076498d442698e8e70d158fb69094d056e18100ac74e064a0c8d +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools python kgendesignerplugin kdoctools" diff --git a/srcpkgs/kdevelop-python/template b/srcpkgs/kdevelop-python/template index 6d2f53fd0e6..d245fc817f0 100644 --- a/srcpkgs/kdevelop-python/template +++ b/srcpkgs/kdevelop-python/template @@ -18,6 +18,7 @@ homepage="https://www.kdevelop.org/" distfiles="${KDE_SITE}/kdevelop/${version}/src/kdev-python-${version}.tar.xz" checksum=20f9b771b961262ded986a4f32b8d259ad9f7bc48bb29eac0a5d5853be1d917f python_version=3 +patch_args=-Np0 post_install() { # don't install this python2 script: generates documentation_files, useless at runtime diff --git a/srcpkgs/kdevelop/template b/srcpkgs/kdevelop/template index 3adc8427360..60f85a97b13 100644 --- a/srcpkgs/kdevelop/template +++ b/srcpkgs/kdevelop/template @@ -19,6 +19,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://www.kdevelop.org/" distfiles="${KDE_SITE}/${pkgname}/${version}/src/${pkgname}-${version}.tar.xz" checksum=0f86bc3fe53f761c1e3e3f7544577a0c41433be8bff310cf2e729f76f4363bf6 +patch_args=-Np0 build_options="webengine" desc_option_webengine="Use Qt5 WebEngine for documentation" diff --git a/srcpkgs/kdoctools/template b/srcpkgs/kdoctools/template index ed2727a8e5f..4509b00b14b 100644 --- a/srcpkgs/kdoctools/template +++ b/srcpkgs/kdoctools/template @@ -17,6 +17,7 @@ license="LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kdoctools" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=d3a4ea0d5c0348fff228aa5ba14a7d3eb00296c0f00b9ac9d4b74e56a89e395b +patch_args=-Np0 pre_check() { export PATH="$PATH:${wrksrc}/build/bin" diff --git a/srcpkgs/kea/template b/srcpkgs/kea/template index dc0bcc5de3f..bad3cab44ea 100644 --- a/srcpkgs/kea/template +++ b/srcpkgs/kea/template @@ -21,6 +21,7 @@ license="MPL-2.0, Apache-2.0" homepage="https://kea.isc.org" distfiles="http://ftp.isc.org/isc/kea/${version/.P/-P}/kea-${version/.P/-P}.tar.gz" checksum=324a06f488645bee587e49a45d491b525f53417c56b219f1cb37461fdefd9d91 +patch_args=-Np0 build_options="botan mysql pgsql" desc_option_botan="With Botan SSL support" diff --git a/srcpkgs/kernel-libc-headers/template b/srcpkgs/kernel-libc-headers/template index ff67067469e..a21b03bc0dd 100644 --- a/srcpkgs/kernel-libc-headers/template +++ b/srcpkgs/kernel-libc-headers/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="http://www.kernel.org" distfiles="$KERNEL_SITE/kernel/v${version%%.*}.x/linux-${version}.tar.xz" checksum=904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec +patch_args=-Np0 if [ "$CHROOT_READY" ]; then hostmakedepends="perl" diff --git a/srcpkgs/kexec-tools/template b/srcpkgs/kexec-tools/template index 06f6f452713..dccec75fe3b 100644 --- a/srcpkgs/kexec-tools/template +++ b/srcpkgs/kexec-tools/template @@ -13,6 +13,7 @@ homepage="http://kernel.org/pub/linux/utils/kernel/kexec/" distfiles="${KERNEL_SITE}/utils/kernel/kexec/${pkgname}-${version}.tar.xz" checksum=96c97f49ed86049f8b72722cb53e7fe3693e5a4f31e78a3a6249e3d18dac49c2 skip_extraction="${pkgname}-${version}.tar.xz" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/kexi/template b/srcpkgs/kexi/template index 28d4a358ac6..640f5158ffc 100644 --- a/srcpkgs/kexi/template +++ b/srcpkgs/kexi/template @@ -14,6 +14,7 @@ homepage="http://www.kexi-project.org/" distfiles="${KDE_SITE}/kexi/src/kexi-${version}.tar.xz" checksum=7a813f9ea815a09c1e733d0e7dc879c64eee85f075389e87e6aab99cf0c1c1ff replaces="calligra-kexi>=0" +patch_args=-Np0 if [ "$CROSS_BUILD" ];then hostmakedepends+=" qt5-qmake qt5-host-tools python3 kcoreaddons" diff --git a/srcpkgs/keyutils/template b/srcpkgs/keyutils/template index 2da74bdcd24..2b0044799be 100644 --- a/srcpkgs/keyutils/template +++ b/srcpkgs/keyutils/template @@ -9,6 +9,7 @@ homepage="https://www.kernel.org" distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/${pkgname}-${version}.tar.gz" checksum=a61d5706136ae4c05bd48f86186bcfdbd88dd8bd5107e3e195c924cfc1b39bb4 conf_files="/etc/request-key.conf" +patch_args=-Np0 pre_build() { # Fix musl build - doesn't hurt glibc either diff --git a/srcpkgs/kicad/template b/srcpkgs/kicad/template index c56f7422dbe..18f1c310daa 100644 --- a/srcpkgs/kicad/template +++ b/srcpkgs/kicad/template @@ -22,6 +22,7 @@ homepage="http://kicad-pcb.org" distfiles="https://gitlab.com/kicad/code/${pkgname}/-/archive/${version}/kicad-${version}.tar.gz" checksum=296341f30ada2c7f4a1c54720eab425835a93349527d4bf08f73f280d19695ed python_version=3 +patch_args=-Np0 build_options="spice occt" build_options_default="spice occt" diff --git a/srcpkgs/kid3/template b/srcpkgs/kid3/template index e916cbabed1..e743ffff153 100644 --- a/srcpkgs/kid3/template +++ b/srcpkgs/kid3/template @@ -20,6 +20,7 @@ license="GPL-2.0-only" homepage="https://kid3.kde.org" distfiles="${SOURCEFORGE_SITE}/kid3/kid3-${version}.tar.gz" checksum=71ef8c58227302737ebbed3b7f476f9f48e76ea894952d916dc33d9c08f96e08 +patch_args=-Np0 build_options="KDE mp3 mp4 flac vorbis taglib chromaprint" build_options_default="mp3 mp4 flac vorbis taglib chromaprint" diff --git a/srcpkgs/kinit/template b/srcpkgs/kinit/template index 0989761f115..6a4450abd6a 100644 --- a/srcpkgs/kinit/template +++ b/srcpkgs/kinit/template @@ -12,6 +12,7 @@ license="LGPL-2.0-only" homepage="https://invent.kde.org/frameworks/kinit" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=c164e8df6350b069f634f5e7c42625026088c10886c1b934ab9e5243cc988c8a +patch_args=-Np0 kinit-devel_package() { short_desc+=" - development" diff --git a/srcpkgs/kio/template b/srcpkgs/kio/template index 47e56bd5b85..2742863e08a 100644 --- a/srcpkgs/kio/template +++ b/srcpkgs/kio/template @@ -16,6 +16,7 @@ license="LGPL-2.0-or-later" homepage="https://invent.kde.org/frameworks/kio" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=faa5a519e0cccb7197a4025f4b267a7683b49ad9d03e730a57969f33072f51c1 +patch_args=-Np0 do_check() { cd build diff --git a/srcpkgs/kmod/template b/srcpkgs/kmod/template index e9b8c26161e..9266a17dc23 100644 --- a/srcpkgs/kmod/template +++ b/srcpkgs/kmod/template @@ -17,6 +17,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git" distfiles="${KERNEL_SITE}/utils/kernel/kmod/kmod-${version}.tar.xz" checksum=c1d3fbf16ca24b95f334c1de1b46f17bbe5a10b0e81e72668bdc922ebffbbc0c +patch_args=-Np0 post_install() { vinstall ${FILESDIR}/depmod-search.conf 644 usr/lib/depmod.d search.conf diff --git a/srcpkgs/kmscon/template b/srcpkgs/kmscon/template index 0683ed5d0ce..0e9b90b7d65 100644 --- a/srcpkgs/kmscon/template +++ b/srcpkgs/kmscon/template @@ -15,6 +15,7 @@ homepage="http://www.freedesktop.org/wiki/Software/kmscon" distfiles="${FREEDESKTOP_SITE}/kmscon/releases/kmscon-${version}.tar.xz" checksum=0ab01c1cdc4fbd692ce765e80478bc2d9663a7c55a5c75cc7ac421366ee6ae2b lib32disabled=yes +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in ppc*) broken="ftbfs";; diff --git a/srcpkgs/kobodeluxe/template b/srcpkgs/kobodeluxe/template index 94e3e832972..689d2f17965 100644 --- a/srcpkgs/kobodeluxe/template +++ b/srcpkgs/kobodeluxe/template @@ -14,6 +14,7 @@ homepage="http://olofson.net/kobodl" distfiles="${homepage}/download/KoboDeluxe-${version}.tar.bz2" checksum=0f7b910a399d985437564af8c5d81d6dcf22b96b26b01488d72baa6a6fdb5c2c replaces="kobodeluxe-data>=0" +patch_args=-Np0 post_extract() { bsdtar xf icons.tar.gz diff --git a/srcpkgs/kodi-addon-inputstream-adaptive/template b/srcpkgs/kodi-addon-inputstream-adaptive/template index 579f39bfb0e..21bd7af334f 100644 --- a/srcpkgs/kodi-addon-inputstream-adaptive/template +++ b/srcpkgs/kodi-addon-inputstream-adaptive/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/peak3d/inputstream.adaptive" distfiles="https://github.com/peak3d/inputstream.adaptive/archive/${version}-${_kodi_release}.tar.gz" checksum=353207f5f98bf81ce8d79cec903c28da8c0227d7c7a632692c910d81e59c2dbe +patch_args=-Np0 if [ -n "${CROSS_BUILD}" ]; then configure_args+=" -DCMAKE_MODULE_PATH=${XBPS_CROSS_BASE}/usr/share/kodi/cmake" diff --git a/srcpkgs/kore/template b/srcpkgs/kore/template index 6c6e2d1378c..adccefbc13d 100644 --- a/srcpkgs/kore/template +++ b/srcpkgs/kore/template @@ -16,6 +16,7 @@ homepage="https://kore.io" distfiles="https://kore.io/releases/kore-${version}.tar.gz" checksum=b7d73b005fde0ea01c356a54e4bbd8a209a4dff9cf315802a127ce7267efbe61 disable_parallel_build=yes +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/krita/template b/srcpkgs/krita/template index e909366f539..f04f7a5bb8b 100644 --- a/srcpkgs/krita/template +++ b/srcpkgs/krita/template @@ -23,6 +23,7 @@ distfiles="${KDE_SITE}/krita/${version}/krita-${version}.tar.gz" checksum=4bfd7280870d1060a00d1123d836fc1a5b5bf8a028676679f0268cd5e7fb7568 python_version=3 replaces="calligra-krita>=0" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) makedepends+=" vc";; diff --git a/srcpkgs/kscreenlocker/template b/srcpkgs/kscreenlocker/template index 36df46f2420..19becb55ca0 100644 --- a/srcpkgs/kscreenlocker/template +++ b/srcpkgs/kscreenlocker/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://invent.kde.org/plasma/kscreenlocker" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" checksum=9803b976b6cc14fa5216de17481609ebf46d28c314284d9e74e8f9b181cb9bba +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" wayland-devel" diff --git a/srcpkgs/kvirc/template b/srcpkgs/kvirc/template index 41255b18e92..801cc846a30 100644 --- a/srcpkgs/kvirc/template +++ b/srcpkgs/kvirc/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="http://www.kvirc.net" distfiles="ftp://ftp.kvirc.net/pub/kvirc/${version}/source/KVIrc-${version}.tar.bz2" checksum=76cd4cdcaca5e4056f086cdcbb6122c2ca7e331d6e66c7ebc57d32565f626a65 +patch_args=-Np0 if [ "$CROSS_BUILD" ];then hostmakedepends+=" qt5-qmake qt5-host-tools" diff --git a/srcpkgs/kwallet-cli/template b/srcpkgs/kwallet-cli/template index 4e27ae4f591..ddeacf49443 100644 --- a/srcpkgs/kwallet-cli/template +++ b/srcpkgs/kwallet-cli/template @@ -14,6 +14,7 @@ license="custom:MirOS, LGPL-3.0-or-later" homepage="https://www.mirbsd.org/kwalletcli.htm" distfiles="http://www.mirbsd.org/MirOS/dist/hosted/kwalletcli/kwalletcli-${version}.tar.gz" checksum=f228e5b179f6eb92289b9635382e676990dd58cd193ce42b61d3150c8a06b12d +patch_args=-Np0 post_patch() { vsed -i GNUmakefile -e "s|-I/usr/include|-I${XBPS_CROSS_BASE}/usr/include|g" diff --git a/srcpkgs/laditools/template b/srcpkgs/laditools/template index 596f955b9d0..d5c06f7015d 100644 --- a/srcpkgs/laditools/template +++ b/srcpkgs/laditools/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/alessio/laditools" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=ca99f4b6e17b7333ed87dd12a2d91da4d486e53d89dd2677edfa29170ec6efe5 +patch_args=-Np0 post_install() { # remove wmladi, we do not have wmdocklib. diff --git a/srcpkgs/ladspa-sdk/template b/srcpkgs/ladspa-sdk/template index 175f3cb2c40..4b3730a98f6 100644 --- a/srcpkgs/ladspa-sdk/template +++ b/srcpkgs/ladspa-sdk/template @@ -10,6 +10,7 @@ license="LGPL-2.1-or-later" homepage="http://www.ladspa.org/" distfiles="http://www.ladspa.org/download/ladspa_sdk_${version}.tgz" checksum=4229959b09d20c88c8c86f4aa76427843011705df22d9c28b38359fd1829fded +patch_args=-Np0 do_build() { make CC=$CC CPP=$CXX LD=$LD -C src diff --git a/srcpkgs/lapack/template b/srcpkgs/lapack/template index 3ca60272736..525d64b965c 100644 --- a/srcpkgs/lapack/template +++ b/srcpkgs/lapack/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://www.netlib.org/lapack/" distfiles="https://github.com/Reference-LAPACK/lapack/archive/v${version}.tar.gz" checksum=106087f1bb5f46afdfba7f569d0cbe23dacb9a07cd24733765a0e89dbe1ad573 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/latencytop/template b/srcpkgs/latencytop/template index 67071c436a8..0442408311b 100644 --- a/srcpkgs/latencytop/template +++ b/srcpkgs/latencytop/template @@ -11,6 +11,7 @@ license="GPL-2" homepage="http://www.latencytop.org" distfiles="${DEBIAN_SITE}/main/l/$pkgname/${pkgname}_${version}.orig.tar.gz" checksum=9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef +patch_args=-Np0 pre_build() { export CFLAGS="$CFLAGS $LDFLAGS" diff --git a/srcpkgs/ldapvi/template b/srcpkgs/ldapvi/template index 1dda3c2ae6e..3c5f6bae167 100644 --- a/srcpkgs/ldapvi/template +++ b/srcpkgs/ldapvi/template @@ -12,6 +12,7 @@ homepage="http://www.lichteblau.com/ldapvi/" short_desc="An interactive LDAP client for Unix terminals" distfiles="http://www.lichteblau.com/download/ldapvi-${version}.tar.gz" checksum=6f62e92d20ff2ac0d06125024a914b8622e5b8a0a0c2d390bf3e7990cbd2e153 +patch_args=-Np0 do_install() { vbin ldapvi diff --git a/srcpkgs/ldb/template b/srcpkgs/ldb/template index ada2f205221..356615c375e 100644 --- a/srcpkgs/ldb/template +++ b/srcpkgs/ldb/template @@ -19,6 +19,7 @@ license="LGPL-3.0-or-later" homepage="https://www.samba.org/ldb/" distfiles="https://www.samba.org/ftp/pub/ldb/ldb-${version}.tar.gz" checksum=134bb51769709af59f30bf468e454d1377a8096acd4e80dcb42fd264f558bd5f +patch_args=-Np0 # workaround for cmocka's broken uintptr_t definition on musl if [ "$XBPS_TARGET_WORDSIZE" = "64" -a "$XBPS_TARGET_LIBC" = "musl" ]; then diff --git a/srcpkgs/ledger/template b/srcpkgs/ledger/template index c94b72709de..e1bd5419f0f 100644 --- a/srcpkgs/ledger/template +++ b/srcpkgs/ledger/template @@ -10,6 +10,7 @@ license="BSD-3-Clause" homepage="https://www.ledger-cli.org/" distfiles="https://github.com/ledger/${pkgname}/archive/v${version}.tar.gz" checksum=92bf09bc385b171987f456fe3ee9fa998ed5e40b97b3acdd562b663aa364384a +patch_args=-Np0 post_install() { rm -Rf ${DESTDIR}/usr/local diff --git a/srcpkgs/lfe/template b/srcpkgs/lfe/template index 31f33e64eea..b57f4ad541a 100644 --- a/srcpkgs/lfe/template +++ b/srcpkgs/lfe/template @@ -10,6 +10,7 @@ license="Apache-2.0" homepage="http://lfe.io/" distfiles="https://github.com/rvirding/lfe/archive/v${version}.tar.gz" checksum=04634f2c700ecedb55f4369962837792669e6be809dba90d81974198fc2b7b72 +patch_args=-Np0 do_build() { make diff --git a/srcpkgs/liba52/template b/srcpkgs/liba52/template index f94b04c876d..3c850ca622e 100644 --- a/srcpkgs/liba52/template +++ b/srcpkgs/liba52/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://liba52.sourceforge.net/" distfiles="http://liba52.sourceforge.net/files/a52dec-${version}.tar.gz" checksum=a21d724ab3b3933330194353687df82c475b5dfb997513eef4c25de6c865ec33 +patch_args=-Np0 pre_configure() { ./bootstrap diff --git a/srcpkgs/libabigail/template b/srcpkgs/libabigail/template index ed30ffd85c5..03906b43ac0 100644 --- a/srcpkgs/libabigail/template +++ b/srcpkgs/libabigail/template @@ -12,6 +12,7 @@ license="LGPL-3.0-or-later" homepage="https://www.sourceware.org/libabigail/" distfiles="http://mirrors.kernel.org/sourceware/${pkgname}/${pkgname}-${version}.tar.gz" checksum=86347c9f0a8666f263fd63f8c3fe4c4f9cb1bdb3ec4260ecbaf117d137e89787 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" musl-fts-devel"; LDFLAGS="-lfts" ;; diff --git a/srcpkgs/libabw/template b/srcpkgs/libabw/template index e617508a0b3..3e0b95197ef 100644 --- a/srcpkgs/libabw/template +++ b/srcpkgs/libabw/template @@ -11,6 +11,7 @@ distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.t makedepends="librevenge-devel boost-devel libxml2-devel" hostmakedepends="automake libtool pkg-config perl gperf" checksum=e763a9dc21c3d2667402d66e202e3f8ef4db51b34b79ef41f56cacb86dcd6eed +patch_args=-Np0 CXXFLAGS="-Wno-deprecated-copy" diff --git a/srcpkgs/libaccounts-qt5/template b/srcpkgs/libaccounts-qt5/template index 73c98fb72bd..98e0b0374d5 100644 --- a/srcpkgs/libaccounts-qt5/template +++ b/srcpkgs/libaccounts-qt5/template @@ -13,6 +13,7 @@ license="LGPL-2.1-only" homepage="https://gitlab.com/accounts-sso/libaccounts-qt" distfiles="${homepage}/repository/archive.tar.gz?ref=VERSION_${version}>${pkgname}-${version}.tar.gz" checksum=286eb02f936853e32e610003a2a332a12524050d226707e7630b6a29bd3bdf66 +patch_args=-Np0 libaccounts-qt5-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template index 605cac399d3..ea4b7e8f63e 100644 --- a/srcpkgs/libarchive/template +++ b/srcpkgs/libarchive/template @@ -18,6 +18,7 @@ license="BSD-2-Clause" homepage="http://www.libarchive.org/" distfiles="https://github.com/libarchive/libarchive/releases/download/${version}/libarchive-${version}.tar.gz" checksum=9015d109ec00bb9ae1a384b172bf2fc1dff41e2c66e5a9eeddf933af9db37f5a +patch_args=-Np0 build_options="acl expat lzo lz4 ssl zstd" build_options_default="acl ssl lz4 zstd" diff --git a/srcpkgs/libatasmart/template b/srcpkgs/libatasmart/template index 7714dcbfe39..b79bd8661ae 100644 --- a/srcpkgs/libatasmart/template +++ b/srcpkgs/libatasmart/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="http://0pointer.de/blog/projects/being-smart.html" distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz" checksum=61f0ea345f63d28ab2ff0dc352c22271661b66bf09642db3a4049ac9dbdb0f8d +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/libax25/template b/srcpkgs/libax25/template index e4de77e6b59..868268ce4ab 100644 --- a/srcpkgs/libax25/template +++ b/srcpkgs/libax25/template @@ -13,6 +13,7 @@ license="LGPL-2" homepage="http://www.linux-ax25.org/wiki/Libax25" distfiles="http://www.linux-ax25.org/pub/libax25/${wrksrc}.tar.gz" checksum=051bd736c3f3f3b242b3efea91af37f2e8d5afaebb5fe6e1df050bb1f6aeb986 +patch_args=-Np0 libax25-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/libbsd/template b/srcpkgs/libbsd/template index aa36c7f4e0c..28d3bc62269 100644 --- a/srcpkgs/libbsd/template +++ b/srcpkgs/libbsd/template @@ -10,6 +10,7 @@ license="ISC, MIT, Beerware, BSD-2-Clause, BSD-3-Clause, BSD-4-Clause" homepage="https://libbsd.freedesktop.org/" distfiles="https://libbsd.freedesktop.org/releases/libbsd-${version}.tar.xz" checksum=ff95cf8184151dacae4247832f8d4ea8800fa127dbd15033ecfe839f285b42a1 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/libcanberra/template b/srcpkgs/libcanberra/template index de049b68e08..f853fb7e03a 100644 --- a/srcpkgs/libcanberra/template +++ b/srcpkgs/libcanberra/template @@ -16,6 +16,7 @@ license="LGPL-2.1-or-later" homepage="http://0pointer.de/lennart/projects/libcanberra/" distfiles="http://pkgs.fedoraproject.org/repo/pkgs/libcanberra/libcanberra-${version}.tar.xz/34cb7e4430afaf6f447c4ebdb9b42072/libcanberra-${version}.tar.xz" checksum=c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72 +patch_args=-Np0 pre_configure() { autoreconf -if diff --git a/srcpkgs/libcap-ng/template b/srcpkgs/libcap-ng/template index 99eab8e614f..7ea192957fb 100644 --- a/srcpkgs/libcap-ng/template +++ b/srcpkgs/libcap-ng/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="http://people.redhat.com/sgrubb/libcap-ng/" distfiles="http://people.redhat.com/sgrubb/$pkgname/$pkgname-$version.tar.gz" checksum=52c083b77c2b0d8449dee141f9c3eba76e6d4c5ad44ef05df25891126cb85ae9 +patch_args=-Np0 subpackages="libcap-ng-devel libcap-ng-progs" diff --git a/srcpkgs/libcap/template b/srcpkgs/libcap/template index ad68fc72aed..cadc03d056e 100644 --- a/srcpkgs/libcap/template +++ b/srcpkgs/libcap/template @@ -15,6 +15,7 @@ homepage="http://sites.google.com/site/fullycapable/" changelog="https://sites.google.com/site/fullycapable/release-notes-for-libcap" distfiles="${KERNEL_SITE}/libs/security/linux-privs/libcap2/${pkgname}-${version}.tar.xz" checksum=47a57b8bd238b84c93c921a9b4ff82337551dbcb0cca071316aadf3e23b19261 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then make_build_args="CROSS_COMPILE=${XBPS_CROSS_TRIPLET}-" diff --git a/srcpkgs/libcec/template b/srcpkgs/libcec/template index bf232fb89eb..c203167ef91 100644 --- a/srcpkgs/libcec/template +++ b/srcpkgs/libcec/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/Pulse-Eight/libcec" distfiles="https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz" checksum=090696d7a4fb772d7acebbb06f91ab92e025531c7c91824046b9e4e71ecb3377 +patch_args=-Np0 build_options="rpi" diff --git a/srcpkgs/libcgroup/template b/srcpkgs/libcgroup/template index c9c19120e59..13b1318383b 100644 --- a/srcpkgs/libcgroup/template +++ b/srcpkgs/libcgroup/template @@ -12,6 +12,7 @@ license="LGPL-2.1" homepage="http://libcg.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/libcg/${pkgname}-${version}.tar.bz2" checksum=e4e38bdc7ef70645ce33740ddcca051248d56b53283c0dc6d404e17706f6fb51 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) # Add musl-fts implementation diff --git a/srcpkgs/libcmis/template b/srcpkgs/libcmis/template index fac133d5e4d..9e2aa911954 100644 --- a/srcpkgs/libcmis/template +++ b/srcpkgs/libcmis/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later, MPL-1.1" homepage="https://github.com/tdf/libcmis" distfiles="https://github.com/tdf/libcmis/releases/download/v${version}/libcmis-${version}.tar.gz" checksum=ed6f681a48abbf3c2324564b17a180d21fa9503230e8708825e1ad80daee4f81 +patch_args=-Np0 CXXFLAGS="-Wno-deprecated" diff --git a/srcpkgs/libcprops/template b/srcpkgs/libcprops/template index 3460841477a..2dc95f4e8a8 100644 --- a/srcpkgs/libcprops/template +++ b/srcpkgs/libcprops/template @@ -12,6 +12,7 @@ license="LGPL-2.1" distfiles="${SOURCEFORGE_SITE}/cprops/${pkgname}-${version}.tar.bz2" checksum=3737772d2718a2c550adf4ca92cc492e613aa9200aae2bbaaf128d90f4ef67f2 nocross="autotools TRY_RUN checking for PTHREAD_MUTEX_RECURSIVE" +patch_args=-Np0 libcprops-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/libdaemon/template b/srcpkgs/libdaemon/template index 07fe35eaeea..6d2bf536407 100644 --- a/srcpkgs/libdaemon/template +++ b/srcpkgs/libdaemon/template @@ -10,6 +10,7 @@ license="LGPL-2.1-or-later" homepage="http://0pointer.de/lennart/projects/$pkgname" distfiles="http://pkgs.fedoraproject.org/repo/pkgs/libdaemon/libdaemon-${version}.tar.gz/509dc27107c21bcd9fbf2f95f5669563/libdaemon-${version}.tar.gz" checksum=fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834 +patch_args=-Np0 libdaemon-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/libdbus-c++/template b/srcpkgs/libdbus-c++/template index 29b4a109863..91724cfdee6 100644 --- a/srcpkgs/libdbus-c++/template +++ b/srcpkgs/libdbus-c++/template @@ -13,6 +13,7 @@ license="LGPL-2.1-or-later" homepage="http://dbus-cplusplus.sourceforge.net/" distfiles="https://github.com/pkgw/dbus-cplusplus/releases/download/v${version}/libdbus-c---${version}.tar.gz" checksum=4f140668f2529ecbdce99afbb89f8a977aa47a36248d5f4943b3660316752ee8 +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" libdbus-c++-devel dbus-devel glib-devel" diff --git a/srcpkgs/libdill/template b/srcpkgs/libdill/template index c641f17afb7..38ba343f1e8 100644 --- a/srcpkgs/libdill/template +++ b/srcpkgs/libdill/template @@ -10,6 +10,7 @@ license="MIT" homepage="http://libdill.org/" distfiles="https://github.com/sustrik/libdill/archive/${version}.tar.gz" checksum=ebba0e5b433ec123b74a57d49b89dfa673aa258e03e6a452959e556b4c4529b9 +patch_args=-Np0 pre_configure() { export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}" diff --git a/srcpkgs/libdrm/template b/srcpkgs/libdrm/template index ef96bcf5d12..21988cf5fc6 100644 --- a/srcpkgs/libdrm/template +++ b/srcpkgs/libdrm/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://dri.freedesktop.org/" distfiles="https://gitlab.freedesktop.org/mesa/drm/-/archive/libdrm-${version}/drm-libdrm-${version}.tar.gz" checksum=0ba5017cafd4b7ac885356403c20105d40efcd11271ebf75727c1a5599e4ed53 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in aarch64*) configure_args+=" -Dvc4=true";; diff --git a/srcpkgs/libesmtp/template b/srcpkgs/libesmtp/template index 6719b024796..0b88cd4b503 100644 --- a/srcpkgs/libesmtp/template +++ b/srcpkgs/libesmtp/template @@ -12,6 +12,7 @@ homepage="http://brianstafford.info/libesmtp/" distfiles="https://sources.voidlinux.org/libesmtp-1.0.6/libesmtp-1.0.6.tar.bz2" #distfiles="http://brianstafford.info/libesmtp/libesmtp-${version}.tar.bz2" checksum=d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b +patch_args=-Np0 libesmtp-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/libetpan/template b/srcpkgs/libetpan/template index fb6c96eb33f..9363e7ae26b 100644 --- a/srcpkgs/libetpan/template +++ b/srcpkgs/libetpan/template @@ -14,6 +14,7 @@ license="BSD-3-Clause" homepage="http://www.etpan.org/libetpan.html" distfiles="https://github.com/dinhviethoa/libetpan/archive/${version}.tar.gz" checksum=591f97d5102f600e668502fe1dd5a341e910a840d8ea62e689a3a79d8bfbac87 +patch_args=-Np0 pre_configure() { NOCONFIGURE=1 ./autogen.sh diff --git a/srcpkgs/libevdevPlus/template b/srcpkgs/libevdevPlus/template index cf693a6e776..dec92cb4bfd 100644 --- a/srcpkgs/libevdevPlus/template +++ b/srcpkgs/libevdevPlus/template @@ -9,6 +9,7 @@ license="MIT" homepage="https://github.com/YukiWorkshop/libevdevPlus" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=c941b6b45f784c1e6c6f316f59256fabd604ac392db405cf7fd99de2686aaab0 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/libexecinfo/template b/srcpkgs/libexecinfo/template index dde58206951..5fe7d6fa72a 100644 --- a/srcpkgs/libexecinfo/template +++ b/srcpkgs/libexecinfo/template @@ -10,6 +10,7 @@ license="BSD-2-Clause" homepage="http://www.freshports.org/devel/libexecinfo" distfiles="http://distcache.freebsd.org/local-distfiles/itetcu/libexecinfo-${version}.tar.bz2" checksum=c9a21913e7fdac8ef6b33250b167aa1fc0a7b8a175145e26913a4c19d8a59b1f +patch_args=-Np0 do_install() { vsed -e "/Version:/s@version@${version}@" -i libexecinfo.pc diff --git a/srcpkgs/libfetch/template b/srcpkgs/libfetch/template index 5522f74d617..dc3eaad7a71 100644 --- a/srcpkgs/libfetch/template +++ b/srcpkgs/libfetch/template @@ -10,6 +10,7 @@ license="BSD-3-Clause" homepage="https://www.NetBSD.org" distfiles="https://alpha.de.repo.voidlinux.org/distfiles/libfetch-${version}.tar.xz" checksum=4e6d4541f213c9ab42ea94d49c2573f0a6f54b04f14668530960f1424b04f722 +patch_args=-Np0 do_build() { make CC=$CC diff --git a/srcpkgs/libffado/template b/srcpkgs/libffado/template index cadd335b30e..837d5443d97 100644 --- a/srcpkgs/libffado/template +++ b/srcpkgs/libffado/template @@ -20,6 +20,7 @@ license="GPL-2.0-only, GPL-3.0-only" homepage="http://www.ffado.org" distfiles="http://www.ffado.org/files/libffado-${version}.tgz" checksum=a47178cdc8c0c91e91edbaabe23d19ca12a752cbcf81c27314adb27cc00d60f0 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone" ;; diff --git a/srcpkgs/libffi/template b/srcpkgs/libffi/template index d79ef2afe2d..13469f65f51 100644 --- a/srcpkgs/libffi/template +++ b/srcpkgs/libffi/template @@ -11,6 +11,7 @@ license="MIT" homepage="http://sourceware.org/libffi" distfiles="ftp://sourceware.org/pub/$pkgname/$pkgname-$version.tar.gz" checksum=72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/libfprint/template b/srcpkgs/libfprint/template index 9f32d0bea08..eef79d8277c 100644 --- a/srcpkgs/libfprint/template +++ b/srcpkgs/libfprint/template @@ -17,6 +17,7 @@ homepage="http://www.freedesktop.org/wiki/Software/fprint/" changelog="https://gitlab.freedesktop.org/libfprint/libfprint/raw/master/NEWS" distfiles="https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v$version/libfprint-v$version.tar.bz2" checksum=d11acf183820812fd6a8cd808d58bbf197554bcc0f9119d4c873092ecd94ee29 +patch_args=-Np0 libfprint-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/libfprint0/template b/srcpkgs/libfprint0/template index 2d31deb97f4..9f12b576fe6 100644 --- a/srcpkgs/libfprint0/template +++ b/srcpkgs/libfprint0/template @@ -17,6 +17,7 @@ distfiles="https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/V_${vers checksum=22777a1d202ef912395b94842ae6b531338c8d48a8a813616e846b1bc96c5ad9 provides="libfprint-${version}_${revision}" replaces="libfprint<=${version}_1" +patch_args=-Np0 post_install() { vmkdir usr/lib/udev/rules.d diff --git a/srcpkgs/libfreehand/template b/srcpkgs/libfreehand/template index 10282b4bd0d..c94cd8c453e 100644 --- a/srcpkgs/libfreehand/template +++ b/srcpkgs/libfreehand/template @@ -11,6 +11,7 @@ license="MPL-2.0" homepage="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand" distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz" checksum=0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac +patch_args=-Np0 CXXFLAGS="-Wno-deprecated-copy" diff --git a/srcpkgs/libgadu/template b/srcpkgs/libgadu/template index 3775a273ca9..c90ab53f955 100644 --- a/srcpkgs/libgadu/template +++ b/srcpkgs/libgadu/template @@ -12,6 +12,7 @@ license="LGPL-2.1-only" homepage="https://www.wasilczyk.pl/en/projects/libgadu/" distfiles="https://github.com/wojtekka/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=f53e703d7ad93ce222dbf7fc0cec77f62813af38817a3678e799e91f1c69c94d +patch_args=-Np0 pre_configure() { NOCONFIGURE=1 ./autogen.sh diff --git a/srcpkgs/libgdal/template b/srcpkgs/libgdal/template index 72c96ff6760..246109c38cf 100644 --- a/srcpkgs/libgdal/template +++ b/srcpkgs/libgdal/template @@ -17,6 +17,7 @@ homepage="http://www.gdal.org/" distfiles="http://download.osgeo.org/gdal/${version}/gdal-${version}.tar.xz" checksum=5569a4daa1abcbba47a9d535172fc335194d9214fdb96cd0f139bb57329ae277 subpackages="libgdal-devel libgdal-tools" +patch_args=-Np0 if [ -z "$CROSS_BUILD" ]; then makedepends+=" hdf5-devel" diff --git a/srcpkgs/libgfshare/template b/srcpkgs/libgfshare/template index db617757070..74c7044cd86 100644 --- a/srcpkgs/libgfshare/template +++ b/srcpkgs/libgfshare/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://git.gitano.org.uk/libgfshare.git" distfiles="http://www.digital-scurf.org/files/libgfshare/libgfshare-${version}.tar.bz2" checksum=86f602860133c828356b7cf7b8c319ba9b27adf70a624fe32275ba1ed268331f +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/libgit2-glib/template b/srcpkgs/libgit2-glib/template index 00e6439339b..21f2430ff93 100644 --- a/srcpkgs/libgit2-glib/template +++ b/srcpkgs/libgit2-glib/template @@ -14,6 +14,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/GNOME/libgit2-glib" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=22dccc7aa9ff6f29edf50352b17d58c3f9289ba1cfa7952f70d7feb48676f10c +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/libglade/template b/srcpkgs/libglade/template index f9bbef8cfbe..5057e12b4d5 100644 --- a/srcpkgs/libglade/template +++ b/srcpkgs/libglade/template @@ -14,6 +14,7 @@ homepage="http://www.jamesh.id.au/software/libglade/" distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2" checksum=64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec python_version=2 #unverified +patch_args=-Np0 # Register DTDs with xmlcatmgr. xml_entries="system http://glade.gnome.org/glade-2.0.dtd /usr/share/xml/libglade/glade-2.0.dtd" diff --git a/srcpkgs/libglvnd/template b/srcpkgs/libglvnd/template index 2f6448cc978..e97629209e6 100644 --- a/srcpkgs/libglvnd/template +++ b/srcpkgs/libglvnd/template @@ -13,6 +13,7 @@ license="custom:MIT-alike" homepage="https://gitlab.freedesktop.org/glvnd/libglvnd" distfiles="https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v${version}/libglvnd-v${version}.tar.gz" checksum=6332c27f4c792b09a3eb1d7ae18c2d6ff6a0acaf3a746489caf859e659fca2f7 +patch_args=-Np0 provides="libGL-7.11_1 libEGL-7.11_1 libGLES-7.11_1" replaces="libGL>=0 libEGL>=0 libGLES>=0" diff --git a/srcpkgs/libgme/template b/srcpkgs/libgme/template index 30394ff3381..338848b520b 100644 --- a/srcpkgs/libgme/template +++ b/srcpkgs/libgme/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="https://bitbucket.org/mpyne/game-music-emu/wiki/Home" distfiles="https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-${version}.tar.xz" checksum=aba34e53ef0ec6a34b58b84e28bf8cfbccee6585cebca25333604c35db3e051d +patch_args=-Np0 if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then CXXFLAGS="-DMSB_FIRST=1" diff --git a/srcpkgs/libgpod/template b/srcpkgs/libgpod/template index 8e547f1f9eb..89f4bfd7fc3 100644 --- a/srcpkgs/libgpod/template +++ b/srcpkgs/libgpod/template @@ -12,6 +12,7 @@ license="LGPL-2.1-only" homepage="http://www.gtkpod.org/libgpod/" distfiles="${SOURCEFORGE_SITE}/gtkpod/$pkgname-$version.tar.bz2" checksum=638a7959d04e95f1e62abad02bd33702e4e8dfef98485ac7d9d50395c37e955d +patch_args=-Np0 post_patch() { vsed -i configure.ac -e '/PKG_CHECK_MODULES/s/libplist\b/libplist-2.0/g' diff --git a/srcpkgs/libgsm/template b/srcpkgs/libgsm/template index 1d7cc0a0dc2..55da1bc0275 100644 --- a/srcpkgs/libgsm/template +++ b/srcpkgs/libgsm/template @@ -9,6 +9,7 @@ short_desc="GSM 06.10 lossy speech compression" maintainer="Orphaned " license="custom" checksum=04f68087c3348bf156b78d59f4d8aff545da7f6e14f33be8f47d33f4efae2a10 +patch_args=-Np0 do_build() { make CC=$CC LD=$CC AR=$AR CCFLAGS="$CFLAGS -c -DNeedFunctionPrototypes=1" diff --git a/srcpkgs/libguestfs/template b/srcpkgs/libguestfs/template index 81afe313d20..4f0b0283a00 100644 --- a/srcpkgs/libguestfs/template +++ b/srcpkgs/libguestfs/template @@ -23,6 +23,7 @@ license=" GPL-2.0-or-later" homepage="http://libguestfs.org" distfiles="http://libguestfs.org/download/${_version_short}-stable/${pkgname}-${version}.tar.gz" checksum=72b7dcdd32da1c17c932cf5a0a70b3bd68bc93e94828ad66a539f2e616adb025 +patch_args=-Np0 conf_files="etc/libguestfs-tools.conf etc/xdg/virt-builder/repos.d/libguestfs.conf diff --git a/srcpkgs/libieee1284/template b/srcpkgs/libieee1284/template index 885772156e5..d24ad9c7805 100644 --- a/srcpkgs/libieee1284/template +++ b/srcpkgs/libieee1284/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://cyberelk.net/tim/libieee1284" distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.bz2" checksum=7730de107782e5d2b071bdcb5b06a44da74856f00ef4a9be85d1ba4806a38f1a +patch_args=-Np0 libieee1284-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/libimobiledevice/template b/srcpkgs/libimobiledevice/template index a8bb2d08e09..19285ba975f 100644 --- a/srcpkgs/libimobiledevice/template +++ b/srcpkgs/libimobiledevice/template @@ -13,6 +13,7 @@ homepage="https://libimobiledevice.org" changelog="https://raw.githubusercontent.com/libimobiledevice/libimobiledevice/master/NEWS" distfiles="https://github.com/libimobiledevice/libimobiledevice/archive/${version}.tar.gz" checksum=acbfb73eabee162e64c0d9de207d71c0a5f47c40cd5ad32a5097f734328ce10a +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args="ac_cv_sys_file_offset_bits=yes ac_cv_sys_large_file=yes" diff --git a/srcpkgs/libindicator/template b/srcpkgs/libindicator/template index 1ad0e5f9c6e..abe8951a83a 100644 --- a/srcpkgs/libindicator/template +++ b/srcpkgs/libindicator/template @@ -12,6 +12,7 @@ license="GPL-3" homepage="https://launchpad.net/libindicator" distfiles="https://launchpad.net/libindicator/${version%.*}/${version}/+download/libindicator-${version}.tar.gz" checksum=b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f +patch_args=-Np0 CFLAGS="-Wno-deprecated-declarations" # Avoid errors for macros deprecated since glib-2.58 */ diff --git a/srcpkgs/libiodbc/template b/srcpkgs/libiodbc/template index 85f0286a90b..fec82642e70 100644 --- a/srcpkgs/libiodbc/template +++ b/srcpkgs/libiodbc/template @@ -12,6 +12,7 @@ license="LGPL-2.1" homepage="http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/" distfiles="${SOURCEFORGE_SITE}/iodbc/${pkgname}-${version}.tar.gz" checksum=51c5ff3a7d9a54202486cb77a3514e0e379a135beefcd5d12b96d1901f9dfb62 +patch_args=-Np0 post_install() { rm -rf ${DESTDIR}/usr/share/libiodbc diff --git a/srcpkgs/libixion/template b/srcpkgs/libixion/template index 60a21b07ac9..52f55031e1a 100644 --- a/srcpkgs/libixion/template +++ b/srcpkgs/libixion/template @@ -12,6 +12,7 @@ homepage="https://gitlab.com/ixion/ixion/" distfiles="http://kohei.us/files/ixion/src/${pkgname}-${version}.tar.xz" checksum=426c643b3c346d546027c0226619abb2e59848e94470b9b5aa6365e26125089f replaces="libixion11>=0" +patch_args=-Np0 libixion-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/libmad/template b/srcpkgs/libmad/template index b61acb3d8f4..02d40edf5aa 100644 --- a/srcpkgs/libmad/template +++ b/srcpkgs/libmad/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="http://www.underbit.com/products/mad/" distfiles="${SOURCEFORGE_SITE}/mad/$pkgname-$version.tar.gz" checksum=bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690 +patch_args=-Np0 pre_configure() { sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac diff --git a/srcpkgs/libmemcached/template b/srcpkgs/libmemcached/template index c39630b669c..7365c00db92 100644 --- a/srcpkgs/libmemcached/template +++ b/srcpkgs/libmemcached/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://libmemcached.org/libMemcached.html" distfiles="http://launchpad.net/${pkgname}/1.0/${version}/+download/${pkgname}-${version}.tar.gz" checksum=e22c0bb032fde08f53de9ffbc5a128233041d9f33b5de022c0978a2149885f82 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/libmill/template b/srcpkgs/libmill/template index 5bde0ee2120..5df89def696 100644 --- a/srcpkgs/libmill/template +++ b/srcpkgs/libmill/template @@ -10,6 +10,7 @@ license="MIT" homepage="http://libmill.org/" distfiles="https://github.com/sustrik/libmill/archive/${version}.tar.gz" checksum=ff6903cd05f45c4cc050921d03201a93d2723ab59c480eb924f8f1ca8c6f0614 +patch_args=-Np0 pre_configure() { export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=?/}" diff --git a/srcpkgs/libmilter/template b/srcpkgs/libmilter/template index f51b61430ce..d5ca00bb6af 100644 --- a/srcpkgs/libmilter/template +++ b/srcpkgs/libmilter/template @@ -12,6 +12,7 @@ license="Sendmail" homepage="https://www.milter.org/developers/api/" distfiles="ftp://ftp.mirrorservice.org/sites/ftp.sendmail.org/pub/${_pkgname}/${_pkgname}.${_version}.tar.gz" checksum=24f94b5fd76705f15897a78932a5f2439a32b1a2fdc35769bb1a5f5d9b4db439 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/libmirage/template b/srcpkgs/libmirage/template index 283a27e223c..c3c66f1cf3b 100644 --- a/srcpkgs/libmirage/template +++ b/srcpkgs/libmirage/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="http://cdemu.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/cdemu/libmirage-${version}.tar.xz" checksum=d50d97e15f180f99fddcdf388b0d9fec073fb8fe080ba6c69cd3674214141139 +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/libmowgli/template b/srcpkgs/libmowgli/template index cf17648a4b7..80f8da745be 100644 --- a/srcpkgs/libmowgli/template +++ b/srcpkgs/libmowgli/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://github.com/atheme/libmowgli-2" distfiles="https://github.com/atheme/libmowgli-2/archive/v${version}.tar.gz" checksum=b7faab2fb9f46366a52b51443054a2ed4ecdd04774c65754bf807c5e9bdda477 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/libmp4v2/template b/srcpkgs/libmp4v2/template index 674b6ee304a..ef8115e3857 100644 --- a/srcpkgs/libmp4v2/template +++ b/srcpkgs/libmp4v2/template @@ -11,6 +11,7 @@ homepage="http://code.google.com/p/mp4v2/" license="MPL-1.1" distfiles="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/mp4v2/${wrksrc}.tar.bz2" checksum=0319b9a60b667cf10ee0ec7505eb7bdc0a2e21ca7a93db96ec5bd758e3428338 +patch_args=-Np0 CXXFLAGS="-Wno-narrowing" diff --git a/srcpkgs/libmpd/template b/srcpkgs/libmpd/template index 608057b0232..65647c6d706 100644 --- a/srcpkgs/libmpd/template +++ b/srcpkgs/libmpd/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://gmpc.wikia.com/wiki/Gnome_Music_Player_Client" distfiles="http://download.sarine.nl/Programs/gmpc/${version%.*}/${pkgname}-${version}.tar.gz" checksum=fe20326b0d10641f71c4673fae637bf9222a96e1712f71f170fca2fc34bf7a83 +patch_args=-Np0 libmpd-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/libmspub/template b/srcpkgs/libmspub/template index 5c96ba40706..c74bfdaf9b9 100644 --- a/srcpkgs/libmspub/template +++ b/srcpkgs/libmspub/template @@ -11,6 +11,7 @@ license="GPL-3" homepage="http://cgit.freedesktop.org/libreoffice/libmspub/commit/" distfiles="https://dev-www.libreoffice.org/src/${pkgname}-${version}.tar.xz" checksum=ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba +patch_args=-Np0 libmspub-devel_package() { depends="libmspub>=${version}_${revision} $makedepends" diff --git a/srcpkgs/libmygpo-qt/template b/srcpkgs/libmygpo-qt/template index 1014491ae24..676772f69a4 100644 --- a/srcpkgs/libmygpo-qt/template +++ b/srcpkgs/libmygpo-qt/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/gpodder/libmygpo-qt" distfiles="https://github.com/gpodder/libmygpo-qt/archive/${version}.tar.gz" checksum=2eab976efbbdd39bae1b436e7dcd2ddffd35241432094f29b69308840a938459 +patch_args=-Np0 libmygpo-qt-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/libmygui/template b/srcpkgs/libmygui/template index 902ad67b0d5..30627cf63f8 100644 --- a/srcpkgs/libmygui/template +++ b/srcpkgs/libmygui/template @@ -13,6 +13,7 @@ license="MIT" homepage="http://mygui.info" distfiles="https://github.com/MyGUI/mygui/archive/MyGUI${version}.tar.gz" checksum=d1d5f294670ae71f7200ed4b30859018281d8cfd45d6a38d18b97a4aba604c42 +patch_args=-Np0 libmygui-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/libnet/template b/srcpkgs/libnet/template index d38ed97b349..5454c3b9258 100644 --- a/srcpkgs/libnet/template +++ b/srcpkgs/libnet/template @@ -9,6 +9,7 @@ license="GPL-3.0-only" homepage="https://github.com/sam-github/libnet" distfiles="https://github.com/sam-github/libnet/releases/download/v${version}/${pkgname}-${version}.tar.gz" checksum=caa4868157d9e5f32e9c7eac9461efeff30cb28357f7f6bf07e73933fb4edaa7 +patch_args=-Np0 libnet-devel_package() { depends="${sourcepkg}-${version}_${revision}" diff --git a/srcpkgs/libnetfilter_log/template b/srcpkgs/libnetfilter_log/template index f2b85ead2ee..d926f53b278 100644 --- a/srcpkgs/libnetfilter_log/template +++ b/srcpkgs/libnetfilter_log/template @@ -11,6 +11,7 @@ homepage="http://www.netfilter.org/projects/libnetfilter_log/index.html" short_desc="A userspace library providing interface to packets that have been logged by the kernel packet filter" distfiles="http://www.netfilter.org/projects/${pkgname}/files/${pkgname}-${version}.tar.bz2" checksum=74e0fe75753dba3ac114531b5e73240452c789a3f3adccf5c51217da1d933b21 +patch_args=-Np0 pre_configure() { sed -i 's/u_int\([0-9]*\)_t/uint\1_t/' utils/* src/* include/libnetfilter_log/* diff --git a/srcpkgs/libnfc/template b/srcpkgs/libnfc/template index 7737dad5690..96841d882d6 100644 --- a/srcpkgs/libnfc/template +++ b/srcpkgs/libnfc/template @@ -13,6 +13,7 @@ homepage="http://nfc-tools.org/" distfiles="https://github.com/nfc-tools/libnfc/archive/libnfc-${version}.tar.gz" checksum=0ab7d9b41442e7edc2af7c54630396edc73ce51128aa28a5c6e4135dc5595495 CFLAGS="-D_GNU_SOURCE" +patch_args=-Np0 pre_configure() { sed -i "s|MODE=\"0664\", GROUP=\"plugdev\"|TAG+=\"uaccess\"|g" contrib/udev/93-pn53x.rules diff --git a/srcpkgs/libnfs/template b/srcpkgs/libnfs/template index f1e27dd15f5..792a882d68c 100644 --- a/srcpkgs/libnfs/template +++ b/srcpkgs/libnfs/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/sahlberg/libnfs" distfiles="https://github.com/sahlberg/libnfs/archive/${pkgname}-${version}.tar.gz" checksum=6ee77e9fe220e2d3e3b1f53cfea04fb319828cc7dbb97dd9df09e46e901d797d +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/libnih/template b/srcpkgs/libnih/template index 52ebfddc9b7..ae28525b189 100644 --- a/srcpkgs/libnih/template +++ b/srcpkgs/libnih/template @@ -14,6 +14,7 @@ license="GPL-2.0-only" homepage="https://github.com/keybuk/${pkgname}" distfiles="${homepage}/archive/${_commit}.tar.gz" checksum=bd1ce78c9e4808fd02e06edaf581eb2b70fa43d7baae051848dfdbaf5b4d1a1c +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/libnl/template b/srcpkgs/libnl/template index ab8c03352d7..6b2f6cbe394 100644 --- a/srcpkgs/libnl/template +++ b/srcpkgs/libnl/template @@ -9,6 +9,7 @@ license="LGPL-2.1-only" maintainer="Orphaned " distfiles="http://www.infradead.org/~tgr/libnl/files/libnl-${version}.tar.gz" checksum=4f80c21fe5bbcdde6e72b59b4f98306063a41421f909887c34e58d93e746d063 +patch_args=-Np0 libnl-devel_package() { depends="libnl>=${version}_${revision}" diff --git a/srcpkgs/libogre/template b/srcpkgs/libogre/template index df60f7b4f54..e3621726834 100644 --- a/srcpkgs/libogre/template +++ b/srcpkgs/libogre/template @@ -17,6 +17,7 @@ license="MIT" homepage="http://www.ogre3d.org" distfiles="https://github.com/OGRECave/ogre/archive/v$version.tar.gz" checksum=028e7d0bbfce8fd254e1102666b07b7cbb9379321e88885d82feee5e061342aa +patch_args=-Np0 pre_configure() { if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then diff --git a/srcpkgs/libomxil-bellagio/template b/srcpkgs/libomxil-bellagio/template index 6b120a2a87c..c6f3c9e38cc 100644 --- a/srcpkgs/libomxil-bellagio/template +++ b/srcpkgs/libomxil-bellagio/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="http://omxil.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/omxil/omxil/Bellagio%20${version}/${pkgname}-${version}.tar.gz" checksum=593c0729c8ef8c1467b3bfefcf355ec19a46dd92e31bfc280e17d96b0934d74c +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/libopenglrecorder/template b/srcpkgs/libopenglrecorder/template index b0b06ee3797..241bc09971c 100644 --- a/srcpkgs/libopenglrecorder/template +++ b/srcpkgs/libopenglrecorder/template @@ -11,6 +11,7 @@ license="3-clause-BSD" homepage="https://github.com/Benau/libopenglrecorder" distfiles="https://github.com/Benau/libopenglrecorder/archive/v${version}.tar.gz" checksum=a90a99c23f868636f77003a8dc6ffe6c3699fc2759c47df5dbd44ff8b42d2e4f +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/libopenshot-audio/template b/srcpkgs/libopenshot-audio/template index 56c330eafcf..6df0d294f84 100644 --- a/srcpkgs/libopenshot-audio/template +++ b/srcpkgs/libopenshot-audio/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/OpenShot/libopenshot-audio" distfiles="https://github.com/OpenShot/libopenshot-audio/archive/v${version}.tar.gz" checksum=937ff4f1c2dfb8ab5d56ad85beacaa29dfd5a79af0d9cf647386034fe9882309 +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/libosinfo/template b/srcpkgs/libosinfo/template index e9210c52f08..52283fceeca 100644 --- a/srcpkgs/libosinfo/template +++ b/srcpkgs/libosinfo/template @@ -20,6 +20,7 @@ homepage="https://libosinfo.org/" changelog="https://gitlab.com/libosinfo/libosinfo/raw/master/NEWS" distfiles="https://gitlab.com/libosinfo/libosinfo/-/archive/v${version}/libosinfo-v${version}.tar.gz" checksum=7270d7a54f4ea46b21163aa1704caf69a5e8ed980434dac6b9951588cae62ea7 +patch_args=-Np0 build_options="gtk_doc gir vala" desc_option_gtk_doc="Build GTK API docs" diff --git a/srcpkgs/libostree/template b/srcpkgs/libostree/template index 96ce2464312..bb03d1c7c31 100644 --- a/srcpkgs/libostree/template +++ b/srcpkgs/libostree/template @@ -20,6 +20,7 @@ homepage="https://ostree.readthedocs.io/en/latest/" changelog="https://github.com/ostreedev/ostree/releases" distfiles="https://github.com/ostreedev/ostree/releases/download/v${version}/libostree-${version}.tar.xz" checksum=854008e7c71d44f6b3670f0e9b8500db0f08ff8b297d0b30a7cb9a66f34c5d7c +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/libowfat/template b/srcpkgs/libowfat/template index 95c7e9a812b..3ab028281e0 100644 --- a/srcpkgs/libowfat/template +++ b/srcpkgs/libowfat/template @@ -10,6 +10,7 @@ license="GPL-2" homepage="https://www.fefe.de/libowfat/" distfiles="https://www.fefe.de/${pkgname}/${pkgname}-${version}.tar.xz" checksum=f4b9b3d9922dc25bc93adedf9e9ff8ddbebaf623f14c8e7a5f2301bfef7998c1 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/libportal/template b/srcpkgs/libportal/template index 48211c3767e..9dee4f8c0d2 100644 --- a/srcpkgs/libportal/template +++ b/srcpkgs/libportal/template @@ -12,6 +12,7 @@ license="LGPL-2.0-or-later" homepage="https://github.com/flatpak/libportal" distfiles="https://github.com/flatpak/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.xz" checksum=fd35d66357169e63e33ef46c43fdf22ddc07dbd960ec3462b58ca9ef15a65bd7 +patch_args=-Np0 build_options="gtk_doc" diff --git a/srcpkgs/libproxy/template b/srcpkgs/libproxy/template index d6103007032..c678d6e8383 100644 --- a/srcpkgs/libproxy/template +++ b/srcpkgs/libproxy/template @@ -13,6 +13,7 @@ homepage="http://github.com/libproxy/libproxy" license="LGPL-2.1" distfiles="https://github.com/libproxy/libproxy/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=18f58b0a0043b6881774187427ead158d310127fc46a1c668ad6d207fb28b4e0 +patch_args=-Np0 libproxy-devel_package() { depends="libproxy>=${version}_${revision}" diff --git a/srcpkgs/libpurple-steam/template b/srcpkgs/libpurple-steam/template index 06c8cc83368..844f7e3b713 100644 --- a/srcpkgs/libpurple-steam/template +++ b/srcpkgs/libpurple-steam/template @@ -1,4 +1,5 @@ # Template file for 'libpurple-steam' +patch_args=-Np0 pkgname="libpurple-steam" version="1.6.1" diff --git a/srcpkgs/libratbag/template b/srcpkgs/libratbag/template index 370d670157f..b1acd757fa3 100644 --- a/srcpkgs/libratbag/template +++ b/srcpkgs/libratbag/template @@ -16,6 +16,7 @@ license="MIT" homepage="https://github.com/libratbag/libratbag" distfiles="https://github.com/libratbag/libratbag/archive/v${version}.tar.gz" checksum=9e6ad8d54daef8cc0f44784bdde9bf5a3879d8a66d11e0b990b87266f81f7329 +patch_args=-Np0 post_install() { vsv ratbagd diff --git a/srcpkgs/libreadline8/template b/srcpkgs/libreadline8/template index dbac03c6764..44245746df7 100644 --- a/srcpkgs/libreadline8/template +++ b/srcpkgs/libreadline8/template @@ -15,6 +15,7 @@ license="GPL-3.0-or-later" homepage="https://tiswww.cwru.edu/php/chet/readline/rltop.html" distfiles="${GNU_SITE}/readline/readline-${_dist_ver}.tar.gz" checksum=f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02 +patch_args=-Np0 post_patch() { cd ${wrksrc} diff --git a/srcpkgs/libreoffice/template b/srcpkgs/libreoffice/template index f08066f1296..2c19e2ec70d 100644 --- a/srcpkgs/libreoffice/template +++ b/srcpkgs/libreoffice/template @@ -5,6 +5,7 @@ revision=1 build_style=meta make_build_target="build-nocheck" nocross="Several dependencies are nocross=yes" +patch_args=-Np0 hostmakedepends="automake flex git gperf hyphen icu libtool openldap which gettext xz perl-Archive-Zip pkg-config qt5-qmake sane ucpp unzip wget zip python3-setuptools diff --git a/srcpkgs/libretro-mupen64plus-rpi/template b/srcpkgs/libretro-mupen64plus-rpi/template index 47752ab573e..2bf1f3af3e6 100644 --- a/srcpkgs/libretro-mupen64plus-rpi/template +++ b/srcpkgs/libretro-mupen64plus-rpi/template @@ -14,6 +14,7 @@ homepage="http://www.libretro.com/" distfiles="https://github.com/libretro/mupen64plus-libretro/archive/${_gitrev}.tar.gz" checksum=947abfb1d5ff34d6b22fecfb2df02bd3759fde3f4a0e5d238f65ec7e97d964d4 conflicts="ĺibretro-mupen64plus>=0" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/libretro-mupen64plus/template b/srcpkgs/libretro-mupen64plus/template index 81adcec5d65..66259516c75 100644 --- a/srcpkgs/libretro-mupen64plus/template +++ b/srcpkgs/libretro-mupen64plus/template @@ -13,6 +13,7 @@ homepage="http://www.libretro.com/" distfiles="https://github.com/libretro/mupen64plus-libretro/archive/${_gitrev}.tar.gz" checksum=947abfb1d5ff34d6b22fecfb2df02bd3759fde3f4a0e5d238f65ec7e97d964d4 conflicts="ĺibretro-mupen64plus-rpi>=0" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686*) hostmakedepends+=" nasm";; diff --git a/srcpkgs/librtas/template b/srcpkgs/librtas/template index 65951b25fe1..f7d9c0411d4 100644 --- a/srcpkgs/librtas/template +++ b/srcpkgs/librtas/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/ibm-power-utilities/librtas" distfiles="https://github.com/ibm-power-utilities/librtas/archive/v${version}.tar.gz" checksum=b47b2a6f140347ac265e2c66ddf68293f6cdcc7c0c9a78c6e21ff52846465415 +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/libscrypt/template b/srcpkgs/libscrypt/template index f3777bab08e..debdb6e9c44 100644 --- a/srcpkgs/libscrypt/template +++ b/srcpkgs/libscrypt/template @@ -9,6 +9,7 @@ license="2-clause-BSD" homepage="https://github.com/technion/" distfiles="https://github.com/technion/${pkgname}/archive/v${version}.tar.gz" checksum=68e377e79745c10d489b759b970e52d819dbb80dd8ca61f8c975185df3f457d3 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/libsearpc/template b/srcpkgs/libsearpc/template index 22fbb7987d0..8d527de8c27 100644 --- a/srcpkgs/libsearpc/template +++ b/srcpkgs/libsearpc/template @@ -17,6 +17,7 @@ homepage="https://seafile.com" distfiles="https://github.com/haiwen/libsearpc/archive/${_gitrev}.tar.gz" checksum=2a58894cefbc1d7398581fc58103261688c93a9cf63f11afc5e92142ed948c00 python_version=3 +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/libselinux/template b/srcpkgs/libselinux/template index fdd8d639932..ec31b411ef3 100644 --- a/srcpkgs/libselinux/template +++ b/srcpkgs/libselinux/template @@ -13,6 +13,7 @@ license="GPL-2.0-only" homepage="https://www.nsa.gov/what-we-do/research/selinux/" distfiles="https://github.com/SELinuxProject/selinux/releases/download/20191204/${pkgname}-${version}.tar.gz" checksum=2ea2b30f671dae9d6b1391cbe8fb2ce5d36a3ee4fb1cd3c32f0d933c31b82433 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = musl ]; then makedepends+=" musl-fts-devel" diff --git a/srcpkgs/libsigrokdecode/template b/srcpkgs/libsigrokdecode/template index 8be3b736373..a06923caeec 100644 --- a/srcpkgs/libsigrokdecode/template +++ b/srcpkgs/libsigrokdecode/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="https://sigrok.org/" distfiles="https://sigrok.org/download/source/${pkgname}/${pkgname}-${version}.tar.gz" checksum=c50814aa6743cd8c4e88c84a0cdd8889d883c3be122289be90c63d7d67883fc0 +patch_args=-Np0 pre_configure() { autoreconf diff --git a/srcpkgs/libsigsegv/template b/srcpkgs/libsigsegv/template index 13352c58bc4..977989a1db5 100644 --- a/srcpkgs/libsigsegv/template +++ b/srcpkgs/libsigsegv/template @@ -10,6 +10,7 @@ homepage="https://www.gnu.org/software/libsigsegv/" distfiles="https://ftpmirror.gnu.org/libsigsegv/libsigsegv-${version}.tar.gz" checksum=3ae1af359eebaa4ffc5896a1aee3568c052c99879316a1ab57f8fe1789c390b6 configure_args="--enable-shared" +patch_args=-Np0 post_configure() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/libsmbios/template b/srcpkgs/libsmbios/template index 99843728850..fbd3633b480 100644 --- a/srcpkgs/libsmbios/template +++ b/srcpkgs/libsmbios/template @@ -16,6 +16,7 @@ checksum=36c36a0f6b59190d6b4fef11696886e4511091929a5eb7ae7cf5fea0c32d3f58 # explicitly list the subpackages to make sure they are installed in the # right order: subpackages="libsmbios-devel python3-libsmbios libsmbios-utils" +patch_args=-Np0 archs="i686* x86_64*" diff --git a/srcpkgs/libspnav/template b/srcpkgs/libspnav/template index df35072b240..af3966aa1fd 100644 --- a/srcpkgs/libspnav/template +++ b/srcpkgs/libspnav/template @@ -11,6 +11,7 @@ license="GPL-3" homepage="http://spacenav.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/spacenav/${pkgname}-${version}.tar.gz" checksum=7ae4d7bb7f6a5dda28b487891e01accc856311440f582299760dace6ee5f1f93 +patch_args=-Np0 do_build() { make CC="${CC}" AR="${AR}" diff --git a/srcpkgs/libssh/template b/srcpkgs/libssh/template index 9b57379bfc8..9c3194a779c 100644 --- a/srcpkgs/libssh/template +++ b/srcpkgs/libssh/template @@ -13,6 +13,7 @@ license="LGPL-2.1-or-later" homepage="https://www.libssh.org/" distfiles="https://git.libssh.org/projects/libssh.git/snapshot/${pkgname}-${version}.tar.gz" checksum=df65d6054554e8ff5458628808ce8d68b928175f4fefa1c833582b9568491e64 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) configure_args="-DHAVE_GLOB=0" ;; diff --git a/srcpkgs/libtecla/template b/srcpkgs/libtecla/template index 7055a50a638..ee59c9c3366 100644 --- a/srcpkgs/libtecla/template +++ b/srcpkgs/libtecla/template @@ -11,6 +11,7 @@ license="MIT/X11" homepage="http://www.astro.caltech.edu/~mcs/tecla" distfiles="${homepage}/${pkgname}-${version}.tar.gz" checksum=f2757cc55040859fcf8f59a0b7b26e0184a22bece44ed9568a4534a478c1ee1a +patch_args=-Np0 post_install() { vlicense LICENSE.TERMS LICENSE diff --git a/srcpkgs/libticables2/template b/srcpkgs/libticables2/template index 17f06ace976..94728849372 100644 --- a/srcpkgs/libticables2/template +++ b/srcpkgs/libticables2/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://www.ticalc.org" distfiles="${SOURCEFORGE_SITE}/tilp/tilp2-linux/tilp2-${_tilpver}/${pkgname}-${version}.tar.bz2" checksum=0c6fb6516e72ccab081ddb3aecceff694ed93aec689ddd2edba9c7c7406c4522 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" gettext-devel" diff --git a/srcpkgs/libtool/template b/srcpkgs/libtool/template index b9972df7034..1eafc55f90b 100644 --- a/srcpkgs/libtool/template +++ b/srcpkgs/libtool/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://www.gnu.org/software/libtool" distfiles="${GNU_SITE}/libtool/$pkgname-$version.tar.xz" checksum=7c87a8c2c8c0fc9cd5019e402bed4292462d00a718a7cd5f11218153bf28b26f +patch_args=-Np0 pre_configure() { touch aclocal.m4 libltdl/aclocal.m4 Makefile.am libltdl/Makefile.am Makefile.in libltdl/Makefile.in diff --git a/srcpkgs/libtorrent/template b/srcpkgs/libtorrent/template index cadf0f5bb1d..c358b89ebff 100644 --- a/srcpkgs/libtorrent/template +++ b/srcpkgs/libtorrent/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/rakshasa/libtorrent" distfiles="https://github.com/rakshasa/libtorrent/archive/v${version}.tar.gz" checksum=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722 +patch_args=-Np0 # https://github.com/rakshasa/rtorrent/issues/156 case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/libu2f-host/template b/srcpkgs/libu2f-host/template index c2cd5b754dc..e8a14e5d4f3 100644 --- a/srcpkgs/libu2f-host/template +++ b/srcpkgs/libu2f-host/template @@ -15,6 +15,7 @@ homepage="https://developers.yubico.com/libu2f-host/" #changelog="https://raw.githubusercontent.com/Yubico/libu2f-host/master/NEWS" distfiles="https://github.com/Yubico/libu2f-host/archive/libu2f-host-${version}.tar.gz" checksum=45937c6c04349f865d9f047d3a68cc50ea24e9085d18ac2c7d31fa38eb749303 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/libu2f-server/template b/srcpkgs/libu2f-server/template index 661fc934531..334b9bbe754 100644 --- a/srcpkgs/libu2f-server/template +++ b/srcpkgs/libu2f-server/template @@ -12,6 +12,7 @@ license="BSD" homepage="https://developers.yubico.com/libu2f-server/" distfiles="https://github.com/Yubico/libu2f-server/archive/libu2f-server-${version}.tar.gz" checksum=6551109e692c9c4fea61e99f1cd8377e8e54e3033e421cc191da6d673311c860 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/libucl/template b/srcpkgs/libucl/template index 04b2608684d..d5440d9b960 100644 --- a/srcpkgs/libucl/template +++ b/srcpkgs/libucl/template @@ -12,6 +12,7 @@ license="BSD-2-Clause" homepage="https://github.com/vstakhov/libucl" distfiles="https://github.com/vstakhov/libucl/archive/${version}.tar.gz" checksum=a6397e179672f0e8171a0f9a2cfc37e01432b357fd748b13f4394436689d24ef +patch_args=-Np0 pre_configure() { NOCONFIGURE=1 ./autogen.sh diff --git a/srcpkgs/libuninum/template b/srcpkgs/libuninum/template index e66a1df67ec..d2278fa2456 100644 --- a/srcpkgs/libuninum/template +++ b/srcpkgs/libuninum/template @@ -10,6 +10,7 @@ license="LGPL-2.1-only" homepage="http://billposer.org/Software/libuninum.html" distfiles="http://billposer.org/Software/Downloads/libuninum-${version}.tar.bz2" checksum=e704983c3c00e9b76bd836b8b83ce31bfe4eb1752eee8be123cf97c1275076ea +patch_args=-Np0 libuninum-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/libunique/template b/srcpkgs/libunique/template index db488533acb..316b811bfb7 100644 --- a/srcpkgs/libunique/template +++ b/srcpkgs/libunique/template @@ -13,6 +13,7 @@ license="LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Attic/LibUnique" distfiles="${GNOME_SITE}/${pkgname}/3.0/${pkgname}-${version}.tar.bz2" checksum=50269a87c7aabf1e25f01b3bbb280133138ffd7b6776289894c614a4b6ca968d +patch_args=-Np0 # Package build options build_options="gir" diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template index d4819ce54ac..808d89e4984 100644 --- a/srcpkgs/libunwind/template +++ b/srcpkgs/libunwind/template @@ -11,6 +11,7 @@ license="MIT" homepage="https://www.nongnu.org/libunwind/" distfiles="${NONGNU_SITE}/${pkgname}/${pkgname}-${version/rc/-rc}.tar.gz" checksum=90337653d92d4a13de590781371c604f9031cdb50520366aa1e3a91e1efb1017 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/libusb-compat/template b/srcpkgs/libusb-compat/template index 016d5753f1d..05585a0ad57 100644 --- a/srcpkgs/libusb-compat/template +++ b/srcpkgs/libusb-compat/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="http://libusb.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2" checksum=404ef4b6b324be79ac1bfb3d839eac860fbc929e6acb1ef88793a6ea328bc55a +patch_args=-Np0 libusb-compat-devel_package() { depends="libusb-devel ${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/libusb/template b/srcpkgs/libusb/template index 8c5ff6054ee..6ec291f0778 100644 --- a/srcpkgs/libusb/template +++ b/srcpkgs/libusb/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="https://libusb.info" distfiles="https://github.com/libusb/libusb/releases/download/v${version}/libusb-${version}.tar.bz2" checksum=7efd2685f7b327326dcfb85cee426d9b871fd70e22caa15bb68d595ce2a2b12a +patch_args=-Np0 libusb-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/libusbmuxd/template b/srcpkgs/libusbmuxd/template index e3ae03e51b9..192aa8b4a0d 100644 --- a/srcpkgs/libusbmuxd/template +++ b/srcpkgs/libusbmuxd/template @@ -12,6 +12,7 @@ homepage="https://libimobiledevice.org" changelog="https://raw.githubusercontent.com/libimobiledevice/libusbmuxd/master/NEWS" distfiles="https://github.com/libimobiledevice/libusbmuxd/archive/${version}.tar.gz" checksum=8ae3e1d9340177f8f3a785be276435869363de79f491d05d8a84a59efc8a8fdc +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/libuv/template b/srcpkgs/libuv/template index 76a36863f4b..24938fe4bc0 100644 --- a/srcpkgs/libuv/template +++ b/srcpkgs/libuv/template @@ -13,6 +13,7 @@ distfiles="https://github.com/libuv/libuv/archive/v${version}.tar.gz" checksum=6cfeb5f4bab271462b4a2cc77d4ecec847fdbdc26b72019c27ae21509e6f94fa # the tests fail when run as root and as such break in the CI containers make_check="extended" +patch_args=-Np0 LDFLAGS="-pthread" diff --git a/srcpkgs/libvdpau/template b/srcpkgs/libvdpau/template index 8b1c817cfd0..81fa6d31446 100644 --- a/srcpkgs/libvdpau/template +++ b/srcpkgs/libvdpau/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://freedesktop.org/wiki/Software/VDPAU/" distfiles="https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/${version}/libvdpau-${version}.tar.gz" checksum=240dd8f9ec08de707529917677827ba12e13b9fc299eeb3af13ea05e7fc74aba +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/libvidstab/template b/srcpkgs/libvidstab/template index 6d28468873b..acd85fc894a 100644 --- a/srcpkgs/libvidstab/template +++ b/srcpkgs/libvidstab/template @@ -11,6 +11,7 @@ license="GPL-2" homepage="http://public.hronopik.de/vid.stab/" distfiles="https://github.com/georgmartius/vid.stab/archive/v${version}.tar.gz" checksum=14d2a053e56edad4f397be0cb3ef8eb1ec3150404ce99a426c4eb641861dc0bb +patch_args=-Np0 pre_configure() { sed -i -e 's/include (FindSSE)//' CMakeLists.txt diff --git a/srcpkgs/libvirt-glib/template b/srcpkgs/libvirt-glib/template index 032188df7f7..568e921d990 100644 --- a/srcpkgs/libvirt-glib/template +++ b/srcpkgs/libvirt-glib/template @@ -16,6 +16,7 @@ homepage="https://libvirt.org" distfiles="http://libvirt.org/sources/glib/${pkgname}-${version}.tar.xz" checksum=8423f7069daa476307321d1c11e2ecc285340cd32ca9fc05207762843edeacbd replaces="libvirt-glib-python>=0" +patch_args=-Np0 build_options="doc gir vala" build_options_default="gir vala" diff --git a/srcpkgs/libwmf/template b/srcpkgs/libwmf/template index 938d07c5e6b..c427559b43c 100644 --- a/srcpkgs/libwmf/template +++ b/srcpkgs/libwmf/template @@ -17,6 +17,7 @@ homepage="http://wvware.sourceforge.net/libwmf.html" license="LGPL-2.1" distfiles="${SOURCEFORGE_SITE}/wvware/${pkgname}-${version}.tar.gz" checksum=5b345c69220545d003ad52bfd035d5d6f4f075e65204114a9e875e84895a7cf8 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/libxdg-basedir/template b/srcpkgs/libxdg-basedir/template index f9cc8880c43..f572dd6294c 100644 --- a/srcpkgs/libxdg-basedir/template +++ b/srcpkgs/libxdg-basedir/template @@ -11,6 +11,7 @@ license="MIT" homepage="https://github.com/devnev/libxdg-basedir" distfiles="https://github.com/devnev/libxdg-basedir/archive/libxdg-basedir-${version}.tar.gz" checksum=1c2b0032a539033313b5be2e48ddd0ae94c84faf21d93956d53562eef4614868 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/libxkbcommon/template b/srcpkgs/libxkbcommon/template index 3cfefeb295d..26668752a01 100644 --- a/srcpkgs/libxkbcommon/template +++ b/srcpkgs/libxkbcommon/template @@ -15,6 +15,7 @@ license="MIT" homepage="https://xkbcommon.org/" distfiles="https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-${version}.tar.gz" checksum=e1b79838256549d72f42c824f720b4f14603374cfbe5587942e35a0cbb13ff9e +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/libxml2-python/template b/srcpkgs/libxml2-python/template index 4208519dac3..dca8e06333d 100644 --- a/srcpkgs/libxml2-python/template +++ b/srcpkgs/libxml2-python/template @@ -14,6 +14,7 @@ license="MIT" homepage="http://www.xmlsoft.org/" distfiles="http://xmlsoft.org/sources/libxml2-${version}.tar.gz" checksum=aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f +patch_args=-Np0 post_patch() { if [ "${CROSS_BUILD}" ]; then diff --git a/srcpkgs/libxml2/template b/srcpkgs/libxml2/template index c334f505ed0..b45761f66b2 100644 --- a/srcpkgs/libxml2/template +++ b/srcpkgs/libxml2/template @@ -15,6 +15,7 @@ license="MIT" homepage="http://www.xmlsoft.org/" distfiles="http://xmlsoft.org/sources/${pkgname}-${version}.tar.gz" checksum=aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/libxo/template b/srcpkgs/libxo/template index fb0ae8cb85c..0990f737af5 100644 --- a/srcpkgs/libxo/template +++ b/srcpkgs/libxo/template @@ -10,6 +10,7 @@ license="BSD-2-Clause" homepage="https://juniper.github.io/libxo/libxo-manual.html" distfiles="https://github.com/Juniper/libxo/releases/download/${version}/libxo-${version}.tar.gz" checksum=aa842d9374bc0c640d9526abdeb6f1dc75c1a14e892eafd3c9e0ee2e8dfc1c43 +patch_args=-Np0 case $XBPS_TARGET_MACHINE in *-musl) diff --git a/srcpkgs/libzim/template b/srcpkgs/libzim/template index fe3c5310980..bac5a114bbe 100644 --- a/srcpkgs/libzim/template +++ b/srcpkgs/libzim/template @@ -15,6 +15,7 @@ changelog="https://github.com/openzim/libzim/blob/${version}/ChangeLog" distfiles="https://github.com/openzim/libzim/archive/${version}.tar.gz" checksum=984d2f3881c507c9f0212dc2bc1b808d25cdeef6a62043f9211fcb78a231a986 replaces="libzim-tools>=0" +patch_args=-Np0 build_options="xapian zlib zstd" build_options_default="xapian zlib zstd" diff --git a/srcpkgs/lightdm-webkit2-greeter/template b/srcpkgs/lightdm-webkit2-greeter/template index da5786768de..376d8eb4c66 100644 --- a/srcpkgs/lightdm-webkit2-greeter/template +++ b/srcpkgs/lightdm-webkit2-greeter/template @@ -15,6 +15,7 @@ homepage="https://github.com/Antergos/web-greeter" distfiles="https://github.com/Antergos/web-greeter/archive/${version}.tar.gz" checksum=f3223db35d0efaae76b2157f312dd10979c133f5a85add8fc75fd66ecb3186e3 conf_files="/etc/lightdm/lightdm-webkit2-greeter.conf" +patch_args=-Np0 post_extract() { mv themes/antergos themes/void diff --git a/srcpkgs/lightdm/template b/srcpkgs/lightdm/template index b2fed5ac3c6..cf14f96c4bf 100644 --- a/srcpkgs/lightdm/template +++ b/srcpkgs/lightdm/template @@ -14,6 +14,7 @@ homepage="https://github.com/CanonicalLtd/lightdm" changelog="https://raw.githubusercontent.com/CanonicalLtd/lightdm/master/NEWS" distfiles="https://github.com/CanonicalLtd/lightdm/releases/download/${version}/lightdm-${version}.tar.xz" checksum=a118779650a3a5b20f05d53c4f9e377b484fbc1810a6b0914a60840d9a581f95 +patch_args=-Np0 hostmakedepends="pkg-config intltool itstool $(vopt_if gir 'gobject-introspection vala')" makedepends="dbus-glib-devel libxklavier-devel libxml2-devel diff --git a/srcpkgs/lighttpd/template b/srcpkgs/lighttpd/template index 7ae82aecfc3..d52c74622bc 100644 --- a/srcpkgs/lighttpd/template +++ b/srcpkgs/lighttpd/template @@ -21,6 +21,7 @@ license="BSD-3-Clause" homepage="https://lighttpd.net" distfiles="https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${version}.tar.xz" checksum=fb953db273daef08edb6e202556cae8a3d07eed6081c96bd9903db957d1084d5 +patch_args=-Np0 conf_files="/etc/lighttpd/lighttpd.conf" system_accounts="_${pkgname}" diff --git a/srcpkgs/lightzone/template b/srcpkgs/lightzone/template index 13242f01cc7..ca214c93278 100644 --- a/srcpkgs/lightzone/template +++ b/srcpkgs/lightzone/template @@ -19,6 +19,7 @@ skip_extraction="ivy-${_ivy_version}.jar" # JNI binaries are not PIE nopie=yes replaces="lightzone-bin>=0" +patch_args=-Np0 do_build() { mkdir -p lightcrafts/lib diff --git a/srcpkgs/lilo/template b/srcpkgs/lilo/template index f42a9eb5f5b..bc8f1699d58 100644 --- a/srcpkgs/lilo/template +++ b/srcpkgs/lilo/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="http://www.joonet.de/lilo" distfiles="${DEBIAN_SITE}/main/l/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=e158f19de4560c935ebe0507c21b79bff17618b9230d8076fe8c5fff9fdbd5b1 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/lilyterm/template b/srcpkgs/lilyterm/template index 31bc2ad9dc0..deadaa80f37 100644 --- a/srcpkgs/lilyterm/template +++ b/srcpkgs/lilyterm/template @@ -16,6 +16,7 @@ distfiles="https://github.com/Tetralet/LilyTerm/archive/$_githash.tar.gz" conf_files="/etc/lilyterm.conf" checksum=e777122cb4db0c75b893368aa5a3ae7de1bdfe27e1efb8fad8f9c19acb0a802e CFLAGS="-Wno-deprecated-declarations" +patch_args=-Np0 post_patch() { vsed -i -e '/LDFLAGS.*BINARY/s/$/ -lX11/' \ diff --git a/srcpkgs/linphone-desktop/template b/srcpkgs/linphone-desktop/template index 3991291c0b7..5526b11c727 100644 --- a/srcpkgs/linphone-desktop/template +++ b/srcpkgs/linphone-desktop/template @@ -19,6 +19,7 @@ checksum=a9c520851ec40ebd6bc28b5ebc0e4d2b5f62ef3b53e5d60bb241c0b2bd56ad62 replaces="linphone-gui>=0" CFLAGS="-DLINPHONE_QT_GIT_VERSION=\\\"$version\\\"" CXXFLAGS="-DLINPHONE_QT_GIT_VERSION=\\\"$version\\\"" +patch_args=-Np0 linphone-gui_package() { short_desc+=" - (transitional dummy package)" diff --git a/srcpkgs/linssid/template b/srcpkgs/linssid/template index 3347f193c3e..6cfe9177df4 100644 --- a/srcpkgs/linssid/template +++ b/srcpkgs/linssid/template @@ -12,6 +12,7 @@ license="GPL-3.0-only" homepage="https://sourceforge.net/projects/linssid/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=57301ee93f708f2512316668bf4e718502f37f21a5e93b68fc604a9032e3e49c +patch_args=-Np0 pre_configure() { sed -e "s%/usr/include%${XBPS_CROSS_BASE}&%g" -i linssid-app/linssid-app.pro diff --git a/srcpkgs/linux-tools/template b/srcpkgs/linux-tools/template index f28f2b17ac1..a57726ab007 100644 --- a/srcpkgs/linux-tools/template +++ b/srcpkgs/linux-tools/template @@ -18,6 +18,7 @@ homepage="https://www.kernel.org" distfiles="${KERNEL_SITE}/kernel/v5.x/linux-${version}.tar.xz" checksum=904e396c26e9992a16cd1cc989460171536bed7739bf36049f6eb020ee5d56ec python_version=3 +patch_args=-Np0 subpackages="cpupower freefall libcpupower libcpupower-devel libusbip libusbip-devel perf tmon usbip" diff --git a/srcpkgs/linux-vt-setcolors/template b/srcpkgs/linux-vt-setcolors/template index fa3f7681b75..e46c87d3c50 100644 --- a/srcpkgs/linux-vt-setcolors/template +++ b/srcpkgs/linux-vt-setcolors/template @@ -9,6 +9,7 @@ license="MIT" homepage="https://github.com/EvanPurkhiser/linux-vt-setcolors" distfiles="https://github.com/EvanPurkhiser/linux-vt-setcolors/archive/v${version}.tar.gz" checksum=ccad9aac5732faab749e8f6f6b40746ce44afec5633374aa77c8e3ac2a8eef42 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/linux4.4/template b/srcpkgs/linux4.4/template index db6cf3d38e5..152619d3ebf 100644 --- a/srcpkgs/linux4.4/template +++ b/srcpkgs/linux4.4/template @@ -13,6 +13,7 @@ checksum="401d7c8fef594999a460d10c72c5a94e9c2e1022f16795ec51746b0d165418b2 7fe0edc77e6ba8d41035488402a2f05c58a64c101cb5556ea0f6e229dc306eed" skip_extraction="patch-${version}.xz" python_version=2 #unverified +patch_args=-Np0 nocross=yes nodebug=yes diff --git a/srcpkgs/liquid-dsp/template b/srcpkgs/liquid-dsp/template index 432adac62cf..aec6f7222b9 100644 --- a/srcpkgs/liquid-dsp/template +++ b/srcpkgs/liquid-dsp/template @@ -11,6 +11,7 @@ license="MIT" homepage="http://liquidsdr.org/" distfiles="https://github.com/jgaeddert/liquid-dsp/archive/v${version}.tar.gz" checksum=e3f66ce72a3b5d74eea5ccffb049c62c422c91b0ab92d6dbbef21af3c3bfec73 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/liquidwar/template b/srcpkgs/liquidwar/template index 69bc87d1b1a..5ef7aa9a496 100644 --- a/srcpkgs/liquidwar/template +++ b/srcpkgs/liquidwar/template @@ -15,6 +15,7 @@ homepage="http://www.ufoot.org/liquidwar" distfiles="http://www.ufoot.org/download/${pkgname}/v5/${version}/${pkgname}-${version}.tar.gz" checksum=dad0aa84dd416cad055421ed9b40df39efae78d3df759c0583c64c54f7f2ff5f nocross="run build artifarts" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/litecoin/template b/srcpkgs/litecoin/template index fc91bb89f12..3837c269d32 100644 --- a/srcpkgs/litecoin/template +++ b/srcpkgs/litecoin/template @@ -14,6 +14,7 @@ license="MIT" homepage="http://www.litecoin.org/" distfiles="https://github.com/litecoin-project/litecoin/archive/v${version}.tar.gz" checksum=2d67cba11adc5890b9698ccddeb68dd3c2ff6af19bf3ed0f1c719348b914042f +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools protobuf" diff --git a/srcpkgs/llvm11/template b/srcpkgs/llvm11/template index 6204f1e8e36..98b0af1bd19 100644 --- a/srcpkgs/llvm11/template +++ b/srcpkgs/llvm11/template @@ -26,6 +26,7 @@ checksum=" 913f68c898dfb4a03b397c5e11c6a2f39d0f22ed7665c9cefa87a34423a72469" lib32disabled=yes python_version=3 +patch_args=-Np0 post_patch() { # patches diff --git a/srcpkgs/llvm12/template b/srcpkgs/llvm12/template index 38937f68564..c4ed10574d2 100644 --- a/srcpkgs/llvm12/template +++ b/srcpkgs/llvm12/template @@ -56,6 +56,7 @@ checksum=" eb1b7022a247332114985ed155a8fb632c28ce7c35a476e2c0caf865150f167d" lib32disabled=yes python_version=3 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args+=" -DLIBCXX_HAS_MUSL_LIBC=YES" diff --git a/srcpkgs/lmdb/template b/srcpkgs/lmdb/template index 14509699fc5..f2900a390a9 100644 --- a/srcpkgs/lmdb/template +++ b/srcpkgs/lmdb/template @@ -9,6 +9,7 @@ license="OLDAP-2.8" homepage="http://symas.com/mdb/" distfiles="https://github.com/LMDB/lmdb/archive/LMDB_${version}.tar.gz" checksum=22054926b426c66d8f2bc22071365df6e35f3aacf19ad943bc6167d4cae3bebb +patch_args=-Np0 do_build() { cd libraries/liblmdb diff --git a/srcpkgs/lmms/template b/srcpkgs/lmms/template index 15b67a8f222..a07507954e9 100644 --- a/srcpkgs/lmms/template +++ b/srcpkgs/lmms/template @@ -19,6 +19,7 @@ license="GPL-2.0-or-later" homepage="https://lmms.io/" distfiles="https://github.com/LMMS/lmms/releases/download/v${version}/lmms_${version}.tar.xz" checksum=b185507fb64ecfd8e31145135b58ab244b637f9efc09c4176caf70aa3cbaae1e +patch_args=-Np0 build_options="sndio" build_options_default="sndio" diff --git a/srcpkgs/log4cxx/template b/srcpkgs/log4cxx/template index 269147155f8..2e64c18f71b 100644 --- a/srcpkgs/log4cxx/template +++ b/srcpkgs/log4cxx/template @@ -11,6 +11,7 @@ homepage="https://logging.apache.org/log4cxx/" distfiles="http://apache.osuosl.org/logging/log4cxx/${version}/apache-log4cxx-${version}.tar.gz" checksum=0de0396220a9566a580166e66b39674cb40efd2176f52ad2c65486c99c920c8c wrksrc="apache-${pkgname}-${version}" +patch_args=-Np0 log4cxx-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/loksh/template b/srcpkgs/loksh/template index 327ac3a7583..54c65566e15 100644 --- a/srcpkgs/loksh/template +++ b/srcpkgs/loksh/template @@ -12,6 +12,7 @@ homepage="https://github.com/dimkr/loksh" distfiles="https://github.com/dimkr/loksh/releases/download/${version}/loksh-${version}.tar.xz" checksum=1633048cd5f1270c5fa28ab49d9cb9f7e8305ab6880601b0c15b88ecb92450f9 register_shell="/bin/loksh" +patch_args=-Np0 alternatives=" ksh:ksh:/usr/bin/loksh diff --git a/srcpkgs/loudmouth/template b/srcpkgs/loudmouth/template index 4178683d5de..6dedbb71f7c 100644 --- a/srcpkgs/loudmouth/template +++ b/srcpkgs/loudmouth/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="https://github.com/mcabber/loudmouth" distfiles="https://github.com/mcabber/${pkgname}/archive/${version}.tar.gz" checksum=12972fcffd9bbcc4a3b2b9fbf4b0e549f7b4caf0f11c8d2af2059087ce4e8792 +patch_args=-Np0 CFLAGS+=" -Wno-deprecated-declarations" diff --git a/srcpkgs/lshw/template b/srcpkgs/lshw/template index 6ba1bb44a95..88a5887251b 100644 --- a/srcpkgs/lshw/template +++ b/srcpkgs/lshw/template @@ -16,6 +16,7 @@ license="GPL-2.0-only" homepage="https://ezix.org/project/wiki/HardwareLiSter" distfiles="https://ezix.org/software/files/lshw-${version}.tar.gz" checksum=9bb347ac87142339a366a1759ac845e3dbb337ec000aa1b99b50ac6758a80f80 +patch_args=-Np0 post_patch() { vsed -i src/Makefile src/gui/Makefile \ diff --git a/srcpkgs/ltrace/template b/srcpkgs/ltrace/template index a26e64e3c79..4a44438964b 100644 --- a/srcpkgs/ltrace/template +++ b/srcpkgs/ltrace/template @@ -13,6 +13,7 @@ homepage="http://ltrace.org" license="GPL-2" distfiles="https://github.com/dkogan/ltrace/archive/${_githash}.tar.gz" checksum=4aecf69e4a33331aed1e50ce4907e73a98cbccc4835febc3473863474304d547 +patch_args=-Np0 CFLAGS="-Wno-error -D_GNU_SOURCE" diff --git a/srcpkgs/lttng-tools/template b/srcpkgs/lttng-tools/template index 96d4061584e..b1ed6c1ad5a 100644 --- a/srcpkgs/lttng-tools/template +++ b/srcpkgs/lttng-tools/template @@ -15,6 +15,7 @@ checksum=d729f8c2373a41194f171aeb0da0a9bb35ac181f31afa7e260786d19a500dea1 # tests timeout make_check=no system_groups="tracing" +patch_args=-Np0 lttng-tools-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/lua51-luasocket/template b/srcpkgs/lua51-luasocket/template index 63a505b4ecf..58efbb3ff67 100644 --- a/srcpkgs/lua51-luasocket/template +++ b/srcpkgs/lua51-luasocket/template @@ -12,6 +12,7 @@ license="MIT" homepage="http://w3.impa.br/~diego/software/luasocket/" distfiles="http://luaforge.net/frs/download.php/2664/luasocket-${version}.tar.gz" checksum=4fd9c775cfd98841299851e29b30176caf289370fea1ff1e00bb67c2d6842ca6 +patch_args=-Np0 do_build() { make CC=$CC LD=$CC LUAINC=-I${XBPS_CROSS_BASE}/usr/include/lua5.1 ${makejobs} diff --git a/srcpkgs/lua51/template b/srcpkgs/lua51/template index 7aad299f075..d57fdad05f1 100644 --- a/srcpkgs/lua51/template +++ b/srcpkgs/lua51/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://www.lua.org" distfiles="https://www.lua.org/ftp/lua-$version.tar.gz" checksum=2640fc56a795f29d28ef15e13c34a47e223960b0240e8cb0a82d9b0738695333 +patch_args=-Np0 alternatives=" lua:lua:/usr/bin/lua5.1 diff --git a/srcpkgs/lua52/template b/srcpkgs/lua52/template index f53cb345ebc..a8406f18d62 100644 --- a/srcpkgs/lua52/template +++ b/srcpkgs/lua52/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://www.lua.org" distfiles="https://www.lua.org/ftp/lua-$version.tar.gz" checksum=b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b +patch_args=-Np0 alternatives=" lua:lua:/usr/bin/lua5.2 diff --git a/srcpkgs/lua53/template b/srcpkgs/lua53/template index 7a923690a56..ac63a8bc159 100644 --- a/srcpkgs/lua53/template +++ b/srcpkgs/lua53/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://www.lua.org" distfiles="https://www.lua.org/ftp/lua-${version}.tar.gz" checksum=0c2eed3f960446e1a3e4b9a1ca2f3ff893b6ce41942cf54d5dd59ab4b3b058ac +patch_args=-Np0 alternatives=" lua:lua:/usr/bin/lua5.3 diff --git a/srcpkgs/lua54-lgi/template b/srcpkgs/lua54-lgi/template index abae56cc431..9be201629b8 100644 --- a/srcpkgs/lua54-lgi/template +++ b/srcpkgs/lua54-lgi/template @@ -14,6 +14,7 @@ license="MIT" homepage="https://github.com/pavouk/lgi" distfiles="https://github.com/pavouk/lgi/archive/$version.tar.gz" checksum=cfc4105482b4730b3a40097c9d9e7e35c46df2fb255370bdeb2f45a886548c4f +patch_args=-Np0 # requires X11 do_check() { diff --git a/srcpkgs/lua54-lualdap/template b/srcpkgs/lua54-lualdap/template index 386222ce0c6..d5379fc6e58 100644 --- a/srcpkgs/lua54-lualdap/template +++ b/srcpkgs/lua54-lualdap/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://github.com/lualdap/lualdap" distfiles="https://github.com/lualdap/lualdap/archive/v${version}.tar.gz" checksum=3e028faa6a5798cf2f3d50b9853b9b3fb6eb562b62010747bd5b6f50b57bb1cc +patch_args=-Np0 post_patch() { cd ${wrksrc} diff --git a/srcpkgs/lua54/template b/srcpkgs/lua54/template index 1abbe11246f..1b469639979 100644 --- a/srcpkgs/lua54/template +++ b/srcpkgs/lua54/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://www.lua.org" distfiles="https://www.lua.org/ftp/lua-${version}.tar.gz" checksum=f8612276169e3bfcbcfb8f226195bfc6e466fe13042f1076cbde92b7ec96bbfb +patch_args=-Np0 alternatives=" lua:lua:/usr/bin/lua5.4 diff --git a/srcpkgs/luakit/template b/srcpkgs/luakit/template index 4fa00bb7571..aa089acc9de 100644 --- a/srcpkgs/luakit/template +++ b/srcpkgs/luakit/template @@ -14,6 +14,7 @@ homepage="https://luakit.github.io/" changelog="https://github.com/luakit/luakit/blob/develop/CHANGELOG.md" distfiles="https://github.com/luakit/luakit/archive/${version}.tar.gz" checksum=c7026b4f0bdfa44f43798b80f87548d3e7ad56f5b923fc43b9c712bf18496095 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/lumina/template b/srcpkgs/lumina/template index ed7ef97adfb..b2451f5dc92 100644 --- a/srcpkgs/lumina/template +++ b/srcpkgs/lumina/template @@ -16,6 +16,7 @@ homepage="https://github.com/lumina-desktop/lumina" distfiles="https://github.com/lumina-desktop/lumina/archive/v${version}.tar.gz" checksum=f3512fca4d05e3cf3a6ac106f0f16c9618bda9fa546f1d23ffb0eab9a5ce7c8a replaces="lumina-git>=0" +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/lvm2/template b/srcpkgs/lvm2/template index b7d287577c3..b04e9a0d46a 100644 --- a/srcpkgs/lvm2/template +++ b/srcpkgs/lvm2/template @@ -24,6 +24,7 @@ conf_files="/etc/lvm/*.conf /etc/lvm/profile/*" make_dirs=" /etc/lvm/archive 0755 root root /etc/lvm/backup 0755 root root" +patch_args=-Np0 case $XBPS_TARGET_MACHINE in *-musl) configure_args+=" --enable-static_link";; diff --git a/srcpkgs/lwipv6/template b/srcpkgs/lwipv6/template index 66ce29f506e..441fe3e7e9d 100644 --- a/srcpkgs/lwipv6/template +++ b/srcpkgs/lwipv6/template @@ -11,6 +11,7 @@ homepage="http://wiki.v2.cs.unibo.it/wiki/index.php/LWIPV6" distfiles="${SOURCEFORGE_SITE}/view-os/${pkgname}/${version}/${pkgname}-${version}.tar.bz2" checksum=4ad9415c0bf9a2aca0aa858ac1601c20d7c04b5d051d000d4a03eb1eeb0ed05a CPPFLAGS='-DGNU_SOURCE -D__USE_MISC -D__caddr_t=caddr_t' +patch_args=-Np0 lwipv6-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/lxappearance/template b/srcpkgs/lxappearance/template index 7fcaad225f8..f1475690dc0 100644 --- a/srcpkgs/lxappearance/template +++ b/srcpkgs/lxappearance/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="http://lxde.org/" distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz" checksum=7222d858b8fef4b7967c42142d61e82ded6dd42dc5ef1d59caad775795928b38 +patch_args=-Np0 build_options="gtk3 dbus" build_options_default="dbus gtk3" diff --git a/srcpkgs/lxdm/template b/srcpkgs/lxdm/template index 55ae9b5356e..86684d3b516 100644 --- a/srcpkgs/lxdm/template +++ b/srcpkgs/lxdm/template @@ -23,6 +23,7 @@ license="GPL-3.0-or-later" homepage="https://lxde.org" distfiles="${SOURCEFORGE_SITE}/lxdm/lxdm-${version}.tar.xz" checksum=4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/lxpanel/template b/srcpkgs/lxpanel/template index 6dff9ac554f..3f3f3f2f98b 100644 --- a/srcpkgs/lxpanel/template +++ b/srcpkgs/lxpanel/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="http://lxde.org/" distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz" checksum=1e318f57d7e36b61c23a504d03d2430c78dad142c1804451061f1b3ea5441ee8 +patch_args=-Np0 lib32disabled=yes diff --git a/srcpkgs/lzf/template b/srcpkgs/lzf/template index 1d4e437dc1d..b8457facdce 100644 --- a/srcpkgs/lzf/template +++ b/srcpkgs/lzf/template @@ -11,6 +11,7 @@ license="BSD-2-Clause" homepage="http://software.schmorp.de/pkg/liblzf.html" distfiles="http://dist.schmorp.de/liblzf/lib${pkgname}-${version}.tar.gz" checksum=9c5de01f7b9ccae40c3f619d26a7abec9986c06c36d260c179cedd04b89fb46a +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/mDNSResponder/template b/srcpkgs/mDNSResponder/template index c0425e7b34e..9af08f79dff 100644 --- a/srcpkgs/mDNSResponder/template +++ b/srcpkgs/mDNSResponder/template @@ -9,6 +9,7 @@ license="Apache-2.0, BSD-3-Clause" homepage="https://opensource.apple.com/" distfiles="https://opensource.apple.com/tarballs/${pkgname}/${pkgname}-${version}.tar.gz" checksum=097662447e1535573484697861d9f50eceaf2c52ec2742e451ee6ffe9bbf3e75 +patch_args=-Np0 conf_files="/etc/nss_mdns.conf" conflicts="nss-mdns>=0" diff --git a/srcpkgs/mairix/template b/srcpkgs/mairix/template index 49f73671bcb..f0e7fdcce13 100644 --- a/srcpkgs/mairix/template +++ b/srcpkgs/mairix/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="https://github.com/vandry/mairix" distfiles="https://github.com/vandry/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz" checksum=a0702e079c768b6fbe25687ebcbabe7965eb493d269a105998c7c1c2caef4a57 +patch_args=-Np0 pre_build() { make -C dfasyn CC="$BUILD_CC" CFLAGS="$BUILD_CFLAGS" diff --git a/srcpkgs/makedumpfile/template b/srcpkgs/makedumpfile/template index d23444187c9..cef2f4d14da 100644 --- a/srcpkgs/makedumpfile/template +++ b/srcpkgs/makedumpfile/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/makedumpfile/makedumpfile" distfiles="${homepage}/archive/refs/tags/${version}.tar.gz" checksum=393ea8f22393c059ad21de9b1c3f45d9d0d8dbeb0ccb1417815b835d03f7c350 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/makeself/template b/srcpkgs/makeself/template index 4c498dce773..68b71aa77a5 100644 --- a/srcpkgs/makeself/template +++ b/srcpkgs/makeself/template @@ -9,6 +9,7 @@ license="GPL-2.0-or-later" homepage="http://makeself.io" distfiles="https://github.com/megastep/makeself/archive/release-$version.tar.gz" checksum=8789312db5e93fc471a1e4fb88ec13227ef63a9c7aad297f3bbf35f9511f8d62 +patch_args=-Np0 do_install() { vmkdir usr/share/man/man1 diff --git a/srcpkgs/mame/template b/srcpkgs/mame/template index b13571dd4cd..6317423767e 100644 --- a/srcpkgs/mame/template +++ b/srcpkgs/mame/template @@ -16,6 +16,7 @@ distfiles="https://github.com/mamedev/mame/archive/mame${version}.tar.gz" checksum=414921771ada0804a8c7f3540e33338e8495e16a3bca78a5a2b355abafa51e6a nodebug=yes replaces="sdlmame>=0 sdlmess>=0" +patch_args=-Np0 CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.3 -I${XBPS_CROSS_BASE}/usr/include/libutf8proc" CXXFLAGS="$CFLAGS" diff --git a/srcpkgs/man-db/template b/srcpkgs/man-db/template index c8b873771d2..80bfd7964ff 100644 --- a/srcpkgs/man-db/template +++ b/srcpkgs/man-db/template @@ -26,6 +26,7 @@ lib32disabled=yes system_accounts="_man" _man_homedir="/var/cache/man" make_dirs="/var/cache/man 0755 _man _man" +patch_args=-Np0 # among others, requires the _man user to be available in the masterdir make_check=no diff --git a/srcpkgs/marble5/template b/srcpkgs/marble5/template index 3efa3591ea5..5baadb8e354 100644 --- a/srcpkgs/marble5/template +++ b/srcpkgs/marble5/template @@ -16,6 +16,7 @@ license="LGPL-2.1-or-later, GFDL-1.2-only" homepage="https://marble.kde.org" distfiles="${KDE_SITE}/release-service/${version}/src/marble-${version}.tar.xz" checksum=66e1fe73e248ba18245e2a1e234eecf49d531569b5080e19a4ca9dddbbbd0545 +patch_args=-Np0 pre_configure() { vsed -i CMakeLists.txt -e 's/-Wcast-align//' diff --git a/srcpkgs/marco/template b/srcpkgs/marco/template index 5abb62b91fe..3b36a8befad 100644 --- a/srcpkgs/marco/template +++ b/srcpkgs/marco/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="https://mate-desktop.org" distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz" checksum=498350cb12fc4d9c7c4a0355102c17b50043fbab258d11ad41b7d698b4f042a7 +patch_args=-Np0 pre_configure() { NOCONFIGURE=1 ./autogen.sh diff --git a/srcpkgs/mariadb/template b/srcpkgs/mariadb/template index a6176b43963..5682c0078b7 100644 --- a/srcpkgs/mariadb/template +++ b/srcpkgs/mariadb/template @@ -35,6 +35,7 @@ system_accounts="mysql" mysql_homedir="/var/lib/mysql" make_dirs="/var/lib/mysql 0700 mysql mysql /usr/lib/mysql/plugin/auth_pam_tool_dir 0700 mysql root" +patch_args=-Np0 post_patch() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/masterpassword-cli/template b/srcpkgs/masterpassword-cli/template index 8732491bfc5..8ce664513e5 100644 --- a/srcpkgs/masterpassword-cli/template +++ b/srcpkgs/masterpassword-cli/template @@ -16,6 +16,7 @@ distfiles="https://github.com/Lyndir/MasterPassword/archive/${version}-cli-3.tar checksum=35dc64bc74c04b534824c21da96e4a10fc7978da376fcc036d7ec08fd800ab7a # Apache-1.0 is incompatible with GPL-3+ restricted=yes +patch_args=-Np0 pre_configure() { echo "${version}-cli" > ${wrksrc}/${build_wrksrc}/VERSION diff --git a/srcpkgs/mate-utils/template b/srcpkgs/mate-utils/template index 855db8054d4..ed900b59441 100644 --- a/srcpkgs/mate-utils/template +++ b/srcpkgs/mate-utils/template @@ -16,6 +16,7 @@ license="GPL-2.0-or-later" homepage="https://mate-desktop.org" distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz" checksum=219673047fe2a14eb9c8bc23a5fb7c99d45e7acad4c05b4bf59a3d244cb026ac +patch_args=-Np0 pre_configure() { NOCONFIGURE=1 ./autogen.sh diff --git a/srcpkgs/matio/template b/srcpkgs/matio/template index d22e883530b..58930bee51e 100644 --- a/srcpkgs/matio/template +++ b/srcpkgs/matio/template @@ -12,6 +12,7 @@ license="BSD-2-Clause" homepage="https://github.com/tbeu/matio" distfiles="https://github.com/tbeu/matio/releases/download/v${version}/${pkgname}-${version}.tar.gz" checksum=5e455527d370ab297c4abe5a2ab4d599c93ac7c1a0c85d841cc5c22f8221c400 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args+=" ac_cv_va_copy=C99" diff --git a/srcpkgs/maturin/template b/srcpkgs/maturin/template index 7ce8d5bd64c..9cae482efdf 100644 --- a/srcpkgs/maturin/template +++ b/srcpkgs/maturin/template @@ -18,6 +18,7 @@ distfiles="${homepage}/archive/v${version}.tar.gz https://github.com/bytecodealliance/target-lexicon/archive/v0.12.0.tar.gz" checksum="e6a9a67cc62ffe248654e60e7ec211bf23319c4c936ad87022f7a1fd0997430d 18fead54e5dfa2cb0fa8af3db3c2765ca1c003b20cd4eca7be0553b30ce229de" +patch_args=-Np0 post_extract() { mv ../target-lexicon* target-lexicon diff --git a/srcpkgs/mc/template b/srcpkgs/mc/template index ebf5141eb48..bea3ca89dd5 100644 --- a/srcpkgs/mc/template +++ b/srcpkgs/mc/template @@ -14,6 +14,7 @@ distfiles="https://www.midnight-commander.org/downloads/mc-${version}.tar.xz" #distfiles="http://fossies.org/linux/misc/mc-${version}.tar.gz" checksum=c6deadc50595f2d9a22dc6c299a9f28b393e358346ebf6ca444a8469dc166c27 python_version=2 +patch_args=-Np0 conf_files=" /etc/mc/filehighlight.ini diff --git a/srcpkgs/mcpp/template b/srcpkgs/mcpp/template index 7a358883d06..edccf45fe0b 100644 --- a/srcpkgs/mcpp/template +++ b/srcpkgs/mcpp/template @@ -10,6 +10,7 @@ license="BSD-2-Clause" homepage="http://mcpp.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/mcpp/mcpp-${version}.tar.gz" checksum=3b9b4421888519876c4fc68ade324a3bbd81ceeb7092ecdbbc2055099fcb8864 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/mdadm/template b/srcpkgs/mdadm/template index f776b6dc9d3..30aeed30ee9 100644 --- a/srcpkgs/mdadm/template +++ b/srcpkgs/mdadm/template @@ -10,6 +10,7 @@ license="GPL-2" homepage="https://git.kernel.org/cgit/utils/mdadm/mdadm.git/log/" distfiles="${KERNEL_SITE}/utils/raid/${pkgname}/${pkgname}-${version}.tar.xz" checksum=ab7688842908d3583a704d491956f31324c3a5fc9f6a04653cb75d19f1934f4a +patch_args=-Np0 pre_configure() { sed -i 's,^install : mdadm mdmon,install: ,g' Makefile diff --git a/srcpkgs/mdocml/template b/srcpkgs/mdocml/template index 2332eb13dfc..d19966633ba 100644 --- a/srcpkgs/mdocml/template +++ b/srcpkgs/mdocml/template @@ -17,6 +17,7 @@ homepage="http://mandoc.bsd.lv" distfiles="http://mandoc.bsd.lv/snapshots/mandoc-${version}.tar.gz" checksum=8219b42cb56fc07b2aa660574e6211ac38eefdbf21f41b698d3348793ba5d8f7 provides="man-0_1" +patch_args=-Np0 alternatives=" man:man:/usr/bin/mandoc diff --git a/srcpkgs/mednafen/template b/srcpkgs/mednafen/template index e56addb3501..aed46822a2b 100644 --- a/srcpkgs/mednafen/template +++ b/srcpkgs/mednafen/template @@ -15,6 +15,7 @@ homepage="https://mednafen.github.io/" distfiles="https://mednafen.github.io/releases/files/mednafen-${version}.tar.xz" checksum=842907c25c4292c9ba497c9cb9229c7d10e04e22cb4740d154ab690e6587fdf4 nopie=yes +patch_args=-Np0 build_options="altivec" desc_option_altivec="Enable AltiVec support on PowerPC" diff --git a/srcpkgs/memtest86+/template b/srcpkgs/memtest86+/template index c4850769d62..04792c5dc08 100644 --- a/srcpkgs/memtest86+/template +++ b/srcpkgs/memtest86+/template @@ -9,6 +9,7 @@ license="GPL-2.0-or-later" homepage="http://www.memtest.org" distfiles="http://www.memtest.org/download/${version}/${pkgname}-${version}.tar.gz" checksum=142127b7953fbd829b1057fb64a78d3340c2b771484230a7347e94530a0d9039 +patch_args=-Np0 nostrip=yes noverifyrdeps=yes diff --git a/srcpkgs/mergerfs/template b/srcpkgs/mergerfs/template index db4399c448e..d7226ee6103 100644 --- a/srcpkgs/mergerfs/template +++ b/srcpkgs/mergerfs/template @@ -12,6 +12,7 @@ license="ISC" homepage="https://github.com/trapexit/mergerfs" distfiles="${homepage}/archive/${version}.tar.gz" checksum=8857d2058c38251bff539c77b6c90472ab139bda96265ce09485c3689d11a4ac +patch_args=-Np0 pre_build() { # we build from source, spoof release tarball diff --git a/srcpkgs/merkaartor/template b/srcpkgs/merkaartor/template index 17c8d5dc361..d917aef6ad9 100644 --- a/srcpkgs/merkaartor/template +++ b/srcpkgs/merkaartor/template @@ -13,5 +13,6 @@ license="GPL-2.0-or-later" homepage="http://merkaartor.be" distfiles="https://github.com/openstreetmap/merkaartor/archive/${version}.tar.gz" checksum=16e790507a5bb54e4b3c09ea063ebb095a4b014ce8ba937b771706d4c940976a +patch_args=-Np0 CXXFLAGS="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" diff --git a/srcpkgs/mesa/template b/srcpkgs/mesa/template index 414c918c7ba..1d5391040f4 100644 --- a/srcpkgs/mesa/template +++ b/srcpkgs/mesa/template @@ -24,6 +24,7 @@ homepage="https://www.mesa3d.org/" changelog="https://docs.mesa3d.org/relnotes/${version}.html" distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz" checksum=565c6f4bd2d5747b919454fc1d439963024fc78ca56fd05158c3b2cde2f6912b +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then configure_args+=" -Duse-elf-tls=false" diff --git a/srcpkgs/meson/template b/srcpkgs/meson/template index ee2cab625cb..4561095b907 100644 --- a/srcpkgs/meson/template +++ b/srcpkgs/meson/template @@ -16,6 +16,7 @@ homepage="https://mesonbuild.com" changelog="https://github.com/mesonbuild/meson/blob/master/docs/markdown/Release-notes-for-${version%.*}.0.md" distfiles="https://github.com/mesonbuild/meson/releases/download/$version/$pkgname-$version.tar.gz" checksum=3cb8bdb91383f7f8da642f916e4c44066a29262caa499341e2880f010edb87f4 +patch_args=-Np0 # XXX: sanitizers aren't available on musl if [ "$XBPS_TARGET_LIBC" = glibc ]; then diff --git a/srcpkgs/mg/template b/srcpkgs/mg/template index 8bb7fd00185..3414fa23e10 100644 --- a/srcpkgs/mg/template +++ b/srcpkgs/mg/template @@ -10,6 +10,7 @@ license="Public Domain" homepage="https://github.com/hboetes/mg" distfiles="https://github.com/hboetes/mg/archive/${version}.tar.gz" checksum=6820e76a0e27d9a744624d421b3b30b0030140c2a817df1310b25c3abe397106 +patch_args=-Np0 CFLAGS="-DTCSASOFT=0" diff --git a/srcpkgs/mhddfs/template b/srcpkgs/mhddfs/template index b60fcb06a7b..5dfe2cc2c7f 100644 --- a/srcpkgs/mhddfs/template +++ b/srcpkgs/mhddfs/template @@ -11,6 +11,7 @@ license="GPL-3" homepage="http://mhddfs.uvw.ru/" distfiles="http://mhddfs.uvw.ru/downloads/${pkgname}_${version}.tar.gz" checksum=702fc5486460c1828898426b1935179ce60bc1ed16fc8bc575c9ec1d12acef91 +patch_args=-Np0 pre_build() { sed -i 's|^CFLAGS[[:blank:]]*=|override CFLAGS +=|g' Makefile diff --git a/srcpkgs/milkytracker/template b/srcpkgs/milkytracker/template index 9f5cffd6130..767cc259066 100644 --- a/srcpkgs/milkytracker/template +++ b/srcpkgs/milkytracker/template @@ -13,6 +13,7 @@ license="GPL-3.0-only" homepage="http://milkytracker.titandemo.org/" distfiles="https://github.com/milkytracker/MilkyTracker/archive/v${version}.tar.gz" checksum=6bcb6e74ee333e831137435a25c0f2f3da6e1462864deec9e693ef7d23a16023 +patch_args=-Np0 post_install() { vinstall resources/milkytracker.desktop 644 usr/share/applications diff --git a/srcpkgs/mimic/template b/srcpkgs/mimic/template index ed11690e5bd..3424c48ed87 100644 --- a/srcpkgs/mimic/template +++ b/srcpkgs/mimic/template @@ -14,6 +14,7 @@ homepage="https://github.com/MycroftAI/mimic" changelog="https://github.com/MycroftAI/mimic1/releases" distfiles="https://github.com/MycroftAI/mimic/archive/${version}.tar.gz" checksum=9041f5c7d3720899c90c890ada179c92c3b542b90bb655c247e4a4835df79249 +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/minicom/template b/srcpkgs/minicom/template index 8671f508256..49a229db257 100644 --- a/srcpkgs/minicom/template +++ b/srcpkgs/minicom/template @@ -10,5 +10,6 @@ license="GPL-2.0-or-later" homepage="https://tracker.debian.org/pkg/minicom" distfiles="https://deb.debian.org/debian/pool/main/m/minicom/minicom_${version}.orig.tar.gz" checksum=532f836b7a677eb0cb1dca8d70302b73729c3d30df26d58368d712e5cca041f1 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/minidlna/template b/srcpkgs/minidlna/template index b112fb56efc..aeb1f2f1b54 100644 --- a/srcpkgs/minidlna/template +++ b/srcpkgs/minidlna/template @@ -21,6 +21,7 @@ homepage="https://minidlna.sourceforge.net/" changelog="https://sourceforge.net/projects/minidlna/files/minidlna/${version}/README/view" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=47d9b06b4c48801a4c1112ec23d24782728b5495e95ec2195bbe5c81bc2d3c63 +patch_args=-Np0 system_accounts="minidlna" minidlna_homedir="/var/lib/minidlna" diff --git a/srcpkgs/minijail/template b/srcpkgs/minijail/template index e3debe82a66..d0ac4d9d5ac 100644 --- a/srcpkgs/minijail/template +++ b/srcpkgs/minijail/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="https://android.googlesource.com/platform/external/minijail" distfiles="https://github.com/google/minijail/archive/linux-v${version}.tar.gz" checksum=1efb6224465cf8a5bb7a69659b35482e69786fce572f29125201e9a0e793bdd6 +patch_args=-Np0 if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then broken="bpf.h:110:2: error: #error Unsupported endianness" diff --git a/srcpkgs/minisat/template b/srcpkgs/minisat/template index e462c8ba34a..29246f9a7a0 100644 --- a/srcpkgs/minisat/template +++ b/srcpkgs/minisat/template @@ -14,6 +14,7 @@ license="MIT" homepage="http://minisat.se/MiniSat.html" distfiles="http://minisat.se/downloads/minisat-2.2.0.tar.gz" checksum=92957d851cdc3baddfe07b5fc80ed5a0237c489d0c52ae72f62844b3b46d7808 +patch_args=-Np0 do_install() { vbin minisat_release minisat diff --git a/srcpkgs/minissdpd/template b/srcpkgs/minissdpd/template index b0d56f0058d..f5d497d014d 100644 --- a/srcpkgs/minissdpd/template +++ b/srcpkgs/minissdpd/template @@ -10,6 +10,7 @@ license="3-clause-BSD" homepage="http://miniupnp.free.fr/minissdpd.html" distfiles="http://miniupnp.free.fr/files/minissdpd-${version}.tar.gz" checksum=dfd637b185731e1acb412a86faa9718eb93c04ca08280541a6d22d14d1fb890f +patch_args=-Np0 CFLAGS="-D_GNU_SOURCE" diff --git a/srcpkgs/mit-krb5/template b/srcpkgs/mit-krb5/template index fa18e58b733..deabac5065f 100644 --- a/srcpkgs/mit-krb5/template +++ b/srcpkgs/mit-krb5/template @@ -14,6 +14,7 @@ license="MIT" homepage="http://web.mit.edu/kerberos" distfiles="${homepage}/dist/krb5/${version%.*}/krb5-${version}.tar.gz" checksum=e61783c292b5efd9afb45c555a80dd267ac67eebabca42185362bee6c4fbd719 +patch_args=-Np0 post_patch() { vsed -e "/LDFLAGS=/d" -i src/build-tools/krb5-config.in diff --git a/srcpkgs/mit-scheme-c/template b/srcpkgs/mit-scheme-c/template index 92f3b637912..e2a461e18e8 100644 --- a/srcpkgs/mit-scheme-c/template +++ b/srcpkgs/mit-scheme-c/template @@ -14,6 +14,7 @@ alternatives=" scheme:scheme.1:/usr/share/man/man1/mit-scheme.1 " nocross="Tries to build parts of the package with itself" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/mlocate/template b/srcpkgs/mlocate/template index 9571f8c387d..310ecb315e1 100644 --- a/srcpkgs/mlocate/template +++ b/srcpkgs/mlocate/template @@ -14,6 +14,7 @@ homepage="https://pagure.io/mlocate" distfiles="https://releases.pagure.org/mlocate/${pkgname}-${version}.tar.xz" checksum=3063df79fe198fb9618e180c54baf3105b33d88fe602ff2d8570aaf944f1263e system_accounts="_mlocate" +patch_args=-Np0 alternatives=" locate:locate:/usr/bin/mlocate diff --git a/srcpkgs/mmv/template b/srcpkgs/mmv/template index 1afd253685d..4269d4aa9e4 100644 --- a/srcpkgs/mmv/template +++ b/srcpkgs/mmv/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="https://packages.debian.org/unstable/utils/mmv" distfiles="http://mirrors.kernel.org/gentoo/distfiles/${pkgname}_${version}.orig.tar.gz" checksum=0399c027ea1e51fd607266c1e33573866d4db89f64a74be8b4a1d2d1ff1fdeef +patch_args=-Np0 do_install() { local l diff --git a/srcpkgs/moc/template b/srcpkgs/moc/template index c42be650a1d..824b1aaccaa 100644 --- a/srcpkgs/moc/template +++ b/srcpkgs/moc/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="http://moc.daper.net" distfiles="http://ftp.daper.net/pub/soft/${pkgname}/stable/${pkgname}-${version}.tar.bz2" checksum=f3a68115602a4788b7cfa9bbe9397a9d5e24c68cb61a57695d1c2c3ecf49db08 +patch_args=-Np0 pre_configure() { sed -i -e "s|^ac_cpp='\$CPP |&-P |g" configure diff --git a/srcpkgs/mod_wsgi/template b/srcpkgs/mod_wsgi/template index 28872edf8d5..1ee69220f24 100644 --- a/srcpkgs/mod_wsgi/template +++ b/srcpkgs/mod_wsgi/template @@ -13,6 +13,7 @@ changelog="https://modwsgi.readthedocs.io/en/latest/release-notes/version-${vers distfiles="https://github.com/GrahamDumpleton/${pkgname}/archive/${version}.tar.gz" checksum=2674e506719afe60fbc0547c832e8948d6caa2e054d40d336309993e6e867d35 lib32disabled=yes +patch_args=-Np0 pre_configure() { if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/mog/template b/srcpkgs/mog/template index 88421ccef31..83afd02b478 100644 --- a/srcpkgs/mog/template +++ b/srcpkgs/mog/template @@ -14,6 +14,7 @@ homepage="http://www.braingames.getput.com/mog/" distfiles="http://urchlay.naptime.net/~urchlay/src/mog.src_${version}-${_build}.tgz" checksum=707bbc1b167a55989916f803dbe55c288652fb54df6194be029c41be99e9ec3a broken="ELF in /usr/share" +patch_args=-Np0 CFLAGS="-g3 -O3 -Wno-write-strings -I${XBPS_CROSS_BASE}/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" diff --git a/srcpkgs/mon/template b/srcpkgs/mon/template index 4ab9fc3bd8e..9cb300f5a44 100644 --- a/srcpkgs/mon/template +++ b/srcpkgs/mon/template @@ -9,6 +9,7 @@ license="MIT" homepage="https://github.com/tj/mon" distfiles="https://github.com/tj/mon/archive/${version}.tar.gz" checksum=978711a1d37ede3fc5a05c778a2365ee234b196a44b6c0c69078a6c459e686ac +patch_args=-Np0 CFLAGS="-Ideps -std=c99 -D_GNU_SOURCE" diff --git a/srcpkgs/monero/template b/srcpkgs/monero/template index 3617a446f09..5cfbb8da882 100644 --- a/srcpkgs/monero/template +++ b/srcpkgs/monero/template @@ -29,6 +29,7 @@ checksum="5e9bd2e565a57b4ae9f0d851704725b2e0b18c4a94051e56d5deae4e74727496 b973b9d8269ec4d97c3c3443f0dad96d09f72b1b30e616e0947557adbdbb03f7" skip_extraction="v${_randomx_version}.tar.gz ${_rapidjson_gitrev}.tar.gz ${_supercop_gitrev}.tar.gz" system_accounts="monero" +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args+=" -DTHREADS_PTHREAD_ARG=OFF" diff --git a/srcpkgs/mongoose/template b/srcpkgs/mongoose/template index eddadc64733..46fe4d3f99e 100644 --- a/srcpkgs/mongoose/template +++ b/srcpkgs/mongoose/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="https://cesanta.com/" distfiles="https://github.com/cesanta/mongoose/archive/${version}.tar.gz" checksum=f5c10346abc9c72f7cac7885d853ca064fb09aad57580433941a8fd7a3543769 +patch_args=-Np0 mongoose-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/monit/template b/srcpkgs/monit/template index e401ff3d873..4062b351f9f 100644 --- a/srcpkgs/monit/template +++ b/srcpkgs/monit/template @@ -17,6 +17,7 @@ homepage="https://mmonit.com/monit/" changelog="https://mmonit.com/monit/changes/" distfiles="https://mmonit.com/monit/dist/${pkgname}-${version}.tar.gz" checksum=9fc6287fd9570b25a85c5d5bf988ee8bd4c54d0e9e01ff04cc4b9398a159849c +patch_args=-Np0 pre_configure() { ./bootstrap diff --git a/srcpkgs/mono/template b/srcpkgs/mono/template index 3846d0a93e1..599fabf094a 100644 --- a/srcpkgs/mono/template +++ b/srcpkgs/mono/template @@ -15,6 +15,7 @@ distfiles="https://download.mono-project.com/sources/mono/${pkgname}-${version}. checksum=29c277660fc5e7513107aee1cbf8c5057c9370a4cdfeda2fc781be6986d89d23 lib32disabled=yes python_version="3" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) configure_args+=" --disable-boehm --without-sigaltstack" ;; diff --git a/srcpkgs/moon-buggy/template b/srcpkgs/moon-buggy/template index 1ebb56ce31f..1a8017da031 100644 --- a/srcpkgs/moon-buggy/template +++ b/srcpkgs/moon-buggy/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="http://www.seehuhn.de/pages/moon-buggy" distfiles="http://m.seehuhn.de/programs/$pkgname-$version.tar.gz" checksum=352dc16ccae4c66f1e87ab071e6a4ebeb94ff4e4f744ce1b12a769d02fe5d23f +patch_args=-Np0 post_extract() { sed -i 's/key_name/Key_Name/g' keyboard.c diff --git a/srcpkgs/moosefs/template b/srcpkgs/moosefs/template index adc8125a13e..fbf55ca74ac 100644 --- a/srcpkgs/moosefs/template +++ b/srcpkgs/moosefs/template @@ -15,6 +15,7 @@ distfiles="http://ppa.moosefs.com/src/moosefs-${version}-1.tar.gz" checksum=f88cc0142b5fe8a6a4c3fcb2ae58053fcb98787848cf09286a57718a982093a9 python_version=2 #unverified system_accounts="_mfs" +patch_args=-Np0 pre_configure() { sed -i 's,AC_RUN_IFELSE,AC_LINK_IFELSE,g' configure.ac diff --git a/srcpkgs/mosh/template b/srcpkgs/mosh/template index a4641f66bb3..a9030ce5cb5 100644 --- a/srcpkgs/mosh/template +++ b/srcpkgs/mosh/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="https://mosh.org/" distfiles="https://mosh.org/mosh-${version}.tar.gz" checksum=da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216 +patch_args=-Np0 pre_configure() { # make local.test always succeed. It fails due to missing X server in chroot. diff --git a/srcpkgs/mosquitto/template b/srcpkgs/mosquitto/template index 53ab96eca22..16723f0ce55 100644 --- a/srcpkgs/mosquitto/template +++ b/srcpkgs/mosquitto/template @@ -16,6 +16,7 @@ distfiles="${homepage}/files/source/${pkgname}-${version}.tar.gz" checksum=1b8553ef64a1cf5e4f4cfbe098330ae612adccd3d37f35b2db6f6fab501b01d4 # CUnit dependency is missing make_check=no +patch_args=-Np0 system_accounts="_mosquitto" _mosquitto_homedir="/var/lib/mosquitto" diff --git a/srcpkgs/mp3check/template b/srcpkgs/mp3check/template index 6d25f52387f..09d6a945c80 100644 --- a/srcpkgs/mp3check/template +++ b/srcpkgs/mp3check/template @@ -8,6 +8,7 @@ license="GPL-2.0-only" homepage="https://code.google.com/p/mp3check/" distfiles="${DEBIAN_SITE}/main/m/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=27d976ad8495671e9b9ce3c02e70cb834d962b6fdf1a7d437bb0e85454acdd0e +patch_args=-Np0 do_build() { make ${makejobs} CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" diff --git a/srcpkgs/mp3val/template b/srcpkgs/mp3val/template index 31c307f1ebb..14e61a3c6fb 100644 --- a/srcpkgs/mp3val/template +++ b/srcpkgs/mp3val/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://mp3val.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/mp3val/mp3val-${version}-src.tar.gz" checksum=95a16efe3c352bb31d23d68ee5cb8bb8ebd9868d3dcf0d84c96864f80c31c39f +patch_args=-Np0 do_install() { vbin mp3val diff --git a/srcpkgs/mpg123/template b/srcpkgs/mpg123/template index a08cb80f096..4278b201e60 100644 --- a/srcpkgs/mpg123/template +++ b/srcpkgs/mpg123/template @@ -14,6 +14,7 @@ license="LGPL-2.1-only" homepage="https://www.mpg123.org/" distfiles="${SOURCEFORGE_SITE}/mpg123/mpg123-${version}.tar.bz2" checksum=e49466853685026da5d113dc7ff026b1b2ad0b57d78df693a446add9db88a7d5 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in # No LFS required with musl diff --git a/srcpkgs/mplayer/template b/srcpkgs/mplayer/template index 6bf5f3d1b08..981c9732880 100644 --- a/srcpkgs/mplayer/template +++ b/srcpkgs/mplayer/template @@ -22,6 +22,7 @@ license="GPL-2.0-or-later" homepage="http://www.mplayerhq.hu/" distfiles="http://www2.mplayerhq.hu/MPlayer/releases/MPlayer-${version}.tar.xz" checksum=82596ed558478d28248c7bc3828eb09e6948c099bbd76bb7ee745a0e3275b548 +patch_args=-Np0 nocross=yes diff --git a/srcpkgs/mrxvt/template b/srcpkgs/mrxvt/template index 5d82c85d31f..eb206d20ab9 100644 --- a/srcpkgs/mrxvt/template +++ b/srcpkgs/mrxvt/template @@ -12,5 +12,6 @@ license="GPL-2.0-or-later" homepage="http://materm.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/materm/mrxvt-${version}.tar.gz" checksum=f403ad5a908fcd38a55ed0a7e1b85584cb77be8781199653a39b8af1a9ad10d7 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/msg2/template b/srcpkgs/msg2/template index 473b3c4ec4d..624f86b14c3 100644 --- a/srcpkgs/msg2/template +++ b/srcpkgs/msg2/template @@ -9,6 +9,7 @@ license="GPL-3.0-or-later" homepage="https://roboticoverlords.org/msg2/" distfiles="https://roboticoverlords.org/msg2/msg2-${version}.tar.xz" checksum=4834104465f62f0ecec7615e75ca2e50a5e42218854da8f6b022a120937702ac +patch_args=-Np0 post_install() { vman msg2.1 diff --git a/srcpkgs/msp430-toolchain/template b/srcpkgs/msp430-toolchain/template index 10f8d6b7fe4..acfabb65b16 100644 --- a/srcpkgs/msp430-toolchain/template +++ b/srcpkgs/msp430-toolchain/template @@ -16,6 +16,7 @@ checksum="d2110ec64e8a055ff89b7eef8217b3c233c30e370e2cb43e1ad835dad5907d1c 1e2a0903e6b02d5e8aac2a7297ec0685e95a980b13b937b5c7f24f4cf6015407" nocross=yes nostrip=yes +patch_args=-Np0 _prefix=/usr/msp430 _target=msp430-none-elf diff --git a/srcpkgs/mumble/template b/srcpkgs/mumble/template index d578a511d47..7cb13105213 100644 --- a/srcpkgs/mumble/template +++ b/srcpkgs/mumble/template @@ -20,6 +20,7 @@ license="BSD-3-Clause" homepage="http://mumble.sourceforge.net/" distfiles="https://github.com/mumble-voip/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz" checksum=615f4ebfc3385d945163f369efd3e910c8b6d0f025797a7eed541515fccb6093 +patch_args=-Np0 build_options="jack portaudio" build_options_default="jack portaudio" diff --git a/srcpkgs/mupen64plus/template b/srcpkgs/mupen64plus/template index 4984a7f4a77..747fd4d9953 100644 --- a/srcpkgs/mupen64plus/template +++ b/srcpkgs/mupen64plus/template @@ -15,6 +15,7 @@ distfiles="https://github.com/mupen64plus/mupen64plus-core/releases/download/${v checksum=d5243ddc00388ee2e538b3826a78a719dec2bd5da54ac6f3344fed861fb141a8 nopie=yes nocross=yes +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/musikcube/template b/srcpkgs/musikcube/template index c786f86bef3..9ee39183a36 100644 --- a/srcpkgs/musikcube/template +++ b/srcpkgs/musikcube/template @@ -17,6 +17,7 @@ license="BSD-3-Clause" homepage="https://musikcube.com/" distfiles="https://github.com/clangen/musikcube/archive/${version}.tar.gz" checksum=81922ec6e86c06061dc009be3ec7c4bc8e8fd5ed3bb92231dabede8bbccaf723 +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/mutter/template b/srcpkgs/mutter/template index fb42f099faa..49595b486e5 100644 --- a/srcpkgs/mutter/template +++ b/srcpkgs/mutter/template @@ -1,5 +1,6 @@ # Template file for 'mutter' reverts="40.2_1" +patch_args=-Np0 pkgname=mutter version=40.1 diff --git a/srcpkgs/mysql++/template b/srcpkgs/mysql++/template index 6dc18a42103..278fd00b049 100644 --- a/srcpkgs/mysql++/template +++ b/srcpkgs/mysql++/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="https://tangentsoft.net/mysqlpp" distfiles="${homepage}/releases/${pkgname}-${version}.tar.gz" checksum=b780beeb3a9cd9ce6a9043028527484df8e822c58c5274d4d67ec5ba2fc0a778 +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then configure_args="--exec_prefix=${XBPS_CROSS_BASE} --with-mysql-include=${XBPS_CROSS_BASE}/usr/include/mysql" diff --git a/srcpkgs/nagstamon/template b/srcpkgs/nagstamon/template index a3e92bfa761..50e74fb4a47 100644 --- a/srcpkgs/nagstamon/template +++ b/srcpkgs/nagstamon/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://nagstamon.ifw-dresden.de" distfiles="https://nagstamon.ifw-dresden.de/files/stable/Nagstamon-${version}.tar.gz" checksum=7a9611f40b08269bba4100ab2598ee089c7d0ebc6c4e9d7132689342f71150ec +patch_args=-Np0 post_patch() { # This relies on /etc/os-release, which doesn't exist without diff --git a/srcpkgs/namecoin/template b/srcpkgs/namecoin/template index e4cfb3777b7..991026db606 100644 --- a/srcpkgs/namecoin/template +++ b/srcpkgs/namecoin/template @@ -15,6 +15,7 @@ license="MIT" homepage="https://namecoin.org" distfiles="https://github.com/namecoin/namecoin-core/archive/nc${version}.tar.gz" checksum=7117a0a0b8f48d49e4abf3577660f8a4eb9a4dea753281d19d9470725fc75d8e +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/navit/template b/srcpkgs/navit/template index 449ef1ca16d..4ae5fbeaf5e 100644 --- a/srcpkgs/navit/template +++ b/srcpkgs/navit/template @@ -16,6 +16,7 @@ license="GPL-2.0-only, LGPL-2.0-only" homepage="http://www.navit-project.org/" distfiles="https://github.com/navit-gps/navit/archive/v${version}.tar.gz" checksum=728d9dcad00e97769f6cd85bfad5518b0edf62ef75d60543fa4c48c1c3ab1243 +patch_args=-Np0 pre_configure() { sed -i -e 's/\(GET_FILENAME_COMPONENT (LIB_DIR ${LIBDIR}\) NAME/\1 DIRECTORY/' CMakeLists.txt diff --git a/srcpkgs/nemiver/template b/srcpkgs/nemiver/template index 947ef8352a1..122758b9266 100644 --- a/srcpkgs/nemiver/template +++ b/srcpkgs/nemiver/template @@ -17,6 +17,7 @@ homepage="https://wiki.gnome.org/Apps/Nemiver" distfiles="https://download.gnome.org/sources/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2 lib32disabled=yes +patch_args=-Np0 pre_configure() { cp data/nemiver.appdata.xml data/nemiver.appdata.xml.in diff --git a/srcpkgs/net-snmp/template b/srcpkgs/net-snmp/template index 0b91683e00a..6dad6b0f7cc 100644 --- a/srcpkgs/net-snmp/template +++ b/srcpkgs/net-snmp/template @@ -11,6 +11,7 @@ license="Net-SNMP" homepage="http://www.net-snmp.org/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=eb7fd4a44de6cddbffd9a92a85ad1309e5c1054fb9d5a7dd93079c8953f48c3f +patch_args=-Np0 LDFLAGS="-lpthread" diff --git a/srcpkgs/netcat/template b/srcpkgs/netcat/template index c588fc5ab7b..2905db892d0 100644 --- a/srcpkgs/netcat/template +++ b/srcpkgs/netcat/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="http://netcat.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=30719c9a4ffbcf15676b8f528233ccc54ee6cba96cb4590975f5fd60c68a066f +patch_args=-Np0 alternatives=" nc:nc:/usr/bin/gnetcat diff --git a/srcpkgs/nethack/template b/srcpkgs/nethack/template index e39eafb0b5c..65c414f3620 100644 --- a/srcpkgs/nethack/template +++ b/srcpkgs/nethack/template @@ -16,6 +16,7 @@ distfiles="https://www.nethack.org/download/${version}/nethack-${version//./}-sr checksum=cfde0c3ab6dd7c22ae82e1e5a59ab80152304eb23fb06e3129439271e5643ed2 nocross=yes system_accounts="$pkgname" +patch_args=-Np0 do_configure() { sh sys/unix/setup.sh sys/unix/hints/linux diff --git a/srcpkgs/netpgp/template b/srcpkgs/netpgp/template index 2bc40e253d0..30b5c9a4acb 100644 --- a/srcpkgs/netpgp/template +++ b/srcpkgs/netpgp/template @@ -11,6 +11,7 @@ license="3-clause-BSD" homepage="http://www.netbsd.org" distfiles="ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/LOCAL_PORTS/netpgp-${version}.tar.gz" checksum=fbe403f037376a40afd19bc8a1786b55b67cf8092a723ef36a61d99260b66dbf +patch_args=-Np0 CFLAGS="-Wno-error=unused-but-set-variable -Wno-error=cpp -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow -Wno-error=format-overflow" diff --git a/srcpkgs/netpgpverify/template b/srcpkgs/netpgpverify/template index 03531032da5..e554b5bcce1 100644 --- a/srcpkgs/netpgpverify/template +++ b/srcpkgs/netpgpverify/template @@ -10,6 +10,7 @@ license="2-clause-BSD" homepage="http://www.netpgp.com" distfiles="http://www.netpgp.com/src/${pkgname}-${version}.tar.gz" checksum=1eedf30b35cacbf8f39b80fbc4ea6129ba8c7815b0ad7f3d1ae05e521f684b00 +patch_args=-Np0 post_extract() { sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' Makefile.in diff --git a/srcpkgs/nettle/template b/srcpkgs/nettle/template index 25eca0dcab0..3880c516745 100644 --- a/srcpkgs/nettle/template +++ b/srcpkgs/nettle/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later, GPL-3.0-or-later" homepage="https://www.lysator.liu.se/~nisse/nettle/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=661f5eb03f048a3b924c3a8ad2515d4068e40f67e774e8a26827658007e3bcf0 +patch_args=-Np0 nettle-devel_package() { depends="gmp-devel ${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/network-ups-tools/template b/srcpkgs/network-ups-tools/template index 0f4f1ce5a3b..b775d578f49 100644 --- a/srcpkgs/network-ups-tools/template +++ b/srcpkgs/network-ups-tools/template @@ -27,6 +27,7 @@ homepage="http://www.networkupstools.org/" distfiles="${homepage}source/${version%.*}/nut-${version}.tar.gz" checksum=980e82918c52d364605c0703a5dcf01f74ad2ef06e3d365949e43b7d406d25a7 system_accounts="nut" +patch_args=-Np0 nopie=yes build_options="cgi" diff --git a/srcpkgs/newlisp/template b/srcpkgs/newlisp/template index d6459caa41c..37e9c03cc42 100644 --- a/srcpkgs/newlisp/template +++ b/srcpkgs/newlisp/template @@ -9,6 +9,7 @@ license="GPL-3.0-only, GFDL-1.2-only, Zlib, $pkgname, BSD-3-Clause" homepage="http://www.newlisp.org" distfiles="$homepage/downloads/$pkgname-$version.tgz" checksum=dc2d0ff651c2b275bc4af3af8ba59851a6fb6e1eaddc20ae75fb60b1e90126ec +patch_args=-Np0 do_build() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/nextcloud-client/template b/srcpkgs/nextcloud-client/template index ec201254d5a..ebce167c269 100644 --- a/srcpkgs/nextcloud-client/template +++ b/srcpkgs/nextcloud-client/template @@ -20,6 +20,7 @@ license="GPL-2.0-or-later" homepage="https://nextcloud.com/clients/" distfiles="https://github.com/nextcloud/desktop/archive/v${version}.tar.gz" checksum=f2d387d35276ea6e6da3ae339ede3d89be81dd4af735739ec280709008eb6645 +patch_args=-Np0 build_options="dolphin" desc_option_dolphin="Build KDE dolphin support" diff --git a/srcpkgs/nfs4-acl-tools/template b/srcpkgs/nfs4-acl-tools/template index defeeccdfbf..3ac57c33963 100644 --- a/srcpkgs/nfs4-acl-tools/template +++ b/srcpkgs/nfs4-acl-tools/template @@ -14,6 +14,7 @@ homepage="http://linux-nfs.org/wiki/index.php/Main_Page" distfiles="http://linux-nfs.org/~bfields/${pkgname}/${pkgname}-${version}.tar.gz" checksum=1b929f15b7b8d1701a416a0888df61a2a173b50eeaa9fed4f28543ffe8989503 disable_parallel_build=yes +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/nginx/template b/srcpkgs/nginx/template index cd0b19da95c..281ebf038e0 100644 --- a/srcpkgs/nginx/template +++ b/srcpkgs/nginx/template @@ -11,6 +11,7 @@ license="BSD-2-Clause" homepage="https://nginx.org" distfiles="https://nginx.org/download/nginx-${version}.tar.gz" checksum=4c373e7ab5bf91d34a4f11a0c9496561061ba5eee6020db272a17a7228d35f99 +patch_args=-Np0 # NOTE: # On update, the pregenerated header file for ARM may need synchronization. diff --git a/srcpkgs/ngspice/template b/srcpkgs/ngspice/template index 05beffd8f84..8e7bde57e3d 100644 --- a/srcpkgs/ngspice/template +++ b/srcpkgs/ngspice/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="http://ngspice.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/ngspice/ng-spice-rework/${version}/${pkgname}-${version}.tar.gz" checksum=b99db66cc1c57c44e9af1ef6ccb1dcbc8ae1df3e35acf570af578f606f8541f1 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/nitroshare/template b/srcpkgs/nitroshare/template index dc541b408d7..cfab290eea9 100644 --- a/srcpkgs/nitroshare/template +++ b/srcpkgs/nitroshare/template @@ -17,6 +17,7 @@ homepage="http://nitroshare.net" distfiles="https://github.com/nitroshare/nitroshare-desktop/archive/${version}.tar.gz" checksum=29874e5909c29211a3c9e13f8c0f49b901ec2996e5d60d80af80d2fb80c3d7ec python_version=2 #unverified +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools" diff --git a/srcpkgs/nmon/template b/srcpkgs/nmon/template index 76f09917ade..1857023f540 100644 --- a/srcpkgs/nmon/template +++ b/srcpkgs/nmon/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="http://nmon.sourceforge.net/pmwiki.php?n=Main.HomePage" distfiles="${SOURCEFORGE_SITE}/nmon/files/lmon${version}.c" checksum=2bed4d45fdfdf1d1387ec91e139c04975d5f838e3e0d53c0fe2d803a707e5fc1 +patch_args=-Np0 do_build() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/nocache/template b/srcpkgs/nocache/template index 1c4198631e7..f48b963e927 100644 --- a/srcpkgs/nocache/template +++ b/srcpkgs/nocache/template @@ -9,6 +9,7 @@ license="BSD-2-Clause" homepage="https://github.com/Feh/nocache" distfiles="https://github.com/Feh/nocache/archive/v${version}.tar.gz" checksum=e5441b27f60e1af5551b76fe0c8a9da17b8c31675794d9d49bf59c7c47fbb9b9 +patch_args=-Np0 pre_build() { sed -i -e '/#include /d' cachedel.c cachestats.c diff --git a/srcpkgs/nodejs-lts-10/template b/srcpkgs/nodejs-lts-10/template index 300667cb978..864b387e62e 100644 --- a/srcpkgs/nodejs-lts-10/template +++ b/srcpkgs/nodejs-lts-10/template @@ -21,6 +21,7 @@ homepage="https://nodejs.org/" distfiles="${homepage}/download/release/v${version}/node-v${version}.tar.xz" checksum=158273af66f891b2fca90aec7336c42f7574f467affad02c14e80ca163cb3acc python_version=3 +patch_args=-Np0 build_options="ssl libuv http_parser icu nghttp2 cares" desc_option_ssl="Enable shared openssl" diff --git a/srcpkgs/nodejs-lts/template b/srcpkgs/nodejs-lts/template index d3912ae2cf0..4f7524766d8 100644 --- a/srcpkgs/nodejs-lts/template +++ b/srcpkgs/nodejs-lts/template @@ -20,6 +20,7 @@ homepage="https://nodejs.org/" distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz" checksum=36e862555bebc04b13f7afebf4472c4dd7ebf4c891f9d6746ec545a4f099d05e python_version=3 +patch_args=-Np0 build_options="ssl libuv http_parser icu nghttp2 cares" desc_option_ssl="Enable shared openssl" diff --git a/srcpkgs/nodejs/template b/srcpkgs/nodejs/template index bcfaaa73ac4..c8d7b6324ba 100644 --- a/srcpkgs/nodejs/template +++ b/srcpkgs/nodejs/template @@ -20,6 +20,7 @@ homepage="https://nodejs.org/" distfiles="${homepage}/dist/v${version}/node-v${version}.tar.gz" checksum=f6b904b06951de4c52089dd4456155d853e835b0dc4640f75458c6eb49f9e8ce python_version=3 +patch_args=-Np0 build_options="ssl libuv http_parser icu nghttp2 cares" desc_option_ssl="Enable shared openssl" diff --git a/srcpkgs/noip2/template b/srcpkgs/noip2/template index 9d930a41b73..b6e7636edcf 100644 --- a/srcpkgs/noip2/template +++ b/srcpkgs/noip2/template @@ -9,6 +9,7 @@ license="GPL-2.0-or-later" homepage="http://www.noip.com" distfiles="https://www.noip.com/client/linux/noip-duc-linux.tar.gz" checksum=82b9bafab96a0c53b21aaef688bf70b3572e26217b5e2072bdb09da3c4a6f593 +patch_args=-Np0 do_build() { make CC=$CC PREFIX=/usr LIBS="$CFLAGS $LDFLAGS" diff --git a/srcpkgs/notepadqq/template b/srcpkgs/notepadqq/template index 194588600db..85e8349e031 100644 --- a/srcpkgs/notepadqq/template +++ b/srcpkgs/notepadqq/template @@ -12,6 +12,7 @@ homepage="https://notepadqq.com" license="GPL-3.0-or-later" distfiles="https://github.com/notepadqq/notepadqq/archive/v${version}.tar.gz" checksum=13fba9abd84c59de27fbe92f74e2763b57588fcf9c88af10ec67313b0abbc9d0 +patch_args=-Np0 post_install() { # no need for upstream's weird magic, leads to segfaults anyway diff --git a/srcpkgs/notes-up/template b/srcpkgs/notes-up/template index 8fcacc6f4d9..22f5e8b400b 100644 --- a/srcpkgs/notes-up/template +++ b/srcpkgs/notes-up/template @@ -17,6 +17,7 @@ distfiles="https://github.com/Philip-Scott/Notes-up/archive/${version}.tar.gz" checksum=35eb1df71034a118e66e6e00f5394c68423cfba7ceac035bde156d77da933b17 build_options="pantheon" desc_option_pantheon="build with Contractor support" +patch_args=-Np0 post_install() { ln -s com.github.philip-scott.notes-up ${DESTDIR}/usr/bin/notes-up diff --git a/srcpkgs/nrpe/template b/srcpkgs/nrpe/template index 6a598b0909e..fd07a184553 100644 --- a/srcpkgs/nrpe/template +++ b/srcpkgs/nrpe/template @@ -21,6 +21,7 @@ changelog="https://github.com/NagiosEnterprises/nrpe/blob/master/CHANGELOG.md" distfiles="https://github.com/NagiosEnterprises/${pkgname}/releases/download/${pkgname}-${version}/${pkgname}-${version}.tar.gz" checksum=f907ba15381adfc6eef211508abd027f8e1973116080faa4534a1191211c0340 system_accounts="_nagios" +patch_args=-Np0 post_install() { vsv nrpe diff --git a/srcpkgs/nsjail/template b/srcpkgs/nsjail/template index acff592d2ee..8a883f9d1d6 100644 --- a/srcpkgs/nsjail/template +++ b/srcpkgs/nsjail/template @@ -13,6 +13,7 @@ distfiles="https://github.com/google/nsjail/archive/${version}.tar.gz https://github.com/google/kafel/archive/8e69b8efae415cde3debffbb1e379d9e7a16835a.tar.gz" checksum="cfa66d3ed136b2e221752287b95e544915e8a6760aa866f023b604d14a374919 4a6c9a1a70ed99bbed767adc106081b017a3090307ea88cc7e329b82daa1373b" +patch_args=-Np0 archs="aarch64* armv5tel* armv6l* armv7l* x86_64*" diff --git a/srcpkgs/nspr/template b/srcpkgs/nspr/template index 2873d90183a..f9f4c941d12 100644 --- a/srcpkgs/nspr/template +++ b/srcpkgs/nspr/template @@ -11,6 +11,7 @@ license="MPL-2.0" homepage="http://www.mozilla.org/projects/nspr/" distfiles="${MOZILLA_SITE}/nspr/releases/v${version}/src/${pkgname}-${version}.tar.gz" checksum=5729da87d5fbf1584b72840751e0c6f329b5d541850cacd1b61652c95015abc8 +patch_args=-Np0 do_configure() { CFLAGS="$CFLAGS -D_PR_POLL_AVAILABLE -D_PR_HAVE_OFF64_T -D_PR_INET6 -D_PR_HAVE_INET_NTOP -D_PR_HAVE_GETHOSTBYNAME2 -D_PR_HAVE_GETADDRINFO -D_PR_INET6_PROBE" diff --git a/srcpkgs/nss/template b/srcpkgs/nss/template index 24da85cec75..1ae8f62b0b9 100644 --- a/srcpkgs/nss/template +++ b/srcpkgs/nss/template @@ -1,4 +1,5 @@ # Template file for 'nss' +patch_args=-Np0 _nsprver=4.30 diff --git a/srcpkgs/ntp/template b/srcpkgs/ntp/template index fa88f33f92b..523c61db5c0 100644 --- a/srcpkgs/ntp/template +++ b/srcpkgs/ntp/template @@ -13,6 +13,7 @@ license="NTP" homepage="http://www.ntp.org/" distfiles="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-${version}.tar.gz" checksum=f65840deab68614d5d7ceb2d0bb9304ff70dcdedd09abb79754a87536b849c19 +patch_args=-Np0 make_dirs="/var/db/ntpd 0755 ntpd ntpd" conf_files="/etc/ntp.conf" diff --git a/srcpkgs/numactl/template b/srcpkgs/numactl/template index ca5ecf3b3f1..ca70de19109 100644 --- a/srcpkgs/numactl/template +++ b/srcpkgs/numactl/template @@ -10,6 +10,7 @@ license="LGPL-2.1-only" homepage="https://github.com/numactl/numactl" distfiles="https://github.com/numactl/numactl/archive/v${version}.tar.gz" checksum=1ee27abd07ff6ba140aaf9bc6379b37825e54496e01d6f7343330cf1a4487035 +patch_args=-Np0 if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then # XXX diff --git a/srcpkgs/nvme-cli/template b/srcpkgs/nvme-cli/template index 0da50f2663e..35301436ec7 100644 --- a/srcpkgs/nvme-cli/template +++ b/srcpkgs/nvme-cli/template @@ -15,6 +15,7 @@ homepage="http://nvmexpress.org" distfiles="https://github.com/linux-nvme/nvme-cli/archive/v${version}.tar.gz" checksum=03f4875f3e68d326b0280e16df2f027ca6b086cfa148c34e8569df61319b4b85 conf_files="/etc/nvme/*.conf" +patch_args=-Np0 post_install() { # these files are touch'd by install, remove so they aren't registered diff --git a/srcpkgs/nwipe/template b/srcpkgs/nwipe/template index e3cbc2b3b65..5b88dfcd2d9 100644 --- a/srcpkgs/nwipe/template +++ b/srcpkgs/nwipe/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="https://github.com/martijnvanbrummelen/nwipe" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=85faaa9c65557a6be187f0176c5b778e8cd080e1cd9b8a7168a8a9b8e410d46d +patch_args=-Np0 CFLAGS="-D_FILE_OFFSET_BITS=64" diff --git a/srcpkgs/nx-libs/template b/srcpkgs/nx-libs/template index f604983c82c..108696f69aa 100644 --- a/srcpkgs/nx-libs/template +++ b/srcpkgs/nx-libs/template @@ -22,6 +22,7 @@ checksum=3ce7ca4e6b57b3a2d7588b2d0f4009036d2566a8925ca2c62f08a8dc0df50357 python_version=3 nocross="imake attempts to run target executables on host" conf_files="/etc/nxagent/*" +patch_args=-Np0 post_patch() { # Replace hard-coded /usr/local ProjectRoot diff --git a/srcpkgs/obexftp/template b/srcpkgs/obexftp/template index 9e4123be13c..457386c803d 100644 --- a/srcpkgs/obexftp/template +++ b/srcpkgs/obexftp/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp" distfiles="${SOURCEFORGE_SITE}/openobex/${pkgname}-${version}-Source.tar.gz" checksum=d40fb48e0a0eea997b3e582774b29f793919a625d54b87182e31a3f3d1c989a3 +patch_args=-Np0 post_install() { # Do not require 'bluetooth', does not exist. diff --git a/srcpkgs/occt/template b/srcpkgs/occt/template index 9298edc76e0..c72fcd38440 100644 --- a/srcpkgs/occt/template +++ b/srcpkgs/occt/template @@ -19,6 +19,7 @@ homepage="https://www.opencascade.com" distfiles="https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/${_gittag};sf=tgz>occt-${_gittag}.tar.gz" checksum=e00fedc221560fda31653c23a8f3d0eda78095c87519f338d4f4088e2ee9a9c0 conflicts="oce>=0" +patch_args=-Np0 post_install() { rm ${PKGDESTDIR}/usr/share/doc/opencascade/*_LGPL_*.txt diff --git a/srcpkgs/odroid-u2-kernel/template b/srcpkgs/odroid-u2-kernel/template index 748f904ee1d..4369f4c8a95 100644 --- a/srcpkgs/odroid-u2-kernel/template +++ b/srcpkgs/odroid-u2-kernel/template @@ -3,6 +3,7 @@ # Latest commit as of 20140809 _githash="0c5ca23376fdddc43a08e5709e4d4bf18bc747f0" _gitshort="${_githash:0:7}" +patch_args=-Np0 pkgname=odroid-u2-kernel version=3.8.13.28 diff --git a/srcpkgs/ofono/template b/srcpkgs/ofono/template index 248e58d9502..78f80264583 100644 --- a/srcpkgs/ofono/template +++ b/srcpkgs/ofono/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://01.org/ofono" distfiles="${KERNEL_SITE}/network/${pkgname}/${pkgname}-${version}.tar.xz" checksum=a15c5d28096c10eb30e47a68b6dc2e7c4a5a99d7f4cfedf0b69624f33d859e9b +patch_args=-Np0 post_install() { vsv ofonod diff --git a/srcpkgs/ogmrip/template b/srcpkgs/ogmrip/template index 1905d67b6ab..7a6bc318a04 100644 --- a/srcpkgs/ogmrip/template +++ b/srcpkgs/ogmrip/template @@ -15,6 +15,7 @@ license="LGPL-2.1-or-later" homepage="http://ogmrip.sourceforge.net/en/index.html" distfiles="${SOURCEFORGE_SITE}/ogmrip/ogmrip/${version%.*}/${version}/ogmrip-${version}.tar.gz" checksum=4e2e9778ac4da9fe1ab159e3dc6d4367b7a9dbd8f3501df99733ecedb25b02ff +patch_args=-Np0 pre_configure() { sed -i 's/enchant >=/enchant-2 >=/' configure diff --git a/srcpkgs/ogmtools/template b/srcpkgs/ogmtools/template index 29c7e04d6ea..5dc3772bd7e 100644 --- a/srcpkgs/ogmtools/template +++ b/srcpkgs/ogmtools/template @@ -14,6 +14,7 @@ license="GPL-2.0-only" homepage="http://www.bunkus.org/videotools/ogmtools/" distfiles="http://www.bunkus.org/videotools/ogmtools/ogmtools-${version}.tar.bz2" checksum=c8d61d1dbceb981dc7399c1a85e43b509fd3d071fb8d3ca89ea9385e6e40fdea +patch_args=-Np0 CFLAGS="-I./avilib" CXXFLAGS="${CFLAGS}" diff --git a/srcpkgs/oksh/template b/srcpkgs/oksh/template index 84e6085f54f..932eac8c820 100644 --- a/srcpkgs/oksh/template +++ b/srcpkgs/oksh/template @@ -11,6 +11,7 @@ homepage="https://github.com/ibara/oksh" distfiles="https://github.com/ibara/oksh/releases/download/oksh-${version}/oksh-${version}.tar.gz" checksum=c08d97b2ac9ee5d88e9e508d27c75502b2d06c20d4c5ab87b496cb3b9951bd35 register_shell="/bin/oksh" +patch_args=-Np0 alternatives=" ksh:ksh:/usr/bin/oksh diff --git a/srcpkgs/okteta/template b/srcpkgs/okteta/template index 7d3878ca031..f767b376f4f 100644 --- a/srcpkgs/okteta/template +++ b/srcpkgs/okteta/template @@ -16,6 +16,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://apps.kde.org/okteta/" distfiles="${KDE_SITE}/okteta/${version}/src/okteta-${version}.tar.xz" checksum=c569cd5b55503e46df1a5b5c9162b08888c426aa52c6f3f2f926c658bee0144c +patch_args=-Np0 okteta-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/okular/template b/srcpkgs/okular/template index 44c3b7e82b7..7fcc1686d39 100644 --- a/srcpkgs/okular/template +++ b/srcpkgs/okular/template @@ -17,6 +17,7 @@ license="GPL-2.0-only" homepage="https://kde.org/applications/en/graphics/org.kde.okular" distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz" checksum=330dbe847409bfc544093ac703754fb5f43398ea3dbea88b976dc393d3bda65c +patch_args=-Np0 do_check() { cd build diff --git a/srcpkgs/olsrd/template b/srcpkgs/olsrd/template index 314527b8343..fe19e2a1a80 100644 --- a/srcpkgs/olsrd/template +++ b/srcpkgs/olsrd/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="http://www.olsr.org/" distfiles="https://github.com/OLSR/olsrd/archive/v${version}.tar.gz" checksum=9baf2e4993dbb53babf18eea9e81a2e92ce79686632711a16a5b4f7776e94451 +patch_args=-Np0 conf_files="/etc/olsrd.conf" diff --git a/srcpkgs/omxplayer/template b/srcpkgs/omxplayer/template index f20b056f406..c6742b439a4 100644 --- a/srcpkgs/omxplayer/template +++ b/srcpkgs/omxplayer/template @@ -6,6 +6,7 @@ short_desc="Commandline OMX player for the Raspberry Pi" maintainer="Orphaned " license="GPL-2" homepage="https://github.com/popcornmix/omxplayer" +patch_args=-Np0 _commit="f06235cc9690a6d58187514452df8cf8fcdaacec" wrksrc="omxplayer-$_commit" diff --git a/srcpkgs/open-iscsi/template b/srcpkgs/open-iscsi/template index 7cd8308b049..e772af1da0e 100644 --- a/srcpkgs/open-iscsi/template +++ b/srcpkgs/open-iscsi/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://www.open-iscsi.com/" distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz" checksum=5410474b23552016220d04aa181903cb50ae988f29e99cb03f3e2de86a109be4 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) CFLAGS+="-D_LINUX_IF_ETHER_H -Wno-error=format -Wno-error=cpp";; diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template index c452f7365ac..b965024f763 100644 --- a/srcpkgs/open-vm-tools/template +++ b/srcpkgs/open-vm-tools/template @@ -20,6 +20,7 @@ homepage="https://github.com/vmware/open-vm-tools" changelog="https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/ChangeLog" distfiles="https://github.com/vmware/open-vm-tools/archive/stable-${version}.tar.gz" checksum=7c31bb8ef70a0e32b81cde6550cae390a53108e4abb28bb539b0ab5b9e4fc188 +patch_args=-Np0 build_options="pam x11" build_options_default="pam x11" diff --git a/srcpkgs/openbabel/template b/srcpkgs/openbabel/template index 83eef561f8a..9e16fb318d3 100644 --- a/srcpkgs/openbabel/template +++ b/srcpkgs/openbabel/template @@ -14,6 +14,7 @@ license="GPL-2.0-only" homepage="http://openbabel.org" distfiles="https://github.com/openbabel/openbabel/archive/openbabel-${_ver}.tar.gz" checksum=594c7f8a83f3502381469d643f7b185882da1dd4bc2280c16502ef980af2a776 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" python" diff --git a/srcpkgs/openblas/template b/srcpkgs/openblas/template index 58a75941be4..2e3773fc107 100644 --- a/srcpkgs/openblas/template +++ b/srcpkgs/openblas/template @@ -14,6 +14,7 @@ homepage="https://www.openblas.net/" changelog="https://raw.githubusercontent.com/xianyi/OpenBLAS/v${version}/Changelog.txt" distfiles="https://github.com/xianyi/OpenBLAS/archive/v${version}.tar.gz" checksum=79197543b17cc314b7e43f7a33148c308b0807cd6381ee77f77e15acf3e6459e +patch_args=-Np0 case "${XBPS_TARGET_MACHINE}" in armv5*) make_build_args+=" TARGET=ARMV5" ;; diff --git a/srcpkgs/openbox/template b/srcpkgs/openbox/template index fb62d8d4fed..346329d63bc 100644 --- a/srcpkgs/openbox/template +++ b/srcpkgs/openbox/template @@ -20,6 +20,7 @@ homepage="http://www.openbox.org" distfiles="http://openbox.org/dist/openbox/openbox-$version.tar.xz" checksum=abe75855cc5616554ffd47134ad15291fe37ebbebf1a80b69cbde9d670f0e26d python_version=2 #unverified +patch_args=-Np0 # Package build options build_options="svg" diff --git a/srcpkgs/openbsd-file/template b/srcpkgs/openbsd-file/template index 839afee47d0..0556a0f33b3 100644 --- a/srcpkgs/openbsd-file/template +++ b/srcpkgs/openbsd-file/template @@ -12,6 +12,7 @@ license="ISC" homepage="https://github.com/brynet/file/" distfiles="https://github.com/brynet/file/archive/v${version}.tar.gz" checksum=f6bf601f513bd83038e343bbd93b7982f373669a2ffa76dc52d48fa7251515b2 +patch_args=-Np0 system_accounts="_file" diff --git a/srcpkgs/opencollada/template b/srcpkgs/opencollada/template index 6041120059b..3bc1f23010f 100644 --- a/srcpkgs/opencollada/template +++ b/srcpkgs/opencollada/template @@ -13,6 +13,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/KhronosGroup/OpenCOLLADA" distfiles="https://github.com/KhronosGroup/OpenCOLLADA/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=d9db0c0a518aa6ac0359626f222707c6ca1b63a83cbf229d97a5999c9cde347b +patch_args=-Np0 CXXFLAGS="-fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" if [ -n "$CROSS_BUILD" ]; then diff --git a/srcpkgs/opencolorio/template b/srcpkgs/opencolorio/template index 17973659858..c444616b8c6 100644 --- a/srcpkgs/opencolorio/template +++ b/srcpkgs/opencolorio/template @@ -19,6 +19,7 @@ homepage="http://opencolorio.org" changelog="https://raw.githubusercontent.com/imageworks/OpenColorIO/master/ChangeLog" distfiles="https://github.com/imageworks/OpenColorIO/archive/v${version}.tar.gz" checksum=c9b5b9def907e1dafb29e37336b702fff22cc6306d445a13b1621b8a754c14c8 +patch_args=-Np0 export CMAKE_GENERATOR="Unix Makefiles" diff --git a/srcpkgs/opencv/template b/srcpkgs/opencv/template index 4ebf6fe915e..a484fbc9256 100644 --- a/srcpkgs/opencv/template +++ b/srcpkgs/opencv/template @@ -18,6 +18,7 @@ license="BSD-3-Clause" homepage="https://opencv.org" distfiles="https://github.com/opencv/${pkgname}/archive/${version}.tar.gz" checksum=1ed6f5b02a7baf14daca04817566e7c98ec668cec381e0edf534fa49f10f58a2 +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/opencv4/template b/srcpkgs/opencv4/template index f15c5f1ec2f..02a8e293b97 100644 --- a/srcpkgs/opencv4/template +++ b/srcpkgs/opencv4/template @@ -24,6 +24,7 @@ distfiles="https://github.com/opencv/opencv/archive/${version}.tar.gz https://github.com/opencv/opencv_contrib/archive/${version}.tar.gz>contrib.tar.gz" checksum="68bc40cbf47fdb8ee73dfaf0d9c6494cd095cf6294d99de445ab64cf853d278a acb8e89c9e7d1174e63e40532125b60d248b00e517255a98a419d415228c6a55" +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/opendkim/template b/srcpkgs/opendkim/template index c9d0abfda66..cccc65ca3f3 100644 --- a/srcpkgs/opendkim/template +++ b/srcpkgs/opendkim/template @@ -13,6 +13,7 @@ homepage="http://www.opendkim.org" distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}-${version}.tar.gz" checksum=43a0ba57bf942095fe159d0748d8933c6b1dd1117caf0273fa9a0003215e681b python_version=2 #unverified +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/openexr/template b/srcpkgs/openexr/template index 3f1b59753c1..f99fd2d8ab5 100644 --- a/srcpkgs/openexr/template +++ b/srcpkgs/openexr/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://www.openexr.com/" distfiles="https://github.com/openexr/openexr/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=3ebbe9a8e67edb4a25890b98c598e9fe23b10f96d1416d6a3ff0732e99d001c1 +patch_args=-Np0 pre_configure() { if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/openjade/template b/srcpkgs/openjade/template index 5d27cec3f6c..401ab09110b 100644 --- a/srcpkgs/openjade/template +++ b/srcpkgs/openjade/template @@ -19,6 +19,7 @@ homepage="http://openjade.sourceforge.net/" license="MIT" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-$version.tar.gz" checksum=1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1 +patch_args=-Np0 CXXFLAGS="-fno-lifetime-dse" diff --git a/srcpkgs/openjpeg2/template b/srcpkgs/openjpeg2/template index 4e6f16ac7ce..dae52dc7819 100644 --- a/srcpkgs/openjpeg2/template +++ b/srcpkgs/openjpeg2/template @@ -12,6 +12,7 @@ license="BSD-2-Clause" homepage="http://www.openjpeg.org/" distfiles="https://github.com/uclouvain/openjpeg/archive/v${version}.tar.gz" checksum=8702ba68b442657f11aaeb2b338443ca8d5fb95b0d845757968a7be31ef7f16d +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/openlierox/template b/srcpkgs/openlierox/template index 7ae0e22f2d3..343b26f494f 100644 --- a/srcpkgs/openlierox/template +++ b/srcpkgs/openlierox/template @@ -17,6 +17,7 @@ distfiles="${SOURCEFORGE_SITE}/openlierox/OpenLieroX_${version/.rc/_rc}.src.tar. checksum=3e029aba20f22d902027293e1f1a196e2f1794455cb2483d099709d7fb6c5fbb python_version=2 replaces="openlierox-data>=0" +patch_args=-Np0 CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libxml2" case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/openmpi/template b/srcpkgs/openmpi/template index ce8585fa683..0881292b277 100644 --- a/srcpkgs/openmpi/template +++ b/srcpkgs/openmpi/template @@ -19,6 +19,7 @@ distfiles="${homepage}/software/ompi/v${version%.*}/downloads/${pkgname}-${versi checksum=e24f7a778bd11a71ad0c14587a7f5b00e68a71aa5623e2157bafee3d44c07cda nocross="configure attempts to run target binaries" lib32disabled=yes +patch_args=-Np0 post_extract() { vsed -e 's,sys/unistd.h,unistd.h,g' -i opal/include/opal/sys/cma.h diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template index 34bb4ed3a5e..e8c003ec9fd 100644 --- a/srcpkgs/openntpd/template +++ b/srcpkgs/openntpd/template @@ -13,6 +13,7 @@ license="ISC" homepage="http://openntpd.org/" distfiles="http://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/${pkgname}-${version}.tar.gz" checksum=7b02691524197e01ba6b1b4b7595b33956e657ba6d5c4cf2fc20ea3f4914c13a +patch_args=-Np0 conf_files="/etc/ntpd.conf" provides="ntp-daemon-0_1" diff --git a/srcpkgs/opensm/template b/srcpkgs/opensm/template index 101bf3a27ce..62b6cf0ea3a 100644 --- a/srcpkgs/opensm/template +++ b/srcpkgs/opensm/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="https://github.com/linux-rdma/opensm" distfiles="https://github.com/linux-rdma/opensm/releases/download/${version}/opensm-${version}.tar.gz" checksum=1e0dc56a5cf5f8e5cd68bd534591405a5f5f1975ace40509f61a43cc2fe74ca7 +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/opensmtpd-extras/template b/srcpkgs/opensmtpd-extras/template index f022e13ed9c..b8b0a4b5a0a 100644 --- a/srcpkgs/opensmtpd-extras/template +++ b/srcpkgs/opensmtpd-extras/template @@ -16,6 +16,7 @@ license="ISC" homepage="https://www.opensmtpd.org" distfiles="https://www.opensmtpd.org/archives/${pkgname}-${version}.tar.gz" checksum=126b023602e8bb222bf24543a056ee0a548343dc86d184669ff9d82dfca1fbdf +patch_args=-Np0 CFLAGS="-D_DEFAULT_SOURCE" diff --git a/srcpkgs/opensmtpd/template b/srcpkgs/opensmtpd/template index ab0b2e6a10a..5dfe9d09b81 100644 --- a/srcpkgs/opensmtpd/template +++ b/srcpkgs/opensmtpd/template @@ -26,6 +26,7 @@ checksum=51bf05312fe56764748faab9e63170bfbb7c7d84a37c4117b62b2681eb3a4d17 provides="smtp-forwarder-0_1 smtp-server-0_1" replaces="smtp-forwarder>=0 smtp-server>=0" system_accounts="_smtpd _smtpq" +patch_args=-Np0 CFLAGS=-D_DEFAULT_SOURCE diff --git a/srcpkgs/opensonic/template b/srcpkgs/opensonic/template index 4dff7f06bd7..5b438426d12 100644 --- a/srcpkgs/opensonic/template +++ b/srcpkgs/opensonic/template @@ -17,6 +17,7 @@ distfiles="${SOURCEFORGE_SITE}/opensnc/opensnc-src-${version}.tar.gz https://github.com/t6/loggcompat/archive/${_loggcompat_ver}.tar.gz" checksum="3a4c3fa9538ee27c04b5ea848c9ad0a83f335471936d4617a18d3648c42588e9 481fe569959eefa92d0babeca27709b2efcf7a815cd5c49596b6c0403db76a4e" +patch_args=-Np0 replaces="opensonic-data>=0" CFLAGS="-I./../loggcompat-${_loggcompat_ver}" diff --git a/srcpkgs/openssh/template b/srcpkgs/openssh/template index 95c8b31073b..fdd089dab38 100644 --- a/srcpkgs/openssh/template +++ b/srcpkgs/openssh/template @@ -26,6 +26,7 @@ distfiles="https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/${pkgname}-${ver checksum=c3e6e4da1621762c850d03b47eed1e48dff4cc9608ddeb547202a234df8ed7ae conf_files="/etc/ssh/moduli /etc/ssh/ssh_config /etc/ssh/sshd_config /etc/pam.d/sshd" make_dirs="/var/chroot/ssh 0755 root root" +patch_args=-Np0 # Package build options build_options="fido2 gssapi ldns ssl" diff --git a/srcpkgs/openssl/template b/srcpkgs/openssl/template index 01dfd74de14..007e2fc5b3e 100644 --- a/srcpkgs/openssl/template +++ b/srcpkgs/openssl/template @@ -20,6 +20,7 @@ distfiles="https://www.openssl.org/source/openssl-${version}.tar.gz" checksum=892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5 conf_files="/etc/ssl/openssl.cnf" replaces="libressl>=0" +patch_args=-Np0 build_options=asm diff --git a/srcpkgs/opensurge/template b/srcpkgs/opensurge/template index f39fb002807..90714ddef50 100644 --- a/srcpkgs/opensurge/template +++ b/srcpkgs/opensurge/template @@ -12,6 +12,7 @@ homepage="https://opensurge2d.org/" distfiles="https://github.com/alemart/opensurge/archive/v${version}.tar.gz" checksum=27764a82d97b54026c90044fbc31ea4a61f7836568020b869e63376322a155af replaces="opensurge-data>=0" +patch_args=-Np0 pre_configure() { vsed -i CMakeLists.txt -e 's/GAME_BINDIR "games"/GAME_BINDIR "bin"/' diff --git a/srcpkgs/opkg/template b/srcpkgs/opkg/template index 33b8bdd334f..04d4362ae15 100644 --- a/srcpkgs/opkg/template +++ b/srcpkgs/opkg/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://code.google.com/p/opkg/" distfiles="https://downloads.yoctoproject.org/releases/opkg/opkg-${version}.tar.gz" checksum=a1214a75fa34fb9228db8da47308e0e711b1c93fd8938cf164c10fd28eb50f1e +patch_args=-Np0 build_options="gpg lz4 ssl" build_options_default="ssl" diff --git a/srcpkgs/oprofile/template b/srcpkgs/oprofile/template index 6625c363438..da5caf24f4c 100644 --- a/srcpkgs/oprofile/template +++ b/srcpkgs/oprofile/template @@ -15,6 +15,7 @@ license="GPL-2.0-only" homepage="http://oprofile.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=7ba06f99d7c188389d20d1d5e53ee690c7733f87aa9af62bd664fa0ca235a412 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in ppc*) makedepends+=" papi-devel";; diff --git a/srcpkgs/oragono/template b/srcpkgs/oragono/template index 33a91197e97..d3e88425335 100644 --- a/srcpkgs/oragono/template +++ b/srcpkgs/oragono/template @@ -16,6 +16,7 @@ system_accounts="_oragono" _oragono_homedir="/var/lib/oragono" make_dirs=" /var/lib/oragono 0755 _oragono _oragono" +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/orion/template b/srcpkgs/orion/template index d69f2ff04dd..29feec2b0bd 100644 --- a/srcpkgs/orion/template +++ b/srcpkgs/orion/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/alamminsalo/orion" distfiles="${homepage}/archive/${version}.tar.gz" checksum=19d9c170d0bcf21d47947704d8c8e927cff5140f94cb840b51d2b8574b0149fb +patch_args=-Np0 do_install() { vbin orion diff --git a/srcpkgs/os-prober/template b/srcpkgs/os-prober/template index f22ca4e63e9..3cd0dcc7a0a 100644 --- a/srcpkgs/os-prober/template +++ b/srcpkgs/os-prober/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="https://packages.debian.org/sid/os-prober" distfiles="${DEBIAN_SITE}/main/o/${pkgname}/${pkgname}_${version}.tar.xz" checksum=6e909f511035698145ba01ad63fd53fce6ee24529c76e2698e346bbac49950e9 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686*|x86_64*) _ARCH="x86";; diff --git a/srcpkgs/osg/template b/srcpkgs/osg/template index 08bf6d4b659..c01c0e25357 100644 --- a/srcpkgs/osg/template +++ b/srcpkgs/osg/template @@ -23,6 +23,7 @@ license="OSGPL-2.0-or-later" homepage="http://www.openscenegraph.org" distfiles="https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-${version}.tar.gz" checksum=930eb46f05781a76883ec16c5f49cfb29a059421db131005d75bec4d78401fd5 +patch_args=-Np0 # Append CFLAGS and CXXFLAGS to set work around code which gcc6 would # otherwise regard as out-of-specification and allow it to produce a diff --git a/srcpkgs/osmid/template b/srcpkgs/osmid/template index f89e27caedc..2482ca25471 100644 --- a/srcpkgs/osmid/template +++ b/srcpkgs/osmid/template @@ -11,6 +11,7 @@ license="MIT, ISC, GPL-3.0-or-later" homepage="https://github.com/llloret/osmid/" distfiles="https://github.com/llloret/osmid/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=774d6c2c7ba81d1ab9d4e7ee031ce15a1506f19ee940166d277dbdee98f87b50 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" libexecinfo-devel" ;; diff --git a/srcpkgs/otfcc/template b/srcpkgs/otfcc/template index b19fbcb5220..38ec8833f28 100644 --- a/srcpkgs/otfcc/template +++ b/srcpkgs/otfcc/template @@ -11,6 +11,7 @@ license="Apache-2.0" homepage="https://github.com/caryll/otfcc" distfiles="https://github.com/caryll/otfcc/archive/v${version}.tar.gz" checksum=d9c74825ddac700eb429de31de7cb0a249636f47c6a4cc64eaa102a40966cf00 +patch_args=-Np0 # Yes, there are architectures besides x86 and x64 :-P case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/otpw/template b/srcpkgs/otpw/template index 03c9c86d6a1..2f86ba39e08 100644 --- a/srcpkgs/otpw/template +++ b/srcpkgs/otpw/template @@ -10,6 +10,7 @@ license="GPL-3" homepage="http://www.cl.cam.ac.uk/~mgk25/otpw.html" distfiles="https://www.cl.cam.ac.uk/%7Emgk25/download/otpw-${version}.tar.gz" checksum=98aca38a61c7713677b96f24426ca7053480c0fd077d91b1e99bc9f92ccb832a +patch_args=-Np0 do_build() { make CC=$CC LD=$LD CFLAGS="$CFLAGS -fPIC" LDFLAGS="$LDFLAGS" ${makejobs} diff --git a/srcpkgs/owncloudclient/template b/srcpkgs/owncloudclient/template index 2146b9110d1..cf7871bd647 100644 --- a/srcpkgs/owncloudclient/template +++ b/srcpkgs/owncloudclient/template @@ -17,6 +17,7 @@ license="GPL-2.0-or-later" homepage="https://www.owncloud.org" distfiles="https://github.com/owncloud/client/archive/v${version}.tar.gz" checksum=aafc6044a4c6727ad747195cb90a6be8c3a5b28de50df97fa961b6b551fe6d89 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-tools-devel" diff --git a/srcpkgs/p7zip/template b/srcpkgs/p7zip/template index 642e24adaf5..192db3c04f6 100644 --- a/srcpkgs/p7zip/template +++ b/srcpkgs/p7zip/template @@ -10,6 +10,7 @@ license="LGPL-2.1-or-later" homepage="http://p7zip.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_${version}_src_all.tar.bz2" checksum=5eb20ac0e2944f6cb9c2d51dd6c4518941c185347d4089ea89087ffdd6e2341f +patch_args=-Np0 CXXFLAGS="-Wno-narrowing" diff --git a/srcpkgs/pa-applet/template b/srcpkgs/pa-applet/template index e190ff2d99a..c4586b7be4f 100644 --- a/srcpkgs/pa-applet/template +++ b/srcpkgs/pa-applet/template @@ -13,6 +13,7 @@ license="BSD-2-Clause" homepage="https://github.com/fernandotcl/pa-applet" distfiles="$homepage/archive/$_commit.tar.gz" checksum=db30c04a6954e1d138c6bc80739dae80d667a0af151b015db503e48fb30b0b7a +patch_args=-Np0 pre_configure() { sed -i -e 's| -Werror||' src/Makefile.am diff --git a/srcpkgs/pacman/template b/srcpkgs/pacman/template index d23aba0468b..c676fb36113 100644 --- a/srcpkgs/pacman/template +++ b/srcpkgs/pacman/template @@ -17,6 +17,7 @@ license="GPL-2.0-or-later" homepage="https://www.archlinux.org/pacman/" distfiles="https://sources.archlinux.org/other/pacman/pacman-${version}.tar.gz" checksum=bb201a9f2fb53c28d011f661d50028efce6eef2c1d2a36728bdd0130189349a0 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = musl ]; then do_check() { diff --git a/srcpkgs/pahole/template b/srcpkgs/pahole/template index d3b720d72f2..ee34924e70c 100644 --- a/srcpkgs/pahole/template +++ b/srcpkgs/pahole/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="http://git.kernel.org/?p=devel/pahole/pahole.git;a=summary" distfiles="https://fedorapeople.org/~acme/dwarves/dwarves-${version}.tar.xz" checksum=33a8bed6c0e1a5889578e01d1afed3f752353dc087d8bda36d258fe83e42a476 +patch_args=-Np0 case $XBPS_TARGET_MACHINE in *-musl) makedepends+=" musl-obstack-devel argp-standalone" diff --git a/srcpkgs/pam-mount/template b/srcpkgs/pam-mount/template index 0a8e38d9de8..235c7025df4 100644 --- a/srcpkgs/pam-mount/template +++ b/srcpkgs/pam-mount/template @@ -16,6 +16,7 @@ homepage="http://pam-mount.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/pam-mount/pam_mount/${version}/pam_mount-${version}.tar.xz" checksum=ae0207ea6c96189414f906a7b0880abc7751a98e26b3d0375c9afab3722471e7 conf_files="/etc/security/pam_mount.conf.xml" +patch_args=-Np0 libpam-mount_package() { short_desc+=" - runtime library" diff --git a/srcpkgs/pam-u2f/template b/srcpkgs/pam-u2f/template index 7c1b5034a28..02fb19f2b41 100644 --- a/srcpkgs/pam-u2f/template +++ b/srcpkgs/pam-u2f/template @@ -14,6 +14,7 @@ homepage="https://developers.yubico.com/pam-u2f/" #changelog="https://raw.githubusercontent.com/Yubico/pam-u2f/master/NEWS" distfiles="https://developers.yubico.com/pam-u2f/Releases/pam_u2f-${version}.tar.gz" checksum=0dc3bf96ebb69c6e398b5f8991493b37a8ce1af792948af71e694f695d5edc05 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/pam_ssh/template b/srcpkgs/pam_ssh/template index eba01a0fa45..b2d2ae5f448 100644 --- a/srcpkgs/pam_ssh/template +++ b/srcpkgs/pam_ssh/template @@ -14,6 +14,7 @@ license="BSD-2-Clause" homepage="http://pam-ssh.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/pam-ssh/${pkgname}-${version}.tar.xz" checksum=0c456f6a5c9e47ce6825ac50d467e7a797e14239b2b9a72bfeb2df0100f4af31 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/pam_ssh_agent_auth/template b/srcpkgs/pam_ssh_agent_auth/template index 50744824510..05c7a4f346c 100644 --- a/srcpkgs/pam_ssh_agent_auth/template +++ b/srcpkgs/pam_ssh_agent_auth/template @@ -12,6 +12,7 @@ license="MIT" homepage="http://pamsshagentauth.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/pamsshagentauth/${pkgname}-${version}.tar.bz2" checksum=3c53d358d6eaed1b211239df017c27c6f9970995d14102ae67bae16d4f47a763 +patch_args=-Np0 post_extract() { vsed -e '/^AR=/d' -i Makefile.in -i openbsd-compat/Makefile.in diff --git a/srcpkgs/papi/template b/srcpkgs/papi/template index f8010c4b159..c8d6d1e79fb 100644 --- a/srcpkgs/papi/template +++ b/srcpkgs/papi/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="http://icl.cs.utk.edu/papi/" distfiles="http://icl.utk.edu/projects/papi/downloads/papi-${version}.tar.gz" checksum=d1a3bb848e292c805bc9f29e09c27870e2ff4cda6c2fba3b7da8b4bba6547589 +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then _ARCH="${XBPS_TARGET_MACHINE%-musl}" diff --git a/srcpkgs/par/template b/srcpkgs/par/template index 54747129b79..0f8b5c52e16 100644 --- a/srcpkgs/par/template +++ b/srcpkgs/par/template @@ -12,6 +12,7 @@ distfiles="http://www.nicemice.net/par/Par152-autoconf.tar.gz http://www.nicemice.net/par/Par152.tar.gz" checksum="034fb943236523629eefee0a33fc6afb5b881648a2fc5c6bef7fd1b89ce44d34 33dcdae905f4b4267b4dc1f3efb032d79705ca8d2122e17efdecfd8162067082" +patch_args=-Np0 do_install() { vbin par diff --git a/srcpkgs/par2cmdline/template b/srcpkgs/par2cmdline/template index 548de4363a7..10e1b5c63f4 100644 --- a/srcpkgs/par2cmdline/template +++ b/srcpkgs/par2cmdline/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/Parchive/par2cmdline" distfiles="https://github.com/Parchive/par2cmdline/archive/v${version}.tar.gz" checksum=529f85857ec44e501cd8d95b0c8caf47477d7daa5bfb989e422c800bb71b689a +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template index 20a7f558967..875b5d1f176 100644 --- a/srcpkgs/paraview/template +++ b/srcpkgs/paraview/template @@ -34,6 +34,7 @@ license="BSD-3-Clause" homepage="https://www.paraview.org" distfiles="https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v${version:0:3}&type=source&os=Sources&downloadFile=ParaView-v${version}.tar.xz>paraview-${version}.tar.xz" checksum=7653950392a0d7c0287c26f1d3a25cdbaa11baa7524b0af0e6a1a0d7d487d034 +patch_args=-Np0 CFLAGS="-DYYERROR_VERBOSE -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DGNU_SOURCE -fcommon" CXXFLAGS="${CFLAGS}" diff --git a/srcpkgs/parcellite/template b/srcpkgs/parcellite/template index 98f7b661cd7..cb4de9fe608 100644 --- a/srcpkgs/parcellite/template +++ b/srcpkgs/parcellite/template @@ -12,5 +12,6 @@ license="GPL-3.0-or-later" homepage="http://parcellite.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/parcellite/${version}/parcellite-${version}.tar.gz" checksum=aba1c7c56c7607e219ce9855723eefa552c5376982891aefbfb5a2d3297ef046 +patch_args=-Np0 export LIBS=-lgio-2.0 diff --git a/srcpkgs/partclone/template b/srcpkgs/partclone/template index 4813a8a250d..5140c3dcf87 100644 --- a/srcpkgs/partclone/template +++ b/srcpkgs/partclone/template @@ -16,6 +16,7 @@ homepage="http://www.partclone.org/" distfiles="https://github.com/Thomas-Tsai/${pkgname}/archive/${version}.tar.gz" checksum=ef1391db3801e4b3ef82fc9417f1d7f0542b7229b3394120072b2dfeae0bbbb0 CFLAGS="-DBTRFS_DISABLE_BACKTRACE" +patch_args=-Np0 pre_configure() { ./autogen diff --git a/srcpkgs/passwordsafe/template b/srcpkgs/passwordsafe/template index c4eab0c120e..7d07f7849be 100644 --- a/srcpkgs/passwordsafe/template +++ b/srcpkgs/passwordsafe/template @@ -16,6 +16,7 @@ license="Artistic-2.0" homepage="https://pwsafe.org" distfiles="https://github.com/pwsafe/pwsafe/archive/${version}.tar.gz" checksum=8962edf57b7f901d9ed23496c8ec387a4f186855976e8ac98f2dd55560c82ebe +patch_args=-Np0 if [ "$XBPS_CHECK_PKGS" ]; then configure_args+=" -DNO_GTEST=OFF" diff --git a/srcpkgs/pax/template b/srcpkgs/pax/template index 0612a94cfeb..5a678b9e614 100644 --- a/srcpkgs/pax/template +++ b/srcpkgs/pax/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="https://www.mirbsd.org/MirOS/dist/mir/cpio/" distfiles="https://www.mirbsd.org/MirOS/dist/mir/cpio/paxmirabilis-${version}.cpio.gz" checksum=fe3f99c28ba7a46c4bce0b329da3742908b87fe8fbe17f0db1f99a1bd053d46b +patch_args=-Np0 alternatives=" pax:pax:/usr/bin/paxmirabilis diff --git a/srcpkgs/pcaudiolib/template b/srcpkgs/pcaudiolib/template index 7f40e0388e1..54a1bf27c10 100644 --- a/srcpkgs/pcaudiolib/template +++ b/srcpkgs/pcaudiolib/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/espeak-ng/pcaudiolib" distfiles="https://github.com/espeak-ng/pcaudiolib/archive/${version}.tar.gz" checksum=699a5a347b1e12dc5b122e192e19f4db01621826bf41b9ebefb1cbc63ae2180b +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/pcc/template b/srcpkgs/pcc/template index 84b020278d6..e770914485c 100644 --- a/srcpkgs/pcc/template +++ b/srcpkgs/pcc/template @@ -19,6 +19,7 @@ distfiles=" checksum="a114dfca04b8b0559ea5d67b87d2d0fcb2bae2b4d9b9ba16ebc27960b921c812 e810aa4d6683e769f490f734b13a296b33c2511ddba646bc526eb85532f1a23a" nocross=yes +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/pchar/template b/srcpkgs/pchar/template index da229e4e94c..8186eb4aac2 100644 --- a/srcpkgs/pchar/template +++ b/srcpkgs/pchar/template @@ -9,6 +9,7 @@ license="custom" homepage="http://www.kitchenlab.org/www/bmah/Software/pchar/" distfiles="http://www.kitchenlab.org/www/bmah/Software/pchar/${pkgname}-${version}.tar.gz" checksum=7019297084f1000557a019501532ecae67772851717329cc02227f5c17e36d27 +patch_args=-Np0 do_install() { vbin pchar diff --git a/srcpkgs/pcsclite/template b/srcpkgs/pcsclite/template index ad9e221bfbc..9363f84af59 100644 --- a/srcpkgs/pcsclite/template +++ b/srcpkgs/pcsclite/template @@ -14,6 +14,7 @@ license="BSD-2-Clause" homepage="https://salsa.debian.org/debian/pcsc-lite" distfiles="https://salsa.debian.org/debian/pcsc-lite/-/archive/upstream/${version}/pcsc-lite-upstream-${version}.tar.gz" checksum=686fbd1c29e282388111f01b6fdfa4fe6b8349908236645b869115b21e4f73e8 +patch_args=-Np0 post_install() { vsv pcscd diff --git a/srcpkgs/pcsx2/template b/srcpkgs/pcsx2/template index 59f8dfcdce7..9fef26e81ef 100644 --- a/srcpkgs/pcsx2/template +++ b/srcpkgs/pcsx2/template @@ -2,6 +2,7 @@ archs="i686*" lib32mode="full" nopie=yes +patch_args=-Np0 pkgname=pcsx2 version=1.6.0 diff --git a/srcpkgs/pd/template b/srcpkgs/pd/template index 544afccd541..df8bcc64fb1 100644 --- a/srcpkgs/pd/template +++ b/srcpkgs/pd/template @@ -15,6 +15,7 @@ license="BSD-3-Clause" homepage="https://puredata.info" distfiles="http://msp.ucsd.edu/Software/pd-$_ver.src.tar.gz" checksum=52591f18316e9f2471ca21c3d6b41c56336e0615ec40a093232e95cc230bfcc1 +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/pdsh/template b/srcpkgs/pdsh/template index e03e90656ad..21d327d84a3 100644 --- a/srcpkgs/pdsh/template +++ b/srcpkgs/pdsh/template @@ -26,6 +26,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/chaos/pdsh" distfiles="https://github.com/chaos/pdsh/archive/pdsh-${version}.tar.gz" checksum=36e1b3c734ae9b4baf054c656b9735206cc56b290d2c0ec4f7825cdd9f7dff54 +patch_args=-Np0 build_options="rsh exec ssh mrsh xcpu netgroup readline" build_options_default="rsh exec ssh mrsh readline" diff --git a/srcpkgs/perl-Text-BibTeX/template b/srcpkgs/perl-Text-BibTeX/template index bf385a1c465..af0285bd8a2 100644 --- a/srcpkgs/perl-Text-BibTeX/template +++ b/srcpkgs/perl-Text-BibTeX/template @@ -13,6 +13,7 @@ license="Artistic-1.0-Perl, GPL-1.0-or-later" homepage="https://metacpan.org/release/Text-BibTeX/" distfiles="${CPAN_SITE}/Text/${pkgname/perl-/}-${version}.tar.gz" checksum=b014586e68bdbcafb0a2cfa0401eb0a04ea5de8c4d5bc36dd0f7faeab6acf42c +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then _perlprefix=${XBPS_STATEDIR}/perlprefix-${XBPS_TARGET_MACHINE} diff --git a/srcpkgs/perl-Tk/template b/srcpkgs/perl-Tk/template index 3515340159f..6c2dbb6e269 100644 --- a/srcpkgs/perl-Tk/template +++ b/srcpkgs/perl-Tk/template @@ -14,6 +14,7 @@ homepage="https://metacpan.org/release/Tk" license="Artistic-1.0-Perl, GPL-1.0-or-later" distfiles="${CPAN_SITE}/Tk/Tk-${version}.tar.gz" checksum=4d2b80291ba6de34d8ec886a085a6dbd2b790b926035a087e99025614c5ffdd4 +patch_args=-Np0 post_configure() { sed -i 's,X11/Xproto.h,,; s,X11/Xutil.h,,' pTk/Makefile diff --git a/srcpkgs/perl-WWW-Curl/template b/srcpkgs/perl-WWW-Curl/template index 5ff52959bfb..e3e11f40736 100644 --- a/srcpkgs/perl-WWW-Curl/template +++ b/srcpkgs/perl-WWW-Curl/template @@ -13,6 +13,7 @@ homepage="https://metacpan.org/release/WWW-Curl" license="MIT" distfiles="${CPAN_SITE}/WWW/WWW-Curl-$version.tar.gz" checksum=52ffab110e32348d775f241c973eb56f96b08eedbc110d77d257cdb0a24ab7ba +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/perl/template b/srcpkgs/perl/template index 29da654b2f3..c5929e12b78 100644 --- a/srcpkgs/perl/template +++ b/srcpkgs/perl/template @@ -16,6 +16,7 @@ distfiles="https://www.cpan.org/src/5.0/perl-${version}.tar.gz https://github.com/arsv/perl-cross/releases/download/${_perl_cross_version}/perl-cross-${_perl_cross_version}.tar.gz" checksum="03b693901cd8ae807231b1787798cf1f2e0b8a56218d07b7da44f784a7caeb2c 91c66f6b2b99fccfd4fee14660b677380b0c98f9456359e91449798c2ad2ef25" +patch_args=-Np0 # Before updating this package to a new major version, run ${FILESDIR}/provides.pl # against ${wrksrc} to find the list of built in packages. diff --git a/srcpkgs/pgadmin3/template b/srcpkgs/pgadmin3/template index ad2465b3413..c4fc9f3c2aa 100644 --- a/srcpkgs/pgadmin3/template +++ b/srcpkgs/pgadmin3/template @@ -13,6 +13,7 @@ homepage="http://www.pgadmin.org" distfiles="https://ftp.postgresql.org/pub/pgadmin/pgadmin3/v${version}/src/pgadmin3-${version}.tar.gz" checksum=9b68b0e3d3f0a261344fb8196825967d1e7acaca1d8cc82c42e12368ca5844ac nocross=yes +patch_args=-Np0 CXXFLAGS="-Wno-narrowing" diff --git a/srcpkgs/php/template b/srcpkgs/php/template index bdc35ee2d84..4d5649ef85b 100644 --- a/srcpkgs/php/template +++ b/srcpkgs/php/template @@ -14,6 +14,7 @@ license="PHP-3.01" homepage="https://www.php.net" distfiles="http://www.php.net/distributions/php-${version}.tar.xz" checksum=f9f3c37969fcd9006c1dbb1dd76ab53f28c698a1646fa2dde8547c3f45e02886 +patch_args=-Np0 conf_files="/etc/php/php.ini" diff --git a/srcpkgs/pidgin-libnotify/template b/srcpkgs/pidgin-libnotify/template index 5a627f32383..670f6336a6d 100644 --- a/srcpkgs/pidgin-libnotify/template +++ b/srcpkgs/pidgin-libnotify/template @@ -14,6 +14,7 @@ homepage="http://gaim-libnotify.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/gaim-libnotify/${pkgname}-${version}.tar.gz" checksum=74f4a9f20e0a483df39974178f1f2380786176189512bcd438e4ada280ec3abe lib32disabled=yes +patch_args=-Np0 post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure diff --git a/srcpkgs/pidgin/template b/srcpkgs/pidgin/template index a2668cf685e..fb6513a0045 100644 --- a/srcpkgs/pidgin/template +++ b/srcpkgs/pidgin/template @@ -18,6 +18,7 @@ distfiles="${SOURCEFORGE_SITE}/pidgin/pidgin-${version}.tar.bz2" checksum=2747150c6f711146bddd333c496870bfd55058bab22ffb7e4eb784018ec46d8f python_version=2 #unverified lib32disabled=yes +patch_args=-Np0 hostmakedepends="pkg-config intltool automake libtool gettext gettext-devel glib-devel" makedepends="libglib-devel gtk+-devel libXext-devel diff --git a/srcpkgs/pijul/template b/srcpkgs/pijul/template index 40df186b938..ad8534111db 100644 --- a/srcpkgs/pijul/template +++ b/srcpkgs/pijul/template @@ -14,6 +14,7 @@ distfiles="https://crates.io/api/v1/crates/pijul/${version}/download>pijul-${ver https://gitlab.com/sequoia-pgp/sequoia/-/archive/v${_sequoia_ver}/sequoia-v${_sequoia_ver}.tar.gz" checksum="f92a3f4063e780ca45c161ceb0f42baf34dfeddf3359ebf6c2e0442d9abb5889 71823c88b9666611f3cfa6b1d923bd66fda92fa6a53368b195bd2f962fdf7f4b" +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then export HOST_CC="$BUILD_CC" diff --git a/srcpkgs/pilot-link/template b/srcpkgs/pilot-link/template index 5b83232cef8..e42936b5e2d 100644 --- a/srcpkgs/pilot-link/template +++ b/srcpkgs/pilot-link/template @@ -18,6 +18,7 @@ homepage="http://www.pilot-link.org/" #distfiles="http://downloads.pilot-link.org/${pkgname}-${version}.tar.bz2" distfiles="https://mirrors.slackware.com/slackware/slackware-14.1/source/l/pilot-link/pilot-link-${version}.tar.bz2" checksum=d3f99ec04016b38995fb370265200254710318105c792c017d3aaccfb97a84b2 +patch_args=-Np0 # Avoid error because of deprecation CFLAGS="-Wno-deprecated-declarations" diff --git a/srcpkgs/pinebookpro-uboot/template b/srcpkgs/pinebookpro-uboot/template index db629c4a8e5..ce053ca69d8 100644 --- a/srcpkgs/pinebookpro-uboot/template +++ b/srcpkgs/pinebookpro-uboot/template @@ -14,6 +14,7 @@ license="GPL-2.0-only, BSD-3-Clause" homepage="https://www.denx.de/wiki/U-Boot/" distfiles="https://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2" checksum=0d481bbdc05c0ee74908ec2f56a6daa53166cc6a78a0e4fac2ac5d025770a622 +patch_args=-Np0 do_configure() { unset CFLAGS CXXFLAGS CPPFLAGS LDFLAGS diff --git a/srcpkgs/pingus/template b/srcpkgs/pingus/template index 8e126cf7466..a4f8d003f7f 100644 --- a/srcpkgs/pingus/template +++ b/srcpkgs/pingus/template @@ -14,6 +14,7 @@ homepage="https://pingus.seul.org/" distfiles="https://gitlab.com/pingus/pingus/-/archive/v${version}/pingus-v${version}.tar.gz" checksum=31cb2c0ecddd49dbe03535648e8c7c2971da469c52af52cdf9dc2459798342c8 nocross=yes +patch_args=-Np0 do_build() { # XXX: defining CXXFLAGS breaks dependency detection. diff --git a/srcpkgs/pioneer/template b/srcpkgs/pioneer/template index 40812890ec7..c4b81ba6968 100644 --- a/srcpkgs/pioneer/template +++ b/srcpkgs/pioneer/template @@ -16,6 +16,7 @@ license="GPL-3.0-or-later" homepage="https://pioneerspacesim.net" distfiles="https://github.com/pioneerspacesim/pioneer/archive/${version}.tar.gz" checksum=fcbc57374123b44161e9d15d97bd950255f654a222840894f50bfc2be716ea68 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" pioneer-modelcompiler" diff --git a/srcpkgs/pipenightdreams/template b/srcpkgs/pipenightdreams/template index baf9b32f95d..a8de6c96d19 100644 --- a/srcpkgs/pipenightdreams/template +++ b/srcpkgs/pipenightdreams/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://www.libsdl.org/projects/pipenightdreams" distfiles="${homepage}/packages/${pkgname}-${version}.tar.bz2" checksum=302f8ce6e0eb32ebd779700527095cf086c2c7132d47095bae9a43c346245541 +patch_args=-Np0 pre_configure() { find . -type f -exec sed -i "{}" -e "s;/games/;/;g" \; diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template index 43e3c1cfc9b..ac6ce7fffd6 100644 --- a/srcpkgs/pipewire/template +++ b/srcpkgs/pipewire/template @@ -19,6 +19,7 @@ homepage="https://pipewire.org/" changelog="https://gitlab.freedesktop.org/pipewire/pipewire/-/raw/master/NEWS" distfiles="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${version}/pipewire-${version}.tar.gz" checksum=1d9271e121a5049aef379e9bb7c50524faa6f971e668806637d7b9df1b7cab88 +patch_args=-Np0 build_options="sdl2" diff --git a/srcpkgs/pjproject/template b/srcpkgs/pjproject/template index c94ead90e9d..041dd40b504 100644 --- a/srcpkgs/pjproject/template +++ b/srcpkgs/pjproject/template @@ -24,6 +24,7 @@ license="GPL-2.0-or-later" homepage="http://www.pjsip.org/pjsua.htm" distfiles="http://www.pjsip.org/release/${version}/${pkgname}-${version}.tar.bz2" checksum=503d0bd7f9f13dc1492ac9b71b761b1089851fbb608b9a13996edc3c42006f79 +patch_args=-Np0 pre_configure() { export LD="${CC}" diff --git a/srcpkgs/plasma-framework/template b/srcpkgs/plasma-framework/template index fd0eff95f4e..bf8ac20852e 100644 --- a/srcpkgs/plasma-framework/template +++ b/srcpkgs/plasma-framework/template @@ -16,6 +16,7 @@ license="LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/plasma-framework" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=7adf5f77d7ecf6a45626e7a329c941f6bfe21154b2ff9c6c943727b0e68f145d +patch_args=-Np0 do_check() { cd build diff --git a/srcpkgs/plasma-workspace/template b/srcpkgs/plasma-workspace/template index 049bc5c1f28..fe6fdbf2843 100644 --- a/srcpkgs/plasma-workspace/template +++ b/srcpkgs/plasma-workspace/template @@ -24,6 +24,7 @@ license="GPL-2.0-or-later, GFDL-1.2-or-later, LGPL-2.1-or-later" homepage="https://invent.kde.org/plasma/plasma-workspace" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" checksum=61ad5adab412c935ae156c4de3f38d1e2640752c95100ad6996b9e51e8539725 +patch_args=-Np0 build_options="pipewire" build_options_default="pipewire" diff --git a/srcpkgs/plex-media-player/template b/srcpkgs/plex-media-player/template index 830d09f8579..e2b23f24dfe 100644 --- a/srcpkgs/plex-media-player/template +++ b/srcpkgs/plex-media-player/template @@ -38,6 +38,7 @@ skip_extraction="buildid-${_buildid_version}.cmake web-client-desktop-${_clientdesktop_version}.tar.xz.sha1 web-client-tv-${_clienttv_version}.tar.xz web-client-tv-${_clienttv_version}.tar.xz.sha1" +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-devel qt5-host-tools" diff --git a/srcpkgs/plib/template b/srcpkgs/plib/template index cde1e8335d2..c212ec3dd70 100644 --- a/srcpkgs/plib/template +++ b/srcpkgs/plib/template @@ -12,6 +12,7 @@ license="LGPL-2.0-or-later" homepage="http://plib.sourceforge.net" distfiles="http://plib.sourceforge.net/dist/plib-${version}.tar.gz" checksum=485b22bf6fdc0da067e34ead5e26f002b76326f6371e2ae006415dea6a380a32 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/plocate/template b/srcpkgs/plocate/template index 58252651243..fa184f7b94c 100644 --- a/srcpkgs/plocate/template +++ b/srcpkgs/plocate/template @@ -15,6 +15,7 @@ homepage="https://plocate.sesse.net/" changelog="https://git.sesse.net/?p=plocate;a=blob_plain;f=NEWS;hb=HEAD" distfiles="https://plocate.sesse.net/download/plocate-${version}.tar.gz" checksum=13002f065c28a93623a03d44c911a44f1659e8b1841aad80fd8a566a1200f43c +patch_args=-Np0 system_accounts="_plocate" diff --git a/srcpkgs/plotutils/template b/srcpkgs/plotutils/template index 6b64353081b..b047906f96c 100644 --- a/srcpkgs/plotutils/template +++ b/srcpkgs/plotutils/template @@ -10,6 +10,7 @@ license="GPL-3" homepage="http://directory.fsf.org/wiki/Plotutils" distfiles="${GNU_SITE}/plotutils/plotutils-${version}.tar.gz" checksum=4f4222820f97ca08c7ea707e4c53e5a3556af4d8f1ab51e0da6ff1627ff433ab +patch_args=-Np0 plotutils-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/plume-creator/template b/srcpkgs/plume-creator/template index 3c415a06cdd..86bd3b86ee4 100644 --- a/srcpkgs/plume-creator/template +++ b/srcpkgs/plume-creator/template @@ -20,6 +20,7 @@ distfiles=" checksum=" f88f9524184bcf60dae855d6ad37899aefa39de0edd56098e93ce3b97b679e0c 7d473ee7283bc311c7d4dd3311d1e7726df7d45fa0123894265f355b436298e1" +patch_args=-Np0 post_extract() { mv -f ${wrksrc}/../debian ${wrksrc}/ diff --git a/srcpkgs/plymouth/template b/srcpkgs/plymouth/template index 17f801fc531..9b15ecb110a 100644 --- a/srcpkgs/plymouth/template +++ b/srcpkgs/plymouth/template @@ -19,6 +19,7 @@ license="GPL-2.0-or-later" homepage="https://www.freedesktop.org/wiki/Software/Plymouth/" distfiles="${FREEDESKTOP_SITE}/plymouth/releases/$pkgname-$version.tar.xz" checksum=ecae257f351d098340542a5bc06de029404c24dcee87e6ebb2abd5ef117fce86 +patch_args=-Np0 build_options="gtk3 pango" build_options_default="gtk3 pango" diff --git a/srcpkgs/pmount/template b/srcpkgs/pmount/template index 8a826f4e0fe..f4bb5a0939f 100644 --- a/srcpkgs/pmount/template +++ b/srcpkgs/pmount/template @@ -12,6 +12,7 @@ homepage="http://pmount.alioth.debian.org/" distfiles="${DEBIAN_SITE}/main/p/${pkgname}/${pkgname}_${version}.orig.tar.bz2" checksum=db38fc290b710e8e9e9d442da2fb627d41e13b3ee80326c15cc2595ba00ea036 conf_files="/etc/pmount.allow" +patch_args=-Np0 post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure diff --git a/srcpkgs/png++/template b/srcpkgs/png++/template index b156d606308..01788d947b4 100644 --- a/srcpkgs/png++/template +++ b/srcpkgs/png++/template @@ -13,6 +13,7 @@ license="BSD-3-Clause" homepage="https://www.nongnu.org/pngpp" distfiles="${NONGNU_SITE}/pngpp/${pkgname}-${version}.tar.gz" checksum=998af216ab16ebb88543fbaa2dbb9175855e944775b66f2996fc945c8444eee1 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/polkit/template b/srcpkgs/polkit/template index 01d31d7dc6a..0fc0d667eb2 100644 --- a/srcpkgs/polkit/template +++ b/srcpkgs/polkit/template @@ -22,6 +22,7 @@ checksum=6d54e984e7072339f0d3147179e16e34e5fe0705158f259a765d772dcf78956b system_accounts="polkitd" #replaces="polkit-elogind>=0" #provides="polkit-elogind-${version}_${revision}" +patch_args=-Np0 # Package build options build_options="gir" diff --git a/srcpkgs/polygen/template b/srcpkgs/polygen/template index 22811a9f7b9..20c1f27c303 100644 --- a/srcpkgs/polygen/template +++ b/srcpkgs/polygen/template @@ -12,6 +12,7 @@ homepage="http://www.polygen.org" distfiles="${DEBIAN_SITE}/main/p/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=60dbcec8aedcbb2545202ad97d41e592f232b8fc842ea25a7998c88a385148d5 nocross=yes +patch_args=-Np0 do_check() { : diff --git a/srcpkgs/portaudio/template b/srcpkgs/portaudio/template index 7032f8da9d4..eaaacb9b299 100644 --- a/srcpkgs/portaudio/template +++ b/srcpkgs/portaudio/template @@ -14,6 +14,7 @@ homepage="http://www.portaudio.com" distfiles="http://www.${pkgname}.com/archives/pa_stable_v${version%.*}_${version#*.}.tgz" checksum=f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513 disable_parallel_build=yes +patch_args=-Np0 # sndio disabled by default: non-upstream patch build_options="sndio" diff --git a/srcpkgs/portmidi/template b/srcpkgs/portmidi/template index e3afd5cd831..88906d95e14 100644 --- a/srcpkgs/portmidi/template +++ b/srcpkgs/portmidi/template @@ -17,6 +17,7 @@ license="MIT" homepage="http://portmedia.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/portmedia/${pkgname}/${version}/${pkgname}-src-${version}.zip" checksum=08e9a892bd80bdb1115213fb72dc29a7bf2ff108b378180586aa65f3cfd42e0f +patch_args=-Np0 post_install() { ln -s libportmidi.so ${DESTDIR}/usr/lib/libporttime.so diff --git a/srcpkgs/postfix/template b/srcpkgs/postfix/template index 80d321fb726..7eef653977d 100644 --- a/srcpkgs/postfix/template +++ b/srcpkgs/postfix/template @@ -11,6 +11,7 @@ license="IPL-1.0, EPL-2.0" homepage="http://www.postfix.org/" distfiles="http://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${version}.tar.gz" checksum=20a805625601e7b95989220832c8fa14ce374f0711da054188f8cec6a92fd71c +patch_args=-Np0 system_accounts="postfix" postfix_homedir="/var/spool/postfix" diff --git a/srcpkgs/postgresql/template b/srcpkgs/postgresql/template index 3167e0657fe..f638aa7642e 100644 --- a/srcpkgs/postgresql/template +++ b/srcpkgs/postgresql/template @@ -22,6 +22,7 @@ distfiles="https://ftp.postgresql.org/pub/source/v${version}/${pkgname}-${versio checksum=3d32cd101025a0556813397c69feff3df3d63736adb8adeaf365c522f39f2930 # initdb fails on github actions, works locally with xbps-uunshare make_check=ci-skip +patch_args=-Np0 conf_files=" /etc/default/${pkgname} diff --git a/srcpkgs/postgresql12/template b/srcpkgs/postgresql12/template index 02b9e6b1f79..5450b782873 100644 --- a/srcpkgs/postgresql12/template +++ b/srcpkgs/postgresql12/template @@ -23,6 +23,7 @@ homepage="https://www.postgresql.org" changelog="https://www.postgresql.org/docs/current/release-${version//./-}.html" distfiles="https://ftp.postgresql.org/pub/source/v${version}/postgresql-${version}.tar.bz2" checksum=8490741f47c88edc8b6624af009ce19fda4dc9b31c4469ce2551d84075d5d995 +patch_args=-Np0 conf_files=" /${_prefix}/etc/default/postgresql diff --git a/srcpkgs/postgresql13/template b/srcpkgs/postgresql13/template index be54f0bafe4..1757cac0a3a 100644 --- a/srcpkgs/postgresql13/template +++ b/srcpkgs/postgresql13/template @@ -23,6 +23,7 @@ homepage="https://www.postgresql.org" changelog="https://www.postgresql.org/docs/current/release-${version//./-}.html" distfiles="https://ftp.postgresql.org/pub/source/v${version}/postgresql-${version}.tar.bz2" checksum=3cd9454fa8c7a6255b6743b767700925ead1b9ab0d7a0f9dcb1151010f8eb4a1 +patch_args=-Np0 conf_files=" /${_prefix}/etc/default/postgresql diff --git a/srcpkgs/povray/template b/srcpkgs/povray/template index 30a2baab203..20f0417c268 100644 --- a/srcpkgs/povray/template +++ b/srcpkgs/povray/template @@ -20,6 +20,7 @@ checksum=53d11ebd2972fc452af168a00eb83aefb61387662c10784e81b63e44aa575de4 nocross="Builds fail on ARM architectures Logs are at https://travis-ci.org/void-linux/void-packages/builds/412583835." LDFLAGS+=" -Wl,-z,stack-size=1048576" +patch_args=-Np0 pre_configure() { cd $wrksrc/unix diff --git a/srcpkgs/powerpc-utils/template b/srcpkgs/powerpc-utils/template index e975d94658a..f33782a127d 100644 --- a/srcpkgs/powerpc-utils/template +++ b/srcpkgs/powerpc-utils/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/ibm-power-utilities/powerpc-utils" distfiles="https://github.com/ibm-power-utilities/powerpc-utils/archive/v${version}.tar.gz" checksum=bb48758bca3b9d056141b522e700218ee4e814b517aadf5a01f53b970ad1d3c3 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args+=" --with-librtas ac_cv_lib_rtasevent_parse_rtas_event=yes" diff --git a/srcpkgs/ppp/template b/srcpkgs/ppp/template index 8f597b56516..c59d266437f 100644 --- a/srcpkgs/ppp/template +++ b/srcpkgs/ppp/template @@ -25,6 +25,7 @@ conf_files=" /etc/ppp/options /etc/ppp/chap-secrets /etc/ppp/pap-secrets" +patch_args=-Np0 do_configure() { ./configure --prefix=/usr --cc="${CC}" --cflags="${CFLAGS}" diff --git a/srcpkgs/pps-tools/template b/srcpkgs/pps-tools/template index 2227ed811c0..459a701ff5d 100644 --- a/srcpkgs/pps-tools/template +++ b/srcpkgs/pps-tools/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="http://linuxpps.org/" distfiles="https://github.com/ago/pps-tools/archive/v${version}.tar.gz" checksum=1a7efd66152e5439b69143f1f380b40ac5decbbbef516b37a017410b8ba7dff4 +patch_args=-Np0 pps-tools-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/ppsspp/template b/srcpkgs/ppsspp/template index eaf14bc7cf1..eee3c9fe1a1 100644 --- a/srcpkgs/ppsspp/template +++ b/srcpkgs/ppsspp/template @@ -36,6 +36,7 @@ checksum="503f046fa68e4be24d08822b0aa2280e653ad513d9a12c77a59809467b95c516 f8a03906135fb6f2932b80b7ef5991f39ccac46b36ec3690776fb38c69775c3d 20fe5dbd7a64f7a8fdbaeb81f8dd485df61121c5054e0f7f917c6193f209ff2e 6819f0984fa647f69a74831a2333859a07099f64098ce58c35d8604d19532d3d" +patch_args=-Np0 # ppsspp always tries to compile x86 unittest # https://gist.github.com/Johnnynator/e18d59274451cff890b7235009d2e93d diff --git a/srcpkgs/pptpclient/template b/srcpkgs/pptpclient/template index 3761f308658..4b75b7dd481 100644 --- a/srcpkgs/pptpclient/template +++ b/srcpkgs/pptpclient/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://pptpclient.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/pptpclient/files/pptp-${version}.tar.gz" checksum=82492db8e487ce73b182ee7f444251d20c44f5c26d6e96c553ec7093aefb5af4 +patch_args=-Np0 pre_build() { sed -i Makefile \ diff --git a/srcpkgs/projectlibre/template b/srcpkgs/projectlibre/template index 4f6d94cef75..9bac53e4496 100644 --- a/srcpkgs/projectlibre/template +++ b/srcpkgs/projectlibre/template @@ -9,6 +9,7 @@ license="CPAL-1.0" homepage="https://www.projectlibre.com/" distfiles="${SOURCEFORGE_SITE}/projectlibre/${version}/projectlibre-${version}.tar.gz" checksum=58160173ecb384d988a398b7fe5400fc9667209aab2dedc21f5445f4f88f09c4 +patch_args=-Np0 do_install() { _dest="usr/share/projectlibre" diff --git a/srcpkgs/proot/template b/srcpkgs/proot/template index bf03af65a90..de493094767 100644 --- a/srcpkgs/proot/template +++ b/srcpkgs/proot/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://proot-me.github.io" distfiles="https://github.com/proot-me/PRoot/archive/v${version}.tar.gz" checksum=ce0a3baca8312613bd10f65bb436a3aaa28e1034f498a22c35ad0693600e01dd +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/protobuf-c/template b/srcpkgs/protobuf-c/template index ab3915524c6..cb483c41044 100644 --- a/srcpkgs/protobuf-c/template +++ b/srcpkgs/protobuf-c/template @@ -12,6 +12,7 @@ license="BSD-2-Clause" homepage="https://github.com/protobuf-c/protobuf-c" distfiles="${homepage}/releases/download/v${version}/protobuf-c-${version}.tar.gz" checksum=22956606ef50c60de1fabc13a78fbc50830a0447d780467d3c519f84ad527e78 +patch_args=-Np0 # buildprocess calls compiler while building, disable it on cross build build_options="protoc" diff --git a/srcpkgs/prototype/template b/srcpkgs/prototype/template index 03d8f26c39b..653e1508987 100644 --- a/srcpkgs/prototype/template +++ b/srcpkgs/prototype/template @@ -9,6 +9,7 @@ license="Public Domain" homepage="https://github.com/ptitSeb/prototype" distfiles="https://github.com/ptitSeb/prototype/archive/v${version}.tar.gz" checksum=400f8a5c727c9feaa6b48b65c23c312db41dd238af9526659bf3342346c05af6 +patch_args=-Np0 CXXFLAGS="-Wno-write-strings" diff --git a/srcpkgs/psensor/template b/srcpkgs/psensor/template index 00cf7ba46a6..b4841eed588 100644 --- a/srcpkgs/psensor/template +++ b/srcpkgs/psensor/template @@ -16,6 +16,7 @@ changelog="https://gitlab.com/jeanfi/psensor/-/raw/master/NEWS" distfiles="https://wpitchoune.net/${pkgname}/files/${pkgname}-${version}.tar.gz" checksum=084f785d169f533d3010e50c5933436ed427afc70d41740b762f1db5034833ab disable_parallel_build=yes +patch_args=-Np0 if [ -z "$CROSS_BUILD" ]; then hostmakedepends+=" help2man" diff --git a/srcpkgs/ptii/template b/srcpkgs/ptii/template index 572d59daad4..a0c21edea43 100644 --- a/srcpkgs/ptii/template +++ b/srcpkgs/ptii/template @@ -10,5 +10,6 @@ license="WTFPL" homepage="http://git.z3bra.org/cgit.cgi/ptii/" distfiles="https://sources.voidlinux.de/ptii-${version}/ptii-${version}.tar.bz2" checksum=2f130417251938c9947293f4df07b6db37909e03d4f600e0af025d1ae6a02d26 +patch_args=-Np0 LDFLAGS="-lpthread" diff --git a/srcpkgs/pugixml/template b/srcpkgs/pugixml/template index 45d0d36a67b..c34c9d86dde 100644 --- a/srcpkgs/pugixml/template +++ b/srcpkgs/pugixml/template @@ -10,6 +10,7 @@ license="MIT" homepage="http://pugixml.org/" distfiles="http://github.com/zeux/pugixml/releases/download/v${version}/pugixml-${version}.tar.gz" checksum=8ddf57b65fb860416979a3f0640c2ad45ddddbbafa82508ef0a0af3ce7061716 +patch_args=-Np0 post_install() { tail -22 readme.txt > LICENSE diff --git a/srcpkgs/pulseview/template b/srcpkgs/pulseview/template index 83ce80bc39d..b6e099c7b68 100644 --- a/srcpkgs/pulseview/template +++ b/srcpkgs/pulseview/template @@ -15,5 +15,6 @@ license="GPL-3" homepage="https://sigrok.org/" distfiles="https://sigrok.org/download/source/${pkgname}/${pkgname}-${version}.tar.gz" checksum=f042f77a3e1b35bf30666330e36ec38fab8d248c3693c37b7e35d401c3bfabcb +patch_args=-Np0 CXXFLAGS+=" -fext-numeric-literals" diff --git a/srcpkgs/putty/template b/srcpkgs/putty/template index e4efe58debd..c87cbf5b609 100644 --- a/srcpkgs/putty/template +++ b/srcpkgs/putty/template @@ -11,6 +11,7 @@ license="MIT" homepage="http://www.chiark.greenend.org.uk/~sgtatham/putty/" distfiles="http://the.earth.li/~sgtatham/putty/latest/putty-${version}.tar.gz" checksum=d3173b037eddbe9349abe978101277b4ba9f9959e25dedd44f87e7b85cc8f9f5 +patch_args=-Np0 CFLAGS="-Wno-error" diff --git a/srcpkgs/pvoc/template b/srcpkgs/pvoc/template index da23784124a..7d27e4d7108 100644 --- a/srcpkgs/pvoc/template +++ b/srcpkgs/pvoc/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://quitte.de/dsp/pvoc.html" distfiles="http://quitte.de/dsp/pvoc_${version}.tar.gz" checksum=d519d416049143cb2c4775feae639021b5693f39e27e99b1f036392580baa32d +patch_args=-Np0 pre_build() { sed -i "s@-O6.\+@${CFLAGS}@" Makefile diff --git a/srcpkgs/pwnat/template b/srcpkgs/pwnat/template index a1e9f92078d..2fe12805a70 100644 --- a/srcpkgs/pwnat/template +++ b/srcpkgs/pwnat/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="http://samy.pl/pwnat/" distfiles="https://github.com/samyk/pwnat/archive/${_githash}.tar.gz" checksum=365da981ba1a39d7e3c8427fbcd9e7fcd3dd16cd30ae7e3b0aca50511fd8e1b1 +patch_args=-Np0 do_configure() { sed -i 's#sys/unistd.h#unistd.h#' $(find -name '*.[ch]') diff --git a/srcpkgs/pygtk/template b/srcpkgs/pygtk/template index 41554b81763..ca12604df12 100644 --- a/srcpkgs/pygtk/template +++ b/srcpkgs/pygtk/template @@ -20,6 +20,7 @@ distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2" checksum=cd1c1ea265bd63ff669e92a2d3c2a88eb26bcd9e5363e0f82c896e649f206912 lib32disabled=yes python_version=2 +patch_args=-Np0 pre_configure() { if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/pymol/template b/srcpkgs/pymol/template index dfb9441f22a..fe0fb1faa35 100644 --- a/srcpkgs/pymol/template +++ b/srcpkgs/pymol/template @@ -17,6 +17,7 @@ distfiles="https://github.com/schrodinger/pymol-open-source/archive/v${version}. checksum="5ede4ce2e8f53713c5ee64f5905b2d29bf01e4391da7e536ce8909d6b9116581 0ea81faaf336becc669a193777d0dca55475d303d1236b57df25cf67ff7c2bcd" skip_extraction="${pkgname}.png" +patch_args=-Np0 export PREFIX_PATH="${XBPS_CROSS_BASE}/usr" # PREFIX_PATH isn't used for the py3 include path diff --git a/srcpkgs/pyside2-tools/template b/srcpkgs/pyside2-tools/template index 35d353aba95..b7559676933 100644 --- a/srcpkgs/pyside2-tools/template +++ b/srcpkgs/pyside2-tools/template @@ -17,6 +17,7 @@ homepage="https://wiki.qt.io/Qt_for_Python/Shiboken" distfiles="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${version}-src/${_pkgname}.tar.xz" checksum=b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418 python_version=3 +patch_args=-Np0 if [ ${CROSS_BUILD} ]; then hostmakedepends+=" qt5-qmake qt5-host-tools" diff --git a/srcpkgs/python-M2Crypto/template b/srcpkgs/python-M2Crypto/template index 4c684d18f57..ac5752871e2 100644 --- a/srcpkgs/python-M2Crypto/template +++ b/srcpkgs/python-M2Crypto/template @@ -14,6 +14,7 @@ license="MIT" homepage="https://gitlab.com/m2crypto/m2crypto/" distfiles="${PYPI_SITE}/M/M2Crypto/M2Crypto-${version}.tar.gz" checksum=4c6ad45ffb88670c590233683074f2440d96aaccb05b831371869fc387cbd127 +patch_args=-Np0 post_install() { vlicense LICENCE diff --git a/srcpkgs/python-coverage/template b/srcpkgs/python-coverage/template index 332e7baa3b7..99b9a3c07ea 100644 --- a/srcpkgs/python-coverage/template +++ b/srcpkgs/python-coverage/template @@ -14,6 +14,7 @@ homepage="https://bitbucket.org/ned/coveragepy" distfiles="${PYPI_SITE}/c/coverage/coverage-${version}.tar.gz" checksum=77afca04240c40450c331fa796b3eab6f1e15c5ecf8bf2b8bee9706cd5452fef alternatives="coverage:coverage:/usr/bin/coverage2" +patch_args=-Np0 python3-coverage_package() { depends="python3-setuptools" diff --git a/srcpkgs/python-docutils/template b/srcpkgs/python-docutils/template index 02232f31a26..f2843fc47cf 100644 --- a/srcpkgs/python-docutils/template +++ b/srcpkgs/python-docutils/template @@ -14,6 +14,7 @@ homepage="http://docutils.sourceforge.net" distfiles="${PYPI_SITE}/d/docutils/docutils-${version}.tar.gz" checksum=c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc checkdepends+="$depends python3-Pygments" +patch_args=-Np0 alternatives=" docutils:rst2html:/usr/bin/rst2html.py2 diff --git a/srcpkgs/python-evdev/template b/srcpkgs/python-evdev/template index ded33276800..40b60c09472 100644 --- a/srcpkgs/python-evdev/template +++ b/srcpkgs/python-evdev/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://github.com/gvalkov/python-evdev" distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz" checksum=f788584510620251c6a6c68802935b71c4b474df99b87ee223e18b84dd1719a6 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/python-nose/template b/srcpkgs/python-nose/template index 95f3607a40a..e0ee55d59fe 100644 --- a/srcpkgs/python-nose/template +++ b/srcpkgs/python-nose/template @@ -15,6 +15,7 @@ homepage="https://github.com/nose-devs/nose" distfiles="${PYPI_SITE}/n/nose/nose-${version}.tar.gz" checksum=f1bffef9cbc82628f6e7d7b40d7e255aefaa1adb6a1b1d26c69a8b79e6208a98 alternatives="nose:nosetests:/usr/bin/nosetests2" +patch_args=-Np0 python3-nose_package() { pycompile_module="nose" diff --git a/srcpkgs/python-pip/template b/srcpkgs/python-pip/template index 096aa7b63b2..aca1c8836df 100644 --- a/srcpkgs/python-pip/template +++ b/srcpkgs/python-pip/template @@ -13,6 +13,7 @@ homepage="https://pip.pypa.io/" changelog="https://raw.githubusercontent.com/pypa/pip/master/NEWS.rst" distfiles="${PYPI_SITE}/p/pip/pip-${version}.tar.gz" checksum=6773934e5f5fc3eaa8c5a44949b5b924fc122daa0a8aa9f80c835b4ca2a543fc +patch_args=-Np0 post_install() { vlicense LICENSE.txt diff --git a/srcpkgs/python-requests/template b/srcpkgs/python-requests/template index bde0b03b9ef..406e20f881b 100644 --- a/srcpkgs/python-requests/template +++ b/srcpkgs/python-requests/template @@ -13,6 +13,7 @@ homepage="https://python-requests.org/" changelog="https://raw.githubusercontent.com/psf/requests/master/HISTORY.md" distfiles="${PYPI_SITE}/r/requests/requests-${version}.tar.gz" checksum=27973dd4a904a4f13b263a19c866c13b92a39ed1c964655f025f3f8d3d75b804 +patch_args=-Np0 post_patch() { vsed -i '/certifi/d' setup.py diff --git a/srcpkgs/python/template b/srcpkgs/python/template index fc52e87228e..1412f66d4d6 100644 --- a/srcpkgs/python/template +++ b/srcpkgs/python/template @@ -17,6 +17,7 @@ license="Python-2.0" homepage="https://www.python.org" distfiles="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz" checksum=b62c0e7937551d0cc02b8fd5cb0f544f9405bafc9a54d3808ed4594812edef43 +patch_args=-Np0 alternatives=" python:idle:/usr/bin/idle2.7 diff --git a/srcpkgs/python3-PyBrowserID/template b/srcpkgs/python3-PyBrowserID/template index a8cdd9230d3..f8b86f119e2 100644 --- a/srcpkgs/python3-PyBrowserID/template +++ b/srcpkgs/python3-PyBrowserID/template @@ -14,6 +14,7 @@ license="MPL-2.0" homepage="https://github.com/mozilla/PyBrowserID" distfiles="${PYPI_SITE}/P/PyBrowserID/PyBrowserID-${version}.tar.gz" checksum=6c227669e87cc25796ae76f6a0ef65025528c8ad82d352679fa9a3e5663a71e3 +patch_args=-Np0 do_check() { # needs network access (persona.org has been shut down anyway) diff --git a/srcpkgs/python3-PyQt5/template b/srcpkgs/python3-PyQt5/template index a704d41698b..4b36464197e 100644 --- a/srcpkgs/python3-PyQt5/template +++ b/srcpkgs/python3-PyQt5/template @@ -23,6 +23,7 @@ checksum=2a69597e0dd11caabe75fae133feca66387819fc9bc050f547e5551bce97e5be lib32disabled=yes CFLAGS=-I$XBPS_CROSS_BASE/usr/include/python$py3_ver CXXFLAGS="$CFLAGS" +patch_args=-Np0 export INCPATH=$XBPS_CROSS_BASE/usr/include/python$py3_ver diff --git a/srcpkgs/python3-aiohttp/template b/srcpkgs/python3-aiohttp/template index d8b4761c8b9..65465ff7b6a 100644 --- a/srcpkgs/python3-aiohttp/template +++ b/srcpkgs/python3-aiohttp/template @@ -14,6 +14,7 @@ license="Apache-2.0" homepage="https://aiohttp.readthedocs.io/" distfiles="${PYPI_SITE}/a/aiohttp/aiohttp-${version}.tar.gz" checksum=5d84ecc73141d0a0d61ece0742bb7ff5751b0657dab8405f899d3ceb104cc7de +patch_args=-Np0 post_patch() { # use system http-parser diff --git a/srcpkgs/python3-boltons/template b/srcpkgs/python3-boltons/template index a4c71fb7713..c0806503630 100644 --- a/srcpkgs/python3-boltons/template +++ b/srcpkgs/python3-boltons/template @@ -13,6 +13,7 @@ license="BSD-3-Clause" homepage="https://github.com/mahmoud/boltons" distfiles="https://github.com/mahmoud/boltons/archive/${version}.tar.gz" checksum=f5b63fba62bed021c5086e43b4cfdaf6c8396a3ae1ccdcb549b4eb2f36f8a794 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/python3-cli_helpers/template b/srcpkgs/python3-cli_helpers/template index 91e22d2471c..ab7008da0cc 100644 --- a/srcpkgs/python3-cli_helpers/template +++ b/srcpkgs/python3-cli_helpers/template @@ -15,6 +15,7 @@ license="BSD-3-Clause" homepage="https://github.com/dbcli/cli_helpers" distfiles="${PYPI_SITE}/c/cli_helpers/cli_helpers-${version}.tar.gz" checksum=98db22eaa86827d99ee6af9f5f3923142d04df256425204530842b032849a165 +patch_args=-Np0 do_check() { python3 -m pytest diff --git a/srcpkgs/python3-curtsies/template b/srcpkgs/python3-curtsies/template index 0d03da5b9b3..aa224291ddb 100644 --- a/srcpkgs/python3-curtsies/template +++ b/srcpkgs/python3-curtsies/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://github.com/thomasballinger/curtsies" distfiles="${PYPI_SITE}/c/curtsies/curtsies-${version}.tar.gz" checksum=89c802ec051d01dec6fc983e9856a3706e4ea8265d2940b1f6d504a9e26ed3a9 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/python3-entrypoints/template b/srcpkgs/python3-entrypoints/template index eb3318811dc..89093839963 100644 --- a/srcpkgs/python3-entrypoints/template +++ b/srcpkgs/python3-entrypoints/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://github.com/takluyver/entrypoints" distfiles="https://github.com/takluyver/entrypoints/archive/${version}.tar.gz" checksum=f26eddc371e37d8e9f6663b77524d6731567f005bd1e4ac950c0e33c48fbc065 +patch_args=-Np0 pre_build() { vsed -i "s|@VERSION@|${version}|" setup.py diff --git a/srcpkgs/python3-gevent/template b/srcpkgs/python3-gevent/template index 4ec0c1ce42e..e1ba6525214 100644 --- a/srcpkgs/python3-gevent/template +++ b/srcpkgs/python3-gevent/template @@ -14,6 +14,7 @@ license="MIT" homepage="http://www.gevent.org/" distfiles="https://github.com/gevent/gevent/archive/${version}.tar.gz" checksum=1fc6579fee04c0bc348cb1dcbc10f822129e6af7dcf2c52c24f1497cea3bd45c +patch_args=-Np0 post_extract() { # purge bundled dependencies diff --git a/srcpkgs/python3-gitchangelog/template b/srcpkgs/python3-gitchangelog/template index 348dc2c83b6..8c3a5cfb5aa 100644 --- a/srcpkgs/python3-gitchangelog/template +++ b/srcpkgs/python3-gitchangelog/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://github.com/vaab/gitchangelog" distfiles="${PYPI_SITE}/g/gitchangelog/gitchangelog-${version}.tar.gz" checksum=3d8d6a730450fbd5b0a9bc58d0dd3e269c967d7eb4fece0c5cff4372a3f77421 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/python3-grpcio/template b/srcpkgs/python3-grpcio/template index d96e11f9c14..654abdcfada 100644 --- a/srcpkgs/python3-grpcio/template +++ b/srcpkgs/python3-grpcio/template @@ -13,6 +13,7 @@ license="Apache-2.0" homepage="https://grpc.io" distfiles="${PYPI_SITE}/g/grpcio/grpcio-${version}.tar.gz" checksum=abbf9c8c3df4d5233d5888c6cfa85c1bb68a6923749bd4dd1abc6e1e93986f17 +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/python3-mygpoclient/template b/srcpkgs/python3-mygpoclient/template index 6ed17293703..5aa34ad58d1 100644 --- a/srcpkgs/python3-mygpoclient/template +++ b/srcpkgs/python3-mygpoclient/template @@ -13,6 +13,7 @@ homepage="https://github.com/gpodder/mygpoclient" distfiles="${homepage}/archive/${version}.tar.gz" checksum=65fcb3ab220a2ba2d32a77f969b423a2f663413b6c485b7b02e5a955b28e68d2 conflicts="python-mygpoclient>=0" +patch_args=-Np0 pre_build() { vsed -i '/share\/man\/man1/d' setup.py diff --git a/srcpkgs/python3-nose2/template b/srcpkgs/python3-nose2/template index d1f95c3e373..ac13621690a 100644 --- a/srcpkgs/python3-nose2/template +++ b/srcpkgs/python3-nose2/template @@ -13,6 +13,7 @@ homepage="https://github.com/nose-devs/nose2" distfiles="${PYPI_SITE}/n/nose2/nose2-${version}.tar.gz" checksum=9052f2b46807b63d9bdf68e0768da1f8386368889b50043fd5d0889c470258f3 conflicts="python-nose2>=0" +patch_args=-Np0 post_install() { vlicense license.txt diff --git a/srcpkgs/python3-pdfminer.six/template b/srcpkgs/python3-pdfminer.six/template index 753dbfb9b81..bb75c36e196 100644 --- a/srcpkgs/python3-pdfminer.six/template +++ b/srcpkgs/python3-pdfminer.six/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://github.com/pdfminer/pdfminer.six" distfiles="${homepage}/archive/refs/tags/${version}.tar.gz" checksum=0e9c8b0a9c40c2aee044c3091ad6b18b5e6279722e64b6b975f8aedc26bf8e38 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/python3-pikepdf/template b/srcpkgs/python3-pikepdf/template index c2ff79e138f..21329296c6c 100644 --- a/srcpkgs/python3-pikepdf/template +++ b/srcpkgs/python3-pikepdf/template @@ -14,6 +14,7 @@ license="MPL-2.0" homepage="https://github.com/pikepdf/pikepdf" distfiles="${PYPI_SITE}/p/pikepdf/pikepdf-${version}.tar.gz" checksum=5ff35499b1ae7b181277f78ce5b1bcc8d3009182bb389917791c5dc811fcc8e4 +patch_args=-Np0 pre_build() { vsed -e '/setuptools_scm_git_archive/d' -i setup.py diff --git a/srcpkgs/python3-pip/template b/srcpkgs/python3-pip/template index 4dbc22b73b4..b30bc633412 100644 --- a/srcpkgs/python3-pip/template +++ b/srcpkgs/python3-pip/template @@ -15,6 +15,7 @@ distfiles="${PYPI_SITE}/p/pip/pip-${version}.tar.gz" checksum=eb5df6b9ab0af50fe1098a52fd439b04730b6e066887ff7497357b9ebd19f79b # Tests have unpackaged dependencies make_check=no +patch_args=-Np0 post_install() { vlicense LICENSE.txt diff --git a/srcpkgs/python3-pwntools/template b/srcpkgs/python3-pwntools/template index 76ec9944221..753c28f1c68 100644 --- a/srcpkgs/python3-pwntools/template +++ b/srcpkgs/python3-pwntools/template @@ -17,6 +17,7 @@ license="MIT, BSD-2-Clause" homepage="https://github.com/Gallopsled/pwntools" distfiles="${PYPI_SITE}/p/pwntools/pwntools-${version}.tar.gz" checksum=97f945aed7ffa9d3e87f8759df83a5eac6dc2112907f35d0aee66a9bf62fd8eb +patch_args=-Np0 post_install() { rm -f ${DESTDIR}/usr/lib/python*/site-packages/*.md diff --git a/srcpkgs/python3-pylibgen/template b/srcpkgs/python3-pylibgen/template index 4d77619ae93..d59a68eca8a 100644 --- a/srcpkgs/python3-pylibgen/template +++ b/srcpkgs/python3-pylibgen/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://github.com/JoshuaRLi/pylibgen" distfiles="${PYPI_SITE}/p/pylibgen/pylibgen-${version}.tar.gz" checksum=87b28a27fa7c1912e2b38020262dd6086b292d670b0c08d76baecbcd7678b9ee +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/python3-pyside2/template b/srcpkgs/python3-pyside2/template index 6040ef39243..c0387c4d6d0 100644 --- a/srcpkgs/python3-pyside2/template +++ b/srcpkgs/python3-pyside2/template @@ -25,6 +25,7 @@ license="LGPL-3.0-or-later" homepage="https://wiki.qt.io/Qt_for_Python" distfiles="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${version}-src/${_pkgname}.tar.xz" checksum=b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418 +patch_args=-Np0 build_options="webengine" desc_option_webengine="Build Qt5 WebEngine bindings" diff --git a/srcpkgs/python3-repoze.sphinx.autointerface/template b/srcpkgs/python3-repoze.sphinx.autointerface/template index 18141a5bd46..9feb6d5a273 100644 --- a/srcpkgs/python3-repoze.sphinx.autointerface/template +++ b/srcpkgs/python3-repoze.sphinx.autointerface/template @@ -13,6 +13,7 @@ license="BSD-4-Clause" homepage="https://github.com/repoze/repoze.sphinx.autointerface/" distfiles="${PYPI_SITE}/r/repoze.sphinx.autointerface/repoze.sphinx.autointerface-${version}.tar.gz" checksum=8ef0383276ab722efb1e4a6523726262058dfd82615ccf7e5004aee3fe8ecc23 +patch_args=-Np0 post_install() { vlicense LICENSE.txt diff --git a/srcpkgs/python3-telegram/template b/srcpkgs/python3-telegram/template index 13cc66ab33c..a865f479908 100644 --- a/srcpkgs/python3-telegram/template +++ b/srcpkgs/python3-telegram/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://github.com/alexander-akhmetov/python-telegram" distfiles="https://github.com/alexander-akhmetov/python-telegram/archive/${version}.tar.gz" checksum=11b0a2387bae642eb7f134fe35b9ef67b8183aa961412bcdfa86ff404beed897 +patch_args=-Np0 post_extract() { rm -r telegram/lib diff --git a/srcpkgs/python3/template b/srcpkgs/python3/template index 40c6cc1ef8e..6bcb10bfc66 100644 --- a/srcpkgs/python3/template +++ b/srcpkgs/python3/template @@ -18,6 +18,7 @@ license="Python-2.0" homepage="https://www.python.org" distfiles="https://www.python.org/ftp/python/${version}/Python-${version}.tar.xz" checksum=0c5a140665436ec3dbfbb79e2dfb6d192655f26ef4a29aeffcb6d1820d716d83 +patch_args=-Np0 alternatives=" python:idle:/usr/bin/idle${version%.*} diff --git a/srcpkgs/qca-qt5/template b/srcpkgs/qca-qt5/template index 9e1cd59b839..a9effca5f71 100644 --- a/srcpkgs/qca-qt5/template +++ b/srcpkgs/qca-qt5/template @@ -15,6 +15,7 @@ license="LGPL-2.1-or-later" homepage="https://userbase.kde.org/QCA" distfiles="${KDE_SITE}/qca/${version}/qca-${version}.tar.xz" checksum=c13851109abefc4623370989fae3a745bf6b1acb3c2a13a8958539823e974e4b +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-devel" diff --git a/srcpkgs/qdirstat/template b/srcpkgs/qdirstat/template index efed1890b40..05e775e52c3 100644 --- a/srcpkgs/qdirstat/template +++ b/srcpkgs/qdirstat/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="https://github.com/shundhammer/qdirstat" distfiles="https://github.com/shundhammer/qdirstat/archive/${version}.tar.gz" checksum=fb40181972092d80994d3d04802c43298b70a21f1e636d5490a2bfbd1cb407d9 +patch_args=-Np0 post_install() { vman man/qdirstat.1 diff --git a/srcpkgs/qingy/template b/srcpkgs/qingy/template index 02c89bd1cca..207775603de 100644 --- a/srcpkgs/qingy/template +++ b/srcpkgs/qingy/template @@ -15,6 +15,7 @@ homepage="http://qingy.sourceforge.net" #distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" distfiles="https://sources.voidlinux.org/qingy-1.0.0/qingy-1.0.0.tar.bz2" checksum=de4b4b398d5ba81ab2544729864676a04ddc6ae818b357ee09a8770293740cd3 +patch_args=-Np0 make_dirs="/var/lib/misc 0755 root root" diff --git a/srcpkgs/qmmp/template b/srcpkgs/qmmp/template index d8b8ec1d0d7..c27e8e39090 100644 --- a/srcpkgs/qmmp/template +++ b/srcpkgs/qmmp/template @@ -21,6 +21,7 @@ license="GPL-3.0-or-later" homepage="http://qmmp.ylsoftware.com" distfiles="http://qmmp.ylsoftware.com/files/${pkgname}-${version}.tar.bz2" checksum=f513774357836ad4983fa216c84cf5db634284faebec48c461733838917fd664 +patch_args=-Np0 qmmp-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/qpdfview/template b/srcpkgs/qpdfview/template index 19cb2bb34ad..4aa5122a193 100644 --- a/srcpkgs/qpdfview/template +++ b/srcpkgs/qpdfview/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="https://launchpad.net/qpdfview" distfiles="https://launchpad.net/qpdfview/trunk/${version}/+download/qpdfview-${version}.tar.gz" checksum=cc642e7fa74029373ca9b9fbc29adc4883f8b455130a78ad54746d6844a0396c +patch_args=-Np0 pre_configure() { lrelease qpdfview.pro diff --git a/srcpkgs/qscintilla-qt5/template b/srcpkgs/qscintilla-qt5/template index 5bc6c853075..1d68d8f7032 100644 --- a/srcpkgs/qscintilla-qt5/template +++ b/srcpkgs/qscintilla-qt5/template @@ -13,6 +13,7 @@ license="GPL-3.0-only" homepage="https://www.riverbankcomputing.com/software/qscintilla/intro" distfiles="https://www.riverbankcomputing.com/static/Downloads/QScintilla/${version}/QScintilla_gpl-${version}.tar.gz" checksum=029bdc476a069fda2cea3cd937ba19cc7fa614fb90578caef98ed703b658f4a1 +patch_args=-Np0 qscintilla-qt5-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/qsstv/template b/srcpkgs/qsstv/template index 73c1080fcad..8230401d919 100644 --- a/srcpkgs/qsstv/template +++ b/srcpkgs/qsstv/template @@ -14,6 +14,7 @@ homepage="http://users.telenet.be/on4qz/qsstv/" changelog="http://users.telenet.be/on4qz/qsstv/manual/changelog.html" distfiles="http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz" checksum=177e286090c71f8a033646b39c3b6abe212cc06718c1ecc9ddc7024198cb7e40 +patch_args=-Np0 post_install() { vinstall icons/qsstv.png 644 usr/share/pixmaps diff --git a/srcpkgs/qt5-fsarchiver/template b/srcpkgs/qt5-fsarchiver/template index 46c87a9e7bd..4eea7d4c7ec 100644 --- a/srcpkgs/qt5-fsarchiver/template +++ b/srcpkgs/qt5-fsarchiver/template @@ -15,6 +15,7 @@ license="GPL-2.0-only" homepage="https://sourceforge.net/projects/qt4-fsarchiver" distfiles="${SOURCEFORGE_SITE}/qt4-fsarchiver/${pkgname}-${_realversion}.tar.gz" checksum=b32e02c9e1fc8038482752f5620d88b103b700ed29314bd55dcf6486f5c6f175 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/qt5-styleplugins/template b/srcpkgs/qt5-styleplugins/template index 4399c87d86c..33c7271cd77 100644 --- a/srcpkgs/qt5-styleplugins/template +++ b/srcpkgs/qt5-styleplugins/template @@ -14,6 +14,7 @@ license="LGPL-2.1-only, LGPL-3.0-only" homepage="https://github.com/qt/qtstyleplugins" distfiles="https://github.com/qt/qtstyleplugins/archive/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz" checksum=29ec24fa8df64be161ad06d0e5af3ba1a20bfe265004f5fe4ab9f5f3abf9a5ba +patch_args=-Np0 # Cross builds fail with -fuse-ld=gold LDFLAGS="-Wl,-fuse-ld=bfd" diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template index b2e7813cc45..353a7e6609b 100644 --- a/srcpkgs/qt5-webkit/template +++ b/srcpkgs/qt5-webkit/template @@ -25,6 +25,7 @@ license="LGPL-2.1-or-later" homepage="https://www.qt.io/" distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-opensource-src-${_v}.tar.xz" checksum=9a6ed083154c7ec850081102b299afa928ca7e48bbdf2b5f3ae152425e46eb17 +patch_args=-Np0 CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include" CXXFLAGS="-fpermissive -Wno-class-memaccess -Wno-redundant-move -Wno-deprecated-copy" diff --git a/srcpkgs/qt5/template b/srcpkgs/qt5/template index a88df53ca34..1e05f7e7ff6 100644 --- a/srcpkgs/qt5/template +++ b/srcpkgs/qt5/template @@ -32,6 +32,7 @@ python_version=2 #unverified replaces="qt5-doc<5.6.0 qt5-quick1<5.6.0 qt5-quick1-devel<5.6.0 qt5-webkit<5.6.0 qt5-webkit-devel<5.6.0 qt5-enginio<5.7.1 qt5-enginio-devel<5.7.1 qt5-plugin-gtk<5.7.1 qt5-canvas3d<5.13.0" lib32mode=full +patch_args=-Np0 CXXFLAGS="-Wno-deprecated-declarations -Wno-class-memaccess -Wno-packed-not-aligned" # Required for musl libc diff --git a/srcpkgs/qt5pas/template b/srcpkgs/qt5pas/template index 93113c71703..56747994f4a 100644 --- a/srcpkgs/qt5pas/template +++ b/srcpkgs/qt5pas/template @@ -12,6 +12,7 @@ license="LGPL-3.0-or-later" homepage="https://svn.freepascal.org/svn/lazarus/trunk/lcl/interfaces/qt5/cbindings" distfiles="${DEBIAN_SITE}/main/libq/libqtpas/libqtpas_${version}.orig.tar.xz" checksum=fcc5f695d60d5f72bf501b2fa779e8a1a2636c8d991270b5b3fef3d0e990365c +patch_args=-Np0 post_install() { vinstall qt5.pas 0644 usr/share/pascal/qt5 diff --git a/srcpkgs/qt6-base/template b/srcpkgs/qt6-base/template index bb043213a36..a78f7793089 100644 --- a/srcpkgs/qt6-base/template +++ b/srcpkgs/qt6-base/template @@ -30,6 +30,7 @@ homepage="https://www.qt.io" distfiles="https://download.qt.io/official_releases/qt/${version%.*}/${version}/submodules/qtbase-everywhere-src-${version}.tar.xz" checksum=21a8aa9f07170e047270c668c8b037536f40226db7adbc529a0b41c3a3cb3ff2 python_version=3 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then # QtSetup fails native builds if this is set diff --git a/srcpkgs/qtav/template b/srcpkgs/qtav/template index 0d85ec07648..b59c58a6f19 100644 --- a/srcpkgs/qtav/template +++ b/srcpkgs/qtav/template @@ -17,6 +17,7 @@ homepage="http://www.qtav.org" changelog="https://raw.githubusercontent.com/wang-bin/QtAV/master/Changelog" distfiles="https://github.com/wang-bin/QtAV/archive/v${version}.tar.gz" checksum=a493d54d105b32c526f05188e4d7a8cf3508ecac697aae088721ffad20982288 +patch_args=-Np0 post_install() { vmkdir usr/bin diff --git a/srcpkgs/qtcreator/template b/srcpkgs/qtcreator/template index e4655807058..0439190aee4 100644 --- a/srcpkgs/qtcreator/template +++ b/srcpkgs/qtcreator/template @@ -19,6 +19,7 @@ distfiles="https://download.qt.io/official_releases/qtcreator/${version%.*}/${ve checksum=5ca9457987e7af0af929c310cc995496388076b6a0b9c429828c60bf0eec1b4d replaces="qtcreator-data>=0" python_version=3 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" libexecinfo-devel" diff --git a/srcpkgs/qtikz/template b/srcpkgs/qtikz/template index 5ec999d3aae..53aab78b871 100644 --- a/srcpkgs/qtikz/template +++ b/srcpkgs/qtikz/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="http://www.hackenberger.at/blog/ktikz-editor-for-the-tikz-language/" distfiles="https://github.com/fhackenberger/ktikz/archive/${version}.tar.gz" checksum=03f6ee335ca1abb23216870a6df71406ab44a4899875d4695b8594cfb789a127 +patch_args=-Np0 post_patch() { vsed -e '/include.*QPainter/a #include ' \ diff --git a/srcpkgs/qtkeychain-qt5/template b/srcpkgs/qtkeychain-qt5/template index 4e4c982850a..8b32a4cb72f 100644 --- a/srcpkgs/qtkeychain-qt5/template +++ b/srcpkgs/qtkeychain-qt5/template @@ -12,6 +12,7 @@ license="BSD-2-Clause" homepage="https://github.com/frankosterfeld/qtkeychain" distfiles="https://github.com/frankosterfeld/${pkgname%-*}/archive/v${version}.tar.gz" checksum=77fc6841c1743d9e6bd499989481cd9239c21bc9bf0760d41a4f4068d2f0a49d +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-tools-devel" diff --git a/srcpkgs/qtpass/template b/srcpkgs/qtpass/template index cce56db1986..728711eeeef 100644 --- a/srcpkgs/qtpass/template +++ b/srcpkgs/qtpass/template @@ -14,6 +14,7 @@ homepage="https://qtpass.org/" changelog="https://raw.githubusercontent.com/IJHack/QtPass/master/CHANGELOG.md" distfiles="https://github.com/IJHack/${pkgname}/archive/v${version}.tar.gz" checksum=7a68e1afe68462c878c212a79c40ade5ba14b72710c5e62450cf54c7b5621254 +patch_args=-Np0 do_install() { vbin main/qtpass diff --git a/srcpkgs/quassel/template b/srcpkgs/quassel/template index 47d529f56b8..dae691d2745 100644 --- a/srcpkgs/quassel/template +++ b/srcpkgs/quassel/template @@ -18,6 +18,7 @@ license="GPL-2.0-only, GPL-3.0-only" homepage="https://www.quassel-irc.org" distfiles="https://quassel-irc.org/pub/quassel-${version}.tar.bz2" checksum=48efee9778743b1db9f44efb91d1c913104db01190c57f2ff57483c39a97e855 +patch_args=-Np0 build_options="ldap" diff --git a/srcpkgs/quickjs/template b/srcpkgs/quickjs/template index a1c9f8d1c36..42de1ba7fd9 100644 --- a/srcpkgs/quickjs/template +++ b/srcpkgs/quickjs/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://bellard.org/quickjs/" distfiles="https://bellard.org/quickjs/quickjs-${version//./-}.tar.xz" checksum=a45bface4c3379538dea8533878d694e289330488ea7028b105f72572fe7fe1a +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then make_build_args+=" CROSS_PREFIX=${XBPS_CROSS_TRIPLET}-" diff --git a/srcpkgs/quota/template b/srcpkgs/quota/template index 2751287061f..9d103e08c4b 100644 --- a/srcpkgs/quota/template +++ b/srcpkgs/quota/template @@ -13,6 +13,7 @@ license="GPL-2" homepage="https://sourceforge.net/projects/linuxquota/" distfiles="${SOURCEFORGE_SITE}/linuxquota/quota-tools/${pkgname}-${version}.tar.gz" checksum=2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template index 292be169c20..585527fe471 100644 --- a/srcpkgs/qv4l2/template +++ b/srcpkgs/qv4l2/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://linuxtv.org/" distfiles="https://linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.bz2" checksum=6cb60d822eeed20486a03cc23e0fc65956fbc1e85e0c1a7477f68bbd9802880d +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-devel" diff --git a/srcpkgs/rabbitmq-c/template b/srcpkgs/rabbitmq-c/template index 95ad7a33343..ea3f0aaa3f5 100644 --- a/srcpkgs/rabbitmq-c/template +++ b/srcpkgs/rabbitmq-c/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://github.com/alanxz/rabbitmq-c" distfiles="https://github.com/alanxz/${pkgname}/archive/v${version}.tar.gz" checksum=6455efbaebad8891c59f274a852b75b5cc51f4d669dfc78d2ae7e6cc97fcd8c0 +patch_args=-Np0 post_install() { vlicense LICENSE-MIT LICENSE diff --git a/srcpkgs/racket/template b/srcpkgs/racket/template index 1fee0a65e39..0e0a4335986 100644 --- a/srcpkgs/racket/template +++ b/srcpkgs/racket/template @@ -16,6 +16,7 @@ distfiles="http://mirror.racket-lang.org/installers/${version}/${pkgname}-${vers checksum=5578942066a9405fdbcad9522d08685356693f4ddd5dbe92b5273557a112b73e nostrip=yes nocross=yes +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then configure_args+=" --enable-racket=/usr/bin/racket" diff --git a/srcpkgs/radare2/template b/srcpkgs/radare2/template index 39818e99e7f..fc79ad2b3c1 100644 --- a/srcpkgs/radare2/template +++ b/srcpkgs/radare2/template @@ -13,6 +13,7 @@ license="LGPL-3.0-only" homepage="http://www.radare.org" distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz" checksum=517dd80ebd0569f31498887338eacb92e8cf054bc4625eef8ffe9ea174c1adae +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in mips*) CFLAGS="-Os";; diff --git a/srcpkgs/rakarrack/template b/srcpkgs/rakarrack/template index 0d4dcc83496..9c94f004ff2 100644 --- a/srcpkgs/rakarrack/template +++ b/srcpkgs/rakarrack/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://rakarrack.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2" checksum=7696d27a4814b140fe651d137612ddfa1f167858eccc119e278c14dbee30eee6 +patch_args=-Np0 pre_configure() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/rapidjson/template b/srcpkgs/rapidjson/template index 99d92702cc9..2591e261b37 100644 --- a/srcpkgs/rapidjson/template +++ b/srcpkgs/rapidjson/template @@ -9,6 +9,7 @@ license="BSD-3-Clause, MIT" homepage="https://github.com/miloyip/rapidjson" distfiles="https://github.com/miloyip/${pkgname}/archive/v${version}.tar.gz" checksum=bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e +patch_args=-Np0 # class-memaccess is required by https://github.com/Tencent/rapidjson/issues/1700 CXXFLAGS="-Wno-type-limits -Wno-error=class-memaccess -DNDEBUG" diff --git a/srcpkgs/raptor/template b/srcpkgs/raptor/template index 5408f6b745f..7f0b9ad13f8 100644 --- a/srcpkgs/raptor/template +++ b/srcpkgs/raptor/template @@ -13,6 +13,7 @@ license="LGPL-2.1" homepage="http://librdf.org/raptor" distfiles="http://librdf.org/dist/source/raptor2-${version}.tar.gz" checksum=ada7f0ba54787b33485d090d3d2680533520cd4426d2f7fb4782dd4a6a1480ed +patch_args=-Np0 libraptor_package() { short_desc+=" - Runtime libraries" diff --git a/srcpkgs/rdedup/template b/srcpkgs/rdedup/template index c392e3c0e2f..f7b9d6760a0 100644 --- a/srcpkgs/rdedup/template +++ b/srcpkgs/rdedup/template @@ -12,6 +12,7 @@ license="MPL-2.0" homepage="https://github.com/dpc/rdedup" distfiles="https://github.com/dpc/rdedup/archive/rdedup-v${version}.tar.gz" checksum=5e7c09c40897cd2f2635e8c213c2ff0f5c4d7ceccbd22980cd4cb0a16f3dfc28 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then export HOST_CC="$BUILD_CC" diff --git a/srcpkgs/rdis-git/template b/srcpkgs/rdis-git/template index 5aaa5d669b7..4d754dd4962 100644 --- a/srcpkgs/rdis-git/template +++ b/srcpkgs/rdis-git/template @@ -8,6 +8,7 @@ short_desc="A binary analysis tool for Linux" maintainer="Orphaned " license="GPL-3" homepage="https://github.com/endeav0r/rdis" +patch_args=-Np0 do_fetch() { git clone git://github.com/endeav0r/rdis.git $wrksrc diff --git a/srcpkgs/re/template b/srcpkgs/re/template index 726ba036074..a1dd9a76a8f 100644 --- a/srcpkgs/re/template +++ b/srcpkgs/re/template @@ -16,6 +16,7 @@ homepage="https://github.com/baresip/re/" distfiles="https://github.com/baresip/re/archive/v${version}.tar.gz" checksum=43aa439b96aff75fe5768b9f9d49dea97042e42e7647df47b345465763e2f7ed shlib_provides="libre.so" +patch_args=-Np0 case $XBPS_TARGET_MACHINE in i686*) arch="i686";; diff --git a/srcpkgs/redis/template b/srcpkgs/redis/template index 974305ff1f0..27d4568d1a7 100644 --- a/srcpkgs/redis/template +++ b/srcpkgs/redis/template @@ -11,6 +11,7 @@ homepage="https://redis.io" changelog="https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES" distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz" checksum=dc2bdcf81c620e9f09cfd12e85d3bc631c897b2db7a55218fd8a65eaa37f86dd +patch_args=-Np0 system_accounts="redis" redis_homedir="/var/lib/redis" diff --git a/srcpkgs/redo/template b/srcpkgs/redo/template index b8af94ccc10..e3e8315d91f 100644 --- a/srcpkgs/redo/template +++ b/srcpkgs/redo/template @@ -10,6 +10,7 @@ license="ISC" homepage="http://jdebp.info/Softwares/redo/" distfiles="http://jdebp.info/Repository/freebsd/redo-${version}.tar.gz" checksum=5ff21779993418cf16f5632c593e30d9a2780bfc38cef9de9ab9427154736d36 +patch_args=-Np0 do_configure() { ./package/prepare diff --git a/srcpkgs/refind/template b/srcpkgs/refind/template index 49d46290752..7115017b088 100644 --- a/srcpkgs/refind/template +++ b/srcpkgs/refind/template @@ -13,6 +13,7 @@ distfiles="${SOURCEFORGE_SITE}/refind/refind-src-${version}.tar.gz" checksum=dd58944854a42df5a2a943f15e5dcfd995808f28580df96ad39d68fb1e48c970 python_version=2 conf_files="/etc/default/refind-kernel-hook.conf" +patch_args=-Np0 post_extract() { vsed -e 's|RefindDir=\"\$ThisDir/refind\"|RefindDir="/usr/share/refind"|g' \ diff --git a/srcpkgs/reiserfsprogs/template b/srcpkgs/reiserfsprogs/template index d98433876b4..9350966ac54 100644 --- a/srcpkgs/reiserfsprogs/template +++ b/srcpkgs/reiserfsprogs/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/" distfiles="${KERNEL_SITE}/kernel/people/jeffm/${pkgname}/v${version}/${pkgname}-${version}.tar.xz" checksum=0e95b67fa7746a3c2d59145e9b9c2feb4a6be52853e83b497b182eae508e62e3 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) diff --git a/srcpkgs/renderdoc/template b/srcpkgs/renderdoc/template index 4615d45c52c..6fe21f63ea2 100644 --- a/srcpkgs/renderdoc/template +++ b/srcpkgs/renderdoc/template @@ -16,6 +16,7 @@ license="MIT" homepage="https://github.com/baldurk/renderdoc" distfiles="https://github.com/baldurk/${pkgname}/archive/v${version}.tar.gz" checksum=4dece1b4cb859a76533b28fcd50e17321acfaa81c3435500a006c4a5ba15fddb +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = musl ]; then makedepends+=" libexecinfo-devel" diff --git a/srcpkgs/residualvm/template b/srcpkgs/residualvm/template index b0abb4052a9..621b40a2752 100644 --- a/srcpkgs/residualvm/template +++ b/srcpkgs/residualvm/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later, GPL-3.0-or-later, LGPL-2.1-or-later, BSD-3-Clause, IS homepage="https://www.residualvm.org/" distfiles="https://www.residualvm.org/downloads/release/${version}/residualvm-${version}-sources.tar.bz2" checksum=f50c83bbc55a8121eefc279e83982b6ec590e608e145b7f750006619dd0bf9e9 +patch_args=-Np0 build_options="sndio" build_options_default="sndio" diff --git a/srcpkgs/resvg/template b/srcpkgs/resvg/template index c48e52ae2f2..5befcd0e4c3 100644 --- a/srcpkgs/resvg/template +++ b/srcpkgs/resvg/template @@ -11,6 +11,7 @@ license="MPL-2.0" homepage="https://github.com/RazrFalcon/resvg" distfiles="https://github.com/RazrFalcon/resvg/releases/download/v${version}/resvg-${version}.tar.xz" checksum=7206f79f67b4c8610353134c375ed3ff9c5eb63b16fae267b94730c23ebe4ee1 +patch_args=-Np0 do_build() { for dir in capi tools/{render,u}svg; do diff --git a/srcpkgs/retroshare/template b/srcpkgs/retroshare/template index e65594a4b16..3c0685fc053 100644 --- a/srcpkgs/retroshare/template +++ b/srcpkgs/retroshare/template @@ -16,6 +16,7 @@ license="GPL-2.0-or-later, AGPL-3.0-or-later" homepage="https://retroshare.cc" distfiles="https://github.com/RetroShare/RetroShare/archive/v${version}.tar.gz" checksum=901a1d1f282e04118fbe0e24190355b4a8f355a806cc5448738b1d691b46f5d5 +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/rhythmbox/template b/srcpkgs/rhythmbox/template index 1d229ee9428..eb666718af6 100644 --- a/srcpkgs/rhythmbox/template +++ b/srcpkgs/rhythmbox/template @@ -22,6 +22,7 @@ license="GPL-2.0-or-later" homepage="http://www.rhythmbox.org" distfiles="${GNOME_SITE}/${pkgname}/${version::3}/${pkgname}-${version}.tar.xz" checksum=ee0eb0d7d7bdf696ac9471b19ff3bea3240d63b6cb8a134bf632054af8665d90 +patch_args=-Np0 python_version=3 pycompile_dirs="/usr/lib/rhythmbox/plugins /usr/lib/rhythmbox/sample-plugins" diff --git a/srcpkgs/rinse/template b/srcpkgs/rinse/template index 27d6d0acd2f..54d42aaa68c 100644 --- a/srcpkgs/rinse/template +++ b/srcpkgs/rinse/template @@ -15,6 +15,7 @@ homepage="https://salsa.debian.org/debian/rinse" changelog="https://salsa.debian.org/debian/rinse/raw/master/debian/changelog" distfiles="https://salsa.debian.org/debian/rinse/-/archive/${version}/rinse-${version}.tar.gz" checksum=ebe2384f2aa4565c5f29882b177f7afd4c7cdbca9de9525618c6040e63a76d23 +patch_args=-Np0 conf_files="/etc/rinse/rinse.conf" diff --git a/srcpkgs/rix/template b/srcpkgs/rix/template index 23d16e5e2da..9c1f78cbbe0 100644 --- a/srcpkgs/rix/template +++ b/srcpkgs/rix/template @@ -10,6 +10,7 @@ license="GPL-3" homepage="https://github.com/riolet/rix" distfiles="https://github.com/riolet/rix/archive/v${version}.tar.gz" checksum=8727fee17cbbecec3ca8083fac80db3a2ed234c8128ec8df5cc56293e1dbb09c +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/rmilter/template b/srcpkgs/rmilter/template index 0c2e00b5169..cf0ebd53e35 100644 --- a/srcpkgs/rmilter/template +++ b/srcpkgs/rmilter/template @@ -17,6 +17,7 @@ checksum=ea80563fa7636afed0b5fd9a29aa2300f15793ed85788e4ce69c187d341a7d54 system_accounts="rmilter" rmilter_pgroup="_rmilter" rmilter_homedir="/var/lib/rmilter" +patch_args=-Np0 post_install() { vdoc rmilter.conf.sample diff --git a/srcpkgs/rmlint/template b/srcpkgs/rmlint/template index 52b0a13cfad..5cd23e3659e 100644 --- a/srcpkgs/rmlint/template +++ b/srcpkgs/rmlint/template @@ -12,6 +12,7 @@ homepage="http://rmlint.rtfd.org/" changelog="https://raw.githubusercontent.com/sahib/rmlint/master/CHANGELOG.md" distfiles="https://github.com/sahib/${pkgname}/archive/v${version}.tar.gz" checksum=10e72ba4dd9672d1b6519c0c94eae647c5069c7d11f1409a46e7011dd0c6b883 +patch_args=-Np0 do_install() { scons install --prefix=${DESTDIR}/usr diff --git a/srcpkgs/rpcbind/template b/srcpkgs/rpcbind/template index 2909a0827fb..48adb776b70 100644 --- a/srcpkgs/rpcbind/template +++ b/srcpkgs/rpcbind/template @@ -14,6 +14,7 @@ homepage="https://rpcbind.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=5613746489cae5ae23a443bb85c05a11741a5f12c8f55d2bb5e83b9defeee8de system_accounts="rpc" +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/rpi-imager/template b/srcpkgs/rpi-imager/template index e48f0312e16..133b762f6e8 100644 --- a/srcpkgs/rpi-imager/template +++ b/srcpkgs/rpi-imager/template @@ -13,6 +13,7 @@ license="Apache-2.0" homepage="https://github.com/raspberrypi/rpi-imager" distfiles="https://github.com/raspberrypi/rpi-imager/archive/${version}.tar.gz" checksum="166d4926ab5a21f9a83096eff67a9a72f1a7f55702a36cb448cccf5f3b075509" +patch_args=-Np0 pre_configure() { ln -sf /bin/true $XBPS_WRAPPERDIR/lsblk diff --git a/srcpkgs/rpm/template b/srcpkgs/rpm/template index 9f6f522b9a3..dc410169878 100644 --- a/srcpkgs/rpm/template +++ b/srcpkgs/rpm/template @@ -18,6 +18,7 @@ distfiles="http://ftp.rpm.org/releases/rpm-4.16.x/rpm-${version}.tar.bz2" checksum=513dc7f972b6e7ccfc9fc7f9c01d5310cc56ee853892e4314fa2cad71478e21d python_version=3 conflicts="rpmextract>=0" # Both provide rpm2cpio +patch_args=-Np0 CFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}" CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/nss" diff --git a/srcpkgs/rspamd/template b/srcpkgs/rspamd/template index 7398b753622..dca49ec662f 100644 --- a/srcpkgs/rspamd/template +++ b/srcpkgs/rspamd/template @@ -19,6 +19,7 @@ checksum=e4720c1f45defd07dd17b9563d0ddc480c70beadbc1a833235c077960092e030 system_accounts="rspamd" rspamd_homedir=/var/lib/rspamd conf_files="/etc/rspamd/*.conf /etc/rspamd/*.inc /etc/rspamd/modules.d/*.conf" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in aarch64*|arm*) configure_args+=" -DHAS_C11_ATOMICS_EXITCODE=0 diff --git a/srcpkgs/rsstail/template b/srcpkgs/rsstail/template index 40a3d84ed70..1cfc4cdff30 100644 --- a/srcpkgs/rsstail/template +++ b/srcpkgs/rsstail/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="http://www.vanheusden.com/rsstail/" distfiles="http://www.vanheusden.com/${pkgname}/${pkgname}-${version}.tgz" checksum=42cb452178b21c15c470bafbe5b8b5339a7fb5b980bf8d93d36af89864776e71 +patch_args=-Np0 do_install() { vmkdir usr/bin diff --git a/srcpkgs/rstudio/template b/srcpkgs/rstudio/template index dcd1f125531..f7ac44c86ec 100644 --- a/srcpkgs/rstudio/template +++ b/srcpkgs/rstudio/template @@ -28,6 +28,7 @@ checksum="ac84f77529501ea13f0708f0e8726b0bdfb592cd9217e869a0099031f9a888b8 4341a9630efb9dcf7f215c324136407f3b3d6003e1c96f2e5e1f9f14d5787494 0b7af89fdadb4ec51cdb400ace94637d6fe9ffa401b168e2c3d372392a00a0a7" skip_extraction="core-dictionaries.zip" +patch_args=-Np0 LDFLAGS="-Wl,-z,stack-size=2097152" diff --git a/srcpkgs/rsyslog/template b/srcpkgs/rsyslog/template index 33c55076e9b..8c5b041d218 100644 --- a/srcpkgs/rsyslog/template +++ b/srcpkgs/rsyslog/template @@ -23,6 +23,7 @@ conf_files="/etc/rsyslog.conf" make_dirs="/etc/rsyslog.d 0755 root root" lib32disabled=yes disable_parallel_build=yes +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/rtl8812au-dkms/template b/srcpkgs/rtl8812au-dkms/template index 0dedc560b81..062aa1bebe2 100644 --- a/srcpkgs/rtl8812au-dkms/template +++ b/srcpkgs/rtl8812au-dkms/template @@ -13,6 +13,7 @@ homepage="http://www.dlink.com" distfiles="https://github.com/gordboy/rtl8812au-${_modver}/archive/${_gitrev}.tar.gz" checksum=72b04bb7e1ef01eae653222d6f75f71163f7442fa142198605ed495f30341bd9 dkms_modules="rtl8812au ${_modver}" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in x86_64*) _karch="x86_64";; diff --git a/srcpkgs/rtl8822bu-dkms/template b/srcpkgs/rtl8822bu-dkms/template index 548d0b6299c..d994f402b2d 100644 --- a/srcpkgs/rtl8822bu-dkms/template +++ b/srcpkgs/rtl8822bu-dkms/template @@ -12,6 +12,7 @@ homepage="https://www.tp-link.com" distfiles="https://github.com/EntropicEffect/rtl8822bu/archive/${_gitrev}.tar.gz" checksum=fb2dbcd0385d558af6c74571aaac9020d7cbb9e56cc4780299bd420559f29bb1 dkms_modules="88x2bu ${version}" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in x86_64*) _karch="x86_64";; diff --git a/srcpkgs/rtmpdump/template b/srcpkgs/rtmpdump/template index 911122cc807..aa3efa2397c 100644 --- a/srcpkgs/rtmpdump/template +++ b/srcpkgs/rtmpdump/template @@ -11,6 +11,7 @@ license="GPL-2, LGPL-2.1" homepage="http://rtmpdump.mplayerhq.hu/" distfiles="https://alpha.de.repo.voidlinux.org/distfiles/${pkgname}-${version%.*}_p${_patchlevel}.tar.gz" checksum=d6da3b683f1045f02d94a81b0c583318dba021f69bdab970c5d5d73e8c38860f +patch_args=-Np0 CFLAGS="-Wno-unused-const-variable -Wno-unused-but-set-variable" case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/rtorrent/template b/srcpkgs/rtorrent/template index 7d44897de23..c3278dc2104 100644 --- a/srcpkgs/rtorrent/template +++ b/srcpkgs/rtorrent/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/rakshasa/rtorrent" distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz" checksum=bc889ce1dde475ec56aa72ae996912ff58723226a4f4256fef4f1f8636d991d4 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/rubberband/template b/srcpkgs/rubberband/template index 0c1f15270aa..fabb288f308 100644 --- a/srcpkgs/rubberband/template +++ b/srcpkgs/rubberband/template @@ -13,6 +13,7 @@ homepage="https://breakfastquay.com/rubberband/" changelog="https://breakfastquay.com/news.html" distfiles="https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2" checksum=4f5b9509364ea876b4052fc390c079a3ad4ab63a2683aad09662fb905c2dc026 +patch_args=-Np0 librubberband_package() { short_desc+=" - Runtime libraries" diff --git a/srcpkgs/ruby/template b/srcpkgs/ruby/template index 29c1c2eac3c..ad72d57520c 100644 --- a/srcpkgs/ruby/template +++ b/srcpkgs/ruby/template @@ -1,5 +1,6 @@ # Template file for 'ruby' _ruby_abiver=2.7.0 +patch_args=-Np0 pkgname=ruby version=2.7.3 diff --git a/srcpkgs/ruler/template b/srcpkgs/ruler/template index 0884fc46578..7cac86683e0 100644 --- a/srcpkgs/ruler/template +++ b/srcpkgs/ruler/template @@ -11,6 +11,7 @@ license="ISC" homepage="https://github.com/tudurom/ruler" distfiles="https://github.com/tudurom/ruler/archive/v${version}.tar.gz" checksum=5355e19530bb158b504cca6ba18cc402585e9bdb488e01a2ee76492bc70923c7 +patch_args=-Np0 LDFLAGS="-lxcb -lxcb-ewmh -lxcb-icccm -lwm" diff --git a/srcpkgs/run-mailcap/template b/srcpkgs/run-mailcap/template index 8eb80e3b58e..5a88b519ead 100644 --- a/srcpkgs/run-mailcap/template +++ b/srcpkgs/run-mailcap/template @@ -10,6 +10,7 @@ license="custom:ad-hoc, custom:Bellcore" homepage="http://packages.ubuntu.com/disco/mime-support" distfiles="${UBUNTU_SITE}/main/m/mime-support/mime-support_${version}ubuntu1.tar.xz" checksum=5007d2ebc25935bfca6d4bdac0efdfc089a38c1be49d19f0422559f666e4f2c4 +patch_args=-Np0 do_install() { local _aliases="see edit compose print" diff --git a/srcpkgs/runit/template b/srcpkgs/runit/template index 081d5fe2c73..68b400c1ef5 100644 --- a/srcpkgs/runit/template +++ b/srcpkgs/runit/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="http://smarden.org/runit/" distfiles="http://smarden.org/runit/runit-$version.tar.gz" checksum=6fd0160cb0cf1207de4e66754b6d39750cff14bb0aa66ab49490992c0c47ba18 +patch_args=-Np0 build_options="static" diff --git a/srcpkgs/rustup/template b/srcpkgs/rustup/template index 294f5b020a0..f13beb18e2d 100644 --- a/srcpkgs/rustup/template +++ b/srcpkgs/rustup/template @@ -16,6 +16,7 @@ license="Apache-2.0, MIT" homepage="https://www.rustup.rs" distfiles="https://github.com/rust-lang/${pkgname}/archive/${version}.tar.gz" checksum=e69bce5a4b1abe05489b19d2906c258b27f70ff8b13f59e5932527ae6b77c6a6 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in x86_64*|i686*|arm*|aarch64*) diff --git a/srcpkgs/rxvt-unicode/template b/srcpkgs/rxvt-unicode/template index c89633c12de..8ae30a72963 100644 --- a/srcpkgs/rxvt-unicode/template +++ b/srcpkgs/rxvt-unicode/template @@ -26,6 +26,7 @@ license="GPL-3.0-or-later" homepage="http://software.schmorp.de/pkg/rxvt-unicode.html" distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=643116b9a25d29ad29f4890131796d42e6d2d21312282a613ef66c80c5b8c98b +patch_args=-Np0 # Package build options build_options="gdk_pixbuf perl startup_notification unicode3" diff --git a/srcpkgs/s3cmd/template b/srcpkgs/s3cmd/template index 40cd669dc97..3571621f48c 100644 --- a/srcpkgs/s3cmd/template +++ b/srcpkgs/s3cmd/template @@ -12,6 +12,7 @@ changelog="https://github.com/s3tools/s3cmd/raw/master/NEWS" homepage="http://s3tools.org/s3cmd" distfiles="https://github.com/s3tools/${pkgname}/archive/v${version}.tar.gz" checksum=2293f775fde77201bf8e489f20516fd594168c77897168f129e5c1a2b33b7e37 +patch_args=-Np0 pre_install() { export S3CMD_INSTPATH_DOC="share/doc" diff --git a/srcpkgs/samba/template b/srcpkgs/samba/template index 90be22e5705..8195f38fbf0 100644 --- a/srcpkgs/samba/template +++ b/srcpkgs/samba/template @@ -32,6 +32,7 @@ lib32disabled=yes conf_files="/etc/pam.d/samba /etc/samba/smb.conf" make_dirs="/etc/samba/private 0750 root root" subpackages="smbclient samba-ctdb samba-cups samba-devel samba-libs samba-python3" +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/sandboxfs/template b/srcpkgs/sandboxfs/template index 9ab7a626b20..979a457e105 100644 --- a/srcpkgs/sandboxfs/template +++ b/srcpkgs/sandboxfs/template @@ -12,6 +12,7 @@ license="Apache-2.0" homepage="https://github.com/bazelbuild/sandboxfs" distfiles="https://github.com/bazelbuild/sandboxfs/archive/sandboxfs-${version}.tar.gz" checksum=bff68e7d33ae56a3f34a79a74b2576599f5ccc381a237bbc10b5a3c3ea106b60 +patch_args=-Np0 post_install() { vman man/sandboxfs.1 diff --git a/srcpkgs/sane/template b/srcpkgs/sane/template index 35dac1cc846..8a68e3b65a1 100644 --- a/srcpkgs/sane/template +++ b/srcpkgs/sane/template @@ -21,6 +21,7 @@ homepage="http://www.sane-project.org/" distfiles="https://gitlab.com/sane-project/backends/uploads/${_gitlab_release_hash}/sane-backends-${version}.tar.gz" checksum=4a3b10fcb398ed854777d979498645edfe66fcac2f2fd2b9117a79ff45e2a5aa noshlibprovides="avoid false detection of device drivers" +patch_args=-Np0 build_options="snmp" diff --git a/srcpkgs/sauerbraten/template b/srcpkgs/sauerbraten/template index 587cc3da590..102bb584421 100644 --- a/srcpkgs/sauerbraten/template +++ b/srcpkgs/sauerbraten/template @@ -13,6 +13,7 @@ license="Zlib" homepage="http://sauerbraten.org" distfiles="${SOURCEFORGE_SITE}/sauerbraten/sauerbraten_${version//./_}_collect_edition_linux.tar.bz2" checksum=45c20521e3e56374490b2d9112a211538e801cf0161197f35476b30b7b58a78e +patch_args=-Np0 restricted="Very large - not worth storing on current Void infrastructure" diff --git a/srcpkgs/sbcl/template b/srcpkgs/sbcl/template index 4fc8a569b50..8e52f31ee67 100644 --- a/srcpkgs/sbcl/template +++ b/srcpkgs/sbcl/template @@ -15,6 +15,7 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}-source.tar.bz2" checksum=965807ecd65a9590d68a0ed408b544e7e49a1f6e337ebd2b25e34788bcc8a8c5 nocross=yes nopie=yes +patch_args=-Np0 _bootstrap_lisp="bash ../sbcl-*-linux/run-sbcl.sh --no-sysinit --no-userinit --disable-debugger" case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/sc3-plugins/template b/srcpkgs/sc3-plugins/template index 8511caea26e..a26e459fc3a 100644 --- a/srcpkgs/sc3-plugins/template +++ b/srcpkgs/sc3-plugins/template @@ -19,6 +19,7 @@ distfiles="https://github.com/supercollider/sc3-plugins/archive/Version-${versio checksum="b8144231ea1bfc1c9d8aa6780c7e963dfb642868794abbfd8ccab418ffbbdfbe 9b2035a3a7942c61cbe89b00c35c7e16ac281c06786fe1c30dfd333194be499a df9f280daaad56fdadb5fa75d492ee6a06762a41d7346aa473aa49c1ac9ec9c8" +patch_args=-Np0 post_extract() { rm -rf external_libraries/nova-simd diff --git a/srcpkgs/scanmem/template b/srcpkgs/scanmem/template index d694f33d372..5e715569c8a 100644 --- a/srcpkgs/scanmem/template +++ b/srcpkgs/scanmem/template @@ -13,6 +13,7 @@ homepage="https://github.com/scanmem/scanmem" distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" checksum=f02054b91322cf41517506158fcb74554e9fc6644e696f8aa25e5acf162d374b CFLAGS="-D__NEED_pid_t" +patch_args=-Np0 nocross="checking for /proc/self/maps... configure: error" diff --git a/srcpkgs/schroot/template b/srcpkgs/schroot/template index 85416dee5e9..d30517ec641 100644 --- a/srcpkgs/schroot/template +++ b/srcpkgs/schroot/template @@ -55,6 +55,7 @@ checksum=" 3ce8dfd9cb97b099e4b6d4ccec421d6cc8c9ef84574681e928a12badb5643d0b 56bc82fc8ae7f6ca7eef506ccc1dca1211b2c84d83efc50d24670b8bdb9ea8bb" nocross=yes +patch_args=-Np0 pre_configure() { cat ../debian/patches/series | while read p; do diff --git a/srcpkgs/screen/template b/srcpkgs/screen/template index 613696d9f37..f6288cc075b 100644 --- a/srcpkgs/screen/template +++ b/srcpkgs/screen/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/s/screen/" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=6e11b13d8489925fde25dfb0935bf6ed71f9eb47eff233a181e078fde5655aa1 +patch_args=-Np0 post_install() { vinstall etc/etcscreenrc 0644 etc screenrc diff --git a/srcpkgs/scrotty/template b/srcpkgs/scrotty/template index 13b03a1d156..69270af50e2 100644 --- a/srcpkgs/scrotty/template +++ b/srcpkgs/scrotty/template @@ -12,6 +12,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/maandree/scrotty" distfiles="https://github.com/maandree/scrotty/archive/${version}.tar.gz" checksum=466528d6ecf0138f57c40541258389686e22771c28d40f28c00825faaeaab1a3 +patch_args=-Np0 pre_configure() { export EXTRA_CFLAGS="$CFLAGS" diff --git a/srcpkgs/scummvm/template b/srcpkgs/scummvm/template index 0cec3ab176d..aa52ba65d1e 100644 --- a/srcpkgs/scummvm/template +++ b/srcpkgs/scummvm/template @@ -16,6 +16,7 @@ license="GPL-2.0-or-later" homepage="https://www.scummvm.org/" distfiles="https://downloads.scummvm.org/frs/${pkgname}/${version}/${pkgname}-${version}.tar.xz" checksum=1469657e593bd8acbcfac0b839b086f640ebf120633e93f116cab652b5b27387 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686*|x86_64*);; diff --git a/srcpkgs/sddm/template b/srcpkgs/sddm/template index 2a87381c8e8..6d58d2e52e0 100644 --- a/srcpkgs/sddm/template +++ b/srcpkgs/sddm/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later, CC-BY-3.0" homepage="http://github.com/sddm/sddm" distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" checksum=e76da1f13d5ad5e0179e3fec57543126044339405ef19c397e105e0807bd4e41 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" sddm qt5-host-tools qt5-qmake qt5-tools" diff --git a/srcpkgs/seafile-client-qt/template b/srcpkgs/seafile-client-qt/template index 76b9a41fe45..1f9b122cce2 100644 --- a/srcpkgs/seafile-client-qt/template +++ b/srcpkgs/seafile-client-qt/template @@ -15,6 +15,7 @@ license="Apache-2.0" homepage="https://seafile.com" distfiles="https://github.com/haiwen/seafile-client/archive/v${version}.tar.gz" checksum=a6be7e55236cd4fb6028259ab5f35163ce044811f45b6008f280d42f5cee9f8d +patch_args=-Np0 build_options="shibboleth" desc_option_shibboleth="Build with Shibboleth support" diff --git a/srcpkgs/seexpr-krita/template b/srcpkgs/seexpr-krita/template index efb21e6f650..0aaba237573 100644 --- a/srcpkgs/seexpr-krita/template +++ b/srcpkgs/seexpr-krita/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://krita.org" distfiles="${KDE_SITE}/kseexpr/${version%.*}/kseexpr-${version}.tar.gz" checksum=13b8455883001668f5d79c5734821c1ad2a0fbc91d019af085bb7e31cf6ce926 +patch_args=-Np0 if [ "$XBPS_CHECK_PKGS" ]; then configure_args+=" -DBUILD_TESTS=ON" diff --git a/srcpkgs/serf/template b/srcpkgs/serf/template index a9ac8a6d35e..b27fd1e4b00 100644 --- a/srcpkgs/serf/template +++ b/srcpkgs/serf/template @@ -12,6 +12,7 @@ license="Apache-2.0" homepage="http://serf.apache.org" distfiles="https://archive.apache.org/dist/serf/serf-${version}.tar.bz2" checksum=549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then make_build_args+=" APR=${XBPS_WRAPPERDIR}/apr-1-config" diff --git a/srcpkgs/shaderc/template b/srcpkgs/shaderc/template index 7382d081551..d0d810161d2 100644 --- a/srcpkgs/shaderc/template +++ b/srcpkgs/shaderc/template @@ -12,6 +12,7 @@ license="Apache-2.0" homepage="https://github.com/google/shaderc" distfiles="https://github.com/google/shaderc/archive/v${version}.tar.gz" checksum=e02e2a9d4c3960bc629ca8cdcf83d295bec9c80ed08a8c5062e4e294022605ec +patch_args=-Np0 CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/glslang" diff --git a/srcpkgs/shadow/template b/srcpkgs/shadow/template index f01181a49bd..556e2ce263f 100644 --- a/srcpkgs/shadow/template +++ b/srcpkgs/shadow/template @@ -17,6 +17,7 @@ homepage="https://github.com/shadow-maint/shadow" distfiles="${homepage}/releases/download/${version}/shadow-${version}.tar.xz" checksum=a3ad4630bdc41372f02a647278a8c3514844295d36eefe68ece6c3a641c1ae62 conf_files="/etc/pam.d/* /etc/default/* /etc/login.defs" +patch_args=-Np0 pre_configure() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/shapelib/template b/srcpkgs/shapelib/template index 67a6f9c0dc7..230bf6980f7 100644 --- a/srcpkgs/shapelib/template +++ b/srcpkgs/shapelib/template @@ -9,6 +9,7 @@ license="LGPL-2.0-only" homepage="http://shapelib.maptools.org/" distfiles="http://download.osgeo.org/shapelib/shapelib-${version}.tar.gz" checksum=1fc0a480982caef9e7b9423070b47750ba34cd0ba82668f2e638fab1d07adae1 +patch_args=-Np0 shapelib-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/shiboken2/template b/srcpkgs/shiboken2/template index ed06a780e1a..5cdf26b8842 100644 --- a/srcpkgs/shiboken2/template +++ b/srcpkgs/shiboken2/template @@ -16,6 +16,7 @@ license="GPL-3.0-or-later" homepage="https://wiki.qt.io/Qt_for_Python/Shiboken" distfiles="https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-${version}-src/${_pkgname}.tar.xz" checksum=b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418 +patch_args=-Np0 python_version=3 export CLANG_INSTALL_DIR=${XBPS_CROSS_BASE}/usr diff --git a/srcpkgs/shmux/template b/srcpkgs/shmux/template index 3f353a0df33..d3c039b4f12 100644 --- a/srcpkgs/shmux/template +++ b/srcpkgs/shmux/template @@ -10,6 +10,7 @@ license="BSD-3-Clause" homepage="https://github.com/shmux/shmux" distfiles="https://github.com/shmux/shmux/archive/v${version}.tar.gz" checksum=c9f8863e2550e23e633cf5fc7a9c4c52d287059f424ef78aba6ecd98390fb9ab +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/shotwell/template b/srcpkgs/shotwell/template index b0c1878e31b..1076b974de7 100644 --- a/srcpkgs/shotwell/template +++ b/srcpkgs/shotwell/template @@ -17,6 +17,7 @@ homepage="https://wiki.gnome.org/Apps/Shotwell" distfiles="${GNOME_SITE}/shotwell/${version%.*}/shotwell-${version}.tar.xz" checksum=8de36f20488f4fb7d090194c8af46cd3661bcc81a3d65f980cb17667ed826af2 lib32disabled=yes +patch_args=-Np0 post_extract() { # because shotwell intelligently forces fatal warnings even for diff --git a/srcpkgs/signond/template b/srcpkgs/signond/template index 183c3b9481e..585a4f7e28b 100644 --- a/srcpkgs/signond/template +++ b/srcpkgs/signond/template @@ -14,6 +14,7 @@ license="LGPL-2.1-only" homepage="https://gitlab.com/accounts-sso/signond" distfiles="https://gitlab.com/accounts-sso/signond/repository/archive.tar.gz?ref=VERSION_${version}>signond-${version}.tar.gz" checksum=a9cd90cf3e8b1a8bdbe5acf46c797a817092e77946c69fc3ed3a76930f3a76aa +patch_args=-Np0 pre_configure() { if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/sile/template b/srcpkgs/sile/template index 8e9f28786b9..fb99e1fcd88 100644 --- a/srcpkgs/sile/template +++ b/srcpkgs/sile/template @@ -14,6 +14,7 @@ license="MIT" homepage="http://www.sile-typesetter.org/" distfiles="https://github.com/simoncozens/sile/releases/download/v${version}/sile-${version}.tar.bz2" checksum=60cdcc4509971973feab352dfc1a86217cc1fdb12d56823f04d863afef92003a +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" lua51 lua51-devel lua51-lpeg luaexpat lua51-zlib luafilesystem diff --git a/srcpkgs/silly/template b/srcpkgs/silly/template index 432cefdabc9..8fa0632c361 100644 --- a/srcpkgs/silly/template +++ b/srcpkgs/silly/template @@ -12,6 +12,7 @@ license="MIT" homepage="http://sourceforge.net/projects/crayzedsgui/" distfiles="${SOURCEFORGE_SITE}/project/crayzedsgui/${pkgname^^}/${version}/${pkgname^^}-${version}.tar.gz" checksum=afa064f70433008ec9837fb601c8d73e73db07856e4566f8bee010758c5304ac +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/simgear/template b/srcpkgs/simgear/template index 4a15e27896e..58f19d499e5 100644 --- a/srcpkgs/simgear/template +++ b/srcpkgs/simgear/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="http://www.flightgear.org/" distfiles="$SOURCEFORGE_SITE/project/flightgear/release-${version%.*}/${pkgname}-${version}.tar.bz2" checksum=66da2c4f68058f6854206f2dd9c03c9223851ade24a50216e88b4e50598c13d1 +patch_args=-Np0 # Suppress warnings regarding auto_ptr CXXFLAGS="-Wno-deprecated-declarations" diff --git a/srcpkgs/simutron/template b/srcpkgs/simutron/template index cdcf68c2a43..15a6accf201 100644 --- a/srcpkgs/simutron/template +++ b/srcpkgs/simutron/template @@ -13,6 +13,7 @@ maintainer="Artur Sinila " license="GPL-3.0-only" homepage="https://sourceforge.net/projects/simutron/" nostrip_files="LCD20x4Test.elf" +patch_args=-Np0 do_fetch() { svn checkout "https://svn.code.sf.net/p/${pkgname}/code/branches/RB-${_version}-${_rev}" "$wrksrc" diff --git a/srcpkgs/sisl/template b/srcpkgs/sisl/template index 1fdf40b02db..0457d6e17fe 100644 --- a/srcpkgs/sisl/template +++ b/srcpkgs/sisl/template @@ -10,6 +10,7 @@ license="AGPL-3.0-only" homepage="https://github.com/SINTEF-Geometry/SISL" distfiles="$homepage/archive/SISL-$version.tar.gz" checksum=b207fe6b4b20775e3064168633256fddd475ff98573408f6f5088a938c086f86 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/skroll/template b/srcpkgs/skroll/template index e01de5aa064..9263b38cd5c 100644 --- a/srcpkgs/skroll/template +++ b/srcpkgs/skroll/template @@ -10,6 +10,7 @@ license="WTFPL" homepage="http://git.z3bra.org/skroll/log.html" distfiles="http://dl.z3bra.org/releases/${pkgname}-${version}.tar.bz2" checksum=32221fef51f6814a7bf3cf4207b8a2466624544a2fd1e5b110ee2af3580d2959 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/slcp/template b/srcpkgs/slcp/template index 1873bcc6f23..614c5844ad1 100644 --- a/srcpkgs/slcp/template +++ b/srcpkgs/slcp/template @@ -10,6 +10,7 @@ license="Beerware" homepage="https://github.com/schachmat/slcp" distfiles="https://github.com/schachmat/slcp/archive/${version}.tar.gz" checksum=a26e56832e37dbf1c7b776ddb137e422c987c19330575708a5945697e08e7cfe +patch_args=-Np0 pre_build() { sed -i 's|^CFLAGS =|override CFLAGS +=|g' config.mk diff --git a/srcpkgs/sleuthkit/template b/srcpkgs/sleuthkit/template index f7d3ebf142f..c61696b3527 100644 --- a/srcpkgs/sleuthkit/template +++ b/srcpkgs/sleuthkit/template @@ -15,6 +15,7 @@ homepage="https://www.sleuthkit.org/" changelog="https://github.com/sleuthkit/sleuthkit/releases" distfiles="https://github.com/sleuthkit/sleuthkit/archive/sleuthkit-${version}.tar.gz" checksum=da9a336c37e03b78bd912acf243953254a3215f0b3646f9d2c526f4b502e6f11 +patch_args=-Np0 post_extract() { sed -i 's:sys/fcntl.h:fcntl.h:g' tsk/fs/tsk_fs_i.h diff --git a/srcpkgs/slim/template b/srcpkgs/slim/template index b7382cac308..43d025a1e9b 100644 --- a/srcpkgs/slim/template +++ b/srcpkgs/slim/template @@ -15,6 +15,7 @@ homepage="http://sourceforge.net/projects/slim.berlios/" distfiles="${SOURCEFORGE_SITE}/slim.berlios/slim-${version}.tar.gz" checksum=21defeed175418c46d71af71fd493cd0cbffd693f9d43c2151529125859810df lib32disabled=yes +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) CXXFLAGS="-DNEEDS_BASENAME";; diff --git a/srcpkgs/sloccount/template b/srcpkgs/sloccount/template index f33b58e0aea..861d5883cb8 100644 --- a/srcpkgs/sloccount/template +++ b/srcpkgs/sloccount/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://dwheeler.com/sloccount/" distfiles="https://dwheeler.com/sloccount/sloccount-${version}.tar.gz" checksum=fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b +patch_args=-Np0 do_install() { vmkdir usr/bin diff --git a/srcpkgs/slurm-wlm/template b/srcpkgs/slurm-wlm/template index e01f3912697..420663fbb7e 100644 --- a/srcpkgs/slurm-wlm/template +++ b/srcpkgs/slurm-wlm/template @@ -17,6 +17,7 @@ license="GPL-2.0-or-later" homepage="http://slurm.schedmd.com/slurm.html" distfiles="https://github.com/SchedMD/slurm/archive/slurm-${_distver}.tar.gz" checksum=e53e67bd0bb4c37a9c481998764a746467a96bc41d6527569080514f36452c07 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/smpeg/template b/srcpkgs/smpeg/template index 9a958bd1bba..e8dfe2e4452 100644 --- a/srcpkgs/smpeg/template +++ b/srcpkgs/smpeg/template @@ -12,6 +12,7 @@ license="LGPL-2.1-only" homepage="https://icculus.org/smpeg/" distfiles="ftp://slackware.oregonstate.edu/.1/vectorlinux/VL64-7.0/source/sourceVL/smpeg/${version}/src/smpeg-${version}.tar.gz" checksum=1839c12e88d5dbbc767a7b94eeab2aa3efe4f0eebb7eb7c7240270ba93689a2b +patch_args=-Np0 post_install() { # Remove unused stuff diff --git a/srcpkgs/smpeg2/template b/srcpkgs/smpeg2/template index 5c87e4416da..5afde1920c5 100644 --- a/srcpkgs/smpeg2/template +++ b/srcpkgs/smpeg2/template @@ -10,6 +10,7 @@ license="LGPL-2.1-or-later" homepage="https://icculus.org/smpeg/" distfiles="https://www.libsdl.org/projects/smpeg/release/smpeg2-${version}.tar.gz" checksum=979a65b211744a44fa641a9b6e4d64e64a12ff703ae776bafe3c4c4cd85494b3 +patch_args=-Np0 # Package build options build_options="rpi" diff --git a/srcpkgs/snapper/template b/srcpkgs/snapper/template index bd58ab951c2..a2dd275709e 100644 --- a/srcpkgs/snapper/template +++ b/srcpkgs/snapper/template @@ -19,6 +19,7 @@ homepage="http://snapper.io" distfiles="https://github.com/openSUSE/snapper/archive/v${version}.tar.gz" checksum=ca7b17d0213aa5281ff08d968b4e029b78bb3870eb79fd7bc7f879b17f5c969e lib32disabled=yes +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = musl ] then diff --git a/srcpkgs/snappy/template b/srcpkgs/snappy/template index 7e9e5214fb7..36d572f0da9 100644 --- a/srcpkgs/snappy/template +++ b/srcpkgs/snappy/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="https://google.github.io/snappy" distfiles="https://github.com/google/snappy/archive/${version}.tar.gz" checksum=75c1fbb3d618dd3a0483bff0e26d0a92b495bbe5059c8b4f1c962b478b6e06e7 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/socat/template b/srcpkgs/socat/template index d4e0f0a9bbd..bbbe7dccb42 100644 --- a/srcpkgs/socat/template +++ b/srcpkgs/socat/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="http://www.dest-unreach.org/socat/" distfiles="http://www.dest-unreach.org/socat/download/socat-${version}.tar.bz2" checksum=3faca25614e89123dff5045680549ecef519d02e331aaf3c4f5a8f6837c675e9 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) CFLAGS="-D_LINUX_IF_ETHER_H";; diff --git a/srcpkgs/socklog/template b/srcpkgs/socklog/template index 3df32c8ebeb..0d77880ebb0 100644 --- a/srcpkgs/socklog/template +++ b/srcpkgs/socklog/template @@ -9,6 +9,7 @@ license="custom" homepage="http://smarden.org/socklog/" distfiles="http://smarden.org/socklog/socklog-${version}.tar.gz" checksum=aa869a787ee004da4e5509b5a0031bcc17a4ab4ac650c2ce8d4e488123acb455 +patch_args=-Np0 build_options="static" diff --git a/srcpkgs/sombok/template b/srcpkgs/sombok/template index 622a1e6fc96..3c6fcaff53d 100644 --- a/srcpkgs/sombok/template +++ b/srcpkgs/sombok/template @@ -12,6 +12,7 @@ license="Artistic, GPL-1" homepage="https://github.com/hatukanezumi/sombok" distfiles="https://github.com/hatukanezumi/${pkgname}/archive/${pkgname}-${version}.tar.gz" checksum=14d9dcd3621bf9d591a7158aeac99b4d4a60296558173be51d57b54b8f9d70a2 +patch_args=-Np0 pre_configure() { autoreconf -i diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template index 4daa56060ee..583e5d4d3fe 100644 --- a/srcpkgs/sonic-visualiser/template +++ b/srcpkgs/sonic-visualiser/template @@ -16,6 +16,7 @@ homepage="https://www.sonicvisualiser.org/" changelog="https://code.soundsoftware.ac.uk/projects/sonic-visualiser/repository/entry/CHANGELOG" distfiles="https://code.soundsoftware.ac.uk/attachments/download/2755/${pkgname}-${version}.tar.gz" checksum=38e91a4035962ad177905a9f1249136fe88d4b596fd9b8f40c82b60dadca5bf3 +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/sopwith/template b/srcpkgs/sopwith/template index aa160fdbb87..2c0b91f10be 100644 --- a/srcpkgs/sopwith/template +++ b/srcpkgs/sopwith/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://sdl-sopwith.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/sdl-sopwith/sdl_sopwith/${version}/sopwith-${version}.tar.gz" checksum=a5ecb795a7aeff6be3ebfb99f1c6218054b73048786809f8468a92c952c17bd0 +patch_args=-Np0 pre_configure() { mv configure.{in,ac} diff --git a/srcpkgs/soundmodem/template b/srcpkgs/soundmodem/template index 91ae349d3c1..f38d83b2f88 100644 --- a/srcpkgs/soundmodem/template +++ b/srcpkgs/soundmodem/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://soundmodem.vk4msl.yi.org/" distfiles="http://soundmodem.vk4msl.yi.org/soundmodem-${version}.tar.gz" checksum=f033c1716df1378cda646dbb1c48ea9fb9a068772c6686f2ca411bfa64245c1c +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/spacefm/template b/srcpkgs/spacefm/template index f89a4cd5ad5..cb2b3b59b9d 100644 --- a/srcpkgs/spacefm/template +++ b/srcpkgs/spacefm/template @@ -15,6 +15,7 @@ homepage="http://ignorantguru.github.io/spacefm/" distfiles="https://github.com/IgnorantGuru/spacefm/archive/${version}.tar.gz" checksum=fedea9fcad776e0af4b8d90c5a1c86684a9c96ef1cdd4e959530ce93bdebe7c9 conf_files="/etc/spacefm/spacefm.conf" +patch_args=-Np0 build_options="gtk3" build_options_default="gtk3" diff --git a/srcpkgs/spamassassin/template b/srcpkgs/spamassassin/template index d778f76ba3e..f36e91661fa 100644 --- a/srcpkgs/spamassassin/template +++ b/srcpkgs/spamassassin/template @@ -25,6 +25,7 @@ conf_files=" /etc/mail/spamassassin/v320.pre /etc/mail/spamassassin/init.pre /etc/mail/spamassassin/local.cf" +patch_args=-Np0 post_install() { vinstall $FILESDIR/sa-update 755 /etc/cron.weekly diff --git a/srcpkgs/spampd/template b/srcpkgs/spampd/template index 4380aae4f8b..f64c6dccde7 100644 --- a/srcpkgs/spampd/template +++ b/srcpkgs/spampd/template @@ -13,6 +13,7 @@ distfiles="https://github.com/downloads/mpaperno/$pkgname/$pkgname-$version.tar. checksum=c980e55f46c7757fd45294e5268766253123490d0158d2ee36ad5700ddf823bb system_accounts="_spampd" _spampd_homedir="/var/lib/spampd" +patch_args=-Np0 pre_install() { sed -i '/INSTALL.* \(spampd.default\|spampd-init.sh\) /d' Makefile diff --git a/srcpkgs/speech-dispatcher/template b/srcpkgs/speech-dispatcher/template index b0283ed4019..313bbf19e40 100644 --- a/srcpkgs/speech-dispatcher/template +++ b/srcpkgs/speech-dispatcher/template @@ -20,6 +20,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later, GFDL-1.2-or-later" homepage="http://devel.freebsoft.org/speechd" distfiles="https://github.com/brailcom/speechd/archive/${version}.tar.gz" checksum=056efb80186f2bfc3f6ef468ab9905ca2d652cc2180b13514b752a9d616a6930 +patch_args=-Np0 conf_files=" /etc/speech-dispatcher/clients/*.conf diff --git a/srcpkgs/speed-dreams/template b/srcpkgs/speed-dreams/template index fadabc891c8..47786d859bb 100644 --- a/srcpkgs/speed-dreams/template +++ b/srcpkgs/speed-dreams/template @@ -29,6 +29,7 @@ replaces="speed-dreams-data>=0" CFLAGS=-fpermissive CXXFLAGS=-fpermissive lib32disabled=yes +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = musl ]; then broken="Segmentation fault" diff --git a/srcpkgs/spice-gtk/template b/srcpkgs/spice-gtk/template index 7218e837891..613328430c2 100644 --- a/srcpkgs/spice-gtk/template +++ b/srcpkgs/spice-gtk/template @@ -22,6 +22,7 @@ license="LGPL-2.1-or-later" homepage="https://spice-space.org" distfiles="https://spice-space.org/download/gtk/${pkgname}-${version}.tar.xz" checksum=23acbee197eaaec9bce6e6bfd885bd8f79708332639243ff04833020865713cd +patch_args=-Np0 CFLAGS="-Wno-error -Wno-error=unused-but-set-variable" diff --git a/srcpkgs/spim/template b/srcpkgs/spim/template index 347ff447611..aada991a2d5 100644 --- a/srcpkgs/spim/template +++ b/srcpkgs/spim/template @@ -13,6 +13,7 @@ license="BSD-3-Clause" homepage="http://spimsimulator.sourceforge.net/" distfiles="http://pages.cs.wisc.edu/~larus/SPIM/spim-${version}.tar.gz" checksum="6f205776cb9fa112729507008843b289012190ed3131cbd426c610a58387ee4b" +patch_args=-Np0 pre_configure() { sed '/Copyright (c) 1990-2010, James R. Larus./,+26!d' README > LICENSE diff --git a/srcpkgs/splix/template b/srcpkgs/splix/template index 366aab114bc..47c4ef17335 100644 --- a/srcpkgs/splix/template +++ b/srcpkgs/splix/template @@ -11,6 +11,7 @@ homepage="http://splix.ap2c.org" distfiles="${DEBIAN_SITE}/main/s/$pkgname/${pkgname}_$version.orig.tar.gz" checksum="578a81bd5b1b97756a539c3bb6339fd109d54419887a73e705941da8aa7fac52" CXXFLAGS="-fno-strict-aliasing" +patch_args=-Np0 do_build() { vsed -i rules.mk \ diff --git a/srcpkgs/spreed-webrtc/template b/srcpkgs/spreed-webrtc/template index 7baa339cc7e..4480b5dabec 100644 --- a/srcpkgs/spreed-webrtc/template +++ b/srcpkgs/spreed-webrtc/template @@ -13,6 +13,7 @@ license="AGPL-3.0-or-later" homepage="https://github.com/strukturag/spreed-webrtc" distfiles="https://github.com/strukturag/spreed-webrtc/archive/v${version}.tar.gz" checksum=d05b820fe3883840eadf8b96bda663397991849d9bda4750fc7c4e642c9c3268 +patch_args=-Np0 system_accounts="_spreed_webrtc" diff --git a/srcpkgs/sqmail/template b/srcpkgs/sqmail/template index 78c0af18ead..ac118d931df 100644 --- a/srcpkgs/sqmail/template +++ b/srcpkgs/sqmail/template @@ -16,6 +16,7 @@ nocross="custom build system" provides="smtp-server-0_1" replaces="smtp-server>=0" conf_files="/etc/sv/*/run /etc/sv/*/log/run" +patch_args=-Np0 system_groups="_nofiles:798 _sqmail:799" diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template index d49d6c5602a..f66e2db5391 100644 --- a/srcpkgs/squashfs-tools/template +++ b/srcpkgs/squashfs-tools/template @@ -12,6 +12,7 @@ short_desc="Tool to create and append to squashfs filesystems" maintainer="Duncaen " distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz" checksum=a981b3f3f2054b5a2e658851a3c06a2460ad04a9a8a645e0afe063a63fdbb07e +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/srb2/template b/srcpkgs/srb2/template index 08a2bff0886..de8c22c3a5b 100644 --- a/srcpkgs/srb2/template +++ b/srcpkgs/srb2/template @@ -19,6 +19,7 @@ distfiles="https://github.com/STJr/SRB2/archive/SRB2_release_${version}.tar.gz checksum="5f7eeb08e90323e28cdcb02ad25c904eef25ce75316720609b995a1e4ffd154a 48cf787a70f44b31fa7a56db4053a404a7103a494f1e09fd2bbfd563672a3534" restricted=yes +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686*) makedepends+=" nasm" ;; diff --git a/srcpkgs/ssoma/template b/srcpkgs/ssoma/template index 9fbee6bead1..7de2723c4bc 100644 --- a/srcpkgs/ssoma/template +++ b/srcpkgs/ssoma/template @@ -14,6 +14,7 @@ license="AGPL-3.0-or-later" homepage="https://ssoma.public-inbox.org/" distfiles="https://ssoma.public-inbox.org/files/${pkgname}-${version}.tar.gz" checksum=7455bafb344aaa8eeac78ae5efcca2384d11baface1194c35bafd30353168faf +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/sssd/template b/srcpkgs/sssd/template index 61ead1c9e44..758022a785c 100644 --- a/srcpkgs/sssd/template +++ b/srcpkgs/sssd/template @@ -32,6 +32,7 @@ python_version=3 nocross="configure attempts to run compiled output" # These modules in /usr/lib/sssd are required by sssd-python3 shlib_provides="libsss_util.so libsss_crypt.so libsss_debug.so" +patch_args=-Np0 do_check() { export CK_TIMEOUT_MULTIPLIER=10 diff --git a/srcpkgs/stack/template b/srcpkgs/stack/template index 257aba10e50..7a4ddad1a02 100644 --- a/srcpkgs/stack/template +++ b/srcpkgs/stack/template @@ -17,6 +17,7 @@ checksum="f29d63b91ff2bddd130b29ddee90a1f450706271a13d5d80b653b50379ffa076 skip_extraction="cabal.config-${_stackage}" nocross=yes nopie_files="/usr/bin/stack" +patch_args=-Np0 do_build() { cp ${XBPS_SRCDISTDIR}/${pkgname}-${version}/cabal.config-${_stackage} cabal.config diff --git a/srcpkgs/starplot/template b/srcpkgs/starplot/template index ccc2232d460..0c5bbe72944 100644 --- a/srcpkgs/starplot/template +++ b/srcpkgs/starplot/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://starplot.org/" distfiles="${homepage}downloads/${pkgname}-${version}.tar.gz" checksum=e320f141b736b3a6468e7d0c08a93961db6615e9eb4d533d554eea31c3fa845a +patch_args=-Np0 pre_build() { sed -i 's/_STRINGS_H/V_STRINGS_H/' src/classes/strings.h diff --git a/srcpkgs/stepmania/template b/srcpkgs/stepmania/template index 07afdba93ce..0da6a45d775 100644 --- a/srcpkgs/stepmania/template +++ b/srcpkgs/stepmania/template @@ -14,6 +14,7 @@ license="MIT" homepage="http://www.stepmania.com/" distfiles="https://github.com/stepmania/stepmania/archive/v${version}.tar.gz" checksum=df79bcadd69d4ed60cf560d45386ec275181343495ffd744c3ff8f73c83d4755 +patch_args=-Np0 # Upstream has stated that only x86 hardware can meed the performance # constraints and that musl is not supported due to interop issues diff --git a/srcpkgs/stfl/template b/srcpkgs/stfl/template index 0d970c9d2c2..f38cd252e8a 100644 --- a/srcpkgs/stfl/template +++ b/srcpkgs/stfl/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="http://www.clifford.at/stfl/" distfiles="http://www.clifford.at/${pkgname}/${pkgname}-${version}.tar.gz" checksum=d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090 +patch_args=-Np0 post_install() { ln -sf libstfl.so.${version} ${DESTDIR}/usr/lib/libstfl.so.0 diff --git a/srcpkgs/stk/template b/srcpkgs/stk/template index 42b5918ced6..d0eecb39a8f 100644 --- a/srcpkgs/stk/template +++ b/srcpkgs/stk/template @@ -16,6 +16,7 @@ license="custom:MIT-like" homepage="https://ccrma.stanford.edu/software/stk/" distfiles="https://github.com/thestk/stk/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=8e0c362dd82421bae8f3e789d238a1c27aeac1a2697d7830eb51abc90fc17281 +patch_args=-Np0 pre_configure() { NOCONFIGURE=1 autoreconf -fi diff --git a/srcpkgs/stlink/template b/srcpkgs/stlink/template index 06f39a7cf25..e6b504938b5 100644 --- a/srcpkgs/stlink/template +++ b/srcpkgs/stlink/template @@ -14,6 +14,7 @@ homepage="https://github.com/texane/stlink" changelog="https://raw.githubusercontent.com/texane/stlink/master/CHANGELOG.md" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=ca9a640f84c3e2c9873bd51759594bc05c00cdf6e1f21b434ae2c0e7985433d8 +patch_args=-Np0 post_install() { vlicense LICENSE.md LICENSE diff --git a/srcpkgs/stockfish/template b/srcpkgs/stockfish/template index 1749c9c3692..24ccc14fa43 100644 --- a/srcpkgs/stockfish/template +++ b/srcpkgs/stockfish/template @@ -18,6 +18,7 @@ distfiles="https://github.com/official-stockfish/Stockfish/archive/sf_${version} checksum="15d14721b3be17c597535bdbb44fb951a1ee948312d90fbf55fa0e52b8b81d62 62ef826d1a6d11b9e814188025aa02a60815c037292e0ef9bbb9bf4f724e5e63" skip_extraction="${_net_file}" +patch_args=-Np0 LDFLAGS+="-lpthread -Wl,-z,stack-size=2097152" diff --git a/srcpkgs/strawberry/template b/srcpkgs/strawberry/template index 35828b1e3c2..1d51eaf7fc2 100644 --- a/srcpkgs/strawberry/template +++ b/srcpkgs/strawberry/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://www.strawberrymusicplayer.org/" distfiles="https://files.strawberrymusicplayer.org/${pkgname}-${version}.tar.xz" checksum=0fe9c38c4d1e2f10c1130dbd87ea6e740bef729fe78820a84ffabe524a80c83e +patch_args=-Np0 build_options="qt6" build_options_default="" diff --git a/srcpkgs/subversion-kwallet-auth/template b/srcpkgs/subversion-kwallet-auth/template index 12210f250d5..00ad190384b 100644 --- a/srcpkgs/subversion-kwallet-auth/template +++ b/srcpkgs/subversion-kwallet-auth/template @@ -24,6 +24,7 @@ changelog="https://subversion.apache.org/docs/release-notes/${version%.*}.html" distfiles="http://apache.uvigo.es/subversion/subversion-${version}.tar.bz2" checksum=2c5da93c255d2e5569fa91d92457fdb65396b0666fad4fd59b22e154d986e1a9 lib32disabled=yes +patch_args=-Np0 pre_configure() { # Based on native build values diff --git a/srcpkgs/subversion/template b/srcpkgs/subversion/template index e10c80ec8b1..70b4cedbfa6 100644 --- a/srcpkgs/subversion/template +++ b/srcpkgs/subversion/template @@ -22,6 +22,7 @@ homepage="http://subversion.apache.org/" changelog="https://subversion.apache.org/docs/release-notes/${version%.*}.html" distfiles="http://apache.uvigo.es/subversion/subversion-${version}.tar.bz2" checksum=2c5da93c255d2e5569fa91d92457fdb65396b0666fad4fd59b22e154d986e1a9 +patch_args=-Np0 pre_configure() { # Based on native build values diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template index f70418dd6b7..cae14ef1cf4 100644 --- a/srcpkgs/sudo/template +++ b/srcpkgs/sudo/template @@ -18,6 +18,7 @@ distfiles="https://www.sudo.ws/dist/sudo-${version}.tar.gz" checksum=2bbe7c2d6699b84d950ef9a43f09d4d967b8bc244b73bc095c4202068ddbe549 conf_files="/etc/pam.d/sudo /etc/sudoers" lib32disabled=yes +patch_args=-Np0 post_configure() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/sudoku/template b/srcpkgs/sudoku/template index 606bdd9557c..a863e9f84bd 100644 --- a/srcpkgs/sudoku/template +++ b/srcpkgs/sudoku/template @@ -10,6 +10,7 @@ license="Public Domain" homepage="https://github.com/cinemast/sudoku" distfiles="https://github.com/cinemast/sudoku/archive/v${version}.tar.gz" checksum=3ce6d9b237546d4ac7cdb7a6bb0e47d5c99e696a710b8935bce40dc706d32ff2 +patch_args=-Np0 do_install() { vbin sudoku diff --git a/srcpkgs/sunxi-tools/template b/srcpkgs/sunxi-tools/template index f4f547c7947..e88e962b593 100644 --- a/srcpkgs/sunxi-tools/template +++ b/srcpkgs/sunxi-tools/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/linux-sunxi/sunxi-tools" distfiles="$homepage/archive/$_commit.tar.gz" checksum=93922d654df5153d468b0f7900f96fe858fe457894ff2dd0f5dfb5c94b65475b +patch_args=-Np0 CFLAGS="-std=c99 -I./include" diff --git a/srcpkgs/supercollider/template b/srcpkgs/supercollider/template index c7a878f91c0..421b50cf8aa 100644 --- a/srcpkgs/supercollider/template +++ b/srcpkgs/supercollider/template @@ -18,6 +18,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/supercollider/supercollider" distfiles="https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source.tar.bz2" checksum=2dd2f8179a55de4735ac940e2e2d0df4e68cc3a33172628e4dd99ae89c74856b +patch_args=-Np0 export CMAKE_GENERATOR="Unix Makefiles" diff --git a/srcpkgs/supertux2/template b/srcpkgs/supertux2/template index 4c39b458dad..75b6b37e3db 100644 --- a/srcpkgs/supertux2/template +++ b/srcpkgs/supertux2/template @@ -20,5 +20,6 @@ homepage="https://supertux.github.io/" distfiles="https://github.com/SuperTux/supertux/releases/download/v${version}/SuperTux-v${version}-Source.tar.gz" checksum=26a9e56ea2d284148849f3239177d777dda5b675a10ab2d76ee65854c91ff598 replaces="supertux2-data>=0" +patch_args=-Np0 export CMAKE_GENERATOR="Unix Makefiles" diff --git a/srcpkgs/supertuxkart/template b/srcpkgs/supertuxkart/template index 519bc615782..aa4734caa91 100644 --- a/srcpkgs/supertuxkart/template +++ b/srcpkgs/supertuxkart/template @@ -17,6 +17,7 @@ license="GPL-3.0-or-later" homepage="https://supertuxkart.net" distfiles="https://github.com/${pkgname}/stk-code/releases/download/${version}/SuperTuxKart-${version}-src.tar.xz" checksum=052edf0afdbeb99583fe8676fb0ab80ecb6103fb88b7540f858d1b5fa1297d37 +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/sutils/template b/srcpkgs/sutils/template index 640b14ce66d..6ecc796f206 100644 --- a/srcpkgs/sutils/template +++ b/srcpkgs/sutils/template @@ -10,6 +10,7 @@ license="Unlicense" homepage="https://github.com/baskerville/sutils/" distfiles="https://github.com/baskerville/sutils/archive/${version}.tar.gz" checksum=da8cccace32094430be572cf59d85256023edf9107b12c926c7beb29586c56a3 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/sway/template b/srcpkgs/sway/template index 4a77658518e..dd880002893 100644 --- a/srcpkgs/sway/template +++ b/srcpkgs/sway/template @@ -15,6 +15,7 @@ license="MIT" homepage="https://swaywm.org" distfiles="https://github.com/swaywm/${pkgname}/archive/${version}.tar.gz" checksum=9ecfd2f38239f7e90922a13cd348fc95fc059e8fa0e4b75b8ffcc7b61685a5fb +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/swiften/template b/srcpkgs/swiften/template index 969ef1eb5d7..f549e1abcb4 100644 --- a/srcpkgs/swiften/template +++ b/srcpkgs/swiften/template @@ -12,6 +12,7 @@ license="GPL-3.0-only" homepage="http://swift.im/" distfiles="http://swift.im/git/swift/snapshot/swift-${version}.tar.bz2" checksum=6a3f93e807afb51f1b8ab6ec8fef379dfcc50ba71fef6abeee7c123348da66b0 +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/sword/template b/srcpkgs/sword/template index 13240a99316..15a4213b6d5 100644 --- a/srcpkgs/sword/template +++ b/srcpkgs/sword/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="https://crosswire.org/sword/index.jsp" distfiles="https://crosswire.org/ftpmirror/pub/sword/source/v1.8/sword-${version}.tar.gz" checksum=ce9aa8f721a737f406115d35ff438bd07c829fce1605f0d6dcdabc4318bc5e93 +patch_args=-Np0 CXXFLAGS=' -DU_USING_ICU_NAMESPACE=1' diff --git a/srcpkgs/sxiv/template b/srcpkgs/sxiv/template index 3baaa111f61..f5a5adc2b26 100644 --- a/srcpkgs/sxiv/template +++ b/srcpkgs/sxiv/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/muennich/sxiv" distfiles="https://github.com/muennich/sxiv/archive/v${version}.tar.gz" checksum=a382ad57734243818e828ba161fc0357b48d8f3a7f8c29cac183492b46b58949 +patch_args=-Np0 pre_build() { [ -e ${FILESDIR}/config.h ] && cp ${FILESDIR}/config.h config.h ||: diff --git a/srcpkgs/sylpheed/template b/srcpkgs/sylpheed/template index 5df8312b53d..a37c3ced4ec 100644 --- a/srcpkgs/sylpheed/template +++ b/srcpkgs/sylpheed/template @@ -13,6 +13,7 @@ homepage="http://sylpheed.sraoss.jp" distfiles="http://sylpheed.sraoss.jp/sylpheed/v${version%.*}/$pkgname-$version.tar.bz2" checksum=eb23e6bda2c02095dfb0130668cf7c75d1f256904e3a7337815b4da5cb72eb04 lib32disabled=yes +patch_args=-Np0 pre_configure() { aclocal -I ac diff --git a/srcpkgs/synergy/template b/srcpkgs/synergy/template index 0c4f3b4f130..79bcf7db11f 100644 --- a/srcpkgs/synergy/template +++ b/srcpkgs/synergy/template @@ -15,6 +15,7 @@ license="GPL-2.0-only" homepage="http://synergy-foss.org/" distfiles="https://github.com/symless/synergy-core/archive/v${version}-stable.tar.gz" checksum=a57989dd2d3ae30657f2b95cba3cae112c189f9bbbc3d1b25b3874859afeb94d +patch_args=-Np0 post_install() { vmkdir usr/share/examples/${pkgname} diff --git a/srcpkgs/synfigstudio/template b/srcpkgs/synfigstudio/template index 3e40a99fb28..a04916c7868 100644 --- a/srcpkgs/synfigstudio/template +++ b/srcpkgs/synfigstudio/template @@ -14,6 +14,7 @@ distfiles="https://github.com/synfig/synfig/releases/download/v${version}/synfig checksum=af9a9b0064064907ae24a693b607dcba633a8a2cd45fa1357f61c035efd6020e python_version=3 CXXFLAGS="-Wno-deprecated-copy -DHAVE_LOCALE_H=1" +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then # uses synfig to create some icons diff --git a/srcpkgs/sysbench/template b/srcpkgs/sysbench/template index e2fe7be0cc8..88a162b2dc8 100644 --- a/srcpkgs/sysbench/template +++ b/srcpkgs/sysbench/template @@ -17,6 +17,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/akopytov/sysbench" distfiles="https://github.com/akopytov/sysbench/archive/${version}.tar.gz" checksum=e8ee79b1f399b2d167e6a90de52ccc90e52408f7ade1b9b7135727efe181347f +patch_args=-Np0 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/sysdig/template b/srcpkgs/sysdig/template index 8932775a781..71289530034 100644 --- a/srcpkgs/sysdig/template +++ b/srcpkgs/sysdig/template @@ -23,6 +23,7 @@ checksum=b9d05854493d245a7a7e75f77fc654508f720aab5e5e8a3a932bd8eb54e49bda disable_parallel_build=yes dkms_modules="sysdig ${version}" nocross=yes +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) configure_args+=" -DMUSL_OPTIMIZED_BUILD=On" diff --git a/srcpkgs/sysexxer-ng/template b/srcpkgs/sysexxer-ng/template index 18b2a6e776a..e09476331df 100644 --- a/srcpkgs/sysexxer-ng/template +++ b/srcpkgs/sysexxer-ng/template @@ -11,6 +11,7 @@ license="BSL-1.0" homepage="https://github.com/linuxmao-org/sysexxer-ng" distfiles="${homepage}/releases/download/v${version}/sysexxer-ng-${version}.tar.gz" checksum=66e2eb66b7ab34b8287bba3230009a311b7db1870c47911049666c523fced5a9 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/sysprof/template b/srcpkgs/sysprof/template index eae51ea7356..39ea0ae1b9c 100644 --- a/srcpkgs/sysprof/template +++ b/srcpkgs/sysprof/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later, GPL-3.0-or-later" homepage="http://sysprof.com/" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=8bcd728dc2f74e6f589410370dfb1b8801468bb3cc1803aa240735a7cff241ce +patch_args=-Np0 # for ITS rules if [ "$CROSS_BUILD" ]; then diff --git a/srcpkgs/taskd/template b/srcpkgs/taskd/template index 41450116671..8ab72bc17ef 100644 --- a/srcpkgs/taskd/template +++ b/srcpkgs/taskd/template @@ -11,6 +11,7 @@ license="MIT" homepage="http://taskwarrior.org" distfiles="http://taskwarrior.org/download/${pkgname}-${version}.tar.gz" checksum=7b8488e687971ae56729ff4e2e5209ff8806cf8cd57718bfd7e521be130621b4 +patch_args=-Np0 system_accounts="taskd" taskd_homedir="/var/lib/taskd" diff --git a/srcpkgs/tbb/template b/srcpkgs/tbb/template index aeef6ebdd06..17fad3bc5e3 100644 --- a/srcpkgs/tbb/template +++ b/srcpkgs/tbb/template @@ -13,6 +13,7 @@ license="Apache-2.0" homepage="https://www.threadingbuildingblocks.org" distfiles="https://github.com/oneapi-src/oneTBB/archive/${_ver}.tar.gz" checksum=2103cc6238c935664f87680618f6684d57501d4a2fa8ea8f6c97ad6ff7dc722a +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in x86_64*) diff --git a/srcpkgs/tc-play/template b/srcpkgs/tc-play/template index 0f49755ebaf..85cd91f5d7d 100644 --- a/srcpkgs/tc-play/template +++ b/srcpkgs/tc-play/template @@ -14,6 +14,7 @@ license="BSD-2-clause" homepage="https://github.com/bwalex/tc-play" distfiles="https://github.com/bwalex/${pkgname}/archive/v${version}.tar.gz" checksum=ad53cd814a23b4f61a1b2b6dc2539624ffb550504c400c45cbd8cd1da4c7d90a +patch_args=-Np0 pre_build() { sed -i Makefile.classic -e"s; -o tcplay; ${LDFLAGS}&;" diff --git a/srcpkgs/tcl/template b/srcpkgs/tcl/template index d36663d8b1f..e2027342836 100644 --- a/srcpkgs/tcl/template +++ b/srcpkgs/tcl/template @@ -16,6 +16,7 @@ license="TCL" homepage="http://www.tcl.tk" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}${version}-src.tar.gz" checksum=8c0486668586672c5693d7d95817cb05a18c5ecca2f40e2836b9578064088258 +patch_args=-Np0 shlib_provides="libtcl${version%.*}.so" diff --git a/srcpkgs/tcpdump/template b/srcpkgs/tcpdump/template index 1956a1ce16b..724a066b8a2 100644 --- a/srcpkgs/tcpdump/template +++ b/srcpkgs/tcpdump/template @@ -12,6 +12,7 @@ homepage="https://www.tcpdump.org" changelog="https://www.tcpdump.org/tcpdump-changes.txt" distfiles="https://www.tcpdump.org/release/${pkgname}-${version}.tar.gz" checksum=79b36985fb2703146618d87c4acde3e068b91c553fb93f021a337f175fd10ebe +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/teensy_loader_cli/template b/srcpkgs/teensy_loader_cli/template index 267415fa156..a02e5ea78fe 100644 --- a/srcpkgs/teensy_loader_cli/template +++ b/srcpkgs/teensy_loader_cli/template @@ -11,6 +11,7 @@ license="GPL-3" homepage="http://www.pjrc.com/teensy/loader_cli.html" distfiles="https://github.com/PaulStoffregen/teensy_loader_cli/archive/${version}.tar.gz" checksum=5c36fe45b9a3a71ac38848b076cd692bf7ca8826a69941c249daac3a1d95e388 +patch_args=-Np0 do_install() { vbin teensy_loader_cli diff --git a/srcpkgs/teeworlds/template b/srcpkgs/teeworlds/template index 268c85e43ac..69c907e600c 100644 --- a/srcpkgs/teeworlds/template +++ b/srcpkgs/teeworlds/template @@ -10,6 +10,7 @@ license="custom" homepage="https://www.teeworlds.com" distfiles="https://github.com/teeworlds/teeworlds/archive/${version}.tar.gz" checksum=6e67846b38750d2a372d7835fa3775db016458a20a85aa52f1c758102ddd4abe +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in i686) _ARCH=x86;; diff --git a/srcpkgs/telegram-desktop/template b/srcpkgs/telegram-desktop/template index 30a1d2ec6ee..f0026056b7d 100644 --- a/srcpkgs/telegram-desktop/template +++ b/srcpkgs/telegram-desktop/template @@ -26,6 +26,7 @@ homepage="https://desktop.telegram.org/" changelog="https://github.com/telegramdesktop/tdesktop/blob/v${version}/changelog.txt" distfiles="https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz" checksum=97526f0b4adf04cf86b605ae84f3efaacf58eb8f828bab8f4fe752a4fac62fb2 +patch_args=-Np0 build_options="spellcheck" build_options_default="spellcheck" diff --git a/srcpkgs/telepathy-mission-control/template b/srcpkgs/telepathy-mission-control/template index f539aa07f1c..a2c3275fcf6 100644 --- a/srcpkgs/telepathy-mission-control/template +++ b/srcpkgs/telepathy-mission-control/template @@ -15,6 +15,7 @@ license="LGPL-2.1-or-later" homepage="http://telepathy.freedesktop.org" distfiles="${homepage}/releases/${pkgname}/${pkgname}-${version}.tar.gz" checksum=4c6b433b8b9079fd7df3e29aefcad6755a2081a9a634ffb6b33936c7d0d8bd03 +patch_args=-Np0 telepathy-mission-control-devel_package() { depends="telepathy-glib-devel>=0.22 ${sourcepkg}>=${version}" diff --git a/srcpkgs/tepl/template b/srcpkgs/tepl/template index 2213a79cc0f..ec5879500ca 100644 --- a/srcpkgs/tepl/template +++ b/srcpkgs/tepl/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://wiki.gnome.org/Projects/Tepl" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=a86397a895dca9c0de7a5ccb063bda8f7ef691cccb950ce2cfdee367903e7a63 +patch_args=-Np0 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/terminal_markdown_viewer/template b/srcpkgs/terminal_markdown_viewer/template index b13f8ac93fb..0093b049b9a 100644 --- a/srcpkgs/terminal_markdown_viewer/template +++ b/srcpkgs/terminal_markdown_viewer/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://github.com/axiros/terminal_markdown_viewer" distfiles="${homepage}/archive/${version}.tar.gz" checksum=58dbdf8c051a2d7f8c00e4dc13c655c335cbc2bc96851dd0388d73a21c4507b6 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/tesseract-ocr/template b/srcpkgs/tesseract-ocr/template index 7ed37c53c84..c6c574f4c48 100644 --- a/srcpkgs/tesseract-ocr/template +++ b/srcpkgs/tesseract-ocr/template @@ -18,6 +18,7 @@ distfiles=" https://github.com/tesseract-ocr/tessdata/archive/${_tessdataver}.tar.gz>tessdata-${_tessdataver}.tar.gz" checksum="2a66ff0d8595bff8f04032165e6c936389b1e5727c3ce5a27b3e059d218db1cb 38c637d3a1763f6c3d32e8f1d979f045668676ec5feb8ee1869ee77cedd31b08" +patch_args=-Np0 build_options="openmp" build_options_default="openmp" diff --git a/srcpkgs/tesseract/template b/srcpkgs/tesseract/template index 5eca40635fd..e073eee8879 100644 --- a/srcpkgs/tesseract/template +++ b/srcpkgs/tesseract/template @@ -12,6 +12,7 @@ license="zlib" homepage="http://tesseract.gg/" distfiles="http://download.tuxfamily.org/tesseract/tesseract_2014_05_12_first_edition_linux.tar.xz" checksum=8d6e07dd154a40a3f593e52289335c036f06cf90a0ebc400c4650adb3395a0f4 +patch_args=-Np0 pre_build() { for dim in 16 32 48 64 128 256 512; do diff --git a/srcpkgs/tevent/template b/srcpkgs/tevent/template index 731d707efaa..86bbe45ef74 100644 --- a/srcpkgs/tevent/template +++ b/srcpkgs/tevent/template @@ -16,6 +16,7 @@ license="GPL-3.0-or-later" homepage="https://tevent.samba.org" distfiles="https://ftp.samba.org/pub/tevent/tevent-${version}.tar.gz" checksum=f8427822e5b2878fb8b28d6f50d96848734f3f3130612fb574fdd2d2148a6696 +patch_args=-Np0 export PYTHON_CONFIG="${XBPS_CROSS_BASE}/usr/bin/python3-config" diff --git a/srcpkgs/texi2mdoc/template b/srcpkgs/texi2mdoc/template index 1d3eceaee50..d6b6bd659a8 100644 --- a/srcpkgs/texi2mdoc/template +++ b/srcpkgs/texi2mdoc/template @@ -9,6 +9,7 @@ license="ISC" homepage="http://mdocml.bsd.lv/texi2mdoc" distfiles="http://mdocml.bsd.lv/texi2mdoc/snapshots/${pkgname}-${version}.tgz" checksum=7a45fd87c27cc8970a18db9ddddb2f09f18b8dd5152bf0ca377c3a5e7d304bfe +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" diff --git a/srcpkgs/texlab/template b/srcpkgs/texlab/template index c61ac718f0a..33cffac2c27 100644 --- a/srcpkgs/texlab/template +++ b/srcpkgs/texlab/template @@ -11,6 +11,7 @@ distfiles="https://github.com/latex-lsp/${pkgname}/archive/v${version}.tar.gz https://github.com/salsa-rs/salsa/archive/v0.13.2.tar.gz" checksum="04978b118b455607b5debd0a886f0728ca6c498289d2a0c60d8f83b316dc5ebc 2e33e20d22692f6bcd4d638392b9c2cfb716bcd28998e809db0dd88be4f70a31" +patch_args=-Np0 post_extract() { mv ../salsa-* salsa diff --git a/srcpkgs/texlive/template b/srcpkgs/texlive/template index b9a19c12a34..bbbf04254bf 100644 --- a/srcpkgs/texlive/template +++ b/srcpkgs/texlive/template @@ -81,6 +81,7 @@ checksum=e32f3d08cbbbcf21d8d3f96f2143b64a1f5e4cb01b06b761d6249c8785249078 python_version=3 # Virtual package cares only about year part of version provides="tex-${version%${version#????}}_1" +patch_args=-Np0 if [ "$CROSS_BUILD" ] ; then # Tangle is required for cross compile diff --git a/srcpkgs/texstudio/template b/srcpkgs/texstudio/template index 9ae4a1805c9..b6462e01917 100644 --- a/srcpkgs/texstudio/template +++ b/srcpkgs/texstudio/template @@ -18,6 +18,7 @@ homepage="https://texstudio.org/" changelog="https://raw.githubusercontent.com/texstudio-org/texstudio/master/utilities/manual/CHANGELOG.txt" distfiles="https://github.com/texstudio-org/texstudio/archive/${version}.tar.gz" checksum=7251f8e6f2b17395c428e9ff13bfc2c58e5f07ec09aae1036ab912dcf89f6fad +patch_args=-Np0 build_options="phonon poppler" desc_option_phonon="build with phonon (=media support for pdf preview)" diff --git a/srcpkgs/textosaurus/template b/srcpkgs/textosaurus/template index 5223d1f5566..bc317d47955 100644 --- a/srcpkgs/textosaurus/template +++ b/srcpkgs/textosaurus/template @@ -16,6 +16,7 @@ distfiles="${homepage}/archive/${version}.tar.gz https://github.com/martinrotter/scintilla/archive/${_scommit}.tar.gz" checksum="82093b6c8725d104498ce4a66e4cf5a3aa1f057b34600bd5d67413dce9bff2cf fad739e3493dea0f7435114ac936dc255d3b1471bd61c7e7349845ab626b95d9" +patch_args=-Np0 post_extract() { cp -Trp ${XBPS_BUILDDIR}/scintilla-${_scommit} ${wrksrc}/src/libtextosaurus/3rd-party/scintilla diff --git a/srcpkgs/texworks/template b/srcpkgs/texworks/template index 87ca8404934..92402d6d98e 100644 --- a/srcpkgs/texworks/template +++ b/srcpkgs/texworks/template @@ -16,6 +16,7 @@ license="GPL-2.0-or-later" homepage="https://www.tug.org/texworks" distfiles="https://github.com/texworks/texworks/archive/release-${version}.tar.gz" checksum=b4695539b9666935d2c467cc618c7d79c174e2ec728e31f72df8534862a5c290 +patch_args=-Np0 do_check() { : # requires xserver diff --git a/srcpkgs/tgt/template b/srcpkgs/tgt/template index c5a638e6e3a..90a37ec9d1a 100644 --- a/srcpkgs/tgt/template +++ b/srcpkgs/tgt/template @@ -14,6 +14,7 @@ license="GPL-2.0-only" homepage="http://stgt.sourceforge.net/" distfiles="https://github.com/fujita/tgt/archive/v${version}.tar.gz" checksum=e2255482f1a2797c115a6d545c37428b10a4ba6276a2af787da5378fa4e34e75 +patch_args=-Np0 post_extract() { sed -i 's/CFLAGS/MYCFLAGS/; s/\$(MYCFLAGS)/& $(CFLAGS) -Wno-error=stringop-truncation/g' usr/Makefile diff --git a/srcpkgs/thingylaunch/template b/srcpkgs/thingylaunch/template index 5e862376125..6db8f5ef127 100644 --- a/srcpkgs/thingylaunch/template +++ b/srcpkgs/thingylaunch/template @@ -12,6 +12,7 @@ license="BSD" homepage="https://gahr.ch/thingylaunch/" distfiles="https://github.com/gahr/${pkgname}/archive/${version}.tar.gz" checksum=4d9cc6b826bddb3d02836f721316bfc24c2b31f75c9c2d5077ae162eb3d60b60 +patch_args=-Np0 post_install() { vlicense COPYRIGHT diff --git a/srcpkgs/thunderbird/template b/srcpkgs/thunderbird/template index 72155ef786e..4d152829f94 100644 --- a/srcpkgs/thunderbird/template +++ b/srcpkgs/thunderbird/template @@ -12,6 +12,7 @@ license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://www.thunderbird.net/" distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz" checksum=ad070eb27ed5087819b62495e8f96ec0c8d8827598c415648c69ef989c634676 +patch_args=-Np0 lib32disabled=yes diff --git a/srcpkgs/tickr/template b/srcpkgs/tickr/template index 285e2419fcc..5bd58b02022 100644 --- a/srcpkgs/tickr/template +++ b/srcpkgs/tickr/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="https://www.open-tickr.net/" distfiles="https://www.open-tickr.net/src/${pkgname}-${version}.tar.gz" checksum=37dd2d970cd9bf9b0ebc5e6cbf6605ea460008f577a43a7500e506e9dffcd802 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in arm*|ppc64|ppc) configure_args+=" LIBS=-lm" ;; diff --git a/srcpkgs/tidy5/template b/srcpkgs/tidy5/template index 616b746d8cd..eecaf052f7d 100644 --- a/srcpkgs/tidy5/template +++ b/srcpkgs/tidy5/template @@ -14,6 +14,7 @@ license="W3C" homepage="http://www.htacg.org/${_reponame}/" distfiles="https://github.com/htacg/${_reponame}/archive/${version}.tar.gz" checksum=5caa2c769204f506e24ea4986a45abe23f71d14f0fe968314f20065f342ffdba +patch_args=-Np0 provides="tidy-${version}_${revision}" replaces="tidy>0" diff --git a/srcpkgs/tilp2/template b/srcpkgs/tilp2/template index 276c85e6e74..a8c9e0851d4 100644 --- a/srcpkgs/tilp2/template +++ b/srcpkgs/tilp2/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://www.ticalc.org" distfiles="${SOURCEFORGE_SITE}/tilp/tilp2-linux/tilp2-${version}/${pkgname}-${version}.tar.bz2" checksum=7b3ab363eeb52504d6ef5811c5d264f8016060bb7bd427be5a064c2ed7384e47 +patch_args=-Np0 pre_configure() { mkdir -p m4 diff --git a/srcpkgs/tinyxml/template b/srcpkgs/tinyxml/template index 29c19bb162d..291c14f84dd 100644 --- a/srcpkgs/tinyxml/template +++ b/srcpkgs/tinyxml/template @@ -9,6 +9,7 @@ homepage="http://www.grinninglizard.com/tinyxml/" license="zlib" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}_2_6_2.tar.gz" checksum=15bdfdcec58a7da30adc87ac2b078e4417dbe5392f3afb719f9ba6d062645593 +patch_args=-Np0 do_build() { # Fix Makefile diff --git a/srcpkgs/tlsh/template b/srcpkgs/tlsh/template index 4ee1ccdc728..a173f36f822 100644 --- a/srcpkgs/tlsh/template +++ b/srcpkgs/tlsh/template @@ -11,6 +11,7 @@ license="Apache-2.0, BSD-3-Clause" homepage="https://github.com/trendmicro/tlsh" distfiles="https://github.com/trendmicro/tlsh/archive/${version}.tar.gz" checksum=a8a7972d8bafb5fd66bd597b72037356dd9882e71a7e9b5f37281751a99ce686 +patch_args=-Np0 pre_configure() { vsed -i src/CMakeLists.txt -e 's/set(TLSH_SHARED_LIBRARY 0)/set(TLSH_SHARED_LIBRARY 1)/' diff --git a/srcpkgs/tmines/template b/srcpkgs/tmines/template index 7669477aea9..8a8a4f4a12a 100644 --- a/srcpkgs/tmines/template +++ b/srcpkgs/tmines/template @@ -10,6 +10,7 @@ license="MIT" homepage="https://github.com/tropf/tmines" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=7b5037c7cedd6c744ec63d10fa59b415e5e3654e52b0cfda561ac545af8576cf +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone";; diff --git a/srcpkgs/tnftp/template b/srcpkgs/tnftp/template index c0b75c164f2..362abdd4718 100644 --- a/srcpkgs/tnftp/template +++ b/srcpkgs/tnftp/template @@ -11,6 +11,7 @@ license="BSD" homepage="http://netbsd.gw.com/cgi-bin/man-cgi?ftp" distfiles="ftp://ftp.netbsd.org/pub/NetBSD/misc/${pkgname}/${pkgname}-${version}.tar.gz" checksum=ba4a92b693d04179664524eef0801c8eed4447941c9855f377f98f119f221c03 +patch_args=-Np0 alternatives=" ftp:ftp:/usr/bin/${pkgname} diff --git a/srcpkgs/tomahawk/template b/srcpkgs/tomahawk/template index 0edbacc5f8a..23cdba671dd 100644 --- a/srcpkgs/tomahawk/template +++ b/srcpkgs/tomahawk/template @@ -31,6 +31,7 @@ desc_option_hatchet="Enable support for http://hatchet.is" desc_option_kde="Enable support for KDE" desc_option_xmpp="Enable support for XMPP" build_options_default="xmpp upower" +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake" diff --git a/srcpkgs/tor/template b/srcpkgs/tor/template index 42370ea8ba2..eb10de66fa9 100644 --- a/srcpkgs/tor/template +++ b/srcpkgs/tor/template @@ -15,6 +15,7 @@ homepage="https://www.torproject.org/" changelog="https://gitweb.torproject.org/tor.git/plain/ReleaseNotes" distfiles="https://dist.torproject.org/tor-${version}.tar.gz" checksum=57ded091e8bcdcebb0013fe7ef4a4439827cb169358c7874fd05fa00d813e227 +patch_args=-Np0 conf_files="/etc/tor/torrc" system_accounts="tor" diff --git a/srcpkgs/torbrowser-launcher/template b/srcpkgs/torbrowser-launcher/template index 2d8ce5bf282..9634f108bb0 100644 --- a/srcpkgs/torbrowser-launcher/template +++ b/srcpkgs/torbrowser-launcher/template @@ -14,6 +14,7 @@ homepage="https://github.com/micahflee/torbrowser-launcher" changelog="https://raw.githubusercontent.com/micahflee/torbrowser-launcher/master/CHANGELOG.md" distfiles="https://github.com/micahflee/torbrowser-launcher/archive/v${version}.tar.gz" checksum=58b17bd5a9a6f35fe78d83e69fdf77919ffa8c2492b1add1d47aed6237794f93 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/touchegg/template b/srcpkgs/touchegg/template index 538277a2c68..a09ec963748 100644 --- a/srcpkgs/touchegg/template +++ b/srcpkgs/touchegg/template @@ -13,6 +13,7 @@ homepage="https://github.com/JoseExposito/touchegg" distfiles="https://github.com/JoseExposito/touchegg/archive/${version}.tar.gz" checksum=efff0f2011078cea15f2f130d1501714f8e3f82b7e883e81eccf956ac7966d0e system_accounts="_touchegg" +patch_args=-Np0 post_install() { # we don't want the package being installed to mean it should be autostarted diff --git a/srcpkgs/trace-cmd/template b/srcpkgs/trace-cmd/template index 34f9bcb40d4..4410e51bca9 100644 --- a/srcpkgs/trace-cmd/template +++ b/srcpkgs/trace-cmd/template @@ -16,6 +16,7 @@ homepage="http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git/" distfiles="http://git.kernel.org/cgit/linux/kernel/git/rostedt/${pkgname}.git/snapshot/${pkgname}-v${version}.tar.gz" checksum=9404fc3cf540ea795304608068c9db6cdb38b90584c7f3c43249785913d54b38 disable_parallel_build=yes +patch_args=-Np0 post_install() { vmkdir usr/share/bash-completion/completions diff --git a/srcpkgs/traceroute/template b/srcpkgs/traceroute/template index f92c929c300..4a65dc7fb2e 100644 --- a/srcpkgs/traceroute/template +++ b/srcpkgs/traceroute/template @@ -8,6 +8,7 @@ license="GPL-2" homepage="http://traceroute.sourceforge.net" distfiles="$SOURCEFORGE_SITE/$pkgname/$pkgname-$version.tar.gz" checksum=3669d22a34d3f38ed50caba18cd525ba55c5c00d5465f2d20d7472e5d81603b6 +patch_args=-Np0 alternatives=" traceroute:traceroute:/usr/bin/linux-traceroute diff --git a/srcpkgs/tracker/template b/srcpkgs/tracker/template index 810675677fe..c99b997dd55 100644 --- a/srcpkgs/tracker/template +++ b/srcpkgs/tracker/template @@ -18,6 +18,7 @@ license="GPL-2.0-or-later" homepage="https://live.gnome.org/Tracker" distfiles="${GNOME_SITE}/tracker/${version%.*}/tracker-${version}.tar.xz" checksum=bd1eb4122135296fa7b57b1c3fa0ed602cf7d06c0b8e534d0bd17ff5f97feef2 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" dbus" diff --git a/srcpkgs/tracker3-miners/template b/srcpkgs/tracker3-miners/template index 6ea8e49a1a5..47a75439b42 100644 --- a/srcpkgs/tracker3-miners/template +++ b/srcpkgs/tracker3-miners/template @@ -27,6 +27,7 @@ license="GPL-2.0-or-later" homepage="https://developer.gnome.org/libtracker-miner/stable" distfiles="${GNOME_SITE}/tracker-miners/${version%.*}/tracker-miners-${version}.tar.xz" checksum=c9be14871b1398e6e656a354a8f8f59e69e93169017f2b28308ef439324fd12b +patch_args=-Np0 # relies on unsupported ops in chroot do_check() { diff --git a/srcpkgs/transcode/template b/srcpkgs/transcode/template index 775cd09fc4e..518a9c20c1a 100644 --- a/srcpkgs/transcode/template +++ b/srcpkgs/transcode/template @@ -15,6 +15,7 @@ license="GPL-3.0-or-later" homepage="https://bitbucket.org/mojaves/transcode-tcforge" distfiles="https://bitbucket.org/mojaves/transcode-tcforge/get/release-1_1_7.tar.bz2" checksum=4693e3f4226f48fb37c8ae9609601724e8a276ca09f8686ddb43f8a255d994fe +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/transmission/template b/srcpkgs/transmission/template index 5a61a0a2bdd..794d5c49fff 100644 --- a/srcpkgs/transmission/template +++ b/srcpkgs/transmission/template @@ -14,6 +14,7 @@ license="MIT, GPL-2.0-or-later" homepage="https://www.transmissionbt.com" distfiles="https://github.com/transmission/transmission-releases/raw/master/${pkgname}-${version}.tar.xz" checksum=9144652fe742f7f7dd6657716e378da60b751aaeda8bef8344b3eefc4db255f2 +patch_args=-Np0 # Create transmission system user/group system_accounts="transmission" diff --git a/srcpkgs/treesheets/template b/srcpkgs/treesheets/template index 4cd41afbd93..fa39eb3426d 100644 --- a/srcpkgs/treesheets/template +++ b/srcpkgs/treesheets/template @@ -11,6 +11,7 @@ license="Zlib" homepage="http://strlen.com/treesheets/" distfiles="https://github.com/aardappel/treesheets/archive/v${version}.tar.gz" checksum=84eb82f122bc7be3ded399d2511536128911477a4a69c51b26b856de2160405f +patch_args=-Np0 do_install() { vmkdir usr/lib/${pkgname} diff --git a/srcpkgs/trinity/template b/srcpkgs/trinity/template index a7a561e89cb..77017a15a95 100644 --- a/srcpkgs/trinity/template +++ b/srcpkgs/trinity/template @@ -10,6 +10,7 @@ homepage="https://github.com/kernelslacker/trinity" distfiles="https://github.com/kernelslacker/trinity/archive/v${version}.tar.gz" checksum=9abd6cea3f6bd3b36794e038317d5ed6001dc52ad3b1cd7071f6cc7c5baecd3c nocross="Mis-use of memfd_create declaration" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/trojita/template b/srcpkgs/trojita/template index 8a291182b51..e12ea174966 100644 --- a/srcpkgs/trojita/template +++ b/srcpkgs/trojita/template @@ -14,6 +14,7 @@ license="GPL-2,GPL-3" homepage="http://trojita.flaska.net/" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.xz" checksum=e08da881721cafa00ecd772eaef6b99fd37d068cb703eeb532de0ed1ea0136d9 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/trousers/template b/srcpkgs/trousers/template index 5d962adec91..2f8044e52f4 100644 --- a/srcpkgs/trousers/template +++ b/srcpkgs/trousers/template @@ -15,6 +15,7 @@ homepage="http://trousers.sourceforge.net/" # distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" distfiles="https://sources.voidlinux.org/trousers-${version}/trousers-${version}.tar.gz" checksum=ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47 +patch_args=-Np0 make_dirs="/var/lib/tpm 0700 tss tss" diff --git a/srcpkgs/tsocks/template b/srcpkgs/tsocks/template index e1a8ff7ff7c..e24ac3e4832 100644 --- a/srcpkgs/tsocks/template +++ b/srcpkgs/tsocks/template @@ -12,6 +12,7 @@ license="GPL-2.0-only" homepage="http://tsocks.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/tsocks/tsocks-$version.tar.gz" checksum=849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/ttyrec/template b/srcpkgs/ttyrec/template index cff70746cc5..144b33595d6 100644 --- a/srcpkgs/ttyrec/template +++ b/srcpkgs/ttyrec/template @@ -8,6 +8,7 @@ license="BSD-4-Clause-UC" homepage="http://0xcc.net/ttyrec" distfiles="http://0xcc.net/ttyrec/${pkgname}-${version}.tar.gz" checksum=ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec +patch_args=-Np0 do_build() { sed -i 's/\$(CFLAGS)/$(LDFLAGS)/' Makefile diff --git a/srcpkgs/tup/template b/srcpkgs/tup/template index bb07b10f582..afd6a942f1b 100644 --- a/srcpkgs/tup/template +++ b/srcpkgs/tup/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="http://gittup.org/tup/index.html" distfiles="https://github.com/gittup/${pkgname}/archive/v${version}.tar.gz" checksum=9b0951afaa749186eb55d88860405b2f6b3d88632d1b5df1ec4a0bf973d8d326 +patch_args=-Np0 do_configure() { sed -i "s/git describe/echo ${version}/" src/tup/link.sh diff --git a/srcpkgs/turbovnc/template b/srcpkgs/turbovnc/template index 8bb508ee94a..77a81c1d8c1 100644 --- a/srcpkgs/turbovnc/template +++ b/srcpkgs/turbovnc/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://turbovnc.org" distfiles="${SOURCEFORGE_SITE}/turbovnc/${pkgname}-${version}.tar.gz" checksum=71ff553dbad24f8339e168fe90e09bc2b13c21e453f28276d0e5c9c408bd9de2 +patch_args=-Np0 conf_files="/etc/*.conf" archs="i686* x86_64* ppc64*" diff --git a/srcpkgs/txr/template b/srcpkgs/txr/template index bcbe6d85b0d..5ebfdb697eb 100644 --- a/srcpkgs/txr/template +++ b/srcpkgs/txr/template @@ -15,6 +15,7 @@ changelog="http://www.kylheku.com/cgit/txr/tree/RELNOTES" distfiles="http://www.kylheku.com/cgit/txr/snapshot/${pkgname}-${version}.tar.bz2" checksum=58e3e19bb7f3f9a440761f046fdacbc4d619b11c494a4ed9f8ad25c7a2974ddc nopie=yes +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" txr" diff --git a/srcpkgs/typespeed/template b/srcpkgs/typespeed/template index 52d5bf5291a..a2570048b47 100644 --- a/srcpkgs/typespeed/template +++ b/srcpkgs/typespeed/template @@ -12,6 +12,7 @@ homepage="http://typespeed.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum="5c860385ceed8a60f13217cc0192c4c2b4705c3e80f9866f7d72ff306eb72961" mutable_files="/var/games/typespeed.score" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/u2f-hidraw-policy/template b/srcpkgs/u2f-hidraw-policy/template index 26250c88a57..dc013c10cd8 100644 --- a/srcpkgs/u2f-hidraw-policy/template +++ b/srcpkgs/u2f-hidraw-policy/template @@ -11,6 +11,7 @@ license="LGPL-2.0-or-later" homepage="https://github.com/amluto/u2f-hidraw-policy" distfiles="${homepage}/archive/${version}.tar.gz" checksum=50e327a9df3dd3db3b292af41fb119cc4c8d9bc29abddfb442e972053bf5e6d1 +patch_args=-Np0 post_install() { vmkdir usr diff --git a/srcpkgs/u9fs/template b/srcpkgs/u9fs/template index 79decd0299d..adeadd264e5 100644 --- a/srcpkgs/u9fs/template +++ b/srcpkgs/u9fs/template @@ -12,6 +12,7 @@ license="custom:MIT-like" homepage="https://bitbucket.org/plan9-from-bell-labs/u9fs" distfiles="https://bitbucket.org/plan9-from-bell-labs/u9fs/get/${_commit}.tar.gz" checksum=201619c1c29bad1c9ed1bc886afe7b4965cfd0781b2296c9de87db10ba71615d +patch_args=-Np0 do_install() { vbin u9fs diff --git a/srcpkgs/ucspi-ssl/template b/srcpkgs/ucspi-ssl/template index 1f2c6c36793..c90b0c6c237 100644 --- a/srcpkgs/ucspi-ssl/template +++ b/srcpkgs/ucspi-ssl/template @@ -17,6 +17,7 @@ distfiles="http://www.fehcom.de/ipnet/ucspi-ssl/ucspi-ssl-${version}.tgz" checksum=e7fcd4ceec351a0f36b7d27188758709a6c095460ed4dce434e0c5d463c4c4ea # ad hoc build system breaks parallel build and cross-compilation disable_parallel_build="ad hoc build system breaks parallel build" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/udptunnel/template b/srcpkgs/udptunnel/template index dfc7ee1fe5e..79c54ae0ad6 100644 --- a/srcpkgs/udptunnel/template +++ b/srcpkgs/udptunnel/template @@ -10,6 +10,7 @@ license="BSD-3-Clause" homepage="http://www.cs.columbia.edu/~lennox/udptunnel/" distfiles="http://www.cs.columbia.edu/~lennox/udptunnel/udptunnel-${version}.tar.gz" checksum=45c0e12045735bc55734076ebbdc7622c746d1fe4e6f7267fa122e2421754670 +patch_args=-Np0 pre_configure() { autoreconf -vfi diff --git a/srcpkgs/ufoai/template b/srcpkgs/ufoai/template index 3b36cf0d6db..41c4c499889 100644 --- a/srcpkgs/ufoai/template +++ b/srcpkgs/ufoai/template @@ -22,6 +22,7 @@ checksum="0c7cc3bc9efeb276f71cbe6ee8ff7c76f98d183de79f1a069fa63059cf182a8f replaces="ufoai-data>=0" ignore_elf_dirs="/usr/share/ufoai" broken="game doesn't work" +patch_args=-Np0 # suppress a lot of warnings CXXFLAGS="-Wno-cast-align -Wno-cast-qual -Wno-inline" diff --git a/srcpkgs/ufraw/template b/srcpkgs/ufraw/template index 476435c6aba..8cec750cdaa 100644 --- a/srcpkgs/ufraw/template +++ b/srcpkgs/ufraw/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="http://ufraw.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/ufraw/ufraw/ufraw-${version}/ufraw-${version}.tar.gz" checksum=f7abd28ce587db2a74b4c54149bd8a2523a7ddc09bedf4f923246ff0ae09a25e +patch_args=-Np0 build_options="extras" diff --git a/srcpkgs/uftrace/template b/srcpkgs/uftrace/template index 9f4f44d4765..ed711e2f1c0 100644 --- a/srcpkgs/uftrace/template +++ b/srcpkgs/uftrace/template @@ -13,6 +13,7 @@ license="GPL-2.0-only" homepage="https://github.com/namhyung/uftrace" distfiles="https://github.com/namhyung/uftrace/archive/v${version}.tar.gz" checksum=b8b56d540ea95c3eafe56440d6a998e0a140d53ca2584916b6ca82702795bbd9 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone"; export LDFLAGS=-largp;; diff --git a/srcpkgs/uim/template b/srcpkgs/uim/template index 1a782b680f7..6ea0e07ba05 100644 --- a/srcpkgs/uim/template +++ b/srcpkgs/uim/template @@ -17,6 +17,7 @@ license="BSD-3-Clause" homepage="https://github.com/uim/uim/wiki" distfiles="https://github.com/uim/uim/releases/download/${version}/uim-${version}.tar.bz2" checksum=34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/ulauncher/template b/srcpkgs/ulauncher/template index 78888538e06..be7bdd1bdfc 100644 --- a/srcpkgs/ulauncher/template +++ b/srcpkgs/ulauncher/template @@ -15,6 +15,7 @@ license="GPL-3.0-or-later" homepage="https://ulauncher.io/" distfiles="https://github.com/Ulauncher/Ulauncher/releases/download/${version}/${pkgname}_${version}.tar.gz" checksum=c4433bb06d0d456a2e0eee8dc4d03de164f273290484f2380728c3936ca31e3a +patch_args=-Np0 pre_build() { export DISPLAY= diff --git a/srcpkgs/ulogd/template b/srcpkgs/ulogd/template index 55e9ae34a0e..98a990f5af4 100644 --- a/srcpkgs/ulogd/template +++ b/srcpkgs/ulogd/template @@ -15,6 +15,7 @@ distfiles="${homepage}/files/${pkgname}-${version}.tar.bz2" checksum=990a05494d9c16029ba0a83f3b7294fc05c756546b8d60d1c1572dc25249a92b CFLAGS="-D_GNU_SOURCE" system_accounts="_ulogd" +patch_args=-Np0 post_install() { vinstall ulogd.conf 644 etc diff --git a/srcpkgs/unison/template b/srcpkgs/unison/template index c3cb8e454c8..a9f349f00f7 100644 --- a/srcpkgs/unison/template +++ b/srcpkgs/unison/template @@ -10,6 +10,7 @@ homepage="http://www.cis.upenn.edu/~bcpierce/unison/" distfiles="https://github.com/bcpierce00/unison/archive/v${version}.tar.gz" checksum=0c287d17f52729440b2bdc28edf4d19b2d5ea5869983d78e780d501c5866914b nocross="OCaml does not cross compile" +patch_args=-Np0 do_build() { CFLAGS= make ${makejobs} UISTYLE=text DEBUGGING=false THREADS=true diff --git a/srcpkgs/unknown-horizons/template b/srcpkgs/unknown-horizons/template index 56404addb86..fa7dc8ad7ed 100644 --- a/srcpkgs/unknown-horizons/template +++ b/srcpkgs/unknown-horizons/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later, MIT, BSD-3-Clause, CC-BY-SY-3.0" homepage="http://unknown-horizons.org" distfiles="https://github.com/unknown-horizons/unknown-horizons/archive/${version}.tar.gz" checksum=a417fd3d342212fd190e4f21be82ef13c10e1ed7c288fbbe46e46200cf3de4d8 +patch_args=-Np0 pre_install() { python3 horizons/engine/generate_atlases.py 2048 diff --git a/srcpkgs/urbanterror/template b/srcpkgs/urbanterror/template index 947a12cf2d8..27453d5f8e5 100644 --- a/srcpkgs/urbanterror/template +++ b/srcpkgs/urbanterror/template @@ -12,6 +12,7 @@ homepage="https://github.com/Barbatos/ioq3-for-UrbanTerror-4" distfiles="https://github.com/Barbatos/ioq3-for-UrbanTerror-4/archive/release-${version}.tar.gz" checksum=ce9d09a8ad149f8a1d36a85a586e1dd8ec9b8dcb3e5e9e82ec2a33017655bf43 nocross=yes +patch_args=-Np0 do_build() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/urlview/template b/srcpkgs/urlview/template index 7fdbb311957..5144c2ea8b4 100644 --- a/srcpkgs/urlview/template +++ b/srcpkgs/urlview/template @@ -12,6 +12,7 @@ license="GPL-2.0" homepage="https://github.com/sigpipe/urlview" distfiles="https://gnupg.org/ftp/mutt/contrib/$pkgname-$version.tar.gz" checksum=74d18026e84e3cd70a3fdd1a7247a68031b0c1c1c6d761d64b7063ff71091cc3 +patch_args=-Np0 pre_configure() { sed -i '/install-data-local/,/^$/d' Makefile.am diff --git a/srcpkgs/usbguard/template b/srcpkgs/usbguard/template index c2c6829a13a..54ad0e6e9df 100644 --- a/srcpkgs/usbguard/template +++ b/srcpkgs/usbguard/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="https://usbguard.github.io" distfiles="https://github.com/USBGuard/usbguard/releases/download/usbguard-$version/usbguard-$version.tar.gz" checksum=5617986cd5dd1a2d311041648a1977d836cf4e33a4121d7f82599f21496abc42 +patch_args=-Np0 post_install() { vsv usbguard diff --git a/srcpkgs/uwm/template b/srcpkgs/uwm/template index 071a909fa44..f7fc99bf8be 100644 --- a/srcpkgs/uwm/template +++ b/srcpkgs/uwm/template @@ -10,5 +10,6 @@ license="GPL-2.0-only" homepage="http://udeproject.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/project/udeproject/UWM/uwm-${version}%20stable/uwm-${version}.tar.gz" checksum=dd056857c98b75c9203861917db33bcaf87ba074bdd204cf732ce4cb777cb408 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/uwsgi/template b/srcpkgs/uwsgi/template index 507987723d7..30dc164b333 100644 --- a/srcpkgs/uwsgi/template +++ b/srcpkgs/uwsgi/template @@ -10,6 +10,7 @@ license="GPL-2.0-linking-exception" homepage="http://projects.unbit.it/uwsgi" distfiles="https://github.com/unbit/uwsgi/archive/${version}.tar.gz" checksum=bf17cdbb9bd8bcb7c1633e34d9d7308cb4cc19eb0ff2d61057f840c1ba1fc41b +patch_args=-Np0 _libdir=usr/lib/uwsgi diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template index 6ef76bb1e90..590f2509212 100644 --- a/srcpkgs/v4l-utils/template +++ b/srcpkgs/v4l-utils/template @@ -14,6 +14,7 @@ homepage="http://freshmeat.net/projects/libv4l" distfiles="http://linuxtv.org/downloads/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=956118713f7ccb405c55c7088a6a2490c32d54300dd9a30d8d5008c28d3726f7 conf_files="/etc/rc_maps.cfg" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone" diff --git a/srcpkgs/vala-panel/template b/srcpkgs/vala-panel/template index 81ab10b9d2f..de9a03c1405 100644 --- a/srcpkgs/vala-panel/template +++ b/srcpkgs/vala-panel/template @@ -13,6 +13,7 @@ license="LGPL-3.0-or-later" homepage="https://gitlab.com/vala-panel-project/vala-panel" distfiles="https://gitlab.com/vala-panel-project/vala-panel/uploads/$_glhash/vala-panel-${version}.tar.xz" checksum=ee3a9e000133da43b218ecd1738463c2de3f45783a5a09a11b9c263df4e233d1 +patch_args=-Np0 # Package build options build_options="wayland" diff --git a/srcpkgs/vanitygen/template b/srcpkgs/vanitygen/template index 8fb4fa5ca44..e9baabe67a3 100644 --- a/srcpkgs/vanitygen/template +++ b/srcpkgs/vanitygen/template @@ -11,6 +11,7 @@ homepage="https://github.com/exploitagency/vanitygen-plus" changelog="https://raw.githubusercontent.com/exploitagency/vanitygen-plus/master/CHANGELOG" distfiles="https://github.com/exploitagency/vanitygen-plus/archive/PLUS${version}.tar.gz" checksum=976a9afe2a4470551a8b6b0da97101a3a2e6c54c5a26dc870ae755bb2d8c7041 +patch_args=-Np0 do_build() { make CC=$CC CFLAGS="$CFLAGS $LDFLAGS" ${makejobs} diff --git a/srcpkgs/vapoursynth-editor/template b/srcpkgs/vapoursynth-editor/template index 19903b77a6e..0dc9f4bf80b 100644 --- a/srcpkgs/vapoursynth-editor/template +++ b/srcpkgs/vapoursynth-editor/template @@ -14,6 +14,7 @@ license="MIT" homepage="https://bitbucket.org/mystery_keeper/vapoursynth-editor" distfiles="${homepage}/get/r${version}.tar.gz" checksum=41e09a6c1411536f7a223a16263145b31de4715189cfe2ebe62b4ad69d6ec342 +patch_args=-Np0 pre_configure() { mv pro/pro.pro . diff --git a/srcpkgs/varnish/template b/srcpkgs/varnish/template index fff05f21f78..8181268d707 100644 --- a/srcpkgs/varnish/template +++ b/srcpkgs/varnish/template @@ -13,6 +13,7 @@ homepage="https://varnish-cache.org/" distfiles="https://varnish-cache.org/_downloads/${pkgname}-${version}.tgz" checksum=d5ff82f2041276dfaeb9a652a88b6d7287cfcf7ca345bb02c438fb65d2bca2e5 lib32disabled=yes +patch_args=-Np0 build_options="pcrejit" diff --git a/srcpkgs/vboot-utils/template b/srcpkgs/vboot-utils/template index 591697d20cf..14117b36c4f 100644 --- a/srcpkgs/vboot-utils/template +++ b/srcpkgs/vboot-utils/template @@ -18,6 +18,7 @@ checksum=@3d8edd7e3a1672b29f02d93c4cf89f19ad7477694968b0653aa968783c8ba3e6 # 2crypto specifies a section for some variables, which lead to text relocations in the binary # let's play it safe and disable PIE nopie=yes +patch_args=-Np0 case $XBPS_TARGET_MACHINE in x86_64*) _arch=x86_64 ;; diff --git a/srcpkgs/vde2/template b/srcpkgs/vde2/template index 5d0efce366a..e502920a93d 100644 --- a/srcpkgs/vde2/template +++ b/srcpkgs/vde2/template @@ -19,6 +19,7 @@ license="GPL-2, LGPL-2.1, BSD" homepage="http://sourceforge.net/projects/vde/" distfiles="${SOURCEFORGE_SITE}/vde/vde2-$version.tar.bz2" checksum=cbea9b7e03097f87a6b5e98b07890d2275848f1fe4b9fcda77b8994148bc9542 +patch_args=-Np0 lib32disabled=yes disable_parallel_build=yes diff --git a/srcpkgs/vdirsyncer/template b/srcpkgs/vdirsyncer/template index 906b77950d3..f1e78331659 100644 --- a/srcpkgs/vdirsyncer/template +++ b/srcpkgs/vdirsyncer/template @@ -12,6 +12,7 @@ license="BSD-3-Clause" homepage="https://vdirsyncer.pimutils.org/" distfiles="${PYPI_SITE}/v/vdirsyncer/vdirsyncer-${version}.tar.gz" checksum=bfdb422f52e1d4d60bd0635d203fb59fa7f613397d079661eb48e79464ba13c5 +patch_args=-Np0 pre_build() { sed -i setup.py \ diff --git a/srcpkgs/vdrift/template b/srcpkgs/vdrift/template index cc586376b4e..c1c1989627e 100644 --- a/srcpkgs/vdrift/template +++ b/srcpkgs/vdrift/template @@ -17,6 +17,7 @@ homepage="http://vdrift.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version//./-}.tar.bz2" checksum=458d45d59075c2ce943ec6bc271a5bd0eb6bc6ed123670b65038703345020be3 python_version=2 +patch_args=-Np0 post_install() { # install .desktop file diff --git a/srcpkgs/virglrenderer/template b/srcpkgs/virglrenderer/template index 00a371c32a5..8bfba79b29a 100644 --- a/srcpkgs/virglrenderer/template +++ b/srcpkgs/virglrenderer/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://gitlab.freedesktop.org/virgl/virglrenderer" distfiles="https://gitlab.freedesktop.org/virgl/virglrenderer/-/archive/virglrenderer-${version}/virglrenderer-virglrenderer-${version}.tar.gz" checksum=9fa93095cd9a3e5b13c740e5e3b656a989356732bdaf3e22acb7c38a1f1f4411 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/virtualbox-ose/template b/srcpkgs/virtualbox-ose/template index b686236e1b0..e95fd8cfbe6 100644 --- a/srcpkgs/virtualbox-ose/template +++ b/srcpkgs/virtualbox-ose/template @@ -10,6 +10,7 @@ homepage="https://www.virtualbox.org" changelog="https://www.virtualbox.org/wiki/Changelog" distfiles="http://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2" checksum=e690c91974a2e7a5aca2c0939ad514382f9a2136797a5e0b96aab778e42bc8a7 +patch_args=-Np0 nopie=yes lib32disabled=yes diff --git a/srcpkgs/virtuoso/template b/srcpkgs/virtuoso/template index 01de503942c..7a7460e35af 100644 --- a/srcpkgs/virtuoso/template +++ b/srcpkgs/virtuoso/template @@ -16,6 +16,7 @@ distfiles="https://github.com/openlink/virtuoso-opensource/archive/v${version}.t checksum=3e4807e94098b8265f8cf00867d1215bb1e9d0d274878e59a420742d2de471c2 # cannot execute binary file: Exec format error nocross="https://build.voidlinux.org/builders/armv6l_builder/builds/29187/steps/shell_3/logs/stdio" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" libexecinfo-devel"; LDFLAGS+=" -lexecinfo";; diff --git a/srcpkgs/visitors/template b/srcpkgs/visitors/template index 39f09c00fd2..b35eff50824 100644 --- a/srcpkgs/visitors/template +++ b/srcpkgs/visitors/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="http://www.hping.org/visitors/" distfiles="http://www.hping.org/${pkgname}/${pkgname}-${version}.tar.gz" checksum=d2149e33ffe96b1f52b0587cff65973b0bc0b24ec43cdf072a782c1bd52148ab +patch_args=-Np0 do_install() { vbin visitors diff --git a/srcpkgs/vitetris/template b/srcpkgs/vitetris/template index 833a3cb491e..9fd22cf800d 100644 --- a/srcpkgs/vitetris/template +++ b/srcpkgs/vitetris/template @@ -12,6 +12,7 @@ license="BSD-2-Clause" homepage="http://www.victornils.net/tetris/" distfiles="https://github.com/vicgeralds/vitetris/archive/v${version}.tar.gz" checksum=699443df03c8d4bf2051838c1015da72039bbbdd0ab0eede891c59c840bdf58d +patch_args=-Np0 post_install() { sed -i 's/Exec=tetris/Exec=vitetris/' $DESTDIR/usr/share/applications/vitetris.desktop diff --git a/srcpkgs/vlc/template b/srcpkgs/vlc/template index c2cc1a43d31..09366bf5226 100644 --- a/srcpkgs/vlc/template +++ b/srcpkgs/vlc/template @@ -18,6 +18,7 @@ homepage="https://www.videolan.org/vlc/" changelog="https://www.videolan.org/developers/vlc-branch/NEWS" distfiles="https://download.videolan.org/pub/videolan/vlc/${version}/vlc-${version}.tar.xz" checksum=7b9635061ae14dfdf71623a7fd479b4f0d6929de75ff3c23d39b6b4b65b31b56 +patch_args=-Np0 lib32disabled=yes diff --git a/srcpkgs/voltron/template b/srcpkgs/voltron/template index 310e41474fb..4e465b5bc59 100644 --- a/srcpkgs/voltron/template +++ b/srcpkgs/voltron/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://github.com/snare/voltron" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=2919dabe5ebc05672dcedf400754e3fbce8c3b9f8608a64cea205591f3b47f63 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/volumeicon/template b/srcpkgs/volumeicon/template index d92993ab771..fedb3a7ed59 100644 --- a/srcpkgs/volumeicon/template +++ b/srcpkgs/volumeicon/template @@ -12,6 +12,7 @@ license="GPL-3.0-only, ISC, MIT" homepage="http://softwarebakery.com/maato/volumeicon.html" distfiles="http://softwarebakery.com/maato/files/volumeicon/volumeicon-${version}.tar.gz" checksum=24b8c1d0a81d708b201ce6e67301fc175d65588d892d01859f667b8db8a05da0 +patch_args=-Np0 post_patch() { sed -ne '/Copyright/,/IN THE SOFTWARE/s/ [*] *//p' src/bind.c >LICENSE.MIT diff --git a/srcpkgs/vpcs/template b/srcpkgs/vpcs/template index 34b4c0ddd86..22871df3585 100644 --- a/srcpkgs/vpcs/template +++ b/srcpkgs/vpcs/template @@ -11,6 +11,7 @@ license="BSD-2-Clause" homepage="https://sourceforge.net/projects/vpcs" distfiles="${SOURCEFORGE_SITE}/project/vpcs/${version}/${pkgname}-${version}-src.tbz" checksum=dca602d0571ba852c916632c4c0060aa9557dd744059c0f7368860cfa8b3c993 +patch_args=-Np0 archs="i686* x86_64*" diff --git a/srcpkgs/vpn-ws/template b/srcpkgs/vpn-ws/template index 498ca5775a8..673af28f5f3 100644 --- a/srcpkgs/vpn-ws/template +++ b/srcpkgs/vpn-ws/template @@ -11,6 +11,7 @@ license="MIT" homepage="https://github.com/unbit/vpn-ws" distfiles="https://github.com/unbit/vpn-ws/archive/v${version}.tar.gz" checksum=f35d16d192ef333390ccc7d342df4392676a86502fa087f310eab9758afd565a +patch_args=-Np0 CFLAGS+=" -Wno-stringop-truncation -fcommon" diff --git a/srcpkgs/vsftpd/template b/srcpkgs/vsftpd/template index 2e177d8b898..a6def875a1a 100644 --- a/srcpkgs/vsftpd/template +++ b/srcpkgs/vsftpd/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="https://security.appspot.com/vsftpd.html" distfiles="https://security.appspot.com/downloads/${pkgname}-${version}.tar.gz" checksum=6b9421bd27e8a6cdeed5b31154f294a20b003a11a26c09500715a0a6b1b86a26 +patch_args=-Np0 system_accounts="ftp" ftp_pgroup=nogroup diff --git a/srcpkgs/vte3/template b/srcpkgs/vte3/template index 346ebf03864..e15615e6d64 100644 --- a/srcpkgs/vte3/template +++ b/srcpkgs/vte3/template @@ -16,6 +16,7 @@ license="GPL-3.0-or-later, LGPL-2.1-or-later, LGPL-3.0-or-later" homepage="https://wiki.gnome.org/Apps/Terminal/VTE" distfiles="${GNOME_SITE}/vte/${version%.*}/vte-${version}.tar.xz" checksum=12fb41a9ff8e03c5f1711b46560910a4b9b3102aec3e9e7609ceef4dfa98aa2a +patch_args=-Np0 # Suppress warnings as errors for NULL format strings (musl libc) CXXFLAGS="-Wno-error=format=" diff --git a/srcpkgs/w_scan/template b/srcpkgs/w_scan/template index eae95b0654e..b4e2774eb92 100644 --- a/srcpkgs/w_scan/template +++ b/srcpkgs/w_scan/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="http://wirbel.htpc-forum.de/w_scan/index2.html" distfiles="http://wirbel.htpc-forum.de/w_scan/w_scan-${version}.tar.bz2" checksum="38e0f38a7bf06cff6d6ea01652ad4ee60da2cb0e937360468f936da785b46ffe" +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/waifu2x-converter-cpp/template b/srcpkgs/waifu2x-converter-cpp/template index 4030c6f0da0..269cdd6c82c 100644 --- a/srcpkgs/waifu2x-converter-cpp/template +++ b/srcpkgs/waifu2x-converter-cpp/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://github.com/DeadSix27/waifu2x-converter-cpp" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=e10bd5c64015553d1340988cf886aa51ed3cf4108f1a3ba864b3ea818426de7d +patch_args=-Np0 # silly workaround to prevent vector/bool/etc from being defined case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/webkit2gtk/template b/srcpkgs/webkit2gtk/template index ae7e80744d0..6eb2f5a8f47 100644 --- a/srcpkgs/webkit2gtk/template +++ b/srcpkgs/webkit2gtk/template @@ -38,6 +38,7 @@ homepage="https://webkitgtk.org/" distfiles="${homepage}/releases/webkitgtk-${version}.tar.xz" checksum=136117317f70f66486f71b8edf5e46f8776403c5d8a296e914b11a36ef836917 make_check=no +patch_args=-Np0 build_options="gir wayland x11 bubblewrap jit sampling_profiler minibrowser clang lto" diff --git a/srcpkgs/wicd/template b/srcpkgs/wicd/template index d4fe01b557d..b8ecfc8f106 100644 --- a/srcpkgs/wicd/template +++ b/srcpkgs/wicd/template @@ -15,6 +15,7 @@ homepage="http://wicd.sourceforge.net" distfiles="http://launchpad.net/wicd/1.7/${version}/+download/wicd-${version}.tar.gz" checksum=67989614004773db349791c37675efb914d084bdb221356a05e4369c35e7eb62 python_version=2 +patch_args=-Np0 do_build() { python2 setup.py configure --verbose --no-install-init \ diff --git a/srcpkgs/widelands/template b/srcpkgs/widelands/template index d0402050262..7326e3f0cf4 100644 --- a/srcpkgs/widelands/template +++ b/srcpkgs/widelands/template @@ -17,6 +17,7 @@ homepage="http://www.widelands.org/" distfiles="https://github.com/widelands/widelands/archive/build${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=601e0e4c6f91b3fb0ece2cd1b83ecfb02344a1b9194fbb70ef3f70e06994e357 replaces="widelands-data>=0" +patch_args=-Np0 CXXFLAGS="-DU_USING_ICU_NAMESPACE=1" diff --git a/srcpkgs/wildmidi/template b/srcpkgs/wildmidi/template index 634ad5bc88a..b12ae74cd61 100644 --- a/srcpkgs/wildmidi/template +++ b/srcpkgs/wildmidi/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later, LGPL-3.0-only" homepage="https://www.mindwerks.net/projects/wildmidi" distfiles="https://github.com/Mindwerks/${pkgname}/archive/${pkgname}-${version}.tar.gz" checksum=6f267c8d331e9859906837e2c197093fddec31829d2ebf7b958cf6b7ae935430 +patch_args=-Np0 post_install() { vsconf ${FILESDIR}/wildmidi.cfg diff --git a/srcpkgs/wine/template b/srcpkgs/wine/template index b2f83cfaaee..114066b9603 100644 --- a/srcpkgs/wine/template +++ b/srcpkgs/wine/template @@ -15,6 +15,7 @@ distfiles="https://dl.winehq.org/wine/source/${version%.*}.x/wine-${_pkgver}.tar https://github.com/wine-staging/wine-staging/archive/v${_pkgver}.tar.gz" checksum="c952bc2d7e3ea349944162a074aead74b7948261ba43d394d971452d7111670b 5c61ecb17ed0cb689c68e20f2d881d163adf3fb332882402d8b5762afa46e7b0" +patch_args=-Np0 build_options="mingw staging" build_options_default="mingw" diff --git a/srcpkgs/wineasio/template b/srcpkgs/wineasio/template index bc529e72b3c..b64054e6cc6 100644 --- a/srcpkgs/wineasio/template +++ b/srcpkgs/wineasio/template @@ -18,6 +18,7 @@ distfiles="${SOURCEFORGE_SITE}/wineasio/${pkgname}-${version}.tar.gz https://www.steinberg.net/sdk_downloads/asiosdk2.3.zip" checksum="9fbc2d10a4cec307dc0558bed82b887c864424d16da40a80f1d80f907d92af0b 69225020e9144af568784c6076b55939a55369edaf0ffcdf4d5e5b5898f31b9b" +patch_args=-Np0 pre_configure() { cp -v ../ASIOSDK2.3/common/asio.h asio.h diff --git a/srcpkgs/winusb/template b/srcpkgs/winusb/template index 64ec8fce12b..5d97248df43 100644 --- a/srcpkgs/winusb/template +++ b/srcpkgs/winusb/template @@ -15,6 +15,7 @@ license="GPL-3.0-or-later" homepage="http://en.congelli.eu/prog_info_winusb.html" distfiles="http://ponce.cc/slackware/sources/repo/${pkgname}-${version}.tar.gz" checksum=7bd8d2e63651134bd4173dcf358708fb9e6de1677c088e67d45995a1d5066bc9 +patch_args=-Np0 case "${XBPS_TARGET_MACHINE}" in x86_64*) depends+=" grub-x86_64-efi"; makedepends+=" grub-x86_64-efi" ;; diff --git a/srcpkgs/wireshark/template b/srcpkgs/wireshark/template index 78a97130f68..9b54aab6a0d 100644 --- a/srcpkgs/wireshark/template +++ b/srcpkgs/wireshark/template @@ -19,6 +19,7 @@ homepage="https://www.wireshark.org" distfiles="https://www.wireshark.org/download/src/${pkgname}-${version}.tar.xz" checksum=de1aafd100a1e1207c850d180e97dd91ab8da0f5eb6beec545f725cdb145d333 system_groups="wireshark" +patch_args=-Np0 CFLAGS="-DNDEBUG -I${XBPS_CROSS_BASE}/usr/include/lua5.2" CXXFLAGS="-DNDEBUG -I${XBPS_CROSS_BASE}/usr/include/lua5.2" diff --git a/srcpkgs/wm2/template b/srcpkgs/wm2/template index 5109f315494..835883ad15a 100644 --- a/srcpkgs/wm2/template +++ b/srcpkgs/wm2/template @@ -10,6 +10,7 @@ license="BSD" homepage="http://www.all-day-breakfast.com/wm2" distfiles="http://www.all-day-breakfast.com/wm2/wm2-${version}.tar.gz" checksum=a6c3352390f958c5033408ce73e1abd9677372a7c8c5949e39a62fda433b054d +patch_args=-Np0 do_install() { vbin wm2 diff --git a/srcpkgs/woff2/template b/srcpkgs/woff2/template index 9af0c9f8428..a7f78a7002c 100644 --- a/srcpkgs/woff2/template +++ b/srcpkgs/woff2/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="https://github.com/google/woff2" distfiles="https://github.com/google/woff2/archive/v${version}.tar.gz" checksum=add272bb09e6384a4833ffca4896350fdb16e0ca22df68c0384773c67a175594 +patch_args=-Np0 libwoff2common1.0.2_package() { short_desc+=" - common library" diff --git a/srcpkgs/wordgrinder/template b/srcpkgs/wordgrinder/template index f742e039123..521b18d044d 100644 --- a/srcpkgs/wordgrinder/template +++ b/srcpkgs/wordgrinder/template @@ -10,6 +10,7 @@ license="MIT" homepage="http://cowlark.com/wordgrinder" distfiles="https://github.com/davidgiven/wordgrinder/archive/${version}.tar.gz" checksum=856cbed2b4ccd5127f61c4997a30e642d414247970f69932f25b4b5a81b18d3f +patch_args=-Np0 do_configure() { export PKG_CONFIG_PATH=${XBPS_CROSS_BASE}/usr/lib/pkgconfig:${XBPS_CROSS_BASE}/usr/share/pkgconfig diff --git a/srcpkgs/workrave/template b/srcpkgs/workrave/template index 151ffd7e38a..7ba6ba02ebb 100644 --- a/srcpkgs/workrave/template +++ b/srcpkgs/workrave/template @@ -18,6 +18,7 @@ license="GPL-3.0-or-later" homepage="http://www.workrave.org/" distfiles="https://github.com/rcaelers/${pkgname}/archive/v${_realversion}.tar.gz" checksum=b9c8d1aaae16ca55c98d361a392f879a306a4ecf6db28663a7e96d0c205dabc0 +patch_args=-Np0 build_options="pulseaudio" diff --git a/srcpkgs/wtype/template b/srcpkgs/wtype/template index 962c7cf82be..6cb9a5bf481 100644 --- a/srcpkgs/wtype/template +++ b/srcpkgs/wtype/template @@ -11,6 +11,7 @@ license="MIT" homepage="https://github.com/atx/wtype" distfiles="https://github.com/atx/${pkgname}/archive/v${version}.tar.gz" checksum=35615e61e57576a240d10308f9101ceb2ec7b3554fac60119b1416b84c1694b2 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/wvstreams/template b/srcpkgs/wvstreams/template index 068c2194427..ace63917d2b 100644 --- a/srcpkgs/wvstreams/template +++ b/srcpkgs/wvstreams/template @@ -13,6 +13,7 @@ checksum=8403f5fbf83aa9ac0c6ce15d97fd85607488152aa84e007b7d0621b8ebc07633 configure_args="--sbindir=/usr/bin --without-dbus --without-tcl --without-qt" conf_files="/etc/uniconf.conf" replaces="uniconf>=0" +patch_args=-Np0 CXXFLAGS="-Wno-narrowing" diff --git a/srcpkgs/wxPython4/template b/srcpkgs/wxPython4/template index 1f32be9131c..aa2e9c4db95 100644 --- a/srcpkgs/wxPython4/template +++ b/srcpkgs/wxPython4/template @@ -16,6 +16,7 @@ license="custom:wxWindows" homepage="http://www.wxpython.org/" distfiles="${PYPI_SITE}/w/wxPython/wxPython-${version}.tar.gz" checksum=3be608bfdede3063678cc703453850ab0a018b82bafd5ee057302250b18f0233 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then CFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc} -I${XBPS_CROSS_BASE}/usr/include" diff --git a/srcpkgs/wxWidgets-gtk3/template b/srcpkgs/wxWidgets-gtk3/template index fe6dc777392..fab25e0be35 100644 --- a/srcpkgs/wxWidgets-gtk3/template +++ b/srcpkgs/wxWidgets-gtk3/template @@ -15,6 +15,7 @@ license="custom:wxWindows" homepage="https://www.wxwidgets.org" distfiles="https://github.com/wxWidgets/wxWidgets/releases/download/v${version}/wxWidgets-${version}.tar.bz2" checksum=440f6e73cf5afb2cbf9af10cec8da6cdd3d3998d527598a53db87099524ac807 +patch_args=-Np0 post_install() { local _config="gtk3-unicode-3.0" diff --git a/srcpkgs/wxWidgets/template b/srcpkgs/wxWidgets/template index c7e8f9f3a38..1f220c31148 100644 --- a/srcpkgs/wxWidgets/template +++ b/srcpkgs/wxWidgets/template @@ -16,6 +16,7 @@ license="wxWindows" homepage="https://www.wxwidgets.org/" distfiles="https://github.com/wxWidgets/wxWidgets/releases/download/v${version}/wxWidgets-${version}.tar.bz2" checksum=440f6e73cf5afb2cbf9af10cec8da6cdd3d3998d527598a53db87099524ac807 +patch_args=-Np0 post_install() { local _config="gtk2-unicode-3.0" diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template index 4b8ff04a9eb..fabffd60962 100644 --- a/srcpkgs/x11vnc/template +++ b/srcpkgs/x11vnc/template @@ -13,6 +13,7 @@ homepage="http://www.karlrunge.com/x11vnc/" changelog="https://raw.githubusercontent.com/LibVNC/x11vnc/master/NEWS" distfiles="https://github.com/LibVNC/${pkgname}/archive/${version}.tar.gz" checksum=885e5b5f5f25eec6f9e4a1e8be3d0ac71a686331ee1cfb442dba391111bd32bd +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/x265/template b/srcpkgs/x265/template index 2b858bad487..974fad438b4 100644 --- a/srcpkgs/x265/template +++ b/srcpkgs/x265/template @@ -13,6 +13,7 @@ license="GPL-2.0-or-later" homepage="http://x265.org/" distfiles="https://bitbucket.org/multicoreware/x265_git/get/${version}.tar.gz" checksum=7f2771799bea0f53b5ab47603d5bea46ea2a221e047a7ff398115e9976fd5f86 +patch_args=-Np0 build_options="altivec assembly" diff --git a/srcpkgs/x42-plugins/template b/srcpkgs/x42-plugins/template index 432739cded1..e8aa6531adf 100644 --- a/srcpkgs/x42-plugins/template +++ b/srcpkgs/x42-plugins/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://x42-plugins.com" distfiles="https://gareus.org/misc/${pkgname}/${pkgname}-${version}.tar.xz" checksum=4423ea27ccc3f6e93a687d344a8ad5177b830d2bac25be8c36ae12ed0e3092e4 +patch_args=-Np0 pre_build() { export OPTIMIZATIONS="-fomit-frame-pointer -O3 -fno-finite-math-only -DNDEBUG" diff --git a/srcpkgs/xapian-core/template b/srcpkgs/xapian-core/template index 369cccb082f..9473eb738d2 100644 --- a/srcpkgs/xapian-core/template +++ b/srcpkgs/xapian-core/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="https://www.xapian.org/" distfiles="https://oligarchy.co.uk/xapian/${version}/${pkgname}-${version}.tar.xz" checksum=196ddbb4ad10450100f0991a599e4ed944cbad92e4a6fe813be6dce160244b77 +patch_args=-Np0 # xapian-config needs the .la keep_libtool_archives=yes diff --git a/srcpkgs/xar/template b/srcpkgs/xar/template index 79117d197a9..4e3ca4b5477 100644 --- a/srcpkgs/xar/template +++ b/srcpkgs/xar/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="https://github.com/mackyle/xar" distfiles="https://github.com/downloads/mackyle/xar/${pkgname}-${version}.tar.gz" checksum=ee46089968457cf710b8cf1bdeb98b7ef232eb8a4cdeb34502e1f16ef4d2153e +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) diff --git a/srcpkgs/xautolock/template b/srcpkgs/xautolock/template index 673e57c9a78..676b1c5161e 100644 --- a/srcpkgs/xautolock/template +++ b/srcpkgs/xautolock/template @@ -10,6 +10,7 @@ license="GPL-2" homepage="http://www.ibiblio.org/pub/Linux/X11/screensavers/" distfiles="${homepage}/${pkgname}-${version}.tgz" checksum=11f0275175634e6db756e96f5713ec91b8b1c41f8663df54e8a5d27dc71c4da2 +patch_args=-Np0 do_build() { CC=cc xmkmf diff --git a/srcpkgs/xava/template b/srcpkgs/xava/template index fa16f119e24..e4e7faa656a 100644 --- a/srcpkgs/xava/template +++ b/srcpkgs/xava/template @@ -11,6 +11,7 @@ license="MIT" homepage="https://github.com/nikp123/xava" distfiles="https://github.com/nikp123/xava/archive/${version}.tar.gz" checksum=b38b810e4bfd71aff44f223b444ae4f158eb8d6428c5e9d42697343ccb5a19f9 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/xboxdrv/template b/srcpkgs/xboxdrv/template index 2b4905d8890..4f22555872a 100644 --- a/srcpkgs/xboxdrv/template +++ b/srcpkgs/xboxdrv/template @@ -13,6 +13,7 @@ homepage="https://xboxdrv.gitlab.io/" distfiles="https://xboxdrv.gitlab.io/xboxdrv-linux-${version}.tar.bz2" checksum=f4fb8c09c0ce3841798f129ae4c2caf3f6db9786d78ad941994e425e3ffc168a python_version=3 +patch_args=-Np0 do_install() { make PREFIX=/usr DESTDIR=${DESTDIR} install diff --git a/srcpkgs/xcolorsel/template b/srcpkgs/xcolorsel/template index f3efb02dc90..d6551e23f24 100644 --- a/srcpkgs/xcolorsel/template +++ b/srcpkgs/xcolorsel/template @@ -16,6 +16,7 @@ homepage="http://packages.debian.org/stable/x11/xcolorsel" distfiles="${DEBIAN_SITE}/main/x/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=ba0813af427dfab7dfbd9eaadbedd217d432f8141179ac43bb39393b1424f7a2 nocross=yes +patch_args=-Np0 do_configure() { xmkmf -a -DHasSELinux=0 -DUseConfDirForAppDefaults=0 diff --git a/srcpkgs/xdg-utils/template b/srcpkgs/xdg-utils/template index d4094a29212..fe7a9b7deb5 100644 --- a/srcpkgs/xdg-utils/template +++ b/srcpkgs/xdg-utils/template @@ -13,6 +13,7 @@ homepage="https://www.freedesktop.org/wiki/Software/xdg-utils/" #changelog="https://cgit.freedesktop.org/xdg/xdg-utils/plain/ChangeLog" distfiles="https://portland.freedesktop.org/download/${pkgname}-${version}.tar.gz" checksum=d798b08af8a8e2063ddde6c9fa3398ca81484f27dec642c5627ffcaa0d4051d9 +patch_args=-Np0 post_install() { vlicense LICENSE diff --git a/srcpkgs/xerces-c/template b/srcpkgs/xerces-c/template index 56f12c4aab0..ba0edf7c4a6 100644 --- a/srcpkgs/xerces-c/template +++ b/srcpkgs/xerces-c/template @@ -12,6 +12,7 @@ license="Apache-2.0" homepage="http://xerces.apache.org/xerces-c/" distfiles="http://archive.apache.org/dist/xerces/c/3/sources/${pkgname}-${version}.tar.bz2" checksum=45c2329e684405f2b8854ecbddfb8d5b055cdf0fe4d35736cc352c504989bbb6 +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/xf86-input-mtrack/template b/srcpkgs/xf86-input-mtrack/template index 0f78142030d..852900101d5 100644 --- a/srcpkgs/xf86-input-mtrack/template +++ b/srcpkgs/xf86-input-mtrack/template @@ -13,6 +13,7 @@ homepage="http://xorg.freedesktop.org/" distfiles="https://github.com/p2rkw/${pkgname}/archive/v${version}.tar.gz" checksum=a976723720028832afd45bfcaab479f60833ff6f1c780be727d1791675dc14c4 lib32disabled=yes +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/xf86-input-synaptics/template b/srcpkgs/xf86-input-synaptics/template index 1c9f2be0a93..6d118bbe21e 100644 --- a/srcpkgs/xf86-input-synaptics/template +++ b/srcpkgs/xf86-input-synaptics/template @@ -14,6 +14,7 @@ homepage="http://www.x.org/" distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" checksum=7af83526eff1c76e8b9e1553b34245c203d029028d8044dd9dcf71eef1001576 lib32disabled=yes +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/xf86-video-ati/template b/srcpkgs/xf86-video-ati/template index fe251dff4b3..a2715dcd512 100644 --- a/srcpkgs/xf86-video-ati/template +++ b/srcpkgs/xf86-video-ati/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://wiki.freedesktop.org/xorg" distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" checksum=659f5a1629eea5f5334d9b39b18e6807a63aa1efa33c1236d9cc53acbb223c49 +patch_args=-Np0 lib32disabled=yes CFLAGS="-fcommon" diff --git a/srcpkgs/xf86-video-cirrus/template b/srcpkgs/xf86-video-cirrus/template index f4f7c3a2f0a..6c73923696f 100644 --- a/srcpkgs/xf86-video-cirrus/template +++ b/srcpkgs/xf86-video-cirrus/template @@ -13,6 +13,7 @@ license="MIT" maintainer="Orphaned " distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" checksum=edc87b20a55259126b5239b5c1ef913419eab7ded0ed12ae9ae989460d7351ab +patch_args=-Np0 LDFLAGS="-Wl,-z,lazy" CFLAGS="-fcommon -Wno-pointer-arith -Wno-discarded-qualifiers -Wno-unused-label" diff --git a/srcpkgs/xf86-video-fbdev/template b/srcpkgs/xf86-video-fbdev/template index eafde10f3ea..297c1b4ca92 100644 --- a/srcpkgs/xf86-video-fbdev/template +++ b/srcpkgs/xf86-video-fbdev/template @@ -13,6 +13,7 @@ homepage="http://xorg.freedesktop.org" distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" checksum=dcc3d85f378022180e437a9ec00a59b6cb7680ff79c40394d695060af2374699 lib32disabled=yes +patch_args=-Np0 CFLAGS="-I$XBPS_CROSS_BASE/usr/include/xorg" LDFLAGS="-Wl,-z,lazy" diff --git a/srcpkgs/xf86-video-fbturbo-sunxi/template b/srcpkgs/xf86-video-fbturbo-sunxi/template index 3da5f84a572..386a536c824 100644 --- a/srcpkgs/xf86-video-fbturbo-sunxi/template +++ b/srcpkgs/xf86-video-fbturbo-sunxi/template @@ -13,6 +13,7 @@ maintainer="Orphaned " homepage="http://github.com/ssvb/xf86-video-fbturbo" distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz" checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f +patch_args=-Np0 archs="armv7l" conflicts="xf86-video-fbturbo>=0" diff --git a/srcpkgs/xf86-video-fbturbo/template b/srcpkgs/xf86-video-fbturbo/template index acfbff8c05d..2b6784ccb16 100644 --- a/srcpkgs/xf86-video-fbturbo/template +++ b/srcpkgs/xf86-video-fbturbo/template @@ -9,6 +9,7 @@ license="MIT, GPL-2.0-or-later" homepage="http://github.com/ssvb/xf86-video-fbturbo" distfiles="https://github.com/ssvb/xf86-video-fbturbo/archive/${version}.tar.gz" checksum=10411686de0a9d8b2cde300b0d68e9f1d22e3611470d357ef3afc337f123ca0f +patch_args=-Np0 archs="armv6l* armv7l* aarch64*" hostmakedepends="pkg-config xorg-server-devel" diff --git a/srcpkgs/xf86-video-intel/template b/srcpkgs/xf86-video-intel/template index 2b589d00989..77eb791f02d 100644 --- a/srcpkgs/xf86-video-intel/template +++ b/srcpkgs/xf86-video-intel/template @@ -18,6 +18,7 @@ homepage="https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel/" distfiles="${homepage}/-/archive/master/xf86-video-intel-${_commit}.tar.gz" checksum=3cdcf2f84bddf9e9174a8413d8fc855dae893dbc53889329978dec62ee8f6e62 lib32disabled=yes +patch_args=-Np0 CFLAGS="-fcommon" LDFLAGS="-Wl,-z,lazy" diff --git a/srcpkgs/xf86-video-mach64/template b/srcpkgs/xf86-video-mach64/template index 51fb61f466c..a084652f48c 100644 --- a/srcpkgs/xf86-video-mach64/template +++ b/srcpkgs/xf86-video-mach64/template @@ -16,6 +16,7 @@ lib32disabled=yes # fails at XORG_DRIVER_CHECK_EXT even though xorg-util-macros is on host nocross=yes LDFLAGS="-Wl,-z,lazy" +patch_args=-Np0 pre_configure() { autoreconf -if diff --git a/srcpkgs/xf86-video-mga/template b/srcpkgs/xf86-video-mga/template index 39edac52798..41a80655457 100644 --- a/srcpkgs/xf86-video-mga/template +++ b/srcpkgs/xf86-video-mga/template @@ -13,6 +13,7 @@ homepage="http://xorg.freedesktop.org" distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" checksum=268946e1a13e9d80e4f724a0740df9e6e8c8bad37697fcbf456924e9fdbb5d79 lib32disabled=yes +patch_args=-Np0 LDFLAGS="-Wl,-z,lazy" CFLAGS="-fcommon" diff --git a/srcpkgs/xf86-video-r128/template b/srcpkgs/xf86-video-r128/template index 4dbe1529aa5..b05086aa3c5 100644 --- a/srcpkgs/xf86-video-r128/template +++ b/srcpkgs/xf86-video-r128/template @@ -14,6 +14,7 @@ distfiles="${XORG_SITE}/driver/${pkgname}-${version}.tar.bz2" checksum=801c86882cbd2bbb3084d471dcc5cfee2c1754dcbfb4dc446676d58a6bd9e057 lib32disabled=yes LDFLAGS="-Wl,-z,lazy" +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/xf86-video-vmware/template b/srcpkgs/xf86-video-vmware/template index 1da7f33d8ef..12fad896b32 100644 --- a/srcpkgs/xf86-video-vmware/template +++ b/srcpkgs/xf86-video-vmware/template @@ -14,6 +14,7 @@ license="MIT" homepage="http://xorg.freedesktop.org" distfiles="${XORG_SITE}/driver/$pkgname-$version.tar.bz2" checksum=47971924659e51666a757269ad941a059ef5afe7a47b5101c174a6022ac4066c +patch_args=-Np0 lib32disabled=yes diff --git a/srcpkgs/xfig/template b/srcpkgs/xfig/template index 4c316f35b32..e12459c5685 100644 --- a/srcpkgs/xfig/template +++ b/srcpkgs/xfig/template @@ -13,6 +13,7 @@ license="MIT-like" homepage="http://mcj.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/mcj/${pkgname}-${version}.tar.xz" checksum=ba43c0ea85b230d3efa5a951a3239e206d0b033d044c590a56208f875f888578 +patch_args=-Np0 post_extract() { sed -i 's/spell/aspell/' app-defaults/Fig.in diff --git a/srcpkgs/xfsprogs/template b/srcpkgs/xfsprogs/template index e00f8a5d34e..f33cde7cc8c 100644 --- a/srcpkgs/xfsprogs/template +++ b/srcpkgs/xfsprogs/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="http://xfs.org/index.php/Main_Page" distfiles="${KERNEL_SITE}/utils/fs/xfs/xfsprogs/xfsprogs-${version}.tar.xz" checksum=bec44445cf18f49e63971d4f27dc4e90a17b118b852714a1104b621ea30e3507 +patch_args=-Np0 post_extract() { sed -i '1i#include ' include/linux.h diff --git a/srcpkgs/xinetd/template b/srcpkgs/xinetd/template index dbdd441c063..9456dbfdfcd 100644 --- a/srcpkgs/xinetd/template +++ b/srcpkgs/xinetd/template @@ -11,6 +11,7 @@ license="xinetd" homepage="http://www.xinetd.org/" distfiles="http://ponce.cc/slackware/sources/repo/xinetd-${version}.tar.gz" checksum=bf4e060411c75605e4dcbdf2ac57c6bd9e1904470a2f91e01ba31b50a80a5be3 +patch_args=-Np0 conf_files="/etc/xinetd.conf /etc/xinetd.d/servers /etc/xinetd.d/services" diff --git a/srcpkgs/xinit/template b/srcpkgs/xinit/template index be836ebc94a..2bb4c8e4352 100644 --- a/srcpkgs/xinit/template +++ b/srcpkgs/xinit/template @@ -12,6 +12,7 @@ license="MIT" homepage="https://xorgwiki.freedesktop.org/xorg" distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2" checksum=de9b8f617b68a70f6caf87da01fcf0ebd2b75690cdcba9c921d0ef54fa54abb9 +patch_args=-Np0 conf_files=" /etc/X11/xinit/xinitrc diff --git a/srcpkgs/xload/template b/srcpkgs/xload/template index 74cbd8bbf5e..62f070c1f25 100644 --- a/srcpkgs/xload/template +++ b/srcpkgs/xload/template @@ -11,6 +11,7 @@ license="X11, MIT" homepage="http://www.x.org/archive/X11R6.8.1/doc/xload.1.html" distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2" checksum=f34e4803871d771325cfe52bebd98cc5b6040d3f065184ec73de436f9a375907 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/xlunch/template b/srcpkgs/xlunch/template index 8c8eafcb029..54335a705a6 100644 --- a/srcpkgs/xlunch/template +++ b/srcpkgs/xlunch/template @@ -11,6 +11,7 @@ license="GPL-3.0-or-later" homepage="http://xlunch.org/" distfiles="https://github.com/Tomas-M/xlunch/archive/v${version}.tar.gz" checksum=08728beba2a86b1e8f0cccf14903b7e6625e099425b6a254418c75636f2515e6 +patch_args=-Np0 do_install() { vbin xlunch diff --git a/srcpkgs/xnp2/template b/srcpkgs/xnp2/template index 1070cad41c2..21ad123a501 100644 --- a/srcpkgs/xnp2/template +++ b/srcpkgs/xnp2/template @@ -13,6 +13,7 @@ license="BSD" homepage="https://www.nonakap.org/np2" distfiles="https://www.nonakap.org/np2/release/xnp2-${version}.tar.bz2" checksum=e0b8c93f54682a4b3373907fd9ffe78094f95f7430dffc5038eccbcc4c3f78fd +patch_args=-Np0 do_install() { vbin xnp2 diff --git a/srcpkgs/xonotic/template b/srcpkgs/xonotic/template index 977c8cdce6e..9622079c8c3 100644 --- a/srcpkgs/xonotic/template +++ b/srcpkgs/xonotic/template @@ -14,6 +14,7 @@ homepage="http://xonotic.org" distfiles="http://dl.xonotic.org/xonotic-${version}-source.zip" checksum=5e6916f1e6e9e22285bb71ddd075189102857383e74ed0b0a3d27cef08e0bd2b nocross=yes +patch_args=-Np0 do_build() { local target diff --git a/srcpkgs/xorg-cf-files/template b/srcpkgs/xorg-cf-files/template index aea5c85748e..d5d53e6296f 100644 --- a/srcpkgs/xorg-cf-files/template +++ b/srcpkgs/xorg-cf-files/template @@ -10,6 +10,7 @@ license="X11" homepage="http://xorg.freedesktop.org/" distfiles="${XORG_SITE}/util/${pkgname}-${version}.tar.bz2" checksum=4dcf5a9dbe3c6ecb9d2dd05e629b3d373eae9ba12d13942df87107fdc1b3934d +patch_args=-Np0 pre_configure() { autoreconf -fi diff --git a/srcpkgs/xorg-server/template b/srcpkgs/xorg-server/template index 852c3ab2f57..a223cb08947 100644 --- a/srcpkgs/xorg-server/template +++ b/srcpkgs/xorg-server/template @@ -31,6 +31,7 @@ provides="xserver-abi-extension-10_1 xserver-abi-input-24_1 xserver-abi-video-24_1 xf86-video-modesetting-1_1" replaces="xf86-video-modesetting>=0 glamor-egl>=0" conf_files="/etc/X11/Xwrapper.config" +patch_args=-Np0 build_options="elogind" desc_option_elogind="Rootless Xorg support with elogind" diff --git a/srcpkgs/xosview/template b/srcpkgs/xosview/template index 3d6c3ab6c1f..1c4b34de9d1 100644 --- a/srcpkgs/xosview/template +++ b/srcpkgs/xosview/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later" homepage="http://www.pogo.org.uk/~mark/xosview" distfiles="http://www.pogo.org.uk/~mark/xosview/releases/xosview-${version}.tar.gz" checksum=901b75af2676b11b28b88f0c79c5bd0f4f01de4790c0c5385edf6d71aee1f83a +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) # does not have asm/io.h diff --git a/srcpkgs/xplanet/template b/srcpkgs/xplanet/template index 4650dd2556c..abb07cf7fa5 100644 --- a/srcpkgs/xplanet/template +++ b/srcpkgs/xplanet/template @@ -12,6 +12,7 @@ license="GPL-2" homepage="http://xplanet.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=4380d570a8bf27b81fb629c97a636c1673407f4ac4989ce931720078a90aece7 +patch_args=-Np0 pre_configure() { # make it build with giflib-5.1.0 diff --git a/srcpkgs/xrick/template b/srcpkgs/xrick/template index 42b8a0febe9..628972531f2 100644 --- a/srcpkgs/xrick/template +++ b/srcpkgs/xrick/template @@ -12,6 +12,7 @@ restricted=yes homepage="http://www.bigorno.net/xrick/" distfiles="https://www.bigorno.net/xrick/xrick-${version}.tgz" checksum=aa8542120bec97a730258027a294bd16196eb8b3d66134483d085f698588fc2b +patch_args=-Np0 CFLAGS=-fcommon diff --git a/srcpkgs/xsane/template b/srcpkgs/xsane/template index 863e61dd58c..b84bedbe6d7 100644 --- a/srcpkgs/xsane/template +++ b/srcpkgs/xsane/template @@ -11,6 +11,7 @@ license="GPL-2.0-or-later" homepage="http://www.xsane.org" distfiles="${DEBIAN_SITE}/main/x/xsane/xsane_${version}.orig.tar.gz" checksum=5782d23e67dc961c81eef13a87b17eb0144cae3d1ffc5cf7e0322da751482b4b +patch_args=-Np0 post_patch() { vsed -i -e 's/DATADIRNAME=.*/DATADIRNAME=share/' \ diff --git a/srcpkgs/xsettingsd/template b/srcpkgs/xsettingsd/template index e2754ef0099..deb1a122857 100644 --- a/srcpkgs/xsettingsd/template +++ b/srcpkgs/xsettingsd/template @@ -11,6 +11,7 @@ license="BSD-3-Clause" homepage="https://github.com/derat/xsettingsd" distfiles="https://github.com/derat/xsettingsd/archive/v${version}.tar.gz" checksum=69b5d1987608d1b5f2a0085f2f88cc55936a99b92279118e655d665ebb5e50d3 +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/xst/template b/srcpkgs/xst/template index 8600c680ae3..5fded5ad0a2 100644 --- a/srcpkgs/xst/template +++ b/srcpkgs/xst/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://github.com/gnotclub/xst" distfiles="https://github.com/gnotclub/xst/archive/v${version}.tar.gz" checksum=cbeb2da6c289415d1168559c6f58b4ce47fd266edefbabc38fd59e8b7c87226d +patch_args=-Np0 do_install() { vbin xst diff --git a/srcpkgs/xstarter/template b/srcpkgs/xstarter/template index 4363d36e3c3..5e49b3e3f73 100644 --- a/srcpkgs/xstarter/template +++ b/srcpkgs/xstarter/template @@ -12,6 +12,7 @@ homepage="https://xstarter.org" changelog="https://raw.githubusercontent.com/lchsk/xstarter/master/CHANGELOG" distfiles="https://github.com/lchsk/xstarter/archive/v${version}.tar.gz" checksum=cb82bf837a2693cbbad468812d517256e079d6aae56dde770d473b245603030a +patch_args=-Np0 pre_configure() { vsed -i CMakeLists.txt -e's;-Wall;-fcommon &;' diff --git a/srcpkgs/xterm/template b/srcpkgs/xterm/template index cde36bc4e13..92d4c5866d0 100644 --- a/srcpkgs/xterm/template +++ b/srcpkgs/xterm/template @@ -21,6 +21,7 @@ homepage="http://invisible-island.net/xterm/" changelog="http://invisible-island.net/xterm/xterm.log.html" distfiles="https://invisible-mirror.net/archives/xterm/xterm-${version}.tgz" checksum=2ff5169930b6b49ef0bafb5e1331c94f1a98c310442bba7798add821c76ae712 +patch_args=-Np0 post_install() { for f in {u,}xterm.desktop; do diff --git a/srcpkgs/xye/template b/srcpkgs/xye/template index d36a89c9ad2..7d9472e29e6 100644 --- a/srcpkgs/xye/template +++ b/srcpkgs/xye/template @@ -11,6 +11,7 @@ homepage="http://xye.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=5d7c04f37d6b4a1821594512c7ddbc8189f968e08ecfd5af55231302f2f917d8 replaces="xye-data>=0" +patch_args=-Np0 post_install() { vdoc ReadMe.html diff --git a/srcpkgs/yabar/template b/srcpkgs/yabar/template index 8bb8d1cd579..c8dd3ff8ae7 100644 --- a/srcpkgs/yabar/template +++ b/srcpkgs/yabar/template @@ -13,6 +13,7 @@ license="MIT" homepage="https://github.com/geommer/yabar" distfiles="https://github.com/geommer/${pkgname}/archive/${version}.tar.gz" checksum=f8cc613413328af78944ccb8063a5ba8e6be11797a883c419876e973e102fed0 +patch_args=-Np0 post_install() { vdoc README.md diff --git a/srcpkgs/yarn-bin/template b/srcpkgs/yarn-bin/template index 111cdd49457..948d9c8d6c6 100644 --- a/srcpkgs/yarn-bin/template +++ b/srcpkgs/yarn-bin/template @@ -10,6 +10,7 @@ homepage="https://yarnpkg.com/" distfiles="https://github.com/yarnpkg/yarn/releases/download/v${version}/yarn-v${version}.tar.gz" checksum=7e433d4a77e2c79e6a7ae4866782608a8e8bcad3ec6783580577c59538381a6e conflicts="yarn>=0" +patch_args=-Np0 do_extract() { bsdtar xfz ${XBPS_SRCDISTDIR}/${pkgname}-${version}/yarn-v${version}.tar.gz --strip-components=1 -C ${wrksrc} diff --git a/srcpkgs/yarn/template b/srcpkgs/yarn/template index aa9f68e53c4..4b699e2cf02 100644 --- a/srcpkgs/yarn/template +++ b/srcpkgs/yarn/template @@ -10,6 +10,7 @@ license="BSD-2-Clause" homepage="https://yarnpkg.com/" distfiles="https://github.com/yarnpkg/${pkgname}/archive/v${version}.tar.gz" checksum=66153f5fdd3078ce320c775990e4b4f03d5b596186f0e1fbceb34225abe3cd3e +patch_args=-Np0 conflicts="yarn-bin>=0" diff --git a/srcpkgs/yeahconsole/template b/srcpkgs/yeahconsole/template index ef7d8206739..997c438199a 100644 --- a/srcpkgs/yeahconsole/template +++ b/srcpkgs/yeahconsole/template @@ -10,6 +10,7 @@ license="GPL-3" homepage="http://phrat.de/yeahtools.html" distfiles="http://phrat.de/yeahconsole-${version}.tar.gz" checksum=fcf3481f78a263a70f1cb5163630fc22e78bb0915013eb05689c6f4aeb0583ef +patch_args=-Np0 do_install() { vbin yeahconsole diff --git a/srcpkgs/yeahwm/template b/srcpkgs/yeahwm/template index 3574b02200e..0a241f71ee9 100644 --- a/srcpkgs/yeahwm/template +++ b/srcpkgs/yeahwm/template @@ -11,6 +11,7 @@ license="Public Domain" homepage="http://phrat.de" distfiles="http://phrat.de/${pkgname}_${version}.tar.gz" checksum=c92ce98848c8b88d9b67c128e30710944c04a6454310254535c102b2b6fcee05 +patch_args=-Np0 CFLAGS="-fcommon" diff --git a/srcpkgs/yersinia/template b/srcpkgs/yersinia/template index f9d57cfe9ff..84c3b898a95 100644 --- a/srcpkgs/yersinia/template +++ b/srcpkgs/yersinia/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="https://github.com/tomac/yersinia" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=964f528dbffd904376ab7986e69b1e8639591c929e2f39186ac9ebf2d3bc761f +patch_args=-Np0 if [ -n "$CROSS_BUILD" ]; then hostmakedepends+=" ${makedepends}" diff --git a/srcpkgs/ympd/template b/srcpkgs/ympd/template index 450c079b2ca..3cea700b126 100644 --- a/srcpkgs/ympd/template +++ b/srcpkgs/ympd/template @@ -11,6 +11,7 @@ license="GPL-2.0-only" homepage="https://www.ympd.org" distfiles="https://github.com/notandy/ympd/archive/v${version}.tar.gz" checksum=d9f68920cd93d1cfa971e1d7b9162a2b1724909bc9753c1338cecb3688d234d5 +patch_args=-Np0 pre_configure() { vsed -i CMakeLists.txt -e"s;-std=gnu99 -Wall;& -fcommon;" diff --git a/srcpkgs/yoshimi/template b/srcpkgs/yoshimi/template index b836098f1c8..33bc9574581 100644 --- a/srcpkgs/yoshimi/template +++ b/srcpkgs/yoshimi/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="https://yoshimi.github.io/" distfiles="https://github.com/Yoshimi/$pkgname/archive/$version.tar.gz" checksum=b80a8b49bdf0e1f6c382627afc46c82d03219b7e45cdecd933e6fc046a939967 +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone";; diff --git a/srcpkgs/yosys/template b/srcpkgs/yosys/template index 72e7da38f40..de5ad13629c 100644 --- a/srcpkgs/yosys/template +++ b/srcpkgs/yosys/template @@ -16,6 +16,7 @@ license="ISC, MIT" homepage="http://www.clifford.at/yosys/about.html" distfiles="https://github.com/cliffordwolf/yosys/archive/yosys-${version}.tar.gz" checksum=f2e31371f9cf1b36cb4f57b23fd6eb849adc7d935dcf49f3c905aa5136382c2f +patch_args=-Np0 post_patch() { vsed -i -e 's,-I[$](PREFIX)/include,,' \ diff --git a/srcpkgs/z3/template b/srcpkgs/z3/template index 789712fa645..0bf58a1ce64 100644 --- a/srcpkgs/z3/template +++ b/srcpkgs/z3/template @@ -16,6 +16,7 @@ license="MIT" homepage="https://github.com/Z3Prover/z3" distfiles="https://github.com/Z3Prover/z3/archive/z3-${version}.tar.gz" checksum=99e912b9af76a17f8827f89afcf4da117736f3877a8bbdd737c548c6541009d7 +patch_args=-Np0 build_options="ocaml" desc_option_ocaml="Enable support for OCaml bindings" diff --git a/srcpkgs/z80ex/template b/srcpkgs/z80ex/template index 5437f53d33d..d71d6304ee1 100644 --- a/srcpkgs/z80ex/template +++ b/srcpkgs/z80ex/template @@ -9,6 +9,7 @@ license="GPL-2.0-only" homepage="https://sourceforge.net/projects/z80ex/" distfiles="${SOURCEFORGE_SITE}/project/z80ex/z80ex/${version}/z80ex-${version}.tar.gz" checksum=6f5e521d068a614b41e10180ad4ae45b1bc258ec28c962543feb9078856c2530 +patch_args=-Np0 z80ex-devel_package() { short_desc+=" - development files" diff --git a/srcpkgs/zabbix/template b/srcpkgs/zabbix/template index 5db05d0d5d4..9cc6ed5f43a 100644 --- a/srcpkgs/zabbix/template +++ b/srcpkgs/zabbix/template @@ -23,6 +23,7 @@ conf_files="/etc/zabbix_server.conf" system_accounts="_zabbix_server" system_groups="_zabbix_server" make_dirs="/var/log/zabbix-server 0750 _zabbix_server _zabbix_server" +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then # configure scripts is bad at checking, problably runs code instead of diff --git a/srcpkgs/zbar/template b/srcpkgs/zbar/template index f64d87fcfe8..6bd2833da87 100644 --- a/srcpkgs/zbar/template +++ b/srcpkgs/zbar/template @@ -16,6 +16,7 @@ license="LGPL-2.1-or-later" homepage="https://git.linuxtv.org/zbar.git/" distfiles="https://linuxtv.org/downloads/zbar/${pkgname}-${version}.tar.bz2" checksum=dad260b47ef887a639e840a89e5e6e132217b6bba2a8473565d1f459bcb97c1f +patch_args=-Np0 build_options="qt" case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/zeal/template b/srcpkgs/zeal/template index 9db6b15584d..16905d094d3 100644 --- a/srcpkgs/zeal/template +++ b/srcpkgs/zeal/template @@ -14,6 +14,7 @@ license="GPL-3.0-or-later" homepage="https://zealdocs.org/" distfiles="https://github.com/zealdocs/zeal/archive/v${version}.tar.gz" checksum=095c08f9903071849d5c79878abd48237ce1615f16d324afff1873ab6b5f0026 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake" diff --git a/srcpkgs/zeek/template b/srcpkgs/zeek/template index e071ae02cb6..2e5267e20f5 100644 --- a/srcpkgs/zeek/template +++ b/srcpkgs/zeek/template @@ -14,6 +14,7 @@ license="BSD-3-Clause" homepage="https://www.zeek.org" distfiles="https://old.zeek.org/downloads/zeek-${version}.tar.gz" checksum=659a890f433cb730519966bdc41f1a03fb67e27e94b5d52ad9ee890022a12c3a +patch_args=-Np0 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-fts-devel musl-legacy-compat" diff --git a/srcpkgs/zerofree/template b/srcpkgs/zerofree/template index 82d05a93384..4bbff91d1d8 100644 --- a/srcpkgs/zerofree/template +++ b/srcpkgs/zerofree/template @@ -10,6 +10,7 @@ license="GPL-2.0-only" homepage="https://frippery.org/uml/index.html" distfiles="https://frippery.org/uml/${pkgname}-${version}.tgz" checksum=956bc861b55ba0a2b7593c58d32339dab1a0e7da6ea2b813d27c80f08b723867 +patch_args=-Np0 post_extract() { sed -i 's|\(-lext2fs\)|$(LDFLAGS) \1|' Makefile diff --git a/srcpkgs/zfs/template b/srcpkgs/zfs/template index 40d6bcd7850..bd20fd9b8ed 100644 --- a/srcpkgs/zfs/template +++ b/srcpkgs/zfs/template @@ -19,6 +19,7 @@ checksum=7d1344c5433b91823f02c2e40b33d181fa6faf286bea5591f4b1965f23d45f6c # dkms must be before initramfs-regenerate to build modules before images triggers="dkms initramfs-regenerate" dkms_modules="zfs ${version}" +patch_args=-Np0 replaces="spl<=0.7.13_1" # Because SPL was merged into zfs in 0.8.0 diff --git a/srcpkgs/zimg/template b/srcpkgs/zimg/template index a0b0ff76319..1dc610bf781 100644 --- a/srcpkgs/zimg/template +++ b/srcpkgs/zimg/template @@ -11,6 +11,7 @@ license="WTFPL" homepage="https://github.com/sekrit-twc/zimg" distfiles="https://github.com/sekrit-twc/zimg/archive/release-${version}.tar.gz" checksum=a15c0483fbe945ffe695a1a989bc43b3381c8bf33e2d1760464ec21d32cdf30b +patch_args=-Np0 pre_configure() { ./autogen.sh diff --git a/srcpkgs/zinnia/template b/srcpkgs/zinnia/template index fc0f6a2a5a6..2dc564a9a28 100644 --- a/srcpkgs/zinnia/template +++ b/srcpkgs/zinnia/template @@ -11,6 +11,7 @@ license="BSD-2-Clause" homepage="https://taku910.github.io/zinnia/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}/${pkgname}-${version}.tar.gz" checksum=ece3af93f937282971634fd81d3e997f848e8cfa958220e26a4564ca064ac20b +patch_args=-Np0 post_install() { vlicense COPYING diff --git a/srcpkgs/zip/template b/srcpkgs/zip/template index 94cb4c96103..720fa31b6b6 100644 --- a/srcpkgs/zip/template +++ b/srcpkgs/zip/template @@ -9,6 +9,7 @@ license="Info-ZIP" homepage="http://infozip.sf.net/" distfiles="${SOURCEFORGE_SITE}/infozip/zip30.tar.gz" checksum=f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369 +patch_args=-Np0 do_build() { sed -e "s|generic CC=gcc CPP=\"gcc -E\"|zips CC=$CC CPP=\"$CPP -E\" CFLAGS=\"-DLARGE_FILE_SUPPORT $CFLAGS \${CFLAGS_NOOPT}\" LFLAGS2=\"$LDFLAGS\"|g" -i unix/Makefile diff --git a/srcpkgs/zlib/template b/srcpkgs/zlib/template index a6462e5616a..b7519dafd23 100644 --- a/srcpkgs/zlib/template +++ b/srcpkgs/zlib/template @@ -10,6 +10,7 @@ license="Zlib" homepage="http://www.zlib.net" distfiles="$homepage/$pkgname-$version.tar.gz" checksum=c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 +patch_args=-Np0 do_configure() { LDFLAGS= LDSHAREDLIBC= ./configure --prefix=/usr --shared diff --git a/srcpkgs/zsnes/template b/srcpkgs/zsnes/template index df49c9c7d3e..1d961f28744 100644 --- a/srcpkgs/zsnes/template +++ b/srcpkgs/zsnes/template @@ -5,6 +5,7 @@ archs="i686" lib32mode="full" wrksrc="zsnes_1_51" build_wrksrc="src" +patch_args=-Np0 pkgname=zsnes version=1.51 diff --git a/srcpkgs/zulucrypt/template b/srcpkgs/zulucrypt/template index cc596dc63dc..7a197d0af32 100644 --- a/srcpkgs/zulucrypt/template +++ b/srcpkgs/zulucrypt/template @@ -21,6 +21,7 @@ homepage="https://mhogomchungu.github.io/zuluCrypt" changelog="https://raw.githubusercontent.com/mhogomchungu/zuluCrypt/master/changelog" distfiles="https://github.com/mhogomchungu/zuluCrypt/archive/${version}.tar.gz" checksum=f1bc599446e6dc82c6af16672fcbd4a88679d3b3dba2cfa3921ac514cb211add +patch_args=-Np0 #https://github.com/mhogomchungu/zuluCrypt/blob/e138cc4459545b2e0f729814791a045c31b63014/BUILD_INSTRUCTIONS build_options="udev kde gnome pwquality polkit homemount" diff --git a/srcpkgs/zutils/template b/srcpkgs/zutils/template index 8549ede01b5..9ad5a4b3aae 100644 --- a/srcpkgs/zutils/template +++ b/srcpkgs/zutils/template @@ -12,6 +12,7 @@ license="GPL-2.0-or-later" homepage="http://www.nongnu.org/zutils/zutils.html" distfiles="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${version}.tar.lz" checksum=0dd44138292d5757648037195b6945c3df70b316221b4285520ad38f2eaeb195 +patch_args=-Np0 post_install() { cd ${DESTDIR}/usr/bin diff --git a/srcpkgs/zynaddsubfx/template b/srcpkgs/zynaddsubfx/template index 844d14016a0..42b639e637d 100644 --- a/srcpkgs/zynaddsubfx/template +++ b/srcpkgs/zynaddsubfx/template @@ -15,6 +15,7 @@ homepage="http://zynaddsubfx.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}/${version}/${pkgname}-${version}.tar.bz2" checksum=7447322268114a1e0ac5f281ac37a09a78e761a7be61999caf79100049789f63 replaces="zynaddsubfx-data>=0" +patch_args=-Np0 case "$XBPS_TARGET_MACHINE" in armv5*) configure_args+=" -DSUPPORT_NEON=NO";;