From 6ca29cb8f814d664172d579c5ee61aef820134fd 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:09:47 +0700 Subject: [PATCH 1/6] grub: unify patch_args to -Np1 --- .../0004-add-GRUB_COLOR_variables.patch | 8 +++---- .../grub-install-pvxen-paths.patch.args | 1 - .../grub/patches/ieee1275-clear-reset.patch | 4 ++-- .../patches/install_powerpc_machtypes.patch | 24 +++++++++---------- srcpkgs/grub/patches/os-prober-osx86.patch | 4 ++-- .../grub/patches/ppc64el-disable-vsx.patch | 4 ++-- srcpkgs/grub/template | 1 + 7 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 srcpkgs/grub/patches/grub-install-pvxen-paths.patch.args diff --git a/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch b/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch index f899717c4d99..c113a81d5754 100644 --- a/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch +++ b/srcpkgs/grub/patches/0004-add-GRUB_COLOR_variables.patch @@ -1,7 +1,7 @@ diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in index 3390ba9..c416489 100644 ---- util/grub-mkconfig.in -+++ util/grub-mkconfig.in +--- a/util/grub-mkconfig.in ++++ b/util/grub-mkconfig.in @@ -218,6 +218,8 @@ export GRUB_DEFAULT \ GRUB_THEME \ GRUB_GFXPAYLOAD_LINUX \ @@ -13,8 +13,8 @@ index 3390ba9..c416489 100644 GRUB_ENABLE_CRYPTODISK \ diff --git a/util/grub.d/00_header.in b/util/grub.d/00_header.in index d2e7252..8259f45 100644 ---- util/grub.d/00_header.in -+++ util/grub.d/00_header.in +--- a/util/grub.d/00_header.in ++++ b/util/grub.d/00_header.in @@ -125,6 +125,14 @@ cat < #include @@ -126,8 +126,8 @@ index 35f1bcc0e..9805c36d4 100644 +} diff --git a/grub-core/osdep/unix/platform.c b/grub-core/osdep/unix/platform.c index a3fcfcaca..28cb37e15 100644 ---- grub-core/osdep/unix/platform.c -+++ grub-core/osdep/unix/platform.c +--- a/grub-core/osdep/unix/platform.c ++++ b/grub-core/osdep/unix/platform.c @@ -212,13 +212,29 @@ grub_install_register_ieee1275 (int is_prep, const char *install_device, else boot_device = get_ofpathname (install_device); @@ -166,8 +166,8 @@ index a3fcfcaca..28cb37e15 100644 free (boot_device); diff --git a/grub-core/osdep/windows/platform.c b/grub-core/osdep/windows/platform.c index 912269191..c30025b13 100644 ---- grub-core/osdep/windows/platform.c -+++ grub-core/osdep/windows/platform.c +--- a/grub-core/osdep/windows/platform.c ++++ b/grub-core/osdep/windows/platform.c @@ -128,6 +128,12 @@ grub_install_get_default_x86_platform (void) return "i386-efi"; } @@ -183,8 +183,8 @@ index 912269191..c30025b13 100644 { diff --git a/include/grub/util/install.h b/include/grub/util/install.h index 5ca4811cd..9f517a1bb 100644 ---- include/grub/util/install.h -+++ include/grub/util/install.h +--- a/include/grub/util/install.h ++++ b/include/grub/util/install.h @@ -206,6 +206,9 @@ grub_install_create_envblk_file (const char *name); const char * grub_install_get_default_x86_platform (void); @@ -197,8 +197,8 @@ index 5ca4811cd..9f517a1bb 100644 const char *efifile_path, diff --git a/util/grub-install.c b/util/grub-install.c index e1a0202da..70b22eec4 100644 ---- util/grub-install.c -+++ util/grub-install.c +--- a/util/grub-install.c ++++ b/util/grub-install.c @@ -1155,7 +1155,18 @@ main (int argc, char *argv[]) if (platform == GRUB_INSTALL_PLATFORM_POWERPC_IEEE1275) diff --git a/srcpkgs/grub/patches/os-prober-osx86.patch b/srcpkgs/grub/patches/os-prober-osx86.patch index 5fabbeb6d993..5226a6def3b2 100644 --- a/srcpkgs/grub/patches/os-prober-osx86.patch +++ b/srcpkgs/grub/patches/os-prober-osx86.patch @@ -1,7 +1,7 @@ Patches OS X detection out of os-prober hook on non-x86 architectures. The menu entries generated for those are invalid for non-x86 Mac stuff. ---- util/grub.d/30_os-prober.in -+++ util/grub.d/30_os-prober.in +--- a/util/grub.d/30_os-prober.in ++++ b/util/grub.d/30_os-prober.in @@ -42,6 +42,11 @@ if [ -z "${OSPROBED}" ] ; then fi diff --git a/srcpkgs/grub/patches/ppc64el-disable-vsx.patch b/srcpkgs/grub/patches/ppc64el-disable-vsx.patch index 1f4c40181521..67744dd23beb 100644 --- a/srcpkgs/grub/patches/ppc64el-disable-vsx.patch +++ b/srcpkgs/grub/patches/ppc64el-disable-vsx.patch @@ -22,8 +22,8 @@ Patch-Name: ppc64el-disable-vsx.patch diff --git a/grub-core/kern/powerpc/ieee1275/startup.S b/grub-core/kern/powerpc/ieee1275/startup.S index 21c884b43..de9a9601a 100644 ---- grub-core/kern/powerpc/ieee1275/startup.S -+++ grub-core/kern/powerpc/ieee1275/startup.S +--- a/grub-core/kern/powerpc/ieee1275/startup.S ++++ b/grub-core/kern/powerpc/ieee1275/startup.S @@ -20,6 +20,8 @@ #include #include diff --git a/srcpkgs/grub/template b/srcpkgs/grub/template index 69cea9ae19a3..11cbdc495f67 100644 --- a/srcpkgs/grub/template +++ b/srcpkgs/grub/template @@ -16,6 +16,7 @@ checksum=e5292496995ad42dabe843a0192cf2a2c502e7ffcc7479398232b10a472df77d archs="i686* x86_64* aarch64* ppc ppc-musl ppc64*" nopie=yes +patch_args=-Np1 subpackages="grub-utils" # _SUPPLEMENTARY_BUILDS is a list of - version of grub to build From c0e63bdd7ea0582973f15e23c21446de82409080 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 08:31:53 +0700 Subject: [PATCH 2/6] srcpkgs: adjust patch_args to -Np1 for patches being symlinked --- srcpkgs/cmake/patches/musl-test.patch | 4 ++-- srcpkgs/cmake/patches/test-none.patch | 4 ++-- srcpkgs/cmake/template | 1 + srcpkgs/gsimplecal-gtk2/patches/musl.patch | 4 ++-- srcpkgs/gsimplecal-gtk2/template | 1 + ...list_unlink_in_pthread_exit_after_all.patch | 4 ++-- ...threads_minus_1_as_relaxed_atomic_for.patch | 12 ++++++------ ...down_size_of_some_libc_struct_members.patch | 4 ++-- ...ipping_for_processes_that_return_to_s.patch | 16 ++++++++-------- srcpkgs/musl/patches/CVE-2020-28928.patch | 4 ++-- srcpkgs/musl/patches/aarch64-fregs.patch | 8 ++++---- srcpkgs/musl/patches/epoll_cp.patch | 4 ++-- srcpkgs/musl/patches/isascii.patch | 4 ++-- srcpkgs/musl/patches/mo_lookup.patch | 4 ++-- srcpkgs/musl/patches/ppc-pt_regs.patch | 8 ++++---- srcpkgs/musl/patches/ppc64-fpregset_t.patch | 4 ++-- srcpkgs/musl/patches/ppcle.patch | 4 ++-- srcpkgs/musl/patches/reallocarray.patch | 6 +++--- srcpkgs/musl/template | 1 + ...al.c-define-__SIGRTMIN-MAX-for-non-GN.patch | 4 ++-- .../patches/fix-softfloat-fesetround.patch | 4 ++-- srcpkgs/qemu/patches/mmap-mremap-efault.patch | 4 ++-- srcpkgs/qemu/patches/musl-9p-limits_h.patch | 4 ++-- .../qemu/patches/musl-fix-SIOCGSTAMPNS.patch | 4 ++-- .../musl-fix-sigevent-and-sigval_t.patch | 4 ++-- .../qemu/patches/musl-initialize-msghdr.patch | 4 ++-- srcpkgs/qemu/patches/musl-ppc.patch | 12 ++++++------ srcpkgs/qemu/patches/time64.patch | 8 ++++---- srcpkgs/qemu/patches/xxx-ppcle.patch | 18 +++++++++--------- srcpkgs/qemu/template | 1 + srcpkgs/util-linux/patches/fix-musl.patch | 4 ++-- srcpkgs/util-linux/template | 1 + srcpkgs/xbps/patches/cflags.patch | 4 ++-- srcpkgs/xbps/template | 1 + 34 files changed, 90 insertions(+), 84 deletions(-) diff --git a/srcpkgs/cmake/patches/musl-test.patch b/srcpkgs/cmake/patches/musl-test.patch index 4da8c2f9cfc6..0329b5efd2f5 100644 --- a/srcpkgs/cmake/patches/musl-test.patch +++ b/srcpkgs/cmake/patches/musl-test.patch @@ -1,5 +1,5 @@ ---- Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake.orig 2020-12-05 13:27:21.098078774 +0700 -+++ Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake 2020-12-05 13:29:19.931553018 +0700 +--- a/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake.orig 2020-12-05 13:27:21.098078774 +0700 ++++ b/Tests/RunCMake/file-GET_RUNTIME_DEPENDENCIES/linux-all-check.cmake 2020-12-05 13:29:19.931553018 +0700 @@ -33,9 +33,9 @@ [[librunpath_parent_unresolved\.so]] [[librunpath_unresolved\.so]] diff --git a/srcpkgs/cmake/patches/test-none.patch b/srcpkgs/cmake/patches/test-none.patch index 3a5540551525..e0b6886bb0a2 100644 --- a/srcpkgs/cmake/patches/test-none.patch +++ b/srcpkgs/cmake/patches/test-none.patch @@ -24,8 +24,8 @@ Let's define them when non main stream like None is specified as CMAKE_BUILD_TY diff --git Tests/ConfigSources/CMakeLists.txt Tests/ConfigSources/CMakeLists.txt index a3d98f685f..f83759ca10 100644 ---- Tests/ConfigSources/CMakeLists.txt -+++ Tests/ConfigSources/CMakeLists.txt +--- a/Tests/ConfigSources/CMakeLists.txt ++++ b/Tests/ConfigSources/CMakeLists.txt @@ -74,10 +74,10 @@ add_custom_command(APPEND VERBATIM ) diff --git a/srcpkgs/cmake/template b/srcpkgs/cmake/template index 5d3308f93b5d..e9ee3debf3c0 100644 --- a/srcpkgs/cmake/template +++ b/srcpkgs/cmake/template @@ -17,6 +17,7 @@ homepage="https://www.cmake.org" distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz" checksum=4d008ac3461e271fcfac26a05936f77fc7ab64402156fb371d41284851a651b8 replaces="cmake-bootstrap>=0" +patch_args=-Np1 if [ "$CROSS_BUILD" ]; then build_style=cmake diff --git a/srcpkgs/gsimplecal-gtk2/patches/musl.patch b/srcpkgs/gsimplecal-gtk2/patches/musl.patch index 2295d20b338d..eef2a786bb73 100644 --- a/srcpkgs/gsimplecal-gtk2/patches/musl.patch +++ b/srcpkgs/gsimplecal-gtk2/patches/musl.patch @@ -1,5 +1,5 @@ ---- src/Unique.cpp.orig 2016-04-24 08:08:43.921536576 +0200 -+++ src/Unique.cpp 2016-04-24 08:09:18.615896283 +0200 +--- a/src/Unique.cpp.orig 2016-04-24 08:08:43.921536576 +0200 ++++ b/src/Unique.cpp 2016-04-24 08:09:18.615896283 +0200 @@ -1,10 +1,16 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" diff --git a/srcpkgs/gsimplecal-gtk2/template b/srcpkgs/gsimplecal-gtk2/template index 73cf3bd39b88..c7339f62d60e 100644 --- a/srcpkgs/gsimplecal-gtk2/template +++ b/srcpkgs/gsimplecal-gtk2/template @@ -13,6 +13,7 @@ license="BSD-3-Clause" homepage="http://dmedvinsky.github.io/gsimplecal/" distfiles="https://github.com/dmedvinsky/${pkgname%-*}/archive/v${version}.tar.gz" checksum="660cac7333d3507203a008e142e2b8f5dfcf0735b6ccabdd8d3d902b5d2c40e9" +patch_args=-Np1 replaces="gsimplecal-gtk3>=0" diff --git a/srcpkgs/musl/patches/0001_reorder_thread_list_unlink_in_pthread_exit_after_all.patch b/srcpkgs/musl/patches/0001_reorder_thread_list_unlink_in_pthread_exit_after_all.patch index e774afcd52e4..7c1a55bc85e3 100644 --- a/srcpkgs/musl/patches/0001_reorder_thread_list_unlink_in_pthread_exit_after_all.patch +++ b/srcpkgs/musl/patches/0001_reorder_thread_list_unlink_in_pthread_exit_after_all.patch @@ -16,8 +16,8 @@ __dl_thread_cleanup. diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index 5f491092..6a3b0c21 100644 ---- src/thread/pthread_create.c -+++ src/thread/pthread_create.c +--- a/src/thread/pthread_create.c ++++ b/src/thread/pthread_create.c @@ -90,14 +90,7 @@ _Noreturn void __pthread_exit(void *result) exit(0); } diff --git a/srcpkgs/musl/patches/0002_don_t_use_libc_threads_minus_1_as_relaxed_atomic_for.patch b/srcpkgs/musl/patches/0002_don_t_use_libc_threads_minus_1_as_relaxed_atomic_for.patch index 850c43c3cc78..e060762e99a6 100644 --- a/srcpkgs/musl/patches/0002_don_t_use_libc_threads_minus_1_as_relaxed_atomic_for.patch +++ b/srcpkgs/musl/patches/0002_don_t_use_libc_threads_minus_1_as_relaxed_atomic_for.patch @@ -36,8 +36,8 @@ needs to be taken to produce a safe design. diff --git a/src/internal/libc.h b/src/internal/libc.h index ac97dc7e..c0614852 100644 ---- src/internal/libc.h -+++ src/internal/libc.h +--- a/src/internal/libc.h ++++ b/src/internal/libc.h @@ -21,7 +21,7 @@ struct __libc { int can_do_threads; int threaded; @@ -49,8 +49,8 @@ index ac97dc7e..c0614852 100644 size_t tls_size, tls_align, tls_cnt; diff --git a/src/malloc/malloc.c b/src/malloc/malloc.c index 96982596..2553a62e 100644 ---- src/malloc/malloc.c -+++ src/malloc/malloc.c +--- a/src/malloc/malloc.c ++++ b/src/malloc/malloc.c @@ -26,7 +26,7 @@ int __malloc_replaced; static inline void lock(volatile int *lk) @@ -62,8 +62,8 @@ index 96982596..2553a62e 100644 diff --git a/src/thread/__lock.c b/src/thread/__lock.c index 45557c88..5b9b144e 100644 ---- src/thread/__lock.c -+++ src/thread/__lock.c +--- a/src/thread/__lock.c ++++ b/src/thread/__lock.c @@ -18,7 +18,7 @@ void __lock(volatile int *l) diff --git a/srcpkgs/musl/patches/0003_cut_down_size_of_some_libc_struct_members.patch b/srcpkgs/musl/patches/0003_cut_down_size_of_some_libc_struct_members.patch index 60dcac24bda6..540c5d950195 100644 --- a/srcpkgs/musl/patches/0003_cut_down_size_of_some_libc_struct_members.patch +++ b/srcpkgs/musl/patches/0003_cut_down_size_of_some_libc_struct_members.patch @@ -10,8 +10,8 @@ these are all flags that can be single-byte values. diff --git a/src/internal/libc.h b/src/internal/libc.h index c0614852..d47f58e0 100644 ---- src/internal/libc.h -+++ src/internal/libc.h +--- a/src/internal/libc.h ++++ b/src/internal/libc.h @@ -18,9 +18,9 @@ struct tls_module { }; diff --git a/srcpkgs/musl/patches/0004_restore_lock_skipping_for_processes_that_return_to_s.patch b/srcpkgs/musl/patches/0004_restore_lock_skipping_for_processes_that_return_to_s.patch index 09847c32b6a8..e703c1f403c5 100644 --- a/srcpkgs/musl/patches/0004_restore_lock_skipping_for_processes_that_return_to_s.patch +++ b/srcpkgs/musl/patches/0004_restore_lock_skipping_for_processes_that_return_to_s.patch @@ -19,8 +19,8 @@ memory load after the lock is taken. diff --git a/src/internal/libc.h b/src/internal/libc.h index d47f58e0..619bba86 100644 ---- src/internal/libc.h -+++ src/internal/libc.h +--- a/src/internal/libc.h ++++ b/src/internal/libc.h @@ -21,6 +21,7 @@ struct __libc { char can_do_threads; char threaded; @@ -31,8 +31,8 @@ index d47f58e0..619bba86 100644 struct tls_module *tls_head; diff --git a/src/malloc/malloc.c b/src/malloc/malloc.c index 2553a62e..a803d4c9 100644 ---- src/malloc/malloc.c -+++ src/malloc/malloc.c +--- a/src/malloc/malloc.c ++++ b/src/malloc/malloc.c @@ -26,8 +26,11 @@ int __malloc_replaced; static inline void lock(volatile int *lk) @@ -48,8 +48,8 @@ index 2553a62e..a803d4c9 100644 static inline void unlock(volatile int *lk) diff --git a/src/thread/__lock.c b/src/thread/__lock.c index 5b9b144e..60eece49 100644 ---- src/thread/__lock.c -+++ src/thread/__lock.c +--- a/src/thread/__lock.c ++++ b/src/thread/__lock.c @@ -18,9 +18,11 @@ void __lock(volatile int *l) @@ -65,8 +65,8 @@ index 5b9b144e..60eece49 100644 for (unsigned i = 0; i < 10; ++i) { diff --git a/src/thread/pthread_create.c b/src/thread/pthread_create.c index 6a3b0c21..6bdfb44f 100644 ---- src/thread/pthread_create.c -+++ src/thread/pthread_create.c +--- a/src/thread/pthread_create.c ++++ b/src/thread/pthread_create.c @@ -118,8 +118,8 @@ _Noreturn void __pthread_exit(void *result) * until the lock is released, which only happens after SYS_exit * has been called, via the exit futex address pointing at the lock. diff --git a/srcpkgs/musl/patches/CVE-2020-28928.patch b/srcpkgs/musl/patches/CVE-2020-28928.patch index 9075ae1f8977..b3ff3b4ee08f 100644 --- a/srcpkgs/musl/patches/CVE-2020-28928.patch +++ b/srcpkgs/musl/patches/CVE-2020-28928.patch @@ -1,5 +1,5 @@ ---- src/multibyte/wcsnrtombs.c -+++ src/multibyte/wcsnrtombs.c +--- a/src/multibyte/wcsnrtombs.c ++++ b/src/multibyte/wcsnrtombs.c @@ -1,41 +1,33 @@ #include +#include diff --git a/srcpkgs/musl/patches/aarch64-fregs.patch b/srcpkgs/musl/patches/aarch64-fregs.patch index 9c89de447320..024eed11a8e5 100644 --- a/srcpkgs/musl/patches/aarch64-fregs.patch +++ b/srcpkgs/musl/patches/aarch64-fregs.patch @@ -2,8 +2,8 @@ Use types compatible with glibc/kernel headers. diff --git a/arch/aarch64/bits/signal.h b/arch/aarch64/bits/signal.h index b71261f5..5098c734 100644 ---- arch/aarch64/bits/signal.h -+++ arch/aarch64/bits/signal.h +--- a/arch/aarch64/bits/signal.h ++++ b/arch/aarch64/bits/signal.h @@ -11,7 +11,7 @@ typedef unsigned long greg_t; typedef unsigned long gregset_t[34]; @@ -24,8 +24,8 @@ index b71261f5..5098c734 100644 struct _aarch64_ctx head; diff --git a/arch/aarch64/bits/user.h b/arch/aarch64/bits/user.h index d12cdf7f..8a1002aa 100644 ---- arch/aarch64/bits/user.h -+++ arch/aarch64/bits/user.h +--- a/arch/aarch64/bits/user.h ++++ b/arch/aarch64/bits/user.h @@ -6,7 +6,7 @@ struct user_regs_struct { }; diff --git a/srcpkgs/musl/patches/epoll_cp.patch b/srcpkgs/musl/patches/epoll_cp.patch index 429aff70b137..92f47551ad8e 100644 --- a/srcpkgs/musl/patches/epoll_cp.patch +++ b/srcpkgs/musl/patches/epoll_cp.patch @@ -12,8 +12,8 @@ cancellation points should be done. diff --git src/linux/epoll.c src/linux/epoll.c index deff5b10..93baa814 100644 ---- src/linux/epoll.c -+++ src/linux/epoll.c +--- a/src/linux/epoll.c ++++ b/src/linux/epoll.c @@ -24,9 +24,9 @@ int epoll_ctl(int fd, int op, int fd2, struct epoll_event *ev) int epoll_pwait(int fd, struct epoll_event *ev, int cnt, int to, const sigset_t *sigs) diff --git a/srcpkgs/musl/patches/isascii.patch b/srcpkgs/musl/patches/isascii.patch index 372ab1f44ab2..6719d2ee188f 100644 --- a/srcpkgs/musl/patches/isascii.patch +++ b/srcpkgs/musl/patches/isascii.patch @@ -7,8 +7,8 @@ analogous to commit a60457c84a4b59ab564d7f4abb660a70283ba98d. diff --git include/ctype.h include/ctype.h index 7936536f..32bcef4d 100644 ---- include/ctype.h -+++ include/ctype.h +--- a/include/ctype.h ++++ b/include/ctype.h @@ -64,7 +64,9 @@ int isascii(int); int toascii(int); #define _tolower(a) ((a)|0x20) diff --git a/srcpkgs/musl/patches/mo_lookup.patch b/srcpkgs/musl/patches/mo_lookup.patch index c23eaf33bc37..ae86e33c9c70 100644 --- a/srcpkgs/musl/patches/mo_lookup.patch +++ b/srcpkgs/musl/patches/mo_lookup.patch @@ -6,8 +6,8 @@ and probably others. --xtraeme ---- src/locale/__mo_lookup.c.orig 2019-06-26 09:55:36.843012674 +0200 -+++ src/locale/__mo_lookup.c 2019-06-26 09:56:11.529443955 +0200 +--- a/src/locale/__mo_lookup.c.orig 2019-06-26 09:55:36.843012674 +0200 ++++ b/src/locale/__mo_lookup.c 2019-06-26 09:56:11.529443955 +0200 @@ -13,7 +13,7 @@ const char *__mo_lookup(const void *p, s uint32_t b = 0, n = swapc(mo[2], sw); uint32_t o = swapc(mo[3], sw); diff --git a/srcpkgs/musl/patches/ppc-pt_regs.patch b/srcpkgs/musl/patches/ppc-pt_regs.patch index 93ab51e25c06..45815321bf0f 100644 --- a/srcpkgs/musl/patches/ppc-pt_regs.patch +++ b/srcpkgs/musl/patches/ppc-pt_regs.patch @@ -12,8 +12,8 @@ Date: Sat Oct 19 15:53:43 2019 -0400 diff --git a/arch/powerpc/bits/signal.h b/arch/powerpc/bits/signal.h index 06efb11c..c1bf3caf 100644 ---- arch/powerpc/bits/signal.h -+++ arch/powerpc/bits/signal.h +--- a/arch/powerpc/bits/signal.h ++++ b/arch/powerpc/bits/signal.h @@ -28,7 +28,7 @@ struct sigcontext { int signal; unsigned long handler; @@ -25,8 +25,8 @@ index 06efb11c..c1bf3caf 100644 typedef struct { diff --git a/arch/powerpc64/bits/signal.h b/arch/powerpc64/bits/signal.h index 4dec22a5..d5493b18 100644 ---- arch/powerpc64/bits/signal.h -+++ arch/powerpc64/bits/signal.h +--- a/arch/powerpc64/bits/signal.h ++++ b/arch/powerpc64/bits/signal.h @@ -32,7 +32,7 @@ typedef struct sigcontext { int _pad0; unsigned long handler; diff --git a/srcpkgs/musl/patches/ppc64-fpregset_t.patch b/srcpkgs/musl/patches/ppc64-fpregset_t.patch index 40c2a066acab..12617ba0ef7d 100644 --- a/srcpkgs/musl/patches/ppc64-fpregset_t.patch +++ b/srcpkgs/musl/patches/ppc64-fpregset_t.patch @@ -14,8 +14,8 @@ Date: Sat Oct 19 15:39:45 2019 -0400 diff --git a/arch/powerpc64/bits/signal.h b/arch/powerpc64/bits/signal.h index 2cc0604c..4dec22a5 100644 ---- arch/powerpc64/bits/signal.h -+++ arch/powerpc64/bits/signal.h +--- a/arch/powerpc64/bits/signal.h ++++ b/arch/powerpc64/bits/signal.h @@ -9,11 +9,7 @@ #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) diff --git a/srcpkgs/musl/patches/ppcle.patch b/srcpkgs/musl/patches/ppcle.patch index 568dcce2de82..7d49338a5a0f 100644 --- a/srcpkgs/musl/patches/ppcle.patch +++ b/srcpkgs/musl/patches/ppcle.patch @@ -9,8 +9,8 @@ Subject: [PATCH] add ppc32 le subarch diff --git configure configure index 8680128..f1ca58e 100755 ---- configure -+++ configure +--- a/configure ++++ b/configure @@ -645,6 +645,7 @@ fi if test "$ARCH" = "powerpc" ; then trycppif "__NO_FPRS__ && !_SOFT_FLOAT" "$t" && fail \ diff --git a/srcpkgs/musl/patches/reallocarray.patch b/srcpkgs/musl/patches/reallocarray.patch index 6d5faf32ccf5..cfaab330e89a 100644 --- a/srcpkgs/musl/patches/reallocarray.patch +++ b/srcpkgs/musl/patches/reallocarray.patch @@ -11,8 +11,8 @@ while glibc 2.29 allows its usage in _DEFAULT_SOURCE. diff --git a/include/stdlib.h b/include/stdlib.h index 194c2033..b54a051f 100644 ---- include/stdlib.h -+++ include/stdlib.h +--- a/include/stdlib.h ++++ b/include/stdlib.h @@ -145,6 +145,7 @@ int getloadavg(double *, int); int clearenv(void); #define WCOREDUMP(s) ((s) & 0x80) @@ -25,7 +25,7 @@ diff --git a/src/malloc/reallocarray.c b/src/malloc/reallocarray.c new file mode 100644 index 00000000..4a6ebe46 --- /dev/null -+++ src/malloc/reallocarray.c ++++ b/src/malloc/reallocarray.c @@ -0,0 +1,13 @@ +#define _BSD_SOURCE +#include diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template index 337a3082faa9..eaa3dc12e8e5 100644 --- a/srcpkgs/musl/template +++ b/srcpkgs/musl/template @@ -13,6 +13,7 @@ license="MIT" homepage="http://www.musl-libc.org/" distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz" checksum=1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 +patch_args=-Np1 nostrip_files="libc.so" shlib_provides="libc.so" diff --git a/srcpkgs/qemu/patches/0006-linux-user-signal.c-define-__SIGRTMIN-MAX-for-non-GN.patch b/srcpkgs/qemu/patches/0006-linux-user-signal.c-define-__SIGRTMIN-MAX-for-non-GN.patch index 9da918e4345f..528b5d5d8bf6 100644 --- a/srcpkgs/qemu/patches/0006-linux-user-signal.c-define-__SIGRTMIN-MAX-for-non-GN.patch +++ b/srcpkgs/qemu/patches/0006-linux-user-signal.c-define-__SIGRTMIN-MAX-for-non-GN.patch @@ -16,8 +16,8 @@ Signed-off-by: Natanael Copa diff --git a/linux-user/signal.c b/linux-user/signal.c index 5ca6d62b15..e917c16d91 100644 ---- linux-user/signal.c -+++ linux-user/signal.c +--- a/linux-user/signal.c ++++ b/linux-user/signal.c @@ -25,6 +25,13 @@ #include "trace.h" #include "signal-common.h" diff --git a/srcpkgs/qemu/patches/fix-softfloat-fesetround.patch b/srcpkgs/qemu/patches/fix-softfloat-fesetround.patch index 009c3eab1b51..ecdd049f7921 100644 --- a/srcpkgs/qemu/patches/fix-softfloat-fesetround.patch +++ b/srcpkgs/qemu/patches/fix-softfloat-fesetround.patch @@ -2,8 +2,8 @@ Source: @pullmoll Upstream: no Reason: Target architectures with soft float do not define these constants. ---- tests/fp/fp-bench.c 2020-12-08 17:59:44.000000000 +0100 -+++ tests/fp/fp-bench.c 2020-12-12 20:38:40.702235420 +0100 +--- a/tests/fp/fp-bench.c 2020-12-08 17:59:44.000000000 +0100 ++++ b/tests/fp/fp-bench.c 2020-12-12 20:38:40.702235420 +0100 @@ -485,16 +485,32 @@ switch (rounding) { diff --git a/srcpkgs/qemu/patches/mmap-mremap-efault.patch b/srcpkgs/qemu/patches/mmap-mremap-efault.patch index be58a46df664..5a70e9658b30 100644 --- a/srcpkgs/qemu/patches/mmap-mremap-efault.patch +++ b/srcpkgs/qemu/patches/mmap-mremap-efault.patch @@ -8,8 +8,8 @@ Also speed up the loop when checking for increasing the mappings size to go in steps of TARGET_PAGE_SIZE and OR-in a check for the very last byte of the range. diff --git linux-user/mmap.c linux-user/mmap.c index 7e3b245..1e8d0f1 100644 ---- linux-user/mmap.c -+++ linux-user/mmap.c +--- a/linux-user/mmap.c ++++ b/linux-user/mmap.c @@ -738,7 +738,7 @@ abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size, !guest_range_valid_untagged(new_addr, new_size)) || ((flags & MREMAP_MAYMOVE) == 0 && diff --git a/srcpkgs/qemu/patches/musl-9p-limits_h.patch b/srcpkgs/qemu/patches/musl-9p-limits_h.patch index fca3207c84a4..ee0f89886352 100644 --- a/srcpkgs/qemu/patches/musl-9p-limits_h.patch +++ b/srcpkgs/qemu/patches/musl-9p-limits_h.patch @@ -1,5 +1,5 @@ ---- hw/9pfs/9p.c.orig 2016-12-21 15:53:59.997900753 +0100 -+++ hw/9pfs/9p.c 2016-12-21 15:54:03.006935717 +0100 +--- a/hw/9pfs/9p.c.orig 2016-12-21 15:53:59.997900753 +0100 ++++ b/hw/9pfs/9p.c 2016-12-21 15:54:03.006935717 +0100 @@ -11,6 +11,7 @@ * */ diff --git a/srcpkgs/qemu/patches/musl-fix-SIOCGSTAMPNS.patch b/srcpkgs/qemu/patches/musl-fix-SIOCGSTAMPNS.patch index 1b00c27e70a4..e0b76c4d3c25 100644 --- a/srcpkgs/qemu/patches/musl-fix-SIOCGSTAMPNS.patch +++ b/srcpkgs/qemu/patches/musl-fix-SIOCGSTAMPNS.patch @@ -1,5 +1,5 @@ ---- linux-user/syscall.c.orig 2017-04-25 23:46:47.896819860 +0200 -+++ linux-user/syscall.c 2017-04-26 08:43:48.821452132 +0200 +--- a/linux-user/syscall.c.orig 2017-04-25 23:46:47.896819860 +0200 ++++ b/linux-user/syscall.c 2017-04-26 08:43:48.821452132 +0200 @@ -34,6 +34,7 @@ #include #include diff --git a/srcpkgs/qemu/patches/musl-fix-sigevent-and-sigval_t.patch b/srcpkgs/qemu/patches/musl-fix-sigevent-and-sigval_t.patch index 11497d5fc900..c51fca6cf432 100644 --- a/srcpkgs/qemu/patches/musl-fix-sigevent-and-sigval_t.patch +++ b/srcpkgs/qemu/patches/musl-fix-sigevent-and-sigval_t.patch @@ -1,5 +1,5 @@ ---- linux-user/syscall.c.orig 2015-04-10 07:10:06.305662505 +0000 -+++ linux-user/syscall.c 2015-04-10 07:36:53.801871968 +0000 +--- a/linux-user/syscall.c.orig 2015-04-10 07:10:06.305662505 +0000 ++++ b/linux-user/syscall.c 2015-04-10 07:36:53.801871968 +0000 @@ -5020,9 +5020,20 @@ return 0; } diff --git a/srcpkgs/qemu/patches/musl-initialize-msghdr.patch b/srcpkgs/qemu/patches/musl-initialize-msghdr.patch index c195f0c0b1f4..6d96b3511daf 100644 --- a/srcpkgs/qemu/patches/musl-initialize-msghdr.patch +++ b/srcpkgs/qemu/patches/musl-initialize-msghdr.patch @@ -2,8 +2,8 @@ Source: https://github.com/void-linux/void-packages/issues/23557 diff --git linux-user/syscall.c linux-user/syscall.c index 945fc25..8d8b68a 100644 ---- linux-user/syscall.c -+++ linux-user/syscall.c +--- a/linux-user/syscall.c ++++ b/linux-user/syscall.c @@ -3071,7 +3071,7 @@ static abi_long do_sendrecvmsg_locked(int fd, struct target_msghdr *msgp, int flags, int send) { diff --git a/srcpkgs/qemu/patches/musl-ppc.patch b/srcpkgs/qemu/patches/musl-ppc.patch index 6f066c0b30eb..744efe6a4980 100644 --- a/srcpkgs/qemu/patches/musl-ppc.patch +++ b/srcpkgs/qemu/patches/musl-ppc.patch @@ -1,5 +1,5 @@ ---- accel/tcg/user-exec.c -+++ accel/tcg/user-exec.c +--- a/accel/tcg/user-exec.c ++++ b/accel/tcg/user-exec.c @@ -286,6 +286,7 @@ int cpu_signal_handler(int host_signum, void *pinfo, */ #ifdef linux @@ -44,8 +44,8 @@ #endif /* linux */ #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) ---- linux-user/host/ppc64/hostdep.h -+++ linux-user/host/ppc64/hostdep.h +--- a/linux-user/host/ppc64/hostdep.h ++++ b/linux-user/host/ppc64/hostdep.h @@ -27,7 +27,11 @@ extern char safe_syscall_end[]; static inline void rewind_if_in_safe_syscall(void *puc) { @@ -58,8 +58,8 @@ if (*pcreg > (uintptr_t)safe_syscall_start && *pcreg < (uintptr_t)safe_syscall_end) { ---- util/mmap-alloc.c -+++ util/mmap-alloc.c +--- a/util/mmap-alloc.c ++++ b/util/mmap-alloc.c @@ -25,6 +25,10 @@ #ifdef CONFIG_LINUX diff --git a/srcpkgs/qemu/patches/time64.patch b/srcpkgs/qemu/patches/time64.patch index 7f74ed356934..28be93004891 100644 --- a/srcpkgs/qemu/patches/time64.patch +++ b/srcpkgs/qemu/patches/time64.patch @@ -1,5 +1,5 @@ ---- contrib/vhost-user-input/main.c 2020-12-08 17:59:44.000000000 +0100 -+++ contrib/vhost-user-input/main.c 2020-12-12 20:59:04.316996648 +0100 +--- a/contrib/vhost-user-input/main.c 2020-12-08 17:59:44.000000000 +0100 ++++ b/contrib/vhost-user-input/main.c 2020-12-12 20:59:04.316996648 +0100 @@ -114,14 +114,17 @@ static void vi_handle_status(VuInput *vi, virtio_input_event *event) @@ -19,8 +19,8 @@ evdev.type = le16toh(event->type); evdev.code = le16toh(event->code); evdev.value = le32toh(event->value); ---- hw/input/virtio-input-host.c 2020-12-08 17:59:44.000000000 +0100 -+++ hw/input/virtio-input-host.c 2020-12-12 21:33:44.750471890 +0100 +--- a/hw/input/virtio-input-host.c 2020-12-08 17:59:44.000000000 +0100 ++++ b/hw/input/virtio-input-host.c 2020-12-12 21:33:44.750471890 +0100 @@ -192,14 +192,17 @@ virtio_input_event *event) { diff --git a/srcpkgs/qemu/patches/xxx-ppcle.patch b/srcpkgs/qemu/patches/xxx-ppcle.patch index 99396bff9dd5..c5325c9ca70e 100644 --- a/srcpkgs/qemu/patches/xxx-ppcle.patch +++ b/srcpkgs/qemu/patches/xxx-ppcle.patch @@ -14,8 +14,8 @@ Subject: [PATCH] support ppcle architecture diff --git configure configure index 18c26e0..03d3e18 100755 ---- configure -+++ configure +--- a/configure ++++ b/configure @@ -653,7 +653,11 @@ elif check_define _ARCH_PPC ; then cpu="ppc64" fi @@ -62,7 +62,7 @@ diff --git default-configs/targets/ppcle-linux-user.mak default-configs/targets/ new file mode 100644 index 0000000..2259243 --- /dev/null -+++ default-configs/targets/ppcle-linux-user.mak ++++ b/default-configs/targets/ppcle-linux-user.mak @@ -0,0 +1,4 @@ +TARGET_ARCH=ppc +TARGET_SYSTBL_ABI=common,nospu,32 @@ -70,8 +70,8 @@ index 0000000..2259243 +TARGET_XML_FILES= gdb-xml/power-core.xml gdb-xml/power-fpu.xml gdb-xml/power-altivec.xml gdb-xml/power-spe.xml diff --git linux-user/ppc/target_syscall.h linux-user/ppc/target_syscall.h index b9c4b81..cf26497 100644 ---- linux-user/ppc/target_syscall.h -+++ linux-user/ppc/target_syscall.h +--- a/linux-user/ppc/target_syscall.h ++++ b/linux-user/ppc/target_syscall.h @@ -65,7 +65,11 @@ struct target_revectored_struct { #define UNAME_MACHINE "ppc64le" #endif @@ -86,8 +86,8 @@ index b9c4b81..cf26497 100644 diff --git scripts/qemu-binfmt-conf.sh scripts/qemu-binfmt-conf.sh index 9f1580a..393943f 100755 ---- scripts/qemu-binfmt-conf.sh -+++ scripts/qemu-binfmt-conf.sh +--- a/scripts/qemu-binfmt-conf.sh ++++ b/scripts/qemu-binfmt-conf.sh @@ -46,6 +46,10 @@ ppc_magic='\x7fELF\x01\x02\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x ppc_mask='\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff' ppc_family=ppc @@ -110,8 +110,8 @@ index 9f1580a..393943f 100755 arm|armel|armhf|arm64|armv[4-9]*l|aarch64) diff --git tests/tcg/configure.sh tests/tcg/configure.sh index e1b70e2..e07f5fe 100755 ---- tests/tcg/configure.sh -+++ tests/tcg/configure.sh +--- a/tests/tcg/configure.sh ++++ b/tests/tcg/configure.sh @@ -59,6 +59,8 @@ fi : $(cross_cc_mips="mips-linux-gnu-gcc") : ${cross_cc_ppc="powerpc-linux-gnu-gcc"} diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index 0fadb41f609c..0a08ed821536 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -30,6 +30,7 @@ nostrip_files="hppa-firmware.img openbios-ppc openbios-sparc32 openbios-sparc64 opensbi-riscv64-generic-fw_dynamic.elf" # FIXME make_check=extended +patch_args=-Np1 build_options="gtk3 opengl sdl2 spice virgl smartcard numa iscsi" build_options_default="opengl gtk3 virgl sdl2 numa iscsi" diff --git a/srcpkgs/util-linux/patches/fix-musl.patch b/srcpkgs/util-linux/patches/fix-musl.patch index e426672183d1..8d1eeb9d2740 100644 --- a/srcpkgs/util-linux/patches/fix-musl.patch +++ b/srcpkgs/util-linux/patches/fix-musl.patch @@ -1,7 +1,7 @@ Define __SWORD_TYPE for musl. ---- sys-utils/switch_root.c.orig 2014-09-20 21:33:27.551345526 +0200 -+++ sys-utils/switch_root.c 2014-09-20 21:34:17.958584374 +0200 +--- a/sys-utils/switch_root.c.orig 2014-09-20 21:33:27.551345526 +0200 ++++ b/sys-utils/switch_root.c 2014-09-20 21:34:17.958584374 +0200 @@ -47,6 +47,15 @@ #define MNT_DETACH 0x00000002 /* Just detach from the tree */ #endif diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index 4fb8292531ba..fbd3f00e6f80 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -14,6 +14,7 @@ license="GPL-2.0-or-later" homepage="https://www.kernel.org/pub/linux/utils/util-linux/" distfiles="${KERNEL_SITE}/utils/${pkgname}/v${version%.${version#*.*.}}/${pkgname}-${version}.tar.xz" checksum=f7516ba9d8689343594356f0e5e1a5f0da34adfbc89023437735872bb5024c5f +patch_args=-Np1 # Create uuidd system account for uuidd. system_accounts="_uuidd" diff --git a/srcpkgs/xbps/patches/cflags.patch b/srcpkgs/xbps/patches/cflags.patch index 8e576f2a887d..bf95fea3bebe 100644 --- a/srcpkgs/xbps/patches/cflags.patch +++ b/srcpkgs/xbps/patches/cflags.patch @@ -4,8 +4,8 @@ when using strong stack protector) diff --git lib/Makefile lib/Makefile index 65342ef..847bfdd 100644 ---- lib/Makefile -+++ lib/Makefile +--- a/lib/Makefile ++++ b/lib/Makefile @@ -78,7 +78,7 @@ $(OBJS): %.o: %.c libxbps.so: $(LIBFETCH_OBJS) $(LIBPROP_OBJS) $(OBJS) diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index 8f986d22f9f3..c6af59bd635a 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -11,6 +11,7 @@ homepage="https://github.com/void-linux/xbps" changelog="https://github.com/void-linux/xbps/blob/master/NEWS" distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz" checksum=0cbd8d5f23a62047c75974bca21da9f004a94efffd7f37c68562a8dbc869fb2a +patch_args=-Np1 hostmakedepends="pkgconf" checkdepends="kyua" From 1dad7a5b2a3483159bf2e1ad4e360dc0abcd77f6 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 3/6] 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/daemontools/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/fcitx/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/ladish/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/mediastreamer/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-qt5/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 + 1241 files changed, 1241 insertions(+) diff --git a/srcpkgs/0ad/template b/srcpkgs/0ad/template index d6bbdb483101..183936084930 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 b9c5e7c66a79..ca916507c9a6 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 7aa6e152c8f1..b776195a806b 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 e7cee72701f8..74ed0a369e03 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 5b1160ad2049..6cf8f4e2fc9c 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 2ddf6c24ee6e..8dcd52f2a62c 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 309179b0715a..389100d545c3 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 0947bcfef816..f99e7a8e62a2 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 701fd0ea30f7..bc39346ecec8 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 bbe66b9f29b9..8e57303fe874 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 142051ec0a4a..1f4180bda367 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 cff8201154a1..70d18bd53b78 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 5b2af733ca37..fe3a9f916b18 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 995353eee428..a889ea92d33b 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 f2eb67e7f9b5..fbc8339d6da0 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 1d47801303d3..e5a0057af193 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 d97ab1654a52..4dd6b0cb08f9 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 4365c11e5844..51c792007cb0 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 74beafdc6863..f40f1d382f95 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 35f5269eac7c..68825a0d4a7e 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 d1207b72b881..439b4f934042 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 3a5224f907ee..da6fd2e7239a 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 9fbc72cbe4e7..e270384ecd37 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 eb94684afcf6..893d78c880cc 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 7c4be8c13b2a..ea3d28d0c4f4 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 6b9f47eda5e6..202b419fa843 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 10e7f52924b6..34ac1a00a447 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 ee67dbaff01c..63796b6f17db 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 f44cc1e9d916..fc79fbb7e1f7 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 dc087f8c7f07..fece21ed427a 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 dd0e76cb8017..9a073edcf573 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 38322eb305cc..8da1cc17f80c 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 d55ee7ab382e..03c5de1df7df 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 9013c2e73e21..7bc1e95d78b1 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 030aac7a61b2..1557b2429b3c 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 d67469fc18a8..15f8f14acef5 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 8999b6e483ff..7fa1635eefff 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 71534315cf7c..66ebf5dd530a 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 2b4dd9fcc7e5..c95a8fa6b25d 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 e4aa3a2e0265..ccad1528e349 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 23e805e3c99c..002c59fdc493 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 9335f38e08e0..5497ec5a574e 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 21fa18ce85ae..6aa3a516c5e2 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 9538e8d1f4da..c22614dedfb8 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 c00a4077d8f7..84c28f82c875 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 860bb6b28ccf..b3ac5cc05599 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 2a24e481538f..752770b0da9d 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 8312d0e4e15a..df44a949213a 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 6ce3ccdc6b41..9b66b6e673a2 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 ba9c15546dea..f5b99af26493 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 a313e19cb1f9..5cdbcaa17b47 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 f8901c34cecc..99b570dcb675 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 f55a7eb6c144..d96d1b779231 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 b85bc791275d..8ded0831aa1c 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 1078472c79ae..e96cc23f1547 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 1182a174b558..6a29a3bc9290 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 96b6b6604ba8..bf03527607a7 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 b46d58aeafe3..e861c17df632 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 55976fbd26eb..731999e63600 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 6a77e8e3a09b..1e4a1d081868 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 a4dfb6ceb229..c33563fa0c9a 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 3c92ff8fc988..24fa60ac48a6 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 88b8d32b6720..06472f651624 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 5eaf493d53f6..36c6fffca5d1 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 f2dc1241668a..1fa0399f64b6 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 ea55a80935d7..9f509f325469 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 eea61aa562bc..0ada7d5bc748 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 ae133e67b141..14e6810a0ac5 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 d352962e73d3..5d6531ec93fc 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 7cc1bb0617eb..04bdaf7a1419 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 5fb8294254f7..33d0d14436cc 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 dfa7870ed4ca..22022fc8a649 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 9407c3aa8b48..52e72128108d 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 f06781b63736..279fa42510d9 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 24b6f55108ea..a6bc88da22d8 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 7d45161ede5d..39b1cb64289c 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 e37e50c628fe..b1c72bcbe608 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 860e5840811c..d6e09e75d70d 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 772c4582b3e7..563b741d6af8 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 cf474ff86dec..6608120fc2d9 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 b82abf7d377c..4f6d6cc2d8f2 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 8c981e657879..8ba868d263e3 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 153c0341edcb..3e7feff29c04 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 ceff4287193d..dd2419954f94 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 eaab3e9fdb72..c903e81ed8d5 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 c91520872ce5..4ed153f8b74c 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 a4eef3f40260..7779d5ec2034 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 260e8c753f07..a3018bf709b9 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 31f07cb74c00..ebbcb4df4549 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 b306368242d3..bd2ab2792540 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 cfc9d20c9df8..3b6d72d5090d 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 e62a3bc2c436..abedf3e2bc0c 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 7d3a15725c57..d00bec12e17a 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 04b89e171ad8..9facbbf2efe2 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 fabedf3d5978..80acf0c6e8fd 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 1a3614b781c3..0244cc11cc20 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 8fb35827056a..a1776f121092 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 a9a52c11007a..40ae05dec712 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 4dc9d3235e60..049ba73bc327 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 c6ca1b7d899a..bff25a4c64e9 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 cbdb9de0abcf..091ad9473a2d 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 4de00e55e201..f308b6874143 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 0f3c10d9781f..3be4bf6147f3 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 8dfb44bf88ad..60e86df7539f 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 29a1ef99dbda..dbe0d1888c67 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 6351feba635d..9f9c297d3589 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 f5aeb2a1e4fd..280c3e0bce2c 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 05256589af24..a9fb2bf94342 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 73a17e44c8d6..06db316d4c6a 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 8d711210193e..fd37d2a267d3 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 6c61fff87aeb..cec10ddb7e74 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 bc40598b0360..493605a5ceb1 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 2355c664a428..f5140a9ac2d6 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 450fde27deed..f5de7ac86973 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 c3b2cc22a265..58e033107399 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 10ad09eac501..05fffcbf3af0 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 67b13cb31a54..64f426cc2eca 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 1eba13495c2a..944fdaf172d3 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 4cab853148a5..f66197af1d88 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 8fa4be8c3d62..5c1be95b51f3 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 904e0e8571ff..00b49809a562 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 5b559e932d18..23f6a6acc51c 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 62cd9d2116a3..e63b864e5e44 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 d2e6ffb9ccda..5e9e3c803e32 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 08827cd6ad58..e50ac51ba446 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 53e15ed6ff03..b9c6ba6ec6bf 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 55bc9c0e1d36..a31c8c385c7c 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 856fefd13d78..67675e7dcab0 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 d1396b8c707c..5f038e447a77 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 e6ac1e4a369f..922b71d2b7de 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 4df1dac59395..c8d5dda04338 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 df0fb0c0c640..e1c05e510af0 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 ae905fc67ab8..bec731f4e532 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 b2c1962d9195..2785910412d1 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 9dabf7d89292..3f2af8aafdfd 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 c54ea65d32c5..93aa7c8e3bf9 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 b40c3cddbf68..5028dce8364d 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 f3d95a8f1523..c9d602c51242 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 07377569ba5f..b580ccc52e9b 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 c39a9427efb1..d51b4a9e6efd 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 a488bfbf05d7..b272c4a370c0 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 bf65dc7277be..83210555d177 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 854e76a613cd..cd82c7f4c9bc 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 2c15789b1f9d..1db0f1c792e6 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 468dcd1c7b1b..6358543e178f 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 b429ab1f0fcb..283dc9312e0b 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 bc2087ca2bd3..d5c191ab4da4 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 5555e35858a2..853aec8890bf 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 9c9781d1fc47..654bdfe4a906 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 23e59016d313..09607734bc90 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 ff26dbc5f7be..06522d692116 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 63388b2aa828..739b521d98c3 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 fe27e68b04f5..9bdd5e05fc3f 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 5972ddeb0ce6..d6a2bc83ee74 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 c43dbb94209c..d221a95f2520 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 7f27e3317fc4..168445d7ec45 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 c95afff379bb..410f978ee7f9 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 e120ca3af500..6de896357130 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 f1fb8b2f646c..5f8a016741b4 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 3cf09587f215..956184ded118 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 070fa66aff81..14cd66cd83fb 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 3fa7f80a2ea7..352613cf01d5 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 2ee6f0cd64fd..22f9e62c648f 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 85e1c6ee1ed8..b0001ac504be 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 1b07026b9ea4..b6c87f0e2757 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 f69730b3a9fe..642d3147fdd2 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 a13ad9765b5a..c4ab65395aa6 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 01558c933f81..1f614156b116 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 a573c27d1499..44f3de8568b4 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 e2fb62b08d8a..eb5ee1d0fed6 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 75a2c16f63e0..df6cbfc32b23 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 2c1bb5d7a35c..cbc7e092ac87 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 f67b160c87c7..4cfe121c7fe6 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 1b88f6a965cb..3889029f0c9f 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 40a6ac8c70a1..c150fcf650fc 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 e758562274e3..d95ce4d4b367 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 6e3bf69b149d..f4802d32a731 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 ee0941a3d581..f062b8a1244b 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 fc771b0f9adf..173890a0b830 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 b255ad949bc7..2195202ec954 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 18a84032fdd4..d65b97fcf48b 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 fe045cb36356..67d9d9641281 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 461e2fe07978..44b3ab7c88de 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 ea0384420a33..dfe97283fad1 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 fd8e518e2af6..891beaef9a5e 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 33b9b9a77853..c1f7945b39c2 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 cd326930709d..51c0dcbbd0b8 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 cedc1e11c247..db21463032db 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 2130c0b8b263..3ed1add5ffa6 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 28fa815e85a9..b9fa1053465d 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 98739d4802bf..14bc56ad3856 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 181a6a9e07bf..ddbd6ba58363 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 5fd4b33b08fc..0d2f48a12e24 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 f587e0ef3640..d292c68747b7 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 4eec377ecea6..3f161fe47556 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 b9148c854960..fd25f8220a78 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 edfb526f4967..1f662c41f17b 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 a215520fb764..735ecbcba22b 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 9fbf6eccf66c..f1a756a81a70 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 c9f68933e756..2c9eda89e078 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 c846590103fa..acec95753554 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 b524377319ea..ecc5291e1b3f 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 f02f97bc6325..d38bf3627200 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 f8738551c270..1b16f75c10ee 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 56b3c3dfdfa8..2395dacd8208 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 23f63f574f00..8861e5c7b174 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 7e039c051c73..8eb6785e684e 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 897437df779b..b8339fc1bf21 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 66204733fa86..9520c2240a0a 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 e138e37605db..adb5f59e0aad 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 39f15d81ea08..ddf409fb9a76 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 1bf720a7774c..b80618d32173 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/daemontools/template b/srcpkgs/daemontools/template index 5999e2e426ac..f3efebc6eeec 100644 --- a/srcpkgs/daemontools/template +++ b/srcpkgs/daemontools/template @@ -12,6 +12,7 @@ homepage="http://cr.yp.to/daemontools.html" distfiles="http://cr.yp.to/daemontools/${pkgname}-${version}.tar.gz http://smarden.org/pape/djb/manpages/daemontools-0.76-man-20020131.tar.gz" checksum="a55535012b2be7a52dcd9eccabb9a198b13be50d0384143bd3b32b8710df4c1f 1b4d77afe0878a0df587672531a3f7bbe0feb7ad0e9acf50395426e3c434600a" +patch_args=-Np0 post_install() { for m in $XBPS_BUILDDIR/daemontools-man/*.8; do diff --git a/srcpkgs/dante/template b/srcpkgs/dante/template index 17fe0f69ae60..62b5f04f9a47 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 c289909e8122..ec40334f51f9 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 9e282a061057..cb5f7671d680 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 24f17d36dda8..6b3d09a1c0a8 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 d966b55956b7..34375cdca66f 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 01eb6336fc4f..0b38a2b6f8c4 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 2d340913b04b..217e0eb01397 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 ee905b75bfe6..3a273bea56b5 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 67cb2f426ef1..e05e4f27e3b7 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 eb975fd13a30..e7333970c76f 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 c62ae6fc7b40..ae67fbb103f4 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 5666c1d97c92..a070c45c9a26 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 3df514e0be48..e6f9059f38c9 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 3afaa5027f74..db37ee4a51b5 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 1dffc7bdd52c..1a76819b665a 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 2db18dcc60b0..a466f6607a2e 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 e651bd019067..dbd6f288fbb7 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 45f48aab4dcf..62af8fcba806 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 de62d6c62b71..548e1f9f0540 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 b1467a7dc267..35bd7f20fa24 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 fc6a70079d8b..17f259b82067 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 d47f46518415..3bee85895390 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 1bb51316a5d1..6e86a157729e 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 76a0d1cc4103..bade9c6f96bc 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 71892496013f..5ec809adcf71 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 029b0024faea..1a7c483982f1 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 79aad0940085..f33ef534d0e7 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 72521df7cd3f..13e976b57a41 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 420749bc8aa6..5e51fa6f224b 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 b251f0a2061b..a38d7cfcb776 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 04b3c274e510..1b88e629d0a7 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 5cf9b0d5fc98..260eee70d6f0 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 729f66512d42..fdd4a636e7a5 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 0222fd25026c..fddc5c1649db 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 051c1568bbb2..f86d771cb360 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 0f74b4c99d64..acd23532f88c 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 1425d223052d..4a13f8ac5c1f 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 c8db2195c8a0..240e6661f2bf 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 b871806e44e2..50dcbd25c798 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 10574a2bee11..2b0963b34c1f 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 9e9d9d3217ac..d23277b42bd1 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 4215cb087738..ef71afecf4d8 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 35204d8aa5e2..866d90e01bcc 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 b9373d6d47d0..2f87366e852f 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 85bfe1316380..5ca7c963de67 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 9ad934499983..ae6182905ced 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 b3c996b8fc2f..29fac22fb794 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 c4a81cd4aafe..499be371af64 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 ada38513b984..3ba60e34d293 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 9e71add969a7..6a2c71df08e9 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 187fdd3651bf..c6d7fa2a681b 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 a4e160c15bed..06d2acb9333d 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 6bdc07b97c32..72e1050a2516 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 bd2e88bbbeac..7acb1f7500b6 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 8786d5d94edf..498040008735 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 0f2c83f6f483..9d6d3d0ef702 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 51c50b0f74ac..3f236d8decdb 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 8e9fb0ef6c81..bf02b6d0f530 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 736828d1e670..e486c3a5757c 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 5bb8355dc570..fe920ce65569 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 ac402d6fb4a9..3bf7459fc214 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 d04fa5112492..861fec84d449 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 db9c886dc920..2ffabb259e5d 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 fa608a4d0ddd..0e8f027eabe5 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 9e900f2799a0..d529a514908e 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 2c6b5774b49d..06d6a4fd4420 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 6cbc9d0da552..569162c6857e 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 a955ef5bc911..992cfa8e25b6 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 e65f2f63ac98..bc53c54383e9 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 136c47804c04..b4cc9ccbab4b 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 1b3b6fa7e9f4..84071a14f9af 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 1feed55a9d6c..ee6bca695ac8 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 ea54bb437895..84e0dbe713d1 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 f0d28ef17dfb..1f590f1e8c90 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 65ff908fb98b..e872f31c77b8 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 2d0bdbd4e44f..59a7d2c99aa9 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 1723115fb094..ffc5946416c3 100644 --- a/srcpkgs/extra-cmake-modules/template +++ b/srcpkgs/extra-cmake-modules/template @@ -13,6 +13,7 @@ homepage="https://invent.kde.org/frameworks/extra-cmake-modules" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=5972ec6d78c3e95ab9cbecdb0661c158570e868466357c5cec2b63a4251ecce4 python_version=3 +patch_args=-Np0 post_install() { vlicense COPYING-CMAKE-SCRIPTS diff --git a/srcpkgs/faad2/template b/srcpkgs/faad2/template index 33158709e655..e2e9b2ff1243 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 5e69b6e020e8..0a90feae5d28 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 f9d2cf9bb085..cae58c1efc56 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 1a5eb3cd60bc..4727e1fb6cc2 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 6162c2966a56..470b3cb4f761 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 d07de67b11dc..e03c1838342b 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 03b44b2f2580..bac06eafa812 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 347632343733..46290f5cb5d4 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 0ffe6f5aeeab..1dcbe6f1c552 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 f97ecc509dc7..47a4ba3ff5bd 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 0df248768ceb..da3387dc2b63 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 1356d32df971..123e36a95f25 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 02150ea5ca5d..42a048057b17 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/fcitx/template b/srcpkgs/fcitx/template index 00675b1fedc0..d562bf7c9434 100644 --- a/srcpkgs/fcitx/template +++ b/srcpkgs/fcitx/template @@ -10,6 +10,7 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later, MIT" homepage="https://fcitx-im.org/" distfiles="http://download.fcitx-im.org/fcitx/fcitx-${version}_dict.tar.xz" checksum=bc3515cba0561546fe02dae81391d4a03e0e79a2d668aa794cd3a377284033c6 +patch_args=-Np0 hostmakedepends="pkg-config doxygen extra-cmake-modules glib-devel" makedepends="iso-codes gettext-devel enchant-devel libxml2-devel diff --git a/srcpkgs/fcron/template b/srcpkgs/fcron/template index 11efd44b0bbd..ffb03fb0fceb 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 3b623d0dd0cc..0183d4c4bee6 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 e6667478fe13..50ab8e58c2b5 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 87bdbd3d8ad6..95003a4f225b 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 b115f782ed4c..00f456085434 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 08d226569eb8..52f7084d1d9a 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 e4ea57638c2c..38251ae0a73c 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 3ce8a92ecbb0..01dfcc17657c 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 6b6a27403ec4..ab0544ef2e04 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 208481c58b25..6435f58c3f6e 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 da8807535ee1..d3bfe4578455 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 f07dee0ee482..60b111758bdc 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 e5528205b9e0..ac8cb4c9032c 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 4b61be701061..10fd327e1c95 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 d92355a8cabe..185f4f62b16a 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 dc1a21716e5a..909ca2605b93 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 cb463049d370..91e336667023 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 0e8afbbdadf4..6773f5d85441 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 a3c968fcdef0..d954ae814495 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 7967b25165b1..c867802cf756 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 723fa68f3f7d..8e08614dbf43 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 faf98cc44932..d43faff47cc3 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 a11272680797..86abc16ea9e9 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 cb6434529441..2dbb80c62a52 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 fe8b987c8ac7..a386f4e0ae04 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 c45052a67b17..49167a736380 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 e6818b20f15c..0a0b14774420 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 37bfc09176c4..32ccda483397 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 52a4365845f2..2d92e1536f59 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 c1e2b541a6b8..bc88622a836a 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 ba4c6ad900c4..b41edae73a6f 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 a6205c0ba98d..7730d4954be2 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 91a0d1dcc0d6..cc8fe606ab0a 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 10061307b416..812f9dfc16d1 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 3ed85f0bb6f3..bc4b244b5757 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 bb5d54bcfe90..71ebeecdab9f 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 9993c3a0cd69..15aefdfd53d9 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 0f5f50d93565..8abcc051e743 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 788a9abab08b..55de7fabe98c 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 07ceeccc93d4..ade2f5007df0 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 ba7084934857..4de5faa93f5a 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 4aec89567aa9..7a3eaeb093a9 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 c76e13c2de12..371445e58e2d 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 47b0105feb38..7b321c76487c 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 a74b1ff16cd2..17c2c0af3176 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 6626bc91fd94..32afaf0681bb 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 ddad320d93a7..3f3b40e52315 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 efc698ab3dc8..bd7f56da854c 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 a21661053740..950339e880e7 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 ca95534498f2..1e87c15d2b3f 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 4f01f28e079e..9f3d399c6a5e 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 8240dd9afcd1..91eee3d7d911 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 999c9a6f46f0..45a894853d35 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 cdcd6bb0f83c..25f8338e6833 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 f375d2dcfa17..eae2e61b6819 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 e309a6a1462f..87376f22160e 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 f2c1721ac5ee..59a20ddb0b90 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 29bc7790e11d..daf47f64f7a3 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 855a55856b31..9538134e3b36 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 0099876f5b22..f56bd1621233 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 93fd87eeda76..ec10ef21466f 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 30dbe4e87f8e..6055834d3fb9 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 b3565fa4929e..4e6727f20d06 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 e1bd1ee9e443..ceca3efe8578 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 b92478185d66..72565e7b28e8 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 b8defd1997dd..6ec17559c86f 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 4739891c8ff2..f1c5f3c7c3c4 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 fee19723ed89..57280f653793 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 1a23f6dcfb06..d0a3a8968ce8 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 e5bc350e66fd..ff7a0d03e67c 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 081c88ebfd73..f6d6acf73f2d 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 4a397445dd1a..89ddda4dfea8 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 0b8c679b5225..e85a677cbae1 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 fa8bd17d09ad..084157bb4735 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 36fba35e68bb..0d7118e83c3a 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 6299e7c90b02..0f7ad2134ac2 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 483dd8011bee..aaf01eaaf64e 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 e77d199252d0..4c6407db9f5b 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 3f02c29d3b27..fc1a507c8b14 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 ce6231cc0253..2dec69e429b9 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 aa63677d6d8c..134880e902c0 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 29579786726d..0b4c48ad6b25 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 7553e408d1a7..c987fefdac41 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 1dffcc0a7665..9bc74859e375 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 e731c606727d..ee3c31ace469 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 d222fbf9a784..3c7332430024 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 de7e9423d343..859e6a4e874e 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 072da12708d4..62f7384c0bf9 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 b30108334144..aad5569a3320 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 360f58668c53..534422693feb 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 24c0a420e09d..12305e0fe6e3 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 4198bf214936..6d76d3417361 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 60677cf4f68b..d0763bb7db4b 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 67f3cfb3e7ee..f0ead5f9e0ed 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 9c137da14b8b..28cb1dd90131 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 ff6db18c2d4a..2a2d58f2f6f1 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 1d6677032a30..c11a13e203bf 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 c0cf0340566b..132f058dfe9a 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 7b97a3e3184b..0cf2cdc941f9 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 050521f071c3..ca6cdbf62db9 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 f3a2d41316b2..fa17cc86b1f3 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 863e982f34ea..54bec6d8dc2d 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 ed6afee1b837..e383495da80a 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 f3125a457881..d20183b8daad 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 3137a6310b25..07e49e956fe7 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 6dd97132c14c..66ce7d1851fb 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 737a97415982..640d422140c7 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 bfcb41e62193..5cb367989c0b 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 bf480eaae320..3b95f95dfed3 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 d4bf9dc41846..f9e1bd306359 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 9fbc1895da95..c31b734bc58a 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 f9ce43c06709..60eaa34eb6eb 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 2f575000cbfe..47192116554f 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 2d066a454c33..8435021d0db0 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 68e6f5be926c..966eae785ea9 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 314a36472b85..416943f715b6 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 447b27aecf50..be0eba3ceed4 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 c6e01f4bea86..fb27f03a88fd 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 dabacd79492b..ea1ffa47d802 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 ce1204db0d01..1ecb236fea60 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 3b300024f05c..054560ce7e78 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 e428d771ea86..9ffa4c05c386 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 086b6c614c1f..bd96ed226bbc 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 6992bc520ed3..e1bf58b62889 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 6c2745d675c3..a8c28a32a11e 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 f4f4c35044f7..347ce6b4be41 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 7060dbc37d95..0dc528ff7ce0 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 90b8de48193a..580dbd4a5eb5 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 2c2b7486a8d8..89b88a46a13e 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 93b3ad7cc582..0bd88177c04d 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 f1e0c690511d..12b6d3a31265 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 500c11f64aa4..c744321efe45 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 05e5d6cf565f..c4cca466c023 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 805170a687f6..bf3889702cef 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 16fbb03ce2b9..7a68e466759f 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 5d872b4f4e89..eaf1d2f63a30 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 397508c55a3f..3dc5da2ca413 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 ee259a9eac03..443d455e8610 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 2506a2c97206..7535d6cca893 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 a372064d4a79..67cf7f77d6c2 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 0028d235c5db..6b99f599778f 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 451e75fe6825..e3b975ff5298 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 929f4b1893e7..04144a0ade22 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 5ef9f206834f..5edaa41782d5 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 9b96fa820633..8e3bb449acd4 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 22b51f29ee94..5067e69d7619 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 44cb7f55f1dd..7452bae122e9 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 584d52eea19b..fd60247ccc7f 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 3b222ecd18d8..0bcf2cfe2c7f 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 1dd24b5335f5..ca4c57337f15 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 0a0cb5e2b3f8..2deac5f8b877 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 d1e0ef6a5177..50232eb2998f 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 85496586c7d9..5da49f1e4ff5 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 3616080326f3..522b94c0e68d 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 3efad365a492..3159202729e0 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 35b48c548e26..319161f0e5db 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 83ba7b100956..232164d753f2 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 6bd6ddf74a5b..ee7f7a8ffe23 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 7ff446f97d15..936700ba2cd8 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 8d43ad4130d2..c29de4c8c0ba 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 de6ae0f94d90..a4e05603f35b 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 84a9f7886162..8af2af900ba0 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 09cd966c6e12..a7ddbbccf8c0 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 eab8e525c878..7d48962c2230 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 98b472d15998..79f18ba1d540 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 e81064e8b91d..0cf0278b951a 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 0d0ed43206db..3b0269d22f1e 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 18c0d969766c..c39d09a19fa1 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 d28c10461053..99a6f0f6b952 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 b0f12c03fa84..1159f49d35d0 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 3a1c0fc23121..c6b0f6fc503e 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 c9b0c669497c..c1681088ec1a 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 092d7292d343..5ab29e6a32b8 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 d3c71796a070..5805a21c0115 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 d0c23438982d..3ccef4e8ea2d 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 cf7ac8cdd201..9c5c764194bb 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 22f153adb299..98d7a0c90fda 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 b09df3187a0e..1f0d020e16ed 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 96efe18d60cc..08c2501eecfe 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 48f02dceab61..c9ed1e4c14aa 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 e6fe40f4a697..d9e4c799e616 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 13fc25ba6626..05c85364c95d 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 2ba239bf8e09..d69da9d53d72 100644 --- a/srcpkgs/kauth/template +++ b/srcpkgs/kauth/template @@ -11,6 +11,7 @@ license="LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kauth" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=00aac14b7a28040a7598ed661254fb4b8c20b0708fc3379461caff7bc8ff9104 +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" kcoreaddons qt5-host-tools qt5-qmake qt5-tools-devel polkit-qt5-devel" diff --git a/srcpkgs/kbd/template b/srcpkgs/kbd/template index 10b5c5dba294..0b0457f171dd 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 021c97022dc8..7a5b093157b6 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 adc2fc3be0da..e56f6a58ff56 100644 --- a/srcpkgs/kconfig/template +++ b/srcpkgs/kconfig/template @@ -12,6 +12,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=234fc902d8a005291488def0a6a4b9d8b8500102e05aa2d1cfa3d5b6bb830a89 +patch_args=-Np0 kconfig-devel_package() { short_desc+=" - development" diff --git a/srcpkgs/kcoreaddons/template b/srcpkgs/kcoreaddons/template index 634dcec5c336..9403c06a9a64 100644 --- a/srcpkgs/kcoreaddons/template +++ b/srcpkgs/kcoreaddons/template @@ -13,6 +13,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=12077aac579065ca5ca877aee3bbdce65c52b6d0e9ef8b1fc0e127dd2e7f6843 +patch_args=-Np0 post_install() { vsed -e 's;${_IMPORT_PREFIX};/usr;g' \ diff --git a/srcpkgs/kdb/template b/srcpkgs/kdb/template index 0bc353bd7085..e28e194c4d55 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 306a952779ad..2841c1dcefcd 100644 --- a/srcpkgs/kdelibs4support/template +++ b/srcpkgs/kdelibs4support/template @@ -17,6 +17,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=2f82f9241a1ceb08f4da7e9056612003b18d85879aff808f21d750b52edf4fe1 +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 193e3fdc8320..8787bf11ced2 100644 --- a/srcpkgs/kdesignerplugin/template +++ b/srcpkgs/kdesignerplugin/template @@ -14,6 +14,7 @@ license="LGPL-2.1-only" homepage="https://invent.kde.org/frameworks/kdesignerplugin" distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz" checksum=4556c3001f6558cf8ecaf9ce98b60bc130099b0af5d35be48561405b778d6f79 +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 6d2f53fd0e60..d245fc817f01 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 3adc84273607..60f85a97b137 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 12febaa475fc..6f9f52862b08 100644 --- a/srcpkgs/kdoctools/template +++ b/srcpkgs/kdoctools/template @@ -13,6 +13,7 @@ license="LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kdoctools" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=414fbb92521734664535b475bf1ea2b941c3d4bdde14c06fd243a2968d1531db +patch_args=-Np0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-qmake python kdoctools-devel" diff --git a/srcpkgs/kea/template b/srcpkgs/kea/template index dc0bcc5de3fc..bad3cab44ea2 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 ff67067469e9..a21b03bc0ddc 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 06f6f4527138..dccec75fe3be 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 28d4a358ac65..640f5158ffcd 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 2da74bdcd24b..2b0044799be1 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 c56f7422dbed..18f1c310daab 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 e916cbabed1e..e743ffff1536 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 0bc5c5dc295e..483a88c80473 100644 --- a/srcpkgs/kinit/template +++ b/srcpkgs/kinit/template @@ -13,6 +13,7 @@ license="LGPL-2.0-only" homepage="https://invent.kde.org/frameworks/kinit" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=8b1b9d34fe4a4345381ac954888190e65f28ffe8211c7c0a16376996a79dc168 +patch_args=-Np0 kinit-devel_package() { short_desc+=" - development" diff --git a/srcpkgs/kio/template b/srcpkgs/kio/template index 1a1751c72191..1b03e77eac62 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=cb970d0550054fd0bb0957de010b9ea73b2d89e8df725c0d8344320e82473144 +patch_args=-Np0 CXXFLAGS+=" -fpermissive" diff --git a/srcpkgs/kmod/template b/srcpkgs/kmod/template index e9b8c26161e8..9266a17dc233 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 0683ed5d0ce7..0e9b90b7d65d 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 94e3e8329728..689d2f17965c 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 579f39bfb0e4..21bd7af334f6 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 6c6e2d1378c2..adccefbc13df 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 e909366f539d..f04f7a5bb8b3 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 36df46f2420e..19becb55ca02 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 41255b18e928..801cc846a309 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 4e27ae4f5913..ddeacf49443f 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/ladish/template b/srcpkgs/ladish/template index f0b36f188b2b..7824e497f211 100644 --- a/srcpkgs/ladish/template +++ b/srcpkgs/ladish/template @@ -17,6 +17,7 @@ homepage="http://ladish.org" distfiles="${DEBIAN_SITE}/main/l/ladish/ladish_1+dfsg0.orig.tar.bz2" checksum=39b09d5a4c2f2d65d37374eb8b53f35039f2229d96ea6ddef7b1ce154403383a python_version=2 +patch_args=-Np0 CXXFLAGS=-std=c++11 diff --git a/srcpkgs/laditools/template b/srcpkgs/laditools/template index 596f955b9d0c..d5c06f7015d4 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 175f3cb2c405..4b3730a98f66 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 3ca60272736d..525d64b965c0 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 67071c436a8a..0442408311b1 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 1dda3c2ae6e8..3c5f6bae167e 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 ada2f2052210..356615c375e3 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 c94b72709dea..e1bd5419f0fa 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 31f33e64eeaf..b57f4ad541a8 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 f94b04c876d1..3c850ca622e0 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 ed30ffd85c54..03906b43ac00 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 e617508a0b3d..3e0b95197ef1 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 73c98fb72bd4..98e0b0374d5b 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 605cac399d34..ea4b7e8f63e5 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 7714dcbfe394..b79bd8661ae8 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 e4de77e6b59a..868268ce4abb 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 aa36c7f4e0cc..28d3bc622698 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 de049b68e088..f853fb7e03ab 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 99eab8e614fc..7ea192957fb8 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 ad68fc72aed6..cadc03d056e2 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 bf232fb89eb8..c203167ef915 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 c9c19120e597..13b1318383bc 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 fac133d5e4d9..9e2aa911954b 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 3460841477a1..2dc95f4e8a82 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 07fe35eaeeac..6d2bf5364075 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 29b4a109863d..91724cfdee6b 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 c641f17afb7f..38ba343f1e83 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 ef96bcf5d129..21988cf5fc65 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 6719b024796c..0b88cd4b5035 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 fb6c96eb33f2..9363e7ae26b1 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 cf693a6e776c..dec92cb4bfd3 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 dde582069514..5fe7d6fa72a2 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 5522f74d617f..dc3eaad7a71b 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 cadd335b30e3..837d5443d972 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 d79ef2afe2d8..13469f65f514 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 9f32d0bea086..eef79d8277ce 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 2d31deb97f4b..9f12b576fe62 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 10282b4bd0d4..c94cd8c453e0 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 3775a273ca97..c90ab53f9559 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 72c96ff67605..246109c38cf6 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 db6177570707..74c7044cd865 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 00e6439339ba..21f2430ff936 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 f9bbef8cfbe3..5057e12b4d5d 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 2f6448cc9780..e97629209e6f 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 30394ff33815..338848b520ba 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 8e547f1f9ebd..89f4bfd7fc37 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 1d7cc0a0dc20..55da1bc0275f 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 81afe313d203..4f0b0283a00c 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 885772156e50..d24ad9c78059 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 a8bb2d08e09a..19285ba975f8 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 1ad0e5f9c6e7..abe8951a83ad 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 85f0286a90bf..fec82642e70a 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 60a21b07ac94..52f55031e1a4 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 b61acb3d8f4b..02d40edf5aa1 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 c39630b669cd..7365c00db928 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 5bde0ee21208..5df89def696b 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 f51b61430ced..d5ca00bb6afb 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 283a27e223ca..c3c66f1cf3be 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 cf17648a4b75..80f8da745be8 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 674b6ee304ad..ef8115e38575 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 608057b0232a..65647c6d7061 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 5c96ba407069..c74bfdaf9b9c 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 1014491ae241..676772f69a4d 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 902ad67b0d58..30627cf63f85 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 d38ed97b349e..5454c3b9258f 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 f2b85ead2ee6..d926f53b2784 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 7737dad56902..96841d882d66 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 f1e27dd15f57..792a882d68c5 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 52ebfddc9b7a..ae28525b1897 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 ab8c03352d7d..6b2f6cbe3941 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 df60f7b4f542..e36217268348 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 6b120a2a87c4..c6f3c9e38cc9 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 b0b06ee3797e..241bc09971cd 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 56c330eafcf1..6df0d294f841 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 e9210c52f08f..52283fceeca6 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 96ce2464312d..bb03d1c7c31d 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 95c7e9a812bf..3ab028281e03 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 48211c3767e1..9dee4f8c0d2c 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 d6103007032e..c678d6e8383e 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 06c8cc833682..844f7e3b7137 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 370d670157f6..b1acd757fa33 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 dbac03c6764b..44245746df7e 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 f08066f12966..2c19e2ec70dc 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 47752ab573e9..2bf1f3af3e60 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 81adcec5d655..66259516c750 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 65951b25fe13..f7d9c0411d49 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 f3777bab08e8..debdb6e9c44b 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 22fbb7987d06..8d527de8c27c 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 fdd8d639932e..ec31b411ef3f 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 8be3b7363730..a06923caeec7 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 13352c58bc46..977989a1db50 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 998437288504..fbd3633b480c 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 df35072b2404..af3966aa1fd7 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 9b57379bfc88..9c3194a779cf 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 7055a50a638a..ee59c9c33667 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 17f06ace976a..947288493728 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 b9972df70341..1eafc55f90bb 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 cadf0f5bb1dc..c358b89ebffe 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 c2cd5b754dca..e8a14e5d4f39 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 661fc934531f..334b9bbe754a 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 04b2608684d2..d5440d9b9606 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 e66a1df67ece..d2278fa24568 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 db488533acbf..316b811bfb7e 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 d4819ce54acd..808d89e49847 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 016d5753f1d6..05585a0ad57a 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 8c5ff6054eed..6ec291f0778d 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 e3ae03e51b9c..192aa8b4a0dc 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 76a36863f4b9..24938fe4bc0e 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 8b1c817cfd07..81fa6d314465 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 6d28468873b5..acd85fc894a0 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 032188df7f73..568e921d9902 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 938d07c5e6b4..c427559b43c9 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 f9cc8880c438..f572dd6294c7 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 3cfefeb295d2..26668752a01f 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 4208519dac3e..dca8e06333d5 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 c334f505ed0c..b45761f66b27 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 fb0ae8cb85ca..0990f737af5b 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 fe3c53109803..bac5a114bbea 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 da5786768de8..376d8eb4c661 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 b2fed5ac3c6a..cf14f96c4bf0 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 7ae82aecfc33..d52c74622bc0 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 13242f01cc77..ca214c932783 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 f42a9eb5f5ba..bc8f1699d587 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 31bc2ad9dc05..deadaa80f37e 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 3991291c0b7f..5526b11c727b 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 3347f193c3e7..6cfe9177df4c 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 f28f2b17ac19..a57726ab0076 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 fa3f7681b75b..e46c87d3c50a 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 db6cf3d38e5f..152619d3ebf2 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 432adac62cf7..aec6f7222b9b 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 69bc87d1b1a7..5ef7aa9a4964 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 fc91bb89f120..3837c269d323 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 6204f1e8e369..98b0af1bd19c 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 38937f68564f..c4ed10574d23 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 14509699fc5e..f2900a390a98 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 15b67a8f222c..a07507954e9a 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 269147155f8e..2e64c18f71b2 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 327ac3a7583d..54c65566e151 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 4178683d5de9..6dedbb71f7c0 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 6ba1bb44a956..88a5887251ba 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 a26e64e3c797..4a44438964b1 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 96d4061584e3..b1ed6c1ad5ad 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 63a505b4ecf4..58efbb3ff67b 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 7aad299f0757..d57fdad05f18 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 f53cb345ebca..a8406f18d627 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 7a923690a566..ac63a8bc1592 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 abae56cc4310..9be201629b8d 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 386222ce0c6d..d5379fc6e586 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 1abbe11246f1..1b4696399797 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 4fa00bb75712..aa089acc9dea 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 ed7ef97adfba..b2451f5dc92b 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 b7d287577c32..b04e9a0d46a1 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 66ce29f506e4..441fe3e7e9da 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 7fcaad225f8d..f1475690dc04 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 55ae9b5356eb..86684d3b5162 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 6dff9ac554f9..3f3f3f2f98b0 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 1d4e437dc1d4..b8457facdcea 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 c0425e7b34ee..9af08f79dff5 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 49f73671bcba..f0e7fdcce13b 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 d23444187c90..cef2f4d14dab 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 4c498dce7734..68b71aa77a57 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 b13571dd4cd3..6317423767e2 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 c8b873771d27..80bfd7964ff0 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 3efa3591ea58..5baadb8e3540 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 5abb62b91fec..3b36a8befada 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 a6176b43963e..5682c0078b72 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 8732491bfc55..8ce664513e5d 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 855db8054d4d..ed900b594412 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 d22e883530b0..58930bee51e2 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 7ce8d5bd64c6..9cae482efdfd 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 ebf5141eb482..bea3ca89dd57 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 7a358883d06b..edccf45fe0b1 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 f776b6dc9d36..30aeed30ee96 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 2332eb13dfc9..d19966633ba1 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/mediastreamer/template b/srcpkgs/mediastreamer/template index 884237ddf436..ccf8e43ffb44 100644 --- a/srcpkgs/mediastreamer/template +++ b/srcpkgs/mediastreamer/template @@ -15,6 +15,7 @@ license="GPL-2.0-or-later" homepage="https://www.linphone.org/technical-corner/mediastreamer2" distfiles="https://gitlab.linphone.org/BC/public/mediastreamer2/-/archive/${version}/mediastreamer2-${version}.tar.gz" checksum=4f67262621a93349651cfb0b51a2157623bf7758126d070e1c122bff58c7d5b4 +patch_args=-Np0 mediastreamer-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/mednafen/template b/srcpkgs/mednafen/template index e56addb35013..aed46822a2b7 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 c4850769d62e..04792c5dc082 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 db4399c448e6..d7226ee6103b 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 17c8d5dc361d..d917aef6ad94 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 414c918c7baf..1d5391040f4d 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 ee2cab625cbd..4561095b9074 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 8bb7fd00185e..3414fa23e102 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 b60fcb06a7bf..5dfe2cc2c7f4 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 9f5cffd61301..767cc2590664 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 ed11690e5bdc..3424c48ed870 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 8671f508256a..49a229db2575 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 b112fb56efcc..aeb1f2f1b542 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 e3debe82a66e..d0ac4d9d5acb 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 e462c8ba34a6..29246f9a7a05 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 b0d56f0058df..f5d497d014d2 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 fa18e58b7333..deabac5065f6 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 92f3b637912a..e2a461e18e86 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 9571f8c387d1..310ecb315e16 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 1afd253685d5..4269d4aa9e4a 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 c42be650a1d2..824b1aaccaaa 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 28872edf8d52..1ee69220f24f 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 88421ccef317..83afd02b478c 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 4ab9fc3bd8e2..9cb300f5a44a 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 3617a446f098..5cfbb8da8823 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 eddadc647333..46fe4d3f99eb 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 e401ff3d8733..4062b351f9fa 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 3846d0a93e1e..599fabf094ad 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 1ebb56ce31ff..1a8017da0314 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 adc8125a13e6..fbf55ca74ac1 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 a4641f66bb3e..a9030ce5cb51 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 53ab96eca22e..16723f0ce554 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 6d25f52387fc..09d6a945c800 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 31c307f1ebbf..14e61a3c6fb8 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 a08cb80f0969..4278b201e604 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 6bf5f3d1b08d..981c97328805 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 5d82c85d31f6..eb206d20ab9c 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 473b3c4ec4d2..624f86b14c31 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 10f8d6b7fe45..acfabb65b166 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 d578a511d47e..7cb13105213d 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 4984a7f4a777..747fd4d99531 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 c786f86bef31..9ee39183a36f 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 fb42f099faaa..49595b486e5d 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 6dc18a421034..278fd00b049c 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 a3e92bfa761d..50e74fb4a478 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 e4cfb3777b71..991026db606d 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 449ef1ca16d3..4ae5fbeaf5eb 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 947ef8352a17..122758b92660 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 0b91683e00a8..6dad6b0f7cc6 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 c588fc5ab7b4..2905db892d0d 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 e39eafb0b5c2..65c414f3620f 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 2bc40e253d09..30b5c9a4acbd 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 03531032da54..e554b5bcce13 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 25eca0dcab04..3880c5167455 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 0f4f1ce5a3b4..b775d578f493 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 d6459caa41c5..37e9c03cc423 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 ec201254d5ad..ebce167c2699 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 defeeccdfbfc..3ac57c339637 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 cd0b19da95c6..281ebf038e0d 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 05beffd8f841..8e7bde57e3da 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 dc541b408d77..cfab290eea9d 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 76f09917adea..1857023f5402 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 1c4198631e74..f48b963e9279 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 300667cb9782..864b387e62e5 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 d3912ae2cf05..4f7524766d88 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 bcfaaa73ac4c..c8d7b6324ba3 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 9d930a41b73e..b6e7636edcfa 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 194588600db8..85e8349e031b 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 8fcacc6f4d99..22f5e8b400b7 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 6a598b0909ee..fd07a1845533 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 acff592d2eee..8a883f9d1d6f 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 2873d90183a6..f9f4c941d124 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 24da85cec752..1ae8f62b0b9d 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 fa88f33f92b7..523c61db5c09 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 ca5ecf3b3f10..ca70de19109a 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 0da50f2663ef..35301436ec7d 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 e3cbc2b3b653..5b88dfcd2d9a 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 f604983c82c9..108696f69aa7 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 9e4123be13c6..457386c803dd 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 9298edc76e08..c72fcd384402 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 748f904ee1de..4369f4c8a95e 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 248e58d9502d..78f80264583a 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 1905d67b6abc..7a6bc318a04b 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 29c7e04d6ea3..5dc3772bd7e1 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 84e6085f54f0..932eac8c8205 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 7d3878ca031a..f767b376f4f2 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 44c3b7e82b70..7fcc1686d39f 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 314527b83433..fe19e2a1a809 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 f20b056f406f..c6742b439a4d 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 7cd8308b0498..e772af1da0e9 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 c452f7365ac3..b965024f763b 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 83eef561f8a4..9e16fb318d30 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 58a75941be47..2e3773fc1073 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 fb62d8d4fedb..346329d63bc2 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 839afee47d07..0556a0f33b35 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 6041120059b1..3bc1f23010f4 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 179736598588..c444616b8c64 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 4ebf6fe915ed..a484fbc92560 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 f15c5f1ec2f1..02a8e293b97b 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 c9d0abfda66c..cccc65ca3f3b 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 3f1b59753c1b..f99fd2d8ab51 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 5d27cec3f6cb..401ab09110bb 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 4e6f16ac7ced..dae52dc78195 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 7ae0e22f2d3d..343b26f494f7 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 ce8585fa6835..0881292b2772 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 34bb4ed3a5eb..e8c003ec9fd8 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 101bf3a27ce2..62b6cf0ea3aa 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 f022e13ed9cb..b8b0a4b5a0a8 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 ab0b2e6a10ab..5dfe9d09b811 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 4dff7f06bd79..5b438426d12c 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 95c8b31073b3..fdd089dab38a 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 01dfd74de14d..007e2fc5b3e2 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 f39fb0028075..90714ddef502 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 33b8bdd334fe..04d4362ae15f 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 6625c363438a..da5caf24f4c3 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 33a91197e97c..d3e884253354 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 d69f2ff04dd4..29feec2b0bd0 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 f22ca4e63e9b..3cd0dcc7a0a3 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 08bf6d4b6591..c01c0e253576 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 f89e27caedc4..2482ca254713 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 b19fbcb5220d..38ec8833f280 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 03c9c86d6a19..2f86ba39e087 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 2146b9110d17..cf7871bd6477 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 642e24adaf52..192db3c04f6b 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 e190ff2d99ad..c4586b7be4f1 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 d23aba0468bf..c676fb361132 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 d3b720d72f24..ee34924e70c7 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 0a8e38d9de8c..235c7025df49 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 7c1b5034a28d..02fb19f2b41d 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 eba01a0fa450..b2d2ae5f4483 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 507448245108..05c7a4f346c1 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 f8010c4b1591..c8d6d1e79fbf 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 54747129b79a..0f8b5c52e165 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 548de4363a7c..10e1b5c63f40 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 20a7f5589677..875b5d1f176b 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 98f7b661cd74..cb4de9fe6082 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 4813a8a250dd..5140c3dcf878 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 c4eab0c120ec..7d07f7849bea 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 0612a94cfebe..5a678b9e614f 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 7f40e0388e16..54a1bf27c10f 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 84b020278d6d..e770914485c4 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 da229e4e94c8..8186eb4aac29 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 ad9e221bfbc7..9363f84af591 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 59f8dfcdce71..9fef26e81efb 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 544afccd5410..df8bcc64fb11 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 e03e90656ad0..21d327d84a38 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 bf385a1c465e..af0285bd8a2a 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 3515340159f4..6c2dbb6e2690 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 5ff52959bfb0..e3e11f40736e 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 29da654b2f30..c5929e12b783 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 ad2465b3413c..c4fc9f3c2aab 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 bdc35ee2d846..4d5649ef85ba 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 5a627f323836..670f6336a6d6 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 a2668cf685eb..fb6513a00455 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 40df186b9387..ad8534111db3 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 5b83232cef8c..e42936b5e2d3 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 db629c4a8e53..ce053ca69d80 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 8e126cf7466e..a4f8d003f7f7 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 40812890ec7a..c4b81ba6968d 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 baf9b32f95d1..a8de6c96d19a 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 43e3c1cfc9b4..ac6ce7fffd6f 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 c94ead90e9de..041dd40b5047 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 8dd0abc2a5a8..8888c18fdcaa 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=f128726985a21b895591bf694520dac3580e539d517c6e80230fc80166f8b9a1 +patch_args=-Np0 plasma-framework-devel_package() { short_desc+=" - development" diff --git a/srcpkgs/plasma-workspace/template b/srcpkgs/plasma-workspace/template index 049bc5c1f28e..fe6fdbf28433 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 830d09f8579d..e2b23f24dfe6 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 cde1e8335d24..c212ec3dd700 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 58252651243d..fa184f7b94c5 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 6b64353081be..b047906f96cd 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 3c415a06cdd8..86bd3b86ee41 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 17f801fc5315..9b15ecb110a5 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 8a826f4e0fe6..f4bb5a0939f8 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 b156d6063088..01788d947b49 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-qt5/template b/srcpkgs/polkit-qt5/template index 7edc26624f5c..b4fdd7b240ab 100644 --- a/srcpkgs/polkit-qt5/template +++ b/srcpkgs/polkit-qt5/template @@ -12,6 +12,7 @@ license="LGPL-2.1-or-later" homepage="https://projects.kde.org/projects/kdesupport/polkit-qt-1" distfiles="${KDE_SITE}/polkit-qt-1/polkit-qt-1-${version}.tar.xz" checksum=5b866a2954ef10ffb66156e2fe8ad0321b5528a8df2e4a91b02f5041ce5563a7 +patch_args=-Np0 polkit-qt5-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/polkit/template b/srcpkgs/polkit/template index 01d31d7dc6ae..0fc0d667eb22 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 22811a9f7b99..20c1f27c3037 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 7032f8da9d41..eaaacb9b299f 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 e3afd5cd8314..88906d95e148 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 80d321fb726c..7eef653977d5 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 3167e0657fed..f638aa7642e9 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 02b9e6b1f794..5450b7828739 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 be54f0bafe4c..1757cac0a3a5 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 30a2baab2039..20f0417c2681 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 e975d94658a0..f33782a127da 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 8f597b56516f..c59d266437f4 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 2227ed811c0d..459a701ff5da 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 eaf14bc7cf14..eee3c9fe1a1a 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 3761f308658d..4b75b7dd481b 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 4f6d94cef759..9bac53e4496b 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 bf03af65a909..de493094767c 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 ab3915524c66..cb483c410441 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 03d8f26c39be..653e15089878 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 00cf7ba46a69..b4841eed5884 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 572d59daad4d..a0c21edea43c 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 45d0d36a67b7..c34c9d86dde8 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 83ce80bc39d9..b6e099c7b684 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 e4efe58debd4..c87cbf5b6098 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 da23784124aa..7d27e4d71084 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 a1e9f92078dc..2fe12805a70a 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 41554b81763a..ca12604df127 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 dfb9441f22a1..fe0fb1faa350 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 35d353aba95d..b7559676933a 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 4c684d18f576..ac5752871e29 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 332e7baa3b7a..99b9a3c07ea3 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 02232f31a266..f2843fc47cf8 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 ded33276800d..40b60c094724 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 95f3607a40aa..e0ee55d59fe8 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 096aa7b63b22..aca1c8836df7 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 bde0b03b9ef9..406e20f881ba 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 fc52e87228ea..1412f66d4d62 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 a8cdd9230d3c..f8b86f119e25 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 a704d41698bc..4b36464197e8 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 d8b4761c8b9b..65465ff7b6ad 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 a4c71fb7713d..c08065036300 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 91e22d2471c2..ab7008da0cc9 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 0d03da5b9b3d..aa224291ddba 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 eb3318811dc6..89093839963c 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 4ec0c1ce42ea..e1ba65252141 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 348dc2c83b6d..8c3a5cfb5aa9 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 d96e11f9c149..654abdcfada3 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 6ed17293703c..5aa34ad58d15 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 d1f95c3e3736..ac13621690a6 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 753dbfb9b816..bb75c36e196b 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 c2ff79e138fa..21329296c6cd 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 4dbc22b73b49..b30bc6334120 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 76ec9944221e..753c28f1c68d 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 4d77619ae935..d59a68eca8ae 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 6040ef39243c..c0387c4d6d04 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 18141a5bd46a..9feb6d5a2739 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 13cc66ab33c7..a865f4799086 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 40c6cc1ef8e5..6bcb10bfc66d 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 9e1cd59b8395..a9effca5f71d 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 efed1890b409..05e775e52c3a 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 02c89bd1ccae..207775603de2 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 d8b8ec1d0d7a..c27e8e39090b 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 19cb2bb34ad9..4aa5122a1934 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 5bc6c8530757..1d68d8f70320 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 73c1080fcadc..8230401d9197 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 46c87a9e7bdd..4eea7d4c7ec8 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 4399c87d86cd..33c7271cd772 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 b2e7813cc45e..353a7e6609be 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 a88df53ca345..1e05f7e7ff60 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 93113c717035..56747994f4a3 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 bb043213a360..a78f77930893 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 0d85ec076482..b59c58a6f191 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 e46558070581..0439190aee41 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 5ec999d3aae5..53aab78b8713 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 4e4c982850a1..8b32a4cb72f8 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 cce56db19867..728711eeeef5 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 47d529f56b8b..dae691d27457 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 a1c9f8d1c36a..42de1ba7fd9c 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 2751287061fd..9d103e08c4b3 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 292be169c208..585527fe4716 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 95ad7a333435..ea3f0aaa3f5a 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 1fee0a65e39d..0e0a4335986b 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 39818e99e7f2..fc79ad2b3c12 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 0d4dcc83496c..9c94f004ff2c 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 99d92702cc9d..2591e261b370 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 5408f6b745fb..7f0b9ad13f81 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 c392e3c0e2fc..f7b9d6760a01 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 5aaa5d669b7a..4d754dd49627 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 726ba0360748..a1dd9a76a8f4 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 974305ff1f0f..27d4568d1a79 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 b8af94ccc102..e3e8315d91f6 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 49d462907523..7115017b0881 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 d98433876b42..9350966ac543 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 4615d45c52c9..6fe21f63ea27 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 b0abb4052a9c..621b40a27528 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 c48e52ae2f2e..5befcd0e4c3b 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 e65594a4b16e..3c0685fc053e 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 1d229ee9428c..eb666718af6c 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 27d6d0acd2fb..54d42aaa68c0 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 23d16e5e2da2..9c1f78cbbe05 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 0c2e00b5169d..cf0ebd53e35b 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 52b0a13cfad5..5cd23e3659e0 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 2909a0827fb8..48adb776b709 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 e48f0312e162..133b762f6e8d 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 9f6f522b9a3b..dc4101698780 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 7398b753622e..dca49ec662f1 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 40a3d84ed70b..1cfc4cdff308 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 904bec8ca964..c8c5627d9b00 100644 --- a/srcpkgs/rstudio/template +++ b/srcpkgs/rstudio/template @@ -29,6 +29,7 @@ checksum="af8dc5e71ee934043856938af2e2065d1f1efef08aba37962ed03f6ccb8201bb 0b7af89fdadb4ec51cdb400ace94637d6fe9ffa401b168e2c3d372392a00a0a7" skip_extraction="core-dictionaries.zip gwt-${_gwt_version}.zip" +patch_args=-Np0 LDFLAGS="-Wl,-z,stack-size=2097152" diff --git a/srcpkgs/rsyslog/template b/srcpkgs/rsyslog/template index 33c55076e9be..8c5b041d218c 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 0dedc560b81a..062aa1bebe2e 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 548d0b6299cd..d994f402b2d9 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 911122cc807a..aa3efa2397c7 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 7d44897de237..c3278dc21049 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 0c1f15270aa0..fabb288f308b 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 29c1c2eac3c3..ad72d57520c9 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 0884fc46578f..7cac86683e03 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 8eb80e3b58ed..5a88b519eadf 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 081d5fe2c732..68b400c1ef5c 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 e4f985f74ec4..2be276c712b2 100644 --- a/srcpkgs/rustup/template +++ b/srcpkgs/rustup/template @@ -15,6 +15,7 @@ license="Apache-2.0, MIT" homepage="https://www.rustup.rs" distfiles="https://github.com/rust-lang/${pkgname}/archive/${version}.tar.gz" checksum=0203231bfe405ee1c7d5e7e1c013b9b8a2dc87fbd8474e77f500331d8c26365f +patch_args=-Np0 post_build() { RUSTUP="target/${RUST_TARGET}/release/rustup-init" diff --git a/srcpkgs/rxvt-unicode/template b/srcpkgs/rxvt-unicode/template index c89633c12deb..8ae30a72963e 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 40cd669dc978..3571621f48c3 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 90be22e57059..8195f38fbf01 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 9ab7a626b206..979a457e1056 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 35dac1cc846a..8a68e3b65a15 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 587cc3da5903..102bb584421b 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 4fc8a569b50e..8e52f31ee67c 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 8511caea26e0..a26e459fc3af 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 d694f33d3725..5e715569c8a2 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 85416dee5e9c..d30517ec6415 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 613696d9f373..f6288cc075bf 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 13b03a1d1567..69270af50e20 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 0cec3ab176d7..aa52ba65d1e0 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 2a87381c8e8a..6d58d2e52e02 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 76b9a41fe45a..1f9b122cce2f 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 efb21e6f6508..0aaba2375734 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 a9ac8a6d35e4..b27fd1e4b009 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 7382d081551c..d0d810161d23 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 f01181a49bd6..556e2ce263f1 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 67a6f9c0dc7d..230bf6980f77 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 ed06a780e1a9..5cdf26b88421 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 3f353a0df33b..d3c039b4f128 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 b0c1878e31bb..1076b974de75 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 183c3b9481e7..585a4f7e28b7 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 8e9f28786b9e..fb99e1fcd88d 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 432cefdabc93..8fa0632c361c 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 4a15e27896ef..58f19d499e50 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 cdcf68c2a435..15a6accf2010 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 1fdf40b02dbf..0457d6e17fe2 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 e01de5aa0647..9263b38cd5c0 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 1873bcc6f233..614c5844ad11 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 f7d3ebf142f5..c61696b35270 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 b7382cac3085..43d025a1e9b5 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 f33b58e0aea4..861d5883cb80 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 e01f3912697f..420663fbb7ee 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 9a958bd1bbae..e8dfe2e4452f 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 5c87e4416dae..5afde1920c59 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 bd58ab951c24..a2dd275709e7 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 7e9e5214fb7d..36d572f0da93 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 d4e0f0a9bbdb..bbbe7dccb42c 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 3df32c8ebeb5..0d77880ebb04 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 622a1e6fc961..3c6fcaff53d1 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 4daa56060eea..583e5d4d3fe3 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 aa160fdbb870..2c0b91f10be4 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 91ae349d3c1a..f38d83b2f88d 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 f89a4cd5ad5c..cb2b3b59b9d0 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 d778f76ba3eb..f36e91661fac 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 4380aae4f8bc..f64c6dccde75 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 810692a434b1..fac86abc1d75 100644 --- a/srcpkgs/speech-dispatcher/template +++ b/srcpkgs/speech-dispatcher/template @@ -19,6 +19,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=0c702d4acc4920818db3daa28ecf14004123b64514b4575c138874618835104c +patch_args=-Np0 conf_files=" /etc/speech-dispatcher/clients/*.conf diff --git a/srcpkgs/speed-dreams/template b/srcpkgs/speed-dreams/template index fadabc891c88..47786d859bbb 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 7218e837891f..613328430c20 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 347ff447611b..aada991a2d50 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 366aab114bce..47c4ef173356 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 7baa339cc7e5..4480b5dabec9 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 78c0af18eadb..ac118d931dfd 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 d49d6c5602a8..f66e2db53916 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 08a2bff0886c..de8c22c3a5b6 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 9fbee6bead10..7de2723c4bc9 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 61ead1c9e44e..758022a785c1 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 257aba10e50d..7a4ddad1a029 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 ccc2232d4608..0c5bbe729448 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 07afdba93ce6..0da6a45d7751 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 0d970c9d2c26..f38cd252e8ac 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 42b5918ced65..d0eecb39a8f2 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 06f39a7cf256..e6b504938b54 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 1749c9c3692d..24ccc14fa432 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 35828b1e3c24..1d51eaf7fc2a 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 12210f250d51..00ad190384b9 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 e10c80ec8b18..70b4cedbfa6a 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 f70418dd6b75..cae14ef1cf4b 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 606bdd9557c6..a863e9f84bdf 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 f4f547c7947d..e88e962b5939 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 c7a878f91c09..421b50cf8aac 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 4c39b458dad4..75b6b37e3dbd 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 519bc615782d..aa4734caa91f 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 640b14ce66d8..6ecc796f206f 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 4a77658518e8..dd8800028931 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 969ef1eb5d78..f549e1abcb42 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 13240a993160..15a4213b6d54 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 3baaa111f613..f5a5adc2b264 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 5df8312b53dc..a37c3ced4ec8 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 0c4f3b4f130a..79bcf7db11fb 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 3e40a99fb28c..a04916c78689 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 e2fe7be0cc8b..88a162b2dc8b 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 8932775a781f..712895300344 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 18b2a6e776a6..e09476331dfc 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 eae51ea7356b..39ea0ae1b9c4 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 414501166719..8ab72bc17ef5 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 aeef6ebdd061..17fad3bc5e3a 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 0f49755ebaf9..85cd91f5d7d5 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 d36663d8b1fa..e20273428365 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 1956a1ce16b3..724a066b8a22 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 267415fa1561..a02e5ea78fed 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 268c85e43ac8..69c907e600c3 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 30a1d2ec6eec..f0026056b7dd 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 f539aa07f1c8..a2c3275fcf6b 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 2213a79cc0f1..ec5879500caf 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 b13f8ac93fbf..0093b049b9ab 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 7ed37c53c848..c6c574f4c483 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 5eca40635fd4..e073eee88791 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 731d707efaaa..86bbe45ef744 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 1d3eceaee503..d6b6bd659a8d 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 c61ac718f0ac..33cffac2c276 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 b9a19c12a347..bbbf04254bf3 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 9ae4a1805c9a..b6462e019170 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 5223d1f5566d..bc317d479553 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 87ca84049343..92402d6d98ee 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 c5a638e6e3a5..90a37ec9d1ae 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 5e862376125b..6db8f5ef127a 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 72155ef786e4..4d152829f945 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 285e2419fccf..5bd58b02022f 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 616b746d8cd1..eecaf052f7d3 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 276c85e6e74b..a8c9e0851d4b 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 29c19bb162d8..291c14f84dd5 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 4ee1ccdc728a..a173f36f8225 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 7669477aea95..8a8a4f4a12af 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 c0b75c164f25..362abdd4718c 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 0edbacc5f8ad..23cdba671dd8 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 42370ea8ba21..eb10de66fa9f 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 2d8ce5bf282e..9634f108bb05 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 538277a2c683..a09ec9637486 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 34f9bcb40d42..4410e51bca9c 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 f92c929c300f..4a65dc7fb2e2 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 810675677fe5..c99b997dd55f 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 6ea8e49a1a51..47a75439b428 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 775cd09fc4e3..518a9c20c1ab 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 5a61a0a2bdd3..794d5c49fff4 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 4cd41afbd932..fa39eb3426d0 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 a7a561e89cb8..77017a15a956 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 8a291182b516..e12ea1749665 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 5d962adec91a..2f8044e52f45 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 e1a8ff7ff7c2..e24ac3e48325 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 cff70746cc57..144b33595d6f 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 bb07b10f5826..afd6a942f1be 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 8bb508ee94a2..77a81c1d8c16 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 bcbe6d85b0d7..5ebfdb697ebf 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 52d5bf5291a1..a2570048b47e 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 26250c88a571..dc013c10cd8c 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 79decd0299d0..adeadd264e52 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 1f2c6c36793c..c90b0c6c2378 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 dfc7ee1fe5ed..79c54ae0ad68 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 3b36cf0d6db1..41c4c4998898 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 476435c6abab..8cec750cdaa4 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 9f4f44d47652..ed711e2f1c06 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 1a782b680f78..6ea0e07ba05f 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 78888538e064..be7bdd1bdfc0 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 55e9ae34a0e1..98a990f5af42 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 c3cb8e454c85..a9f349f00f76 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 56404addb864..fa7dc8ad7edc 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 947a12cf2d8f..27453d5f8e57 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 7fdbb3119577..5144c2ea8b4d 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 c2c6829a13ad..54ad0e6e9df9 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 071a909fa447..f7fc99bf8be3 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 507987723d7b..30dc164b3334 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 6ef76bb1e90d..590f2509212c 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 81ab10b9d2f0..de9a03c14052 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 8fb4fa5ca443..e9baabe67a3e 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 19903b77a6e3..0dc9f4bf80b5 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 fff05f21f786..8181268d7077 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 591697d20cf4..14117b36c4f3 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 5d0efce366ab..e502920a93d9 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 906b77950d36..f1e783316597 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 cc586376b4e6..c1c1989627eb 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 00a371c32a5e..8bfba79b29a6 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 b686236e1b0e..e95fd8cfbe64 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 01de503942c0..7a7460e35af0 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 39f09c00fd28..b35eff508246 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 833a3cb491ee..9fd22cf800dd 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 c2cc1a43d314..09366bf5226c 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 310e41474fb2..4e465b5bc59e 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 d92993ab771b..fedb3a7ed59b 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 34b4c0ddd86b..22871df35850 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 498ca5775a82..673af28f5f35 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 2e177d8b8987..a6def875a1a7 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 346ebf038640..e15615e6d642 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 eae95b0654ee..b4e2774eb925 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 4030c6f0da06..269cdd6c82c4 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 ae7e80744d0b..6eb2f5a8f471 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 d4fe01b557d5..b8ecfc8f106d 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 d0402050262e..7326e3f0cf45 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 634ad5bc88a5..b12ae74cd617 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 68e6045d5a2b..1d45aeb5459b 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="58ede148482d49188262d5a2d0c9d700a74c69c51ccaa11c5adf63d3f314419f fe3fbea8b31eab63c5aec0418041e012dc3f7fc7951b8df97e42d542041f01df" +patch_args=-Np0 build_options="mingw staging" build_options_default="mingw" diff --git a/srcpkgs/wineasio/template b/srcpkgs/wineasio/template index bc529e72b3cc..b64054e6cc62 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 64ec8fce12b0..5d97248df431 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 78a97130f689..9b54aab6a0da 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 5109f3154942..835883ad15a4 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 9af0c9f84283..a7f78a7002c7 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 f742e039123b..521b18d044d1 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 151ffd7e38a0..7ba6ba02ebbc 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 962c7cf82bec..6cb9a5bf481a 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 068c21944270..ace63917d2bc 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 1f32be9131ce..aa2e9c4db957 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 fe6dc777392b..fab25e0be351 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 c7e8f9f3a381..1f220c311482 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 4b8ff04a9ebe..fabffd609621 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 2b858bad487f..974fad438b4c 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 432739cded19..e8aa6531adf5 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 369cccb082f0..9473eb738d20 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 79117d197a99..4e3ca4b5477b 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 673e57c9a787..676b1c5161eb 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 fa16f119e240..e4e7faa656ac 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 2b4905d88909..4f22555872a9 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 f3efb02dc904..d6551e23f241 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 d4094a292126..fe7a9b7deb5a 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 56f12c4aab08..ba0edf7c4a63 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 0f78142030d3..852900101d59 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 1c9f2be0a939..6d118bbe21ee 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 fe251dff4b37..a2715dcd5125 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 f4f7c3a2f0a1..6c73923696f9 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 eafde10f3eab..297c1b4ca92a 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 3da5f84a572c..386a536c824d 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 acfbff8c05d3..2b6784ccb160 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 2b589d009897..77eb791f02dc 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 51fb61f466c1..a084652f48cf 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 39edac52798d..41a806554577 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 4dbe1529aa5c..b05086aa3c59 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 1da7f33d8ef1..12fad896b329 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 4c316f35b32d..e12459c56858 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 e00f8a5d34e0..f33cde7cc8c5 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 dbdd441c063c..9456dbfdfcd9 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 be836ebc94ad..2bb4c8e43527 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 74cbd8bbf5ed..62f070c1f25c 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 8c8eafcb029b..54335a705a6e 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 1070cad41c20..21ad123a5010 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 977c8cdce6e4..9622079c8c31 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 aea5c85748e2..d5d53e6296f6 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 852c3ab2f573..a223cb08947d 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 3d6c3ab6c1f9..1c4b34de9d1c 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 4650dd2556ca..abb07cf7fa58 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 42b8a0febe94..628972531f22 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 863e61dd58c7..b84bedbe6d72 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 e2754ef00999..deb1a1228579 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 8600c680ae36..5fded5ad0a2c 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 4363d36e3c39..5e49b3e3f73d 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 cde36bc4e134..92d4c5866d0c 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 d36a89c9ad29..7d9472e29e6e 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 8bb8d1cd5795..c8dd3ff8ae73 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 111cdd494574..948d9c8d6c65 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 aa9f68e53c4c..4b699e2cf02f 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 ef7d82067398..997c438199a2 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 3574b02200e6..0a241f71ee91 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 f9d57cfe9ffd..84c3b898a958 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 450c079b2ca3..3cea700b1264 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 b836098f1c82..33bc95745815 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 72e7da38f402..de5ad13629ca 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 789712fa6450..0bf58a1ce64e 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 5437f53d33d5..d71d6304ee1a 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 5db05d0d5d45..9cc6ed5f43a0 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 f64d87fcfe81..6bd2833da871 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 9db6b15584d6..16905d094d3e 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 e071ae02cb68..2e5267e20f59 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 82d05a933846..4bbff91d1d86 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 40d6bcd78509..bd20fd9b8ed0 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 a0b0ff763198..1dc610bf781f 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 fc0f6a2a5a6b..2dc564a9a281 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 94cb4c961033..720fa31b6b64 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 a6462e5616a2..b7519dafd23f 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 df49c9c7d3e7..1d961f28744b 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 cc596dc63dc2..7a197d0af329 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 8549ede01b59..9ad5a4b3aae6 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 844d14016a06..42b639e637de 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";; From cc3a25e6e29f2b101e6c9fd73637dec6d30be514 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:33:02 +0700 Subject: [PATCH 4/6] 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 '$a patch_args=-Np0" --- srcpkgs/64tass/template | 1 + srcpkgs/EmptyEpsilon/template | 1 + srcpkgs/FreeDoko/template | 1 + srcpkgs/SoapyUHD/template | 1 + srcpkgs/Terminal/template | 1 + srcpkgs/a2jmidid/template | 1 + srcpkgs/apvlv/template | 1 + srcpkgs/auto-auto-complete/template | 1 + srcpkgs/azpainter/template | 1 + srcpkgs/balsa/template | 1 + srcpkgs/batctl14/template | 1 + srcpkgs/biosdisk/template | 1 + srcpkgs/birdtray/template | 1 + srcpkgs/bitwise/template | 1 + srcpkgs/bti/template | 1 + srcpkgs/bzflag/template | 1 + srcpkgs/cantata/template | 1 + srcpkgs/cinnamon-session/template | 1 + srcpkgs/clazy/template | 1 + srcpkgs/curlftpfs/template | 1 + srcpkgs/cutecom/template | 1 + srcpkgs/cvs/template | 1 + srcpkgs/darkice/template | 1 + srcpkgs/ddd/template | 1 + srcpkgs/dhewm3/template | 1 + srcpkgs/dialogbox/template | 1 + srcpkgs/dillo/template | 1 + srcpkgs/dislocker/template | 1 + srcpkgs/dmg2img/template | 1 + srcpkgs/dvdbackup/template | 1 + srcpkgs/edb-debugger/template | 1 + srcpkgs/endless-sky/template | 1 + srcpkgs/eolie/template | 1 + srcpkgs/epson-inkjet-printer-escpr/template | 1 + srcpkgs/exfat-utils/template | 1 + srcpkgs/extundelete/template | 1 + srcpkgs/fastjar/template | 1 + srcpkgs/fceux/template | 1 + srcpkgs/fifengine/template | 1 + srcpkgs/filelight/template | 1 + srcpkgs/fuse-emulator/template | 1 + srcpkgs/gcal/template | 1 + srcpkgs/gftp/template | 1 + srcpkgs/gfuzz/template | 1 + srcpkgs/git-mediate/template | 1 + srcpkgs/gltron/template | 1 + srcpkgs/gnome-recipes/template | 1 + srcpkgs/gnupod/template | 1 + srcpkgs/gupnp-tools/template | 1 + srcpkgs/helm/template | 1 + srcpkgs/html-xml-utils/template | 1 + srcpkgs/hxtools/template | 1 + srcpkgs/icecast/template | 1 + srcpkgs/imagewriter/template | 1 + srcpkgs/img2pdf/template | 1 + srcpkgs/intel-undervolt/template | 1 + srcpkgs/intltool/template | 1 + srcpkgs/io.elementary.photos/template | 1 + srcpkgs/ipv6calc/template | 1 + srcpkgs/itstool/template | 1 + srcpkgs/iwgtk/template | 1 + srcpkgs/jigdo/template | 1 + srcpkgs/k3b/template | 1 + srcpkgs/kcm-wacomtablet/template | 1 + srcpkgs/kcov/template | 1 + srcpkgs/keditbookmarks/template | 1 + srcpkgs/kig/template | 1 + srcpkgs/krusader/template | 1 + srcpkgs/ksysguard/template | 1 + srcpkgs/lbreakouthd/template | 1 + srcpkgs/lbzip2/template | 1 + srcpkgs/lcov/template | 1 + srcpkgs/libeatmydata/template | 1 + srcpkgs/libva-vdpau-driver/template | 1 + srcpkgs/libwm/template | 1 + srcpkgs/lltag/template | 1 + srcpkgs/lrzsz/template | 1 + srcpkgs/macchanger/template | 1 + srcpkgs/mate-power-manager/template | 1 + srcpkgs/mcomix/template | 1 + srcpkgs/mftrace/template | 1 + srcpkgs/nm-tray/template | 1 + srcpkgs/nootka/template | 1 + srcpkgs/olive/template | 1 + srcpkgs/pam_rundir/template | 1 + srcpkgs/pdfgrep/template | 1 + srcpkgs/pdfsandwich/template | 1 + srcpkgs/pekwm/template | 1 + srcpkgs/perl-Authen-SASL/template | 1 + srcpkgs/perl-Crypt-DH/template | 1 + srcpkgs/perl-Crypt-Rijndael/template | 1 + srcpkgs/perl-Fuse/template | 1 + srcpkgs/perl-OpenGL/template | 1 + srcpkgs/perl-XML-LibXSLT/template | 1 + srcpkgs/perl-XML-SAX/template | 1 + srcpkgs/pidgin-gpg/template | 1 + srcpkgs/pidgin-sipe/template | 1 + srcpkgs/plasma-desktop/template | 1 + srcpkgs/pokoy/template | 1 + srcpkgs/polkit-kde-agent/template | 1 + srcpkgs/posixovl/template | 1 + srcpkgs/powertop/template | 1 + srcpkgs/python3-orocos-kdl/template | 1 + srcpkgs/python3-pykeepass/template | 1 + srcpkgs/python3-transifex-client/template | 1 + srcpkgs/python3-yara/template | 1 + srcpkgs/qmltermwidget/template | 1 + srcpkgs/qomui/template | 1 + srcpkgs/qtcurve/template | 1 + srcpkgs/qtfm/template | 1 + srcpkgs/recoll/template | 1 + srcpkgs/recordmydesktop/template | 1 + srcpkgs/rofs-filtered/template | 1 + srcpkgs/sasm/template | 1 + srcpkgs/scribus/template | 1 + srcpkgs/seahorse-nautilus/template | 1 + srcpkgs/seq2gif/template | 1 + srcpkgs/sgfutils/template | 1 + srcpkgs/sidplayfp/template | 1 + srcpkgs/smbnetfs/template | 1 + srcpkgs/solvespace/template | 1 + srcpkgs/sonata/template | 1 + srcpkgs/stellarium/template | 1 + srcpkgs/streamripper/template | 1 + srcpkgs/stress-ng/template | 1 + srcpkgs/swell-foop/template | 1 + srcpkgs/switchboard-plug-printers/template | 1 + srcpkgs/telepathy-haze/template | 1 + srcpkgs/tellico/template | 1 + srcpkgs/texmaker/template | 1 + srcpkgs/tmfs/template | 1 + srcpkgs/trackballs/template | 1 + srcpkgs/tremc/template | 1 + srcpkgs/ttfautohint/template | 1 + srcpkgs/tworld/template | 1 + srcpkgs/ucl/template | 1 + srcpkgs/uhubctl/template | 1 + srcpkgs/usb-modeswitch-data/template | 1 + srcpkgs/usb-modeswitch/template | 1 + srcpkgs/valabind/template | 1 + srcpkgs/vba-m/template | 1 + srcpkgs/wdisplays/template | 1 + srcpkgs/wfuzz/template | 1 + srcpkgs/whysynth/template | 1 + srcpkgs/wmctrl/template | 1 + srcpkgs/wofi/template | 1 + srcpkgs/wvdial/template | 1 + srcpkgs/xbindkeys/template | 1 + srcpkgs/xdg-dbus-proxy/template | 1 + srcpkgs/xfce4-power-manager/template | 1 + srcpkgs/xkblayout-state/template | 1 + srcpkgs/xnots/template | 1 + srcpkgs/xsel/template | 1 + srcpkgs/xseticon/template | 1 + srcpkgs/yabause-gtk/template | 1 + srcpkgs/zaz/template | 1 + srcpkgs/zbackup/template | 1 + 157 files changed, 157 insertions(+) diff --git a/srcpkgs/64tass/template b/srcpkgs/64tass/template index ae06411d48bc..5cb4cefd8189 100644 --- a/srcpkgs/64tass/template +++ b/srcpkgs/64tass/template @@ -13,3 +13,4 @@ license="GPL-2.0-or-later" homepage="http://tass64.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/tass64/64tass-${version}-src.zip" checksum=067d0a54cb3c473b26aa5d69ea3f1f956be7cccc9044f1117fc20cb84aa63880 +patch_args=-Np0 diff --git a/srcpkgs/EmptyEpsilon/template b/srcpkgs/EmptyEpsilon/template index f191433eec50..c9ba6f8595b5 100644 --- a/srcpkgs/EmptyEpsilon/template +++ b/srcpkgs/EmptyEpsilon/template @@ -22,3 +22,4 @@ distfiles="https://github.com/daid/EmptyEpsilon/archive/EE-${version}.tar.gz https://github.com/daid/SeriousProton/archive/EE-${version}.tar.gz>SP-${version}.tar.gz" checksum="c1c4f11fefe1afac6076c795e8785c7507a297ba3f7f2be9ed30c97b1e93cb24 62ab03dc904bd10f017fff338e55ec97c86f0bc3903a18d6c44285b86776a2d7" +patch_args=-Np0 diff --git a/srcpkgs/FreeDoko/template b/srcpkgs/FreeDoko/template index 6ec209a18922..80746fe5d893 100644 --- a/srcpkgs/FreeDoko/template +++ b/srcpkgs/FreeDoko/template @@ -13,3 +13,4 @@ homepage="http://free-doko.sourceforge.net/en/FreeDoko.html" license="GPL-2.0-or-later" distfiles="${SOURCEFORGE_SITE}/free-doko/FreeDoko_${version}.src.zip" checksum=5b9ca3ad915f36dba17a4bd22b3d7d68ac2526cf125d045a819aa8d4a2cceb4c +patch_args=-Np0 diff --git a/srcpkgs/SoapyUHD/template b/srcpkgs/SoapyUHD/template index 90f51db7b9c6..5549897fda77 100644 --- a/srcpkgs/SoapyUHD/template +++ b/srcpkgs/SoapyUHD/template @@ -12,3 +12,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/pothosware/SoapyUHD" distfiles="${homepage}/archive/soapy-uhd-${version}.tar.gz" checksum=0ac7fd0967e6922f16d1ba1a7ecb72f1fbcc14dd80e5134af9a5c9b86c1bccb8 +patch_args=-Np0 diff --git a/srcpkgs/Terminal/template b/srcpkgs/Terminal/template index 9cd7970fcc2e..d2fddec6eb3d 100644 --- a/srcpkgs/Terminal/template +++ b/srcpkgs/Terminal/template @@ -15,3 +15,4 @@ homepage="http://gap.nongnu.org/terminal/" distfiles="${NONGNU_SITE}/gap/${pkgname}-${version}.tar.gz" checksum=27f81bbecdbd10cde8c080012cde4973bec20e551c58c29f353733cf03c220e9 nocross="objc doesn't get cross build at present within gcc (see gnustep-base)" +patch_args=-Np0 diff --git a/srcpkgs/a2jmidid/template b/srcpkgs/a2jmidid/template index b39aa31eef1c..eca329aec5f1 100644 --- a/srcpkgs/a2jmidid/template +++ b/srcpkgs/a2jmidid/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/linuxaudio/a2jmidid/" distfiles="https://github.com/linuxaudio/a2jmidid/archive/${version}.tar.gz" checksum=2828d283e0c9a65f0683881f09676c8c35c45c97a8a56cf77b43b4ef0231df06 +patch_args=-Np0 diff --git a/srcpkgs/apvlv/template b/srcpkgs/apvlv/template index 8d343dbe3358..8cd23927d55a 100644 --- a/srcpkgs/apvlv/template +++ b/srcpkgs/apvlv/template @@ -14,3 +14,4 @@ homepage="http://naihe2010.github.io/apvlv/" distfiles="https://github.com/naihe2010/apvlv/archive/v${version}.tar.gz" checksum=a4a2f42a7e42715a21d2356def3ed93c180c6ae41128580addee42835e5374c2 replaces="apvlv-git>=0" +patch_args=-Np0 diff --git a/srcpkgs/auto-auto-complete/template b/srcpkgs/auto-auto-complete/template index 065d615c2b59..24a3eb40df42 100644 --- a/srcpkgs/auto-auto-complete/template +++ b/srcpkgs/auto-auto-complete/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/maandree/auto-auto-complete" distfiles="https://github.com/maandree/${pkgname}/archive/${version}.tar.gz" checksum=5e54025c6ef65dfff5ba976d23eb778a0936b0678763ebcd78359d460300301e +patch_args=-Np0 diff --git a/srcpkgs/azpainter/template b/srcpkgs/azpainter/template index 05bd1be32771..b47d36fbe7ac 100644 --- a/srcpkgs/azpainter/template +++ b/srcpkgs/azpainter/template @@ -13,3 +13,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/Symbian9/azpainter" distfiles="https://github.com/Symbian9/azpainter/releases/download/v${version}/${pkgname}-${version}.tar.xz" checksum=85f3f935e76b420f2e5e272514368fdfbe4c25c01daa1e161ac28a6e1edb0d2c +patch_args=-Np0 diff --git a/srcpkgs/balsa/template b/srcpkgs/balsa/template index 255ae0f226a5..5d3f410bf0b3 100644 --- a/srcpkgs/balsa/template +++ b/srcpkgs/balsa/template @@ -15,3 +15,4 @@ license="GPL-2.0-or-later" homepage="https://pawsa.fedorapeople.org/balsa/" distfiles="https://pawsa.fedorapeople.org/balsa/balsa-${version}.tar.bz2" checksum=6441772cb5e1870f10c358c21f7e709da8cc0bfa6cc005ec744b9f1b00ea7df6 +patch_args=-Np0 diff --git a/srcpkgs/batctl14/template b/srcpkgs/batctl14/template index 4ca1b15ed0ea..9fc5556c20f2 100644 --- a/srcpkgs/batctl14/template +++ b/srcpkgs/batctl14/template @@ -14,3 +14,4 @@ homepage="http://www.open-mesh.net/" distfiles="http://downloads.open-mesh.net/batman/releases/batman-adv-${version}/batctl-${version}.tar.gz" checksum=4deae3b6664d0d13acf7a8ece74175a31a72fe58fb15cb9112a9a2014b32cb4c conflicts="batctl>=0" +patch_args=-Np0 diff --git a/srcpkgs/biosdisk/template b/srcpkgs/biosdisk/template index ccbc76f4e55a..ea5ad3aebcab 100644 --- a/srcpkgs/biosdisk/template +++ b/srcpkgs/biosdisk/template @@ -10,3 +10,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/dell/biosdisk" distfiles="https://github.com/dell/biosdisk/archive/${version}.tar.gz" checksum=e89cf680914ab3d5bbb549c124c6c29594ef495880befc0d059ec8a3aaf1e3e7 +patch_args=-Np0 diff --git a/srcpkgs/birdtray/template b/srcpkgs/birdtray/template index 8695820eccec..acf7c1d9c19c 100644 --- a/srcpkgs/birdtray/template +++ b/srcpkgs/birdtray/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/gyunaev/birdtray" distfiles="https://github.com/gyunaev/birdtray/archive/v${version}.tar.gz" checksum=672256bfadbde2841dcd6bad00662aeba825a4f041fa9a1980763f9eb29294d0 +patch_args=-Np0 diff --git a/srcpkgs/bitwise/template b/srcpkgs/bitwise/template index 16b8b2a23fe4..9e3fe3fa18c7 100644 --- a/srcpkgs/bitwise/template +++ b/srcpkgs/bitwise/template @@ -12,3 +12,4 @@ license="GPL-3.0-only" homepage="https://github.com/mellowcandle/bitwise" distfiles="${homepage}/releases/download/v${version}/bitwise-v${version}.tar.gz" checksum=d3d43cef47bf8f49e85f7ed381c3eaf1df921ca51805e0962f1a97a517e1d1d2 +patch_args=-Np0 diff --git a/srcpkgs/bti/template b/srcpkgs/bti/template index a914e9e75d60..82d1af711e15 100644 --- a/srcpkgs/bti/template +++ b/srcpkgs/bti/template @@ -12,3 +12,4 @@ license="GPL-2.0-only" homepage="http://gregkh.github.com/bti/" distfiles="https://www.kernel.org/pub/software/web/bti/bti-${version}.tar.xz" checksum=8b4a1a11f529f83956468acadaea9d11db4f03e82afe07fecb84b2d00e9eae83 +patch_args=-Np0 diff --git a/srcpkgs/bzflag/template b/srcpkgs/bzflag/template index d58270495975..e7315f51646a 100644 --- a/srcpkgs/bzflag/template +++ b/srcpkgs/bzflag/template @@ -12,3 +12,4 @@ homepage="https://www.bzflag.org" changelog="https://raw.githubusercontent.com/BZFlag-Dev/bzflag/2.4/ChangeLog" distfiles="https://download.bzflag.org/bzflag/source/${version}/bzflag-${version}.tar.bz2" checksum=9e64653302b657bd8b5f96fe1150a9ff80a1d53a6d7e8a35138c6b1b02006a4d +patch_args=-Np0 diff --git a/srcpkgs/cantata/template b/srcpkgs/cantata/template index 8ce1d756ace9..428ce3175cf6 100644 --- a/srcpkgs/cantata/template +++ b/srcpkgs/cantata/template @@ -17,3 +17,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/cdrummond/cantata" distfiles="https://github.com/CDrummond/cantata/releases/download/v${version}/${pkgname}-${version}.tar.bz2" checksum=3ed25d0c838720af7ed08b89a30f3e05d6952d40a5f520f29b3558b2eacdec82 +patch_args=-Np0 diff --git a/srcpkgs/cinnamon-session/template b/srcpkgs/cinnamon-session/template index c27272b802a3..fa112215531a 100644 --- a/srcpkgs/cinnamon-session/template +++ b/srcpkgs/cinnamon-session/template @@ -17,3 +17,4 @@ license="GPL-2.0-or-later, LGPL-2.0-or-later" homepage="https://linuxmint-developer-guide.readthedocs.io/en/latest/cinnamon.html#cinnamon-session" distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz" checksum=66301a1eb748f646c419ced76f3388d8d6af0436716c737842cd85f359bd38d4 +patch_args=-Np0 diff --git a/srcpkgs/clazy/template b/srcpkgs/clazy/template index 2c958d5d481f..92023b704232 100644 --- a/srcpkgs/clazy/template +++ b/srcpkgs/clazy/template @@ -12,3 +12,4 @@ homepage="https://apps.kde.org/en/clazy" distfiles="${KDE_SITE}/clazy/${version}/src/${pkgname}-${version}.tar.xz" checksum=4c6c2e473e6aa011cc5fab120ebcffec3fc11a9cc677e21ad8c3ea676eb076f8 nocross="Clang cannot be installed as makedep" +patch_args=-Np0 diff --git a/srcpkgs/curlftpfs/template b/srcpkgs/curlftpfs/template index c1f06571aa24..aaabe2018457 100644 --- a/srcpkgs/curlftpfs/template +++ b/srcpkgs/curlftpfs/template @@ -11,3 +11,4 @@ homepage="http://curlftpfs.sourceforge.net/" license="GPL-2" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=4eb44739c7078ba0edde177bdd266c4cfb7c621075f47f64c85a06b12b3c6958 +patch_args=-Np0 diff --git a/srcpkgs/cutecom/template b/srcpkgs/cutecom/template index 4aad5728d348..e5cd27e3ea63 100644 --- a/srcpkgs/cutecom/template +++ b/srcpkgs/cutecom/template @@ -12,3 +12,4 @@ license="GPL-3.0-only" homepage="https://gitlab.com/cutecom/cutecom/" distfiles="https://gitlab.com/cutecom/cutecom/-/archive/v${version}/cutecom-v${version}.tar.gz" checksum=4b2591daa983b31716091bd1602988b5a06a19c1a3402150826fc36233edbedd +patch_args=-Np0 diff --git a/srcpkgs/cvs/template b/srcpkgs/cvs/template index c37384b54302..25d4446d64d7 100644 --- a/srcpkgs/cvs/template +++ b/srcpkgs/cvs/template @@ -14,3 +14,4 @@ homepage="http://www.nongnu.org/cvs/" license="GPL-1, LGPL-2" distfiles="http://ftp.gnu.org/non-gnu/cvs/source/feature/$version/cvs-$version.tar.bz2" checksum=78853613b9a6873a30e1cc2417f738c330e75f887afdaf7b3d0800cb19ca515e +patch_args=-Np0 diff --git a/srcpkgs/darkice/template b/srcpkgs/darkice/template index b61c6d8c7f8a..d6afbebc3446 100644 --- a/srcpkgs/darkice/template +++ b/srcpkgs/darkice/template @@ -21,3 +21,4 @@ license="GPL-3.0-or-later" homepage="http://www.darkice.org" distfiles="${SOURCEFORGE_SITE}/project/darkice/darkice/${version}/darkice-${version}.tar.gz" checksum=2c0d0faaa627c0273b2ce8b38775a73ef97e34ef866862a398f660ad8f6e9de6 +patch_args=-Np0 diff --git a/srcpkgs/ddd/template b/srcpkgs/ddd/template index 24f44a9abc23..71dc933f1045 100644 --- a/srcpkgs/ddd/template +++ b/srcpkgs/ddd/template @@ -10,3 +10,4 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/ddd" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=3ad6cd67d7f4b1d6b2d38537261564a0d26aaed077bf25c51efc1474d0e8b65c +patch_args=-Np0 diff --git a/srcpkgs/dhewm3/template b/srcpkgs/dhewm3/template index 5509900e8c0b..f2cfd2c0f79c 100644 --- a/srcpkgs/dhewm3/template +++ b/srcpkgs/dhewm3/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="https://dhewm3.org/" distfiles="https://github.com/dhewm/dhewm3/releases/download/${version}/dhewm3-${version}-src.tar.xz" checksum=31671f35fb6f83272dfa2a27c0dad6183bc228f1f1a448ef925052cf4dcf4b68 +patch_args=-Np0 diff --git a/srcpkgs/dialogbox/template b/srcpkgs/dialogbox/template index 31d985e61769..f213a4c2d3a0 100644 --- a/srcpkgs/dialogbox/template +++ b/srcpkgs/dialogbox/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/martynets/dialogbox" distfiles="https://github.com/martynets/dialogbox/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=554e59712a616772cff5734206e2a223171ad57c0e922421d8383a763b11640e +patch_args=-Np0 diff --git a/srcpkgs/dillo/template b/srcpkgs/dillo/template index d2bdc4bf77e8..16a821062d9f 100644 --- a/srcpkgs/dillo/template +++ b/srcpkgs/dillo/template @@ -15,3 +15,4 @@ license="GPL-3.0-or-later" homepage="http://www.dillo.org/download/" distfiles="http://www.dillo.org/download/${pkgname}-${version}.tar.bz2" checksum=db1be16c1c5842ebe07b419aa7c6ef11a45603a75df2877f99635f4f8345148b +patch_args=-Np0 diff --git a/srcpkgs/dislocker/template b/srcpkgs/dislocker/template index a5580034c6fd..97b42c35a35e 100644 --- a/srcpkgs/dislocker/template +++ b/srcpkgs/dislocker/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/Aorimn/dislocker" distfiles="https://github.com/Aorimn/${pkgname}/archive/v${version}.tar.gz" checksum=8d5275577c44f2bd87f6e05dd61971a71c0e56a9cbedf000bd38deadd8b6c1e6 +patch_args=-Np0 diff --git a/srcpkgs/dmg2img/template b/srcpkgs/dmg2img/template index a14781b0c3b1..bfe2c851b263 100644 --- a/srcpkgs/dmg2img/template +++ b/srcpkgs/dmg2img/template @@ -10,3 +10,4 @@ license="GPL-2.0-or-later" homepage="http://vu1tur.eu.org/dmg2img" distfiles="http://vu1tur.eu.org/tools/dmg2img-${version}.tar.gz" checksum=02aea6d05c5b810074913b954296ddffaa43497ed720ac0a671da4791ec4d018 +patch_args=-Np0 diff --git a/srcpkgs/dvdbackup/template b/srcpkgs/dvdbackup/template index 0d823b6f97ef..11d83f016517 100644 --- a/srcpkgs/dvdbackup/template +++ b/srcpkgs/dvdbackup/template @@ -10,3 +10,4 @@ license="GPL-3.0-or-later" homepage="http://dvdbackup.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/dvdbackup/dvdbackup-${version}.tar.xz" checksum=ef8c56fbb82b15b7eef00d2d3118c8253f9770009ed7bb2a5d4849acf88183e6 +patch_args=-Np0 diff --git a/srcpkgs/edb-debugger/template b/srcpkgs/edb-debugger/template index e2d24e173f10..1f78ae3755d5 100644 --- a/srcpkgs/edb-debugger/template +++ b/srcpkgs/edb-debugger/template @@ -13,3 +13,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/eteran/edb-debugger" distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tgz" checksum=86df4a0940a39c1480a6fc789f167f94e87a7a330f2d8163fe871f42c754afe8 +patch_args=-Np0 diff --git a/srcpkgs/endless-sky/template b/srcpkgs/endless-sky/template index 00583361ce76..1cd6906a89b3 100644 --- a/srcpkgs/endless-sky/template +++ b/srcpkgs/endless-sky/template @@ -12,3 +12,4 @@ homepage="http://endless-sky.github.io/" distfiles="https://github.com/endless-sky/endless-sky/archive/v${version}.tar.gz" checksum=001c8a28bbec7491f2725fbaa52b1ade813d33cec2d16521f241c80d04685b9d replaces="endless-sky-data>=0" +patch_args=-Np0 diff --git a/srcpkgs/eolie/template b/srcpkgs/eolie/template index 4249e3426296..8dfb6676db8e 100644 --- a/srcpkgs/eolie/template +++ b/srcpkgs/eolie/template @@ -15,3 +15,4 @@ license="GPL-3.0-or-later" homepage="https://wiki.gnome.org/Apps/Eolie" distfiles="https://gitlab.gnome.org/World/eolie/uploads/${_eolie_hash}/eolie-${version}.tar.xz" checksum=9da359895306cf5929a01acb60d1506afb0a04ddbbd0d80ae1d0ba831e34671b +patch_args=-Np0 diff --git a/srcpkgs/epson-inkjet-printer-escpr/template b/srcpkgs/epson-inkjet-printer-escpr/template index dda44942fff6..fb4053ab40a7 100644 --- a/srcpkgs/epson-inkjet-printer-escpr/template +++ b/srcpkgs/epson-inkjet-printer-escpr/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" distfiles="https://download3.ebz.epson.net/dsc/f/03/00/10/49/18/f3016be6120a7271a6d9cb64872f817bce1920b8/${pkgname}-${version}-1lsb3.2.tar.gz" checksum=8d964368a1395a8902b8637e3dc176d6793f0afdfe3f21e95509f29894700d4e +patch_args=-Np0 diff --git a/srcpkgs/exfat-utils/template b/srcpkgs/exfat-utils/template index 6c62704fa511..6ca86c434c4c 100644 --- a/srcpkgs/exfat-utils/template +++ b/srcpkgs/exfat-utils/template @@ -9,3 +9,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/relan/exfat" distfiles="${homepage}/releases/download/v${version}/${pkgname}-${version}.tar.gz" checksum=dfebd07a7b907e2d603d3a9626e6440bd43ec6c4e8c07ccfc57ce9502b724835 +patch_args=-Np0 diff --git a/srcpkgs/extundelete/template b/srcpkgs/extundelete/template index 3ae6119c38dc..87b9c1fdf9b7 100644 --- a/srcpkgs/extundelete/template +++ b/srcpkgs/extundelete/template @@ -10,3 +10,4 @@ license="GPL-2.0-only" homepage="http://extundelete.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=a1f9dd61247056d36401ce5d6785e74d08a184340eebd3865c345ddaa93f19f4 +patch_args=-Np0 diff --git a/srcpkgs/fastjar/template b/srcpkgs/fastjar/template index 6eab069f60ef..f3a6c5fb87c0 100644 --- a/srcpkgs/fastjar/template +++ b/srcpkgs/fastjar/template @@ -10,3 +10,4 @@ license="GPL-2.0-or-later" homepage="http://savannah.nongnu.org/projects/fastjar" distfiles="http://download.savannah.gnu.org/releases/${pkgname}/${pkgname}-${version}.tar.gz" checksum=f156abc5de8658f22ee8f08d7a72c88f9409ebd8c7933e9466b0842afeb2f145 +patch_args=-Np0 diff --git a/srcpkgs/fceux/template b/srcpkgs/fceux/template index 5ecaa9c7e08f..10c3b17d433b 100644 --- a/srcpkgs/fceux/template +++ b/srcpkgs/fceux/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="https://fceux.com/web/home.html" distfiles="https://github.com/TASVideos/fceux/archive/fceux-${version}.tar.gz" checksum=0d3b02b3f15032f7675acb95423fd81fae286615313dfbc58cdd4de2bce17f6e +patch_args=-Np0 diff --git a/srcpkgs/fifengine/template b/srcpkgs/fifengine/template index 6a2cc79a4487..d3bf756eabe7 100644 --- a/srcpkgs/fifengine/template +++ b/srcpkgs/fifengine/template @@ -14,3 +14,4 @@ license="LGPL-2.1-or-later" homepage="https://github.com/fifengine/fifengine" distfiles="https://github.com/fifengine/fifengine/archive/${version}.tar.gz" checksum=e882b55befa36ae2f1a89ada16af0f814a1b78f7cbe6021ec5b1605604cf8ff8 +patch_args=-Np0 diff --git a/srcpkgs/filelight/template b/srcpkgs/filelight/template index 35cd560b1f96..197232071e80 100644 --- a/srcpkgs/filelight/template +++ b/srcpkgs/filelight/template @@ -12,3 +12,4 @@ license="GPL-2.0-only" homepage="https://utils.kde.org/projects/filelight/" distfiles="${KDE_SITE}/release-service/${version}/src/filelight-${version}.tar.xz" checksum=618f91b9da8eebbb6b96e3d74d9e89a7c088ca08b1682ff6c4e65b53a3da5d20 +patch_args=-Np0 diff --git a/srcpkgs/fuse-emulator/template b/srcpkgs/fuse-emulator/template index e1159f258700..957c8796eb0e 100644 --- a/srcpkgs/fuse-emulator/template +++ b/srcpkgs/fuse-emulator/template @@ -14,3 +14,4 @@ license="GPL-2.0-or-later" homepage="http://fuse-emulator.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/fuse-emulator/fuse-${version}.tar.gz" checksum=f0e2583f2642cdc3b2a737910d24e289d46e4f7e151805e3b0827024b2b45e4d +patch_args=-Np0 diff --git a/srcpkgs/gcal/template b/srcpkgs/gcal/template index 3c535d1c099c..7107cee8ef52 100644 --- a/srcpkgs/gcal/template +++ b/srcpkgs/gcal/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/gcal/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=91b56c40b93eee9bda27ec63e95a6316d848e3ee047b5880ed71e5e8e60f61ab +patch_args=-Np0 diff --git a/srcpkgs/gftp/template b/srcpkgs/gftp/template index 0820b29da2d3..30a3556d628e 100644 --- a/srcpkgs/gftp/template +++ b/srcpkgs/gftp/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://www.gftp.org" distfiles="https://sources.voidlinux.org/gftp-${version}/gftp-${version}.tar.bz2" checksum=5306a46be96d6f4d23906cb1836fb3d732039621a6c7fcfa921acc21ac110bfd +patch_args=-Np0 diff --git a/srcpkgs/gfuzz/template b/srcpkgs/gfuzz/template index 3925f06c9500..31faee7c4a90 100644 --- a/srcpkgs/gfuzz/template +++ b/srcpkgs/gfuzz/template @@ -12,3 +12,4 @@ license="Apache-2.0" homepage="https://github.com/braaaax/gfz" distfiles="${homepage}/archive/v${version}.tar.gz" checksum=8b6a3df0c385fe993ead673df53daa290943220f2cde73e6b1c706ef94aa4e5f +patch_args=-Np0 diff --git a/srcpkgs/git-mediate/template b/srcpkgs/git-mediate/template index aa3979d3435a..7923a1743d95 100644 --- a/srcpkgs/git-mediate/template +++ b/srcpkgs/git-mediate/template @@ -13,3 +13,4 @@ distfiles="https://hackage.haskell.org/package/${pkgname}-${version}/${pkgname}- checksum=81220f7e20a3913bc147b69681666ad22e60e5b759a1becad78ee28dcad8013d nocross=yes nopie_files="/usr/bin/git-mediate" +patch_args=-Np0 diff --git a/srcpkgs/gltron/template b/srcpkgs/gltron/template index 1239a1742e5d..4aad84aeb45e 100644 --- a/srcpkgs/gltron/template +++ b/srcpkgs/gltron/template @@ -12,3 +12,4 @@ license="GPL-2.0-only" homepage="http://gltron.org/" distfiles="${SOURCEFORGE_SITE}/gltron/gltron-${version}-source.tar.gz" checksum="e0c8ebb41a18a1f8d7302a9c2cb466f5b1dd63e9a9966c769075e6b6bdad8bb0" +patch_args=-Np0 diff --git a/srcpkgs/gnome-recipes/template b/srcpkgs/gnome-recipes/template index 30f81ab265b6..847e736a4844 100644 --- a/srcpkgs/gnome-recipes/template +++ b/srcpkgs/gnome-recipes/template @@ -13,3 +13,4 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Apps/Recipes" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=1be9d2fcb7404a97aa029d2409880643f15071c37039247a6a4320e7478cd5fb +patch_args=-Np0 diff --git a/srcpkgs/gnupod/template b/srcpkgs/gnupod/template index 09c35988a9d8..6515b87aa61b 100644 --- a/srcpkgs/gnupod/template +++ b/srcpkgs/gnupod/template @@ -12,3 +12,4 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/gnupod/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tgz" checksum=bd566295a2e14352e6d05f5c816cab36b0e80d3ab36d29c4bbb45c581d3f3c31 +patch_args=-Np0 diff --git a/srcpkgs/gupnp-tools/template b/srcpkgs/gupnp-tools/template index 09507922f46c..6c02534f0453 100644 --- a/srcpkgs/gupnp-tools/template +++ b/srcpkgs/gupnp-tools/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="http://gupnp.org/" distfiles="${GNOME_SITE}/gupnp-tools/${version%.*}/gupnp-tools-${version}.tar.xz" checksum=41da7ff5ba8e2425adcb64ca5e04c81f57ca20ec6fdb84923939fdad42c6a18d +patch_args=-Np0 diff --git a/srcpkgs/helm/template b/srcpkgs/helm/template index e7d7b59c10b2..57ad3b36321a 100644 --- a/srcpkgs/helm/template +++ b/srcpkgs/helm/template @@ -13,3 +13,4 @@ homepage="http://tytel.org/helm" distfiles="https://github.com/mtytel/helm/archive/v${version}.tar.gz" checksum=4004c11fd1d773cc2a12adb5336873bc86c5ecbd370b8da2820fed6ef5ec58ad nocross="./lv2_ttl_generator: ./lv2_ttl_generator: cannot execute binary file" +patch_args=-Np0 diff --git a/srcpkgs/html-xml-utils/template b/srcpkgs/html-xml-utils/template index a2f0a8d6f528..ab69c1e16d33 100644 --- a/srcpkgs/html-xml-utils/template +++ b/srcpkgs/html-xml-utils/template @@ -10,3 +10,4 @@ license="W3C" homepage="https://www.w3.org/Tools/HTML-XML-utils/README" distfiles="https://www.w3.org/Tools/HTML-XML-utils/${pkgname}-${version}.tar.gz" checksum=d86ac96ea660316bef814c17b2a96d54cdf91c69e59614459865c2bfdaee433f +patch_args=-Np0 diff --git a/srcpkgs/hxtools/template b/srcpkgs/hxtools/template index 87be5bb16f1a..33a37ff0b971 100644 --- a/srcpkgs/hxtools/template +++ b/srcpkgs/hxtools/template @@ -12,3 +12,4 @@ homepage="http://inai.de/projects/hxtools" distfiles="http://inai.de/files/hxtools/hxtools-${version}.tar.xz" checksum=45ceee8db0b9b926712b336ebb91c572f2247cec64862f6171fc416db4e9e12f conflicts="bsd-games>=0" +patch_args=-Np0 diff --git a/srcpkgs/icecast/template b/srcpkgs/icecast/template index 920d6ffe9d31..b3fed3c37602 100644 --- a/srcpkgs/icecast/template +++ b/srcpkgs/icecast/template @@ -13,3 +13,4 @@ homepage="http://www.icecast.org/" distfiles="http://downloads.xiph.org/releases/${pkgname}/${pkgname}-${version}.tar.gz" checksum=49b5979f9f614140b6a38046154203ee28218d8fc549888596a683ad604e4d44 conf_files="/etc/icecast.xml" +patch_args=-Np0 diff --git a/srcpkgs/imagewriter/template b/srcpkgs/imagewriter/template index cd4d3c9af695..197bc5476340 100644 --- a/srcpkgs/imagewriter/template +++ b/srcpkgs/imagewriter/template @@ -15,3 +15,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/openSUSE/imagewriter" distfiles="https://github.com/openSUSE/imagewriter/archive/${_commit}.tar.gz" checksum=7761ee45b16b5841c6b62b091c7f9d0b8c64b14b79d77e9909ca813e1dc9885d +patch_args=-Np0 diff --git a/srcpkgs/img2pdf/template b/srcpkgs/img2pdf/template index 206bf3cbccc6..9b7cae086496 100644 --- a/srcpkgs/img2pdf/template +++ b/srcpkgs/img2pdf/template @@ -12,3 +12,4 @@ license="GPL-3.0-or-later" homepage="https://gitlab.mister-muffin.de/josch/img2pdf" distfiles="${PYPI_SITE}/i/img2pdf/img2pdf-${version}.tar.gz" checksum=38a1229ca84b211d7782d1d65ad7251a9781bf24f6f6497c738c755fcfed5552 +patch_args=-Np0 diff --git a/srcpkgs/intel-undervolt/template b/srcpkgs/intel-undervolt/template index d631eb2222a8..e9d1bf651d07 100644 --- a/srcpkgs/intel-undervolt/template +++ b/srcpkgs/intel-undervolt/template @@ -10,3 +10,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/kitsunyan/intel-undervolt" distfiles="https://github.com/kitsunyan/intel-undervolt/archive/${version}.tar.gz" checksum=29a7ebaee4830d65d0b5cefa6d497887d4f23f34659876dfe944f3a020cf33ff +patch_args=-Np0 diff --git a/srcpkgs/intltool/template b/srcpkgs/intltool/template index cfba730f2e67..b3b26d28aded 100644 --- a/srcpkgs/intltool/template +++ b/srcpkgs/intltool/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="https://edge.launchpad.net/intltool" distfiles="http://launchpad.net/intltool/trunk/$version/+download/$pkgname-$version.tar.gz" checksum=67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd +patch_args=-Np0 diff --git a/srcpkgs/io.elementary.photos/template b/srcpkgs/io.elementary.photos/template index 81c1734164ba..a07e9b5a4912 100644 --- a/srcpkgs/io.elementary.photos/template +++ b/srcpkgs/io.elementary.photos/template @@ -20,3 +20,4 @@ license="LGPL-2.1-or-later" homepage="https://github.com/elementary/photos" distfiles="https://github.com/elementary/photos/archive/${version}.tar.gz" checksum=9f6ad409d053e3239b9ec7fc59429afe9ce89e40878697a73c2c3f215556a074 +patch_args=-Np0 diff --git a/srcpkgs/ipv6calc/template b/srcpkgs/ipv6calc/template index fdeb909b06e9..7873da6a9847 100644 --- a/srcpkgs/ipv6calc/template +++ b/srcpkgs/ipv6calc/template @@ -12,3 +12,4 @@ license="GPL-2.0-only" homepage="https://www.deepspace6.net/projects/ipv6calc.html" distfiles="https://github.com/pbiering/ipv6calc/archive/${version}.tar.gz" checksum=db690da55a31db063f87af7731cf5c913d8622057fc6c9f66f879725b1540496 +patch_args=-Np0 diff --git a/srcpkgs/itstool/template b/srcpkgs/itstool/template index 5618fa120fff..d83b9b2fe397 100644 --- a/srcpkgs/itstool/template +++ b/srcpkgs/itstool/template @@ -13,3 +13,4 @@ license="GPL-3.0-or-later" homepage="http://itstool.org/" distfiles="http://files.itstool.org/itstool/${pkgname}-${version}.tar.bz2" checksum=6233cc22726a9a5a83664bf67d1af79549a298c23185d926c3677afa917b92a9 +patch_args=-Np0 diff --git a/srcpkgs/iwgtk/template b/srcpkgs/iwgtk/template index a9b23b80f0ca..a4461b5602a9 100644 --- a/srcpkgs/iwgtk/template +++ b/srcpkgs/iwgtk/template @@ -12,3 +12,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/J-Lentz/iwgtk/" distfiles="https://github.com/J-Lentz/iwgtk/archive/refs/tags/v${version}.tar.gz" checksum=71bb85546a55bf710052d4947f6be5f5a01033d04d2d14a85a7e734dd570657d +patch_args=-Np0 diff --git a/srcpkgs/jigdo/template b/srcpkgs/jigdo/template index 16edbc817c8a..aff25631a6ff 100644 --- a/srcpkgs/jigdo/template +++ b/srcpkgs/jigdo/template @@ -12,3 +12,4 @@ license="GPL-2" homepage="http://atterer.org/jigdo/" distfiles="http://atterer.org/sites/atterer/files/2009-08/${pkgname}/${pkgname}-${version}.tar.bz2" checksum="875c069abad67ce67d032a9479228acdb37c8162236c0e768369505f264827f0" +patch_args=-Np0 diff --git a/srcpkgs/k3b/template b/srcpkgs/k3b/template index f02f12356d52..3ff3d73d1304 100644 --- a/srcpkgs/k3b/template +++ b/srcpkgs/k3b/template @@ -16,3 +16,4 @@ license="GPL-2.0-or-later" homepage="https://kde.org/applications/en/multimedia/org.kde.k3b" distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz" checksum=986c5073c944dbda5b49e3c1a2fbf340fb1c6af941e80b6a0020fadd1be9034b +patch_args=-Np0 diff --git a/srcpkgs/kcm-wacomtablet/template b/srcpkgs/kcm-wacomtablet/template index 0e1234c6218b..926fc17457fe 100644 --- a/srcpkgs/kcm-wacomtablet/template +++ b/srcpkgs/kcm-wacomtablet/template @@ -15,3 +15,4 @@ license="GPL-2.0-or-later" homepage="https://invent.kde.org/system/wacomtablet" distfiles="${KDE_SITE}/wacomtablet/${version}/wacomtablet-${version}.tar.xz" checksum=c80ce63a41f6fcbb50ac4c2130ed2f8273c4b744e62e33d4b714bf83e8e5f7a4 +patch_args=-Np0 diff --git a/srcpkgs/kcov/template b/srcpkgs/kcov/template index cb361bd65b1a..038549b26466 100644 --- a/srcpkgs/kcov/template +++ b/srcpkgs/kcov/template @@ -11,3 +11,4 @@ license="GPL-2.0-only" homepage="https://simonkagstrom.github.io/kcov/index.html" distfiles="https://github.com/SimonKagstrom/kcov/archive/v${version}.tar.gz" checksum=b37af60d81a9b1e3b140f9473bdcb7975af12040feb24cc666f9bb2bb0be68b4 +patch_args=-Np0 diff --git a/srcpkgs/keditbookmarks/template b/srcpkgs/keditbookmarks/template index 51fe33866304..efc8fcb830e9 100644 --- a/srcpkgs/keditbookmarks/template +++ b/srcpkgs/keditbookmarks/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later, GFDL-1.2-only" homepage="https://www.kde.org/" distfiles="${KDE_SITE}/release-service/${version}/src/keditbookmarks-${version}.tar.xz" checksum=a57eec8ff05b6a6fea5367b489f67d8de7483aaede4c39692c347da15ba9eec3 +patch_args=-Np0 diff --git a/srcpkgs/kig/template b/srcpkgs/kig/template index 1431f85bde84..82957d1c25c8 100644 --- a/srcpkgs/kig/template +++ b/srcpkgs/kig/template @@ -12,3 +12,4 @@ license="GPL-2.0-only" homepage="https://www.kde.org/applications/education/kig/" distfiles="${KDE_SITE}/release-service/${version}/src/kig-${version}.tar.xz" checksum=5939d298b40d265f1ddef4bd81540b1a26204d858f85db5847cc102366a5ce58 +patch_args=-Np0 diff --git a/srcpkgs/krusader/template b/srcpkgs/krusader/template index dbc7743a0dd8..93f8662bf8d5 100644 --- a/srcpkgs/krusader/template +++ b/srcpkgs/krusader/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="https://www.krusader.org/" distfiles="${KDE_SITE}/krusader/${version}/krusader-${version}.tar.xz" checksum=41a39a43b3c42dd1d1ecaea86df30caff6a061fecc1d66f60859b2a3ca976109 +patch_args=-Np0 diff --git a/srcpkgs/ksysguard/template b/srcpkgs/ksysguard/template index c276f9d7bbbc..23288bfb15fe 100644 --- a/srcpkgs/ksysguard/template +++ b/srcpkgs/ksysguard/template @@ -15,3 +15,4 @@ license="GPL-2.0-or-later, GFDL-1.2-only" homepage="https://invent.kde.org/plasma/ksysguard" distfiles="${KDE_SITE}/ksysguard/${version}/${pkgname}-${version}.tar.xz" checksum=0f9c624e5fbb2aee906d8d9563c5a7eb09eaf38bc8e4382c072f9e6d8854622d +patch_args=-Np0 diff --git a/srcpkgs/lbreakouthd/template b/srcpkgs/lbreakouthd/template index 1f9accfb4ab9..c0025345fa9b 100644 --- a/srcpkgs/lbreakouthd/template +++ b/srcpkgs/lbreakouthd/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="http://lgames.sourceforge.net/LBreakoutHD/" distfiles="${SOURCEFORGE_SITE}/lgames/$pkgname-$version.tar.gz" checksum=df5f8ad88bcf20bd34e1dfd77697b49a168d83ad43d8fdf5a3fee1fe272e15bd +patch_args=-Np0 diff --git a/srcpkgs/lbzip2/template b/srcpkgs/lbzip2/template index c6973fe171b5..3ac6ff9ec10a 100644 --- a/srcpkgs/lbzip2/template +++ b/srcpkgs/lbzip2/template @@ -9,3 +9,4 @@ license="GPL-3.0-or-later" homepage="http://lbzip2.org/" distfiles="http://archive.lbzip2.org/lbzip2-${version}.tar.gz" checksum=46c75ee93cc95eedc6005625442b2b8e59a2bef3ba80987d0491f055185650e9 +patch_args=-Np0 diff --git a/srcpkgs/lcov/template b/srcpkgs/lcov/template index 2d23c19f0cc3..787296423df5 100644 --- a/srcpkgs/lcov/template +++ b/srcpkgs/lcov/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="http://ltp.sourceforge.net/coverage/lcov.php" distfiles="https://github.com/linux-test-project/${pkgname}/archive/v${version}.tar.gz" checksum=d88b0718f59815862785ac379aed56974b9edd8037567347ae70081cd4a3542a +patch_args=-Np0 diff --git a/srcpkgs/libeatmydata/template b/srcpkgs/libeatmydata/template index 3334ca236d94..7470acc97fdd 100644 --- a/srcpkgs/libeatmydata/template +++ b/srcpkgs/libeatmydata/template @@ -9,3 +9,4 @@ license="GPL-3.0-only" homepage="http://www.flamingspork.com/projects/libeatmydata/" distfiles="http://www.flamingspork.com/projects/libeatmydata/${pkgname}-${version}.tar.gz" checksum=bdd2d068b6b27cf47cd22aa4c5da43b3d4a05944cfe0ad1b0d843d360ed3a8dd +patch_args=-Np0 diff --git a/srcpkgs/libva-vdpau-driver/template b/srcpkgs/libva-vdpau-driver/template index 391ba5296f4e..82104939cfdf 100644 --- a/srcpkgs/libva-vdpau-driver/template +++ b/srcpkgs/libva-vdpau-driver/template @@ -11,3 +11,4 @@ license="GPL-2.0-only" homepage="http://freedesktop.org/wiki/Software/vaapi" distfiles="${FREEDESKTOP_SITE}/vaapi/releases/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=155c1982f0ac3f5435ba20b221bcaa11be212c37db548cd1f2a030ffa17e9bb9 +patch_args=-Np0 diff --git a/srcpkgs/libwm/template b/srcpkgs/libwm/template index df29afde53aa..e88e7eb4a5ed 100644 --- a/srcpkgs/libwm/template +++ b/srcpkgs/libwm/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/wmutils/libwm" distfiles="https://github.com/wmutils/libwm/archive/v${version}.tar.gz" checksum=db80ef40d6b105f046c1d0bc138470b3e23e7bd1000afc3163d9e62f403f0f6a +patch_args=-Np0 diff --git a/srcpkgs/lltag/template b/srcpkgs/lltag/template index c540ae3ddef8..565369c9a986 100644 --- a/srcpkgs/lltag/template +++ b/srcpkgs/lltag/template @@ -13,3 +13,4 @@ license="GPL-2.0-or-later" homepage="http://bgoglin.free.fr/lltag/" distfiles="https://github.com/bgoglin/lltag/archive/lltag-${version}.tar.gz" checksum=e24c88866d89f90c11bcf89d9d1b4e8af78f486f1f7454a28210b10b8af17252 +patch_args=-Np0 diff --git a/srcpkgs/lrzsz/template b/srcpkgs/lrzsz/template index e90aaeba3a21..98b4e7fb1c30 100644 --- a/srcpkgs/lrzsz/template +++ b/srcpkgs/lrzsz/template @@ -10,3 +10,4 @@ license="GPL-2.0-or-later" homepage="http://ohse.de/uwe/software/lrzsz.html" distfiles="http://ohse.de/uwe/releases/$pkgname-$version.tar.gz" checksum=c28b36b14bddb014d9e9c97c52459852f97bd405f89113f30bee45ed92728ff1 +patch_args=-Np0 diff --git a/srcpkgs/macchanger/template b/srcpkgs/macchanger/template index 9af205a0d0f4..3d4402e208bf 100644 --- a/srcpkgs/macchanger/template +++ b/srcpkgs/macchanger/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/macchanger" distfiles="https://github.com/alobbs/macchanger/archive/${version}.tar.gz" checksum=1d75c07a626321e07b48a5fe2dbefbdb98c3038bb8230923ba8d32bda5726e4f +patch_args=-Np0 diff --git a/srcpkgs/mate-power-manager/template b/srcpkgs/mate-power-manager/template index 4f2f7d77c8f1..c1afcc458a43 100644 --- a/srcpkgs/mate-power-manager/template +++ b/srcpkgs/mate-power-manager/template @@ -15,3 +15,4 @@ license="GPL-2.0-or-later" homepage="https://mate-desktop.org" distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz" checksum=d24b9fce23b086817d5494f7e65e58f18367af6eb5d0d4ade45de5396e20d13a +patch_args=-Np0 diff --git a/srcpkgs/mcomix/template b/srcpkgs/mcomix/template index c413e5e00288..5557136c1ace 100644 --- a/srcpkgs/mcomix/template +++ b/srcpkgs/mcomix/template @@ -11,3 +11,4 @@ license="GPL-2.0-only" homepage="http://sourceforge.net/projects/mcomix/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/MComix-${version}/${pkgname}-${version}.tar.bz2" checksum=7e43159dc585bc9bc31970a44bd2b4e42c303660c4c8cf7f0eda413a6f72fa3b +patch_args=-Np0 diff --git a/srcpkgs/mftrace/template b/srcpkgs/mftrace/template index 10f2c1ecfdc1..09ee52a11a3e 100644 --- a/srcpkgs/mftrace/template +++ b/srcpkgs/mftrace/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="http://lilypond.org/mftrace" distfiles="http://lilypond.org/downloads/sources/${pkgname}/${pkgname}-${version}.tar.gz" checksum=626b7a9945a768c086195ba392632a68d6af5ea24ef525dcd0a4a8b199ea5f6f +patch_args=-Np0 diff --git a/srcpkgs/nm-tray/template b/srcpkgs/nm-tray/template index b2a3e85cf57e..2acc4a68f434 100644 --- a/srcpkgs/nm-tray/template +++ b/srcpkgs/nm-tray/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/palinek/nm-tray" distfiles="https://github.com/palinek/nm-tray/archive/${version}.tar.gz" checksum=1611c053582189091efa74c2f26277afc872a57cfd4ec9e54463f68c25ad284b +patch_args=-Np0 diff --git a/srcpkgs/nootka/template b/srcpkgs/nootka/template index 8726ab984e8c..3ee39181a314 100644 --- a/srcpkgs/nootka/template +++ b/srcpkgs/nootka/template @@ -12,3 +12,4 @@ license="GPL-3.0-only" homepage="https://nootka.sourceforge.io" distfiles="${SOURCEFORGE_SITE}/nootka/Nootka-${version}/nootka-${version}-source.tar.bz2" checksum=1d85a2970ddb51117b0a98df4d84ca9e9498fbd1d2b1c55bfa62931333a73cf9 +patch_args=-Np0 diff --git a/srcpkgs/olive/template b/srcpkgs/olive/template index 11468a8b04cf..c001284d41d0 100644 --- a/srcpkgs/olive/template +++ b/srcpkgs/olive/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="https://www.olivevideoeditor.org" distfiles="https://github.com/olive-editor/olive/archive/${version}.tar.gz" checksum=cb9a5b109e67a47f03448633cbc7a257aa8e6c3c76a59c1fada77fd3d97875c1 +patch_args=-Np0 diff --git a/srcpkgs/pam_rundir/template b/srcpkgs/pam_rundir/template index f08238ddb5fd..578d660bf4c1 100644 --- a/srcpkgs/pam_rundir/template +++ b/srcpkgs/pam_rundir/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://jjacky.com/pam_rundir" distfiles="https://jjacky.com/${pkgname}/${pkgname}-${version}.tar.gz" checksum=c779b699ed23777a3bdba87b7f67ed395fe957f3c96138faee45f87a27bcc020 +patch_args=-Np0 diff --git a/srcpkgs/pdfgrep/template b/srcpkgs/pdfgrep/template index 20fe67c72035..b7270c1af890 100644 --- a/srcpkgs/pdfgrep/template +++ b/srcpkgs/pdfgrep/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://pdfgrep.org" distfiles="https://pdfgrep.org/download/pdfgrep-${version}.tar.gz" checksum=0ef3dca1d749323f08112ffe68e6f4eb7bc25f56f90a2e933db477261b082aba +patch_args=-Np0 diff --git a/srcpkgs/pdfsandwich/template b/srcpkgs/pdfsandwich/template index 67c1a011ba78..37d4290fef56 100644 --- a/srcpkgs/pdfsandwich/template +++ b/srcpkgs/pdfsandwich/template @@ -12,3 +12,4 @@ license="GPL-2.0-only" homepage="http://www.tobias-elze.de/pdfsandwich/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=9795ffea84b9b6b501f38d49a4620cf0469ddf15aac31bac6dbdc9ec1716fa39 +patch_args=-Np0 diff --git a/srcpkgs/pekwm/template b/srcpkgs/pekwm/template index 367691f8cb7d..908b9f20e31c 100644 --- a/srcpkgs/pekwm/template +++ b/srcpkgs/pekwm/template @@ -15,3 +15,4 @@ homepage="https://www.pekwm.se/" distfiles="https://github.com/pekdon/pekwm/archive/release-${version}.tar.gz" checksum=e04e14ab7b212ec7c3a36e4c24b6228383df4ca3768f9fea7ba22dcd107d5d5a conf_files="/etc/pekwm/*" +patch_args=-Np0 diff --git a/srcpkgs/perl-Authen-SASL/template b/srcpkgs/perl-Authen-SASL/template index c9aea8eb9587..66b079daaa30 100644 --- a/srcpkgs/perl-Authen-SASL/template +++ b/srcpkgs/perl-Authen-SASL/template @@ -13,3 +13,4 @@ license="Artistic-1.0-Perl, GPL-1.0-or-later" homepage="https://metacpan.org/release/Authen-SASL" distfiles="${CPAN_SITE}/Authen/${pkgname/perl-/}-${version}.tar.gz" checksum=6614fa7518f094f853741b63c73f3627168c5d3aca89b1d02b1016dc32854e09 +patch_args=-Np0 diff --git a/srcpkgs/perl-Crypt-DH/template b/srcpkgs/perl-Crypt-DH/template index 95fe7e66836a..d4fc6f20a4c5 100644 --- a/srcpkgs/perl-Crypt-DH/template +++ b/srcpkgs/perl-Crypt-DH/template @@ -13,3 +13,4 @@ license="Artistic-1.0-Perl, GPL-1.0-or-later" homepage="https://metacpan.org/release/Crypt-DH" distfiles="${CPAN_SITE}/Crypt/Crypt-DH-${version}.tar.gz" checksum=c88cf3423b01e6782e8986d7fe5304436ab84b0925c4498c6fdfa17ef9a37f5f +patch_args=-Np0 diff --git a/srcpkgs/perl-Crypt-Rijndael/template b/srcpkgs/perl-Crypt-Rijndael/template index 5154d035b35c..a2c97d0d4ce9 100644 --- a/srcpkgs/perl-Crypt-Rijndael/template +++ b/srcpkgs/perl-Crypt-Rijndael/template @@ -13,3 +13,4 @@ license="LGPL-2.0-or-later" homepage="https://metacpan.org/release/Crypt-Rijndael" distfiles="${CPAN_SITE}/Crypt/Crypt-Rijndael-${version}.tar.gz" checksum=6451c3dffe8703523be2bb08d1adca97e77df2a8a4dd46944d18a99330b7850e +patch_args=-Np0 diff --git a/srcpkgs/perl-Fuse/template b/srcpkgs/perl-Fuse/template index 9793fbb001fb..3fb06c90e33b 100644 --- a/srcpkgs/perl-Fuse/template +++ b/srcpkgs/perl-Fuse/template @@ -13,3 +13,4 @@ license="LGPL-2.1-only" homepage="https://metacpan.org/release/Fuse" distfiles="${CPAN_SITE}/Fuse/Fuse-$version.tar.gz" checksum=30a939fe5816b00ba9cabb6cd811f894e6a74361ce29d786ae1811b0021d7aa1 +patch_args=-Np0 diff --git a/srcpkgs/perl-OpenGL/template b/srcpkgs/perl-OpenGL/template index 31c5362852db..3628d85f23e0 100644 --- a/srcpkgs/perl-OpenGL/template +++ b/srcpkgs/perl-OpenGL/template @@ -13,3 +13,4 @@ license="Artistic-1.0-Perl, GPL-1.0-or-later" homepage="https://metacpan.org/release/OpenGL" distfiles="${CPAN_SITE}/OpenGL/${pkgname#perl-}-${version}.tar.gz" checksum=b20e2af4404b4901ab35bba6ad5e3a8aa60bff72413c99288f01018c4cf874e0 +patch_args=-Np0 diff --git a/srcpkgs/perl-XML-LibXSLT/template b/srcpkgs/perl-XML-LibXSLT/template index 24fa3f44b1b5..2b6eecc07722 100644 --- a/srcpkgs/perl-XML-LibXSLT/template +++ b/srcpkgs/perl-XML-LibXSLT/template @@ -13,3 +13,4 @@ license="Artistic-1.0-Perl, GPL-1.0-or-later" homepage="https://metacpan.org/release/XML-LibXSLT/" distfiles="${CPAN_SITE}/XML/${pkgname/perl-/}-${version}.tar.gz" checksum=127e17a877fb61e47b9e8b87bf8daad31339a62a00121f9751d522b438b0f7f0 +patch_args=-Np0 diff --git a/srcpkgs/perl-XML-SAX/template b/srcpkgs/perl-XML-SAX/template index d72f1eac7e8f..445c4c6e20ff 100644 --- a/srcpkgs/perl-XML-SAX/template +++ b/srcpkgs/perl-XML-SAX/template @@ -13,3 +13,4 @@ license="Artistic-1.0-Perl, GPL-1.0-or-later" homepage="https://metacpan.org/release/XML-SAX" distfiles="${CPAN_SITE}/XML/XML-SAX-${version}.tar.gz" checksum=4506c387043aa6a77b455f00f57409f3720aa7e553495ab2535263b4ed1ea12a +patch_args=-Np0 diff --git a/srcpkgs/pidgin-gpg/template b/srcpkgs/pidgin-gpg/template index 2442f04ea12f..b67e21ce24f0 100644 --- a/srcpkgs/pidgin-gpg/template +++ b/srcpkgs/pidgin-gpg/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="http://github.com/segler-alex/Pidgin-GPG" distfiles="http://github.com/downloads/segler-alex/Pidgin-GPG/${pkgname}-${version}.tar.gz" checksum=736681cb25da31eb8ced96055d4150d649fe6ef6e523b6f65846c3446ac09a96 +patch_args=-Np0 diff --git a/srcpkgs/pidgin-sipe/template b/srcpkgs/pidgin-sipe/template index 9ea248618f43..d9bead87f864 100644 --- a/srcpkgs/pidgin-sipe/template +++ b/srcpkgs/pidgin-sipe/template @@ -13,3 +13,4 @@ license="GPL-2.0-or-later" homepage="http://sipe.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/sipe/sipe/${pkgname}-${version}.tar.xz" checksum=738b121b11f2b3f1744150c00cb381222eb6cf67161a7742797eb4f03e64a2ba +patch_args=-Np0 diff --git a/srcpkgs/plasma-desktop/template b/srcpkgs/plasma-desktop/template index 4ec04abb501c..eeaf614bca95 100644 --- a/srcpkgs/plasma-desktop/template +++ b/srcpkgs/plasma-desktop/template @@ -21,3 +21,4 @@ distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" checksum=9be7d61a042b5d74c1a65ecc8101c81390d45c2fec766b5115d5924b5dac0972 replaces="user-manager>=0" python_version=3 +patch_args=-Np0 diff --git a/srcpkgs/pokoy/template b/srcpkgs/pokoy/template index 490067f7d9ff..f66ffc35c3fd 100644 --- a/srcpkgs/pokoy/template +++ b/srcpkgs/pokoy/template @@ -11,3 +11,4 @@ license="GPL-2.0-only" homepage="https://github.com/ttygde/pokoy" distfiles="https://github.com/ttygde/pokoy/archive/v${version}.tar.gz" checksum=ae3ee5935e503d1f48f7fc8e4df2071e9d4586a52dfe778ef643deb28ca6a22f +patch_args=-Np0 diff --git a/srcpkgs/polkit-kde-agent/template b/srcpkgs/polkit-kde-agent/template index a9182b185f1a..2d383314caa9 100644 --- a/srcpkgs/polkit-kde-agent/template +++ b/srcpkgs/polkit-kde-agent/template @@ -14,3 +14,4 @@ license="GPL-2.0-or-later" homepage="https://commits.kde.org/polkit-kde-agent" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-1-${version}.tar.xz" checksum=de9a6f1bdf434d013a8d6f0c1498257bc4a48349e652375b4dd036eb161214ee +patch_args=-Np0 diff --git a/srcpkgs/posixovl/template b/srcpkgs/posixovl/template index 1146191fcf82..221b61c832b3 100644 --- a/srcpkgs/posixovl/template +++ b/srcpkgs/posixovl/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://sourceforge.net/projects/posixovl/" distfiles="${SOURCEFORGE_SITE}/posixovl/files/${pkgname}-${version}.tar.xz" checksum=a827798b02c0f27b37d8a10502e76c21adac43b887a49e7234e8d27668f62e72 +patch_args=-Np0 diff --git a/srcpkgs/powertop/template b/srcpkgs/powertop/template index d0841935e7f4..2c9c25319c65 100644 --- a/srcpkgs/powertop/template +++ b/srcpkgs/powertop/template @@ -11,3 +11,4 @@ license="GPL-2.0-only" homepage="https://01.org/powertop/" distfiles="https://01.org/sites/default/files/downloads/powertop-${version}.tar.gz" checksum=a65f992ca4a419bc73b623651060eb9fc00c5a86fa03556358cd9db011ef3178 +patch_args=-Np0 diff --git a/srcpkgs/python3-orocos-kdl/template b/srcpkgs/python3-orocos-kdl/template index 281ea8978c5f..d27ab90a9b7a 100644 --- a/srcpkgs/python3-orocos-kdl/template +++ b/srcpkgs/python3-orocos-kdl/template @@ -15,3 +15,4 @@ license="LGPL-2.1-only" homepage="http://www.orocos.org/kdl" distfiles="https://github.com/orocos/orocos_kinematics_dynamics/archive/v${version}.tar.gz" checksum=05b93e759923684dc07433ccae1e476d158d89b3c2be5079c20062406da7b4dd +patch_args=-Np0 diff --git a/srcpkgs/python3-pykeepass/template b/srcpkgs/python3-pykeepass/template index dc3fe59fa411..7223950538bc 100644 --- a/srcpkgs/python3-pykeepass/template +++ b/srcpkgs/python3-pykeepass/template @@ -15,3 +15,4 @@ homepage="https://github.com/libkeepass/pykeepass" changelog="https://raw.githubusercontent.com/libkeepass/pykeepass/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/p/pykeepass/pykeepass-${version}.tar.gz" checksum=b3e07eb2dd3aeb1dfa1a2d2d17be77066ee560c1e770f1c72d7ea5608117d284 +patch_args=-Np0 diff --git a/srcpkgs/python3-transifex-client/template b/srcpkgs/python3-transifex-client/template index e34c310c0a85..c71fd7a32338 100644 --- a/srcpkgs/python3-transifex-client/template +++ b/srcpkgs/python3-transifex-client/template @@ -13,3 +13,4 @@ license="GPL-2.0-only" homepage="https://www.transifex.com" distfiles="https://github.com/transifex/transifex-client/archive/${version}.tar.gz" checksum=460f3a829e57b8025280e03a6ad497a87beba142adb2e1579678227f49d4a9ab +patch_args=-Np0 diff --git a/srcpkgs/python3-yara/template b/srcpkgs/python3-yara/template index d3c42f7fa06f..359edc090a5b 100644 --- a/srcpkgs/python3-yara/template +++ b/srcpkgs/python3-yara/template @@ -13,3 +13,4 @@ license="Apache-2.0" homepage="http://virustotal.github.io/yara/" distfiles="https://github.com/VirusTotal/yara-python/archive/v${version}.tar.gz" checksum=4bc1a69bc9c5f70419806e15a05123a7879456b52a9c50832c34c22eecb4de81 +patch_args=-Np0 diff --git a/srcpkgs/qmltermwidget/template b/srcpkgs/qmltermwidget/template index 8a5b2fa230eb..a770f2f1fd29 100644 --- a/srcpkgs/qmltermwidget/template +++ b/srcpkgs/qmltermwidget/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/Swordfish90/qmltermwidget" distfiles="${homepage}/archive/${version}.tar.gz" checksum=23e19eedb59d6fe3e37ecc06872f54befd94384946926e009c42c4b39914cfe2 +patch_args=-Np0 diff --git a/srcpkgs/qomui/template b/srcpkgs/qomui/template index b74138381bef..73235d778f87 100644 --- a/srcpkgs/qomui/template +++ b/srcpkgs/qomui/template @@ -15,3 +15,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/corrad1nho/qomui" distfiles="https://github.com/corrad1nho/qomui/archive/v${version}.tar.gz" checksum=78187864a4368fed06f6e58c4d411053a1d1193d625ee79be0a57bf0938b1d0b +patch_args=-Np0 diff --git a/srcpkgs/qtcurve/template b/srcpkgs/qtcurve/template index 19a4d792d66f..7f98001a6e91 100644 --- a/srcpkgs/qtcurve/template +++ b/srcpkgs/qtcurve/template @@ -16,3 +16,4 @@ homepage="https://quickgit.kde.org/?p=qtcurve.git" distfiles="https://github.com/KDE/qtcurve/archive/${version}.tar.gz" checksum=fbfdafdac90d4c540dd55a4accfecfc3a17c1f532c5241e28003348beafaca15 nocross="tries to execute a helper binary compiled for target on the host" +patch_args=-Np0 diff --git a/srcpkgs/qtfm/template b/srcpkgs/qtfm/template index f2c8e889e6c3..5013481bb259 100644 --- a/srcpkgs/qtfm/template +++ b/srcpkgs/qtfm/template @@ -14,3 +14,4 @@ homepage="https://github.com/rodlie/qtfm" changelog="https://raw.githubusercontent.com/rodlie/qtfm/master/ChangeLog" distfiles="https://github.com/rodlie/qtfm/archive/${version}.tar.gz" checksum=b9c707443e20644f6e5f0393ce5158843724ac08f92cf8d7ea8e1109957b5c00 +patch_args=-Np0 diff --git a/srcpkgs/recoll/template b/srcpkgs/recoll/template index 8c5de6966a46..1f83b2715db2 100644 --- a/srcpkgs/recoll/template +++ b/srcpkgs/recoll/template @@ -16,3 +16,4 @@ license="GPL-2.0-or-later" homepage="https://www.lesbonscomptes.com/recoll/" distfiles="https://www.lesbonscomptes.com/${pkgname}/${pkgname}-${version}.tar.gz" checksum=17a8e684a8d5560dc7b44cd4b2962cb46476a75bdc107f622051235076d11885 +patch_args=-Np0 diff --git a/srcpkgs/recordmydesktop/template b/srcpkgs/recordmydesktop/template index eb509e5efd4a..b460f1355e4a 100644 --- a/srcpkgs/recordmydesktop/template +++ b/srcpkgs/recordmydesktop/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="http://recordmydesktop.sourceforge.net/about.php" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=33a2e208186ae78e2db2a27b0f5047b50fb7819c47fe15483b0765200b9d738c +patch_args=-Np0 diff --git a/srcpkgs/rofs-filtered/template b/srcpkgs/rofs-filtered/template index 2bb8a2304312..3ad1be74b367 100644 --- a/srcpkgs/rofs-filtered/template +++ b/srcpkgs/rofs-filtered/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/gburca/rofs-filtered" distfiles="https://github.com/gburca/rofs-filtered/archive/rel-${version}.tar.gz" checksum=d66066dfd0274a2fb7b71dd929445377dd23100b9fa43e3888dbe3fc7e8228e8 +patch_args=-Np0 diff --git a/srcpkgs/sasm/template b/srcpkgs/sasm/template index 3c624065b5de..a3a705648cdf 100644 --- a/srcpkgs/sasm/template +++ b/srcpkgs/sasm/template @@ -12,3 +12,4 @@ license="GPL-3.0-or-later" homepage="http://dman95.github.io/SASM/" distfiles="https://github.com/Dman95/SASM/archive/v${version}.tar.gz" checksum=2c551d4a04f2e11f000eb1716885a646110305f8f2892d1a7761c0d4670d19a0 +patch_args=-Np0 diff --git a/srcpkgs/scribus/template b/srcpkgs/scribus/template index 0898252efc43..00685dfba6a0 100644 --- a/srcpkgs/scribus/template +++ b/srcpkgs/scribus/template @@ -19,3 +19,4 @@ homepage="https://scribus.net" distfiles="$SOURCEFORGE_SITE/scribus/scribus-devel/${version}/scribus-${version}.tar.xz" checksum=318316b2cfc7a76191d3e0d3f8c2265147daea0570162028e243c292d826f8ce python_version=3 +patch_args=-Np0 diff --git a/srcpkgs/seahorse-nautilus/template b/srcpkgs/seahorse-nautilus/template index 04424cc4acdb..c468cc13836f 100644 --- a/srcpkgs/seahorse-nautilus/template +++ b/srcpkgs/seahorse-nautilus/template @@ -15,3 +15,4 @@ homepage="http://www.gnome.org/projects/seahorse/" distfiles="${GNOME_SITE}/seahorse-nautilus/${version%.*}/seahorse-nautilus-${version}.tar.xz" checksum=eacaf33bba920cf117641393a6eef483dbc075009349082e77d22f79afbd823a lib32disabled=yes +patch_args=-Np0 diff --git a/srcpkgs/seq2gif/template b/srcpkgs/seq2gif/template index 8146d539a284..63ba990a96cf 100644 --- a/srcpkgs/seq2gif/template +++ b/srcpkgs/seq2gif/template @@ -9,3 +9,4 @@ license="GPL-3.0-or-later" homepage="http://saitoha.github.io/seq2gif/" distfiles="https://github.com/saitoha/seq2gif/archive/v${version}.tar.gz" checksum=738805bf8eb7ee5171ded7f43326cca7caecb77031283720f97253c234261f29 +patch_args=-Np0 diff --git a/srcpkgs/sgfutils/template b/srcpkgs/sgfutils/template index 67980c8d32fb..1ad41f0ea177 100644 --- a/srcpkgs/sgfutils/template +++ b/srcpkgs/sgfutils/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://www.cwi.nl/~aeb/go/sgfutils/html/" distfiles="https://homepages.cwi.nl/~aeb/go/${pkgname}/${pkgname}.tgz" checksum=4b26b321fbe255722f1d7e57233614da89a4da5bab031ae4ef7118ae3c7436a2 +patch_args=-Np0 diff --git a/srcpkgs/sidplayfp/template b/srcpkgs/sidplayfp/template index c98648586c91..f63c893694a0 100644 --- a/srcpkgs/sidplayfp/template +++ b/srcpkgs/sidplayfp/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="https://sourceforge.net/projects/sidplay-residfp/" distfiles="${SOURCEFORGE_SITE}/sidplay-residfp/${pkgname}/${version%.*}/${pkgname}-${version}.tar.gz" checksum=1c9dd519c39f7c811c33a7b8f516f33c36b36d29af6075316a7ec7320f9d9155 +patch_args=-Np0 diff --git a/srcpkgs/smbnetfs/template b/srcpkgs/smbnetfs/template index 12806eaaa37d..bc89fbc198b1 100644 --- a/srcpkgs/smbnetfs/template +++ b/srcpkgs/smbnetfs/template @@ -11,3 +11,4 @@ license="GPL-2.0-only" homepage="http://smbnetfs.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2" checksum=eac37b9769fbe9c3f4baf3eb64c61a6b59ad4f2aa05dfddcba5a1ac4adf4d560 +patch_args=-Np0 diff --git a/srcpkgs/solvespace/template b/srcpkgs/solvespace/template index 377c0e4cbd15..c191a028aedc 100644 --- a/srcpkgs/solvespace/template +++ b/srcpkgs/solvespace/template @@ -13,3 +13,4 @@ homepage="https://solvespace.com/index.pl" distfiles="https://github.com/solvespace/solvespace/releases/download/v${version}/solvespace-source.tar.gz" checksum=0be0b2100c0b01eddded2a4dc60455d61cf67816189905af0e73082bfef96000 nocross="https://travis-ci.org/bobertlo/void-packages/jobs/487251265" +patch_args=-Np0 diff --git a/srcpkgs/sonata/template b/srcpkgs/sonata/template index f4456abd175d..ea07e0620a62 100644 --- a/srcpkgs/sonata/template +++ b/srcpkgs/sonata/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="http://www.nongnu.org/sonata/" distfiles="https://github.com/multani/sonata/archive/v${version}.tar.gz" checksum=401f6b796ca3cc176813b9f1639741a3fd226499c7ab25bbc740778ebb15f81d +patch_args=-Np0 diff --git a/srcpkgs/stellarium/template b/srcpkgs/stellarium/template index 188f87a3d397..f7f61f7f2e90 100644 --- a/srcpkgs/stellarium/template +++ b/srcpkgs/stellarium/template @@ -14,3 +14,4 @@ homepage="https://stellarium.org/" distfiles="https://github.com/Stellarium/stellarium/releases/download/v${version}/stellarium-${version}.tar.gz" checksum=977fcd6776a47d34b1646727853d15968a1410c34c8ba1b3e5cfbf24b5126f13 replaces="stellarium-data>=0" +patch_args=-Np0 diff --git a/srcpkgs/streamripper/template b/srcpkgs/streamripper/template index 8530d816be12..d08ed26d3a49 100644 --- a/srcpkgs/streamripper/template +++ b/srcpkgs/streamripper/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="http://streamripper.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" checksum=c1d75f2e9c7b38fd4695be66eff4533395248132f3cc61f375196403c4d8de42 +patch_args=-Np0 diff --git a/srcpkgs/stress-ng/template b/srcpkgs/stress-ng/template index 97cfd9cf39c8..5610d73a24ce 100644 --- a/srcpkgs/stress-ng/template +++ b/srcpkgs/stress-ng/template @@ -10,3 +10,4 @@ license="GPL-2.0-or-later" homepage="http://kernel.ubuntu.com/~cking/stress-ng/" distfiles="http://kernel.ubuntu.com/~cking/tarballs/stress-ng/${pkgname}-${version}.tar.xz" checksum=bd167b6559fa8a28680371b1defd3ffe2344eb550129d58dd7d5e2d568f2786e +patch_args=-Np0 diff --git a/srcpkgs/swell-foop/template b/srcpkgs/swell-foop/template index afb8dd466c3e..45a2532e3c19 100644 --- a/srcpkgs/swell-foop/template +++ b/srcpkgs/swell-foop/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Apps/Swell%20Foop" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=61c6b6ff9047c00bdc0dbe11a880058a5462921c702123a2d6d1a652bbbe6280 +patch_args=-Np0 diff --git a/srcpkgs/switchboard-plug-printers/template b/srcpkgs/switchboard-plug-printers/template index caecd10c886c..76c235fbda57 100644 --- a/srcpkgs/switchboard-plug-printers/template +++ b/srcpkgs/switchboard-plug-printers/template @@ -12,3 +12,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/elementary/${pkgname}" distfiles="${homepage}/archive/${version}.tar.gz" checksum=fe2c748e3737c3304ea8613d43d5ba8596f95499a65b8d13f93c4f702901f442 +patch_args=-Np0 diff --git a/srcpkgs/telepathy-haze/template b/srcpkgs/telepathy-haze/template index 60b65b83eced..36f0c56c702f 100644 --- a/srcpkgs/telepathy-haze/template +++ b/srcpkgs/telepathy-haze/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="http://telepathy.freedesktop.org" distfiles="${homepage}/releases/$pkgname/$pkgname-$version.tar.gz" checksum=3e76049c05f2cd5900c5c0c1cfebdf7ae79eec987a599f1090946673c5b8f9c9 +patch_args=-Np0 diff --git a/srcpkgs/tellico/template b/srcpkgs/tellico/template index d20e33769d9a..aaf6a88cb14b 100644 --- a/srcpkgs/tellico/template +++ b/srcpkgs/tellico/template @@ -27,3 +27,4 @@ desc_option_xmp="Support for reading PDF/XMP metadata" desc_option_yaz="Support for searching z39.50 databases" desc_option_cddb="Support for CDDB searches" desc_option_scanner="Support for adding scanned images to a collection" +patch_args=-Np0 diff --git a/srcpkgs/texmaker/template b/srcpkgs/texmaker/template index bd07f0b84ce0..91035c31d4b9 100644 --- a/srcpkgs/texmaker/template +++ b/srcpkgs/texmaker/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="http://www.xm1math.net/texmaker/index.html" distfiles="http://www.xm1math.net/$pkgname/$pkgname-$version.tar.bz2" checksum=1de3ab3f6d6bee37a7d0b528ca1cbb7ce8e7aef5ec6a4405aff2caf9d12bd0e2 +patch_args=-Np0 diff --git a/srcpkgs/tmfs/template b/srcpkgs/tmfs/template index 1dbed3e0eb72..65c541ebb044 100644 --- a/srcpkgs/tmfs/template +++ b/srcpkgs/tmfs/template @@ -14,3 +14,4 @@ checksum="897ad09e21ddd8e912dc1baba4466d8a65a09b3abdeb31e4640c2d770915f2f4" post_install() { vlicense LICENSE } +patch_args=-Np0 diff --git a/srcpkgs/trackballs/template b/srcpkgs/trackballs/template index 4fe2df36d959..8f52f522c4ca 100644 --- a/srcpkgs/trackballs/template +++ b/srcpkgs/trackballs/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="https://trackballs.github.io/" distfiles="https://github.com/trackballs/trackballs/archive/v${version}.tar.gz" checksum=fd4c3e4860db8ca6e8e7ad870a5973d51323a77ed8d7b40d859d9b277c53fc02 +patch_args=-Np0 diff --git a/srcpkgs/tremc/template b/srcpkgs/tremc/template index 227ca61dc2c5..ca00423bc7b0 100644 --- a/srcpkgs/tremc/template +++ b/srcpkgs/tremc/template @@ -10,3 +10,4 @@ license="GPL-3.0-only" homepage="https://github.com/tremc/tremc" distfiles="https://github.com/tremc/tremc/archive/${version}.tar.gz" checksum=ea31ff593c64bbf2c471f6c45ef09129e1e9cb55e8f8bd90e2916976a7053c61 +patch_args=-Np0 diff --git a/srcpkgs/ttfautohint/template b/srcpkgs/ttfautohint/template index 6096ec06eb44..ee71bc04a032 100644 --- a/srcpkgs/ttfautohint/template +++ b/srcpkgs/ttfautohint/template @@ -12,3 +12,4 @@ license="GPL-2.0-only" homepage="https://www.freetype.org/ttfautohint/" distfiles="http://download.savannah.gnu.org/releases/freetype/ttfautohint-${version}.tar.gz" checksum=87bb4932571ad57536a7cc20b31fd15bc68cb5429977eb43d903fa61617cf87e +patch_args=-Np0 diff --git a/srcpkgs/tworld/template b/srcpkgs/tworld/template index bc9f0faeb8fc..53238ac4dcd9 100644 --- a/srcpkgs/tworld/template +++ b/srcpkgs/tworld/template @@ -10,3 +10,4 @@ license="GPL-2.0-only" homepage="http://www.muppetlabs.com/~breadbox/software/tworld/" distfiles="http://www.muppetlabs.com/~breadbox/pub/software/${pkgname}/${pkgname}-${version}.tar.gz" checksum=472fce08de124d965cccb20070b0be2b8b4c5ad717fc5ece32828baacd46d861 +patch_args=-Np0 diff --git a/srcpkgs/ucl/template b/srcpkgs/ucl/template index fa5dc492fae7..3c62edf1d412 100644 --- a/srcpkgs/ucl/template +++ b/srcpkgs/ucl/template @@ -10,3 +10,4 @@ homepage="http://www.oberhumer.com/opensource/ucl/" distfiles="http://www.oberhumer.com/opensource/ucl/download/ucl-${version}.tar.gz" checksum=b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348 conflicts="libucl-devel>=0" +patch_args=-Np0 diff --git a/srcpkgs/uhubctl/template b/srcpkgs/uhubctl/template index 748b10a9b32a..7b8416384177 100644 --- a/srcpkgs/uhubctl/template +++ b/srcpkgs/uhubctl/template @@ -11,3 +11,4 @@ license="GPL-2.0-only" homepage="https://github.com/mvp/uhubctl" distfiles="https://github.com/mvp/uhubctl/archive/v${version}.tar.gz" checksum=227fdd541067b84eaa0e15cdc171458a56de7591f7a1deaff3e6d42d2809450b +patch_args=-Np0 diff --git a/srcpkgs/usb-modeswitch-data/template b/srcpkgs/usb-modeswitch-data/template index 6412b7035a85..4da5049e3ced 100644 --- a/srcpkgs/usb-modeswitch-data/template +++ b/srcpkgs/usb-modeswitch-data/template @@ -10,3 +10,4 @@ license="GPL-2.0-or-later" homepage="http://www.draisberghof.de/usb_modeswitch/" distfiles="http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${version}.tar.bz2" checksum=3f039b60791c21c7cb15c7986cac89650f076dc274798fa242231b910785eaf9 +patch_args=-Np0 diff --git a/srcpkgs/usb-modeswitch/template b/srcpkgs/usb-modeswitch/template index 475c1695fab1..f38c8b46cdb8 100644 --- a/srcpkgs/usb-modeswitch/template +++ b/srcpkgs/usb-modeswitch/template @@ -14,3 +14,4 @@ license="GPL-2" homepage="http://www.draisberghof.de/usb_modeswitch/" distfiles="http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${version}.tar.bz2" checksum=c215236e6bada6e659fc195a31d611ea298a4bdb4d57a0d68c553b56585f8ba3 +patch_args=-Np0 diff --git a/srcpkgs/valabind/template b/srcpkgs/valabind/template index d2af2f9be152..c29263464e53 100644 --- a/srcpkgs/valabind/template +++ b/srcpkgs/valabind/template @@ -12,3 +12,4 @@ license="GPL-3.0-or-later" homepage="https://radare.org/r/" distfiles="https://github.com/radare/valabind/archive/${version}.tar.gz" checksum=643c1ddc85e31de975df361a20e3f39d385f5ced0e50483c6e96b33bb3d32261 +patch_args=-Np0 diff --git a/srcpkgs/vba-m/template b/srcpkgs/vba-m/template index 8e6447f5c6f5..270df8dee158 100644 --- a/srcpkgs/vba-m/template +++ b/srcpkgs/vba-m/template @@ -16,3 +16,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/visualboyadvance-m/visualboyadvance-m/" distfiles="https://github.com/visualboyadvance-m/visualboyadvance-m/archive/v${version}.tar.gz" checksum=8342e017212842de66b0d86bc7610c82349af2d4e59951d969a33fff956c39ba +patch_args=-Np0 diff --git a/srcpkgs/wdisplays/template b/srcpkgs/wdisplays/template index 6378c2a118c1..fc2ff5f563d9 100644 --- a/srcpkgs/wdisplays/template +++ b/srcpkgs/wdisplays/template @@ -11,3 +11,4 @@ license="GPL-3.0-or-later" homepage="https://cyclopsian.github.io/wdisplays/" distfiles="https://github.com/cyclopsian/wdisplays/archive/${version}.tar.gz" checksum=fa34d5bdfd87d833e18a89b2acacc27833d7297374719773a705f2d3e89cdddf +patch_args=-Np0 diff --git a/srcpkgs/wfuzz/template b/srcpkgs/wfuzz/template index f0f7b1b0fe0a..b27ec12f675e 100644 --- a/srcpkgs/wfuzz/template +++ b/srcpkgs/wfuzz/template @@ -12,3 +12,4 @@ license="GPL-2.0-only" homepage="http://wfuzz.org" distfiles="https://github.com/xmendez/wfuzz/archive/v${version}.tar.gz" checksum=60798e56274a377f8770d162935a040d4d6e27919bfbb46cf13a7a0a34896be9 +patch_args=-Np0 diff --git a/srcpkgs/whysynth/template b/srcpkgs/whysynth/template index 2c2631da2509..95813353f234 100644 --- a/srcpkgs/whysynth/template +++ b/srcpkgs/whysynth/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="http://smbolton.com/whysynth.html" distfiles="http://smbolton.com/whysynth/whysynth-${version}.tar.bz2" checksum=a602d685a6bf48b01a82e1c077a50fe3d115805865ecfe49f531d8bd20b00b0b +patch_args=-Np0 diff --git a/srcpkgs/wmctrl/template b/srcpkgs/wmctrl/template index 774c4ca6f200..2f989ed2e8ee 100644 --- a/srcpkgs/wmctrl/template +++ b/srcpkgs/wmctrl/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="https://sites.google.com/site/tstyblo/wmctrl/" distfiles="https://sites.google.com/site/tstyblo/wmctrl/wmctrl-${version}.tar.gz" checksum=d78a1efdb62f18674298ad039c5cbdb1edb6e8e149bb3a8e3a01a4750aa3cca9 +patch_args=-Np0 diff --git a/srcpkgs/wofi/template b/srcpkgs/wofi/template index 5fe2c5b63ed2..8ecf7d5985c5 100644 --- a/srcpkgs/wofi/template +++ b/srcpkgs/wofi/template @@ -12,3 +12,4 @@ license="GPL-3.0-or-later" homepage="https://hg.sr.ht/~scoopta/wofi" distfiles="https://hg.sr.ht/~scoopta/wofi/archive/v${version}.tar.gz" checksum=@fee85efc35e97946d3a94562775b902982c4ab1f521208308ecc4bb41547a5e3 +patch_args=-Np0 diff --git a/srcpkgs/wvdial/template b/srcpkgs/wvdial/template index 3813dea5f5ef..1b5b82c4d16b 100644 --- a/srcpkgs/wvdial/template +++ b/srcpkgs/wvdial/template @@ -13,3 +13,4 @@ homepage="https://code.google.com/p/wvstreams/" distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=5753d2005115aa4e365a1638f4eb6c076d4e2deafa46c3de38964918e7f62709 conf_files="/etc/ppp/peers/wvdial /etc/ppp/peers/wvdial-pipe" +patch_args=-Np0 diff --git a/srcpkgs/xbindkeys/template b/srcpkgs/xbindkeys/template index 54486843942a..ea2d1e8b3037 100644 --- a/srcpkgs/xbindkeys/template +++ b/srcpkgs/xbindkeys/template @@ -12,3 +12,4 @@ license="GPL-2.0-or-later" homepage="http://www.nongnu.org/xbindkeys/xbindkeys.html" distfiles="http://www.nongnu.org/${pkgname}/${pkgname}-${version}.tar.gz" checksum=a29b86a8ec91d4abc83b420e547da27470847d0efe808aa6e75147aa0adb82f2 +patch_args=-Np0 diff --git a/srcpkgs/xdg-dbus-proxy/template b/srcpkgs/xdg-dbus-proxy/template index 3d01f5e60b1b..805d7404ab4c 100644 --- a/srcpkgs/xdg-dbus-proxy/template +++ b/srcpkgs/xdg-dbus-proxy/template @@ -12,3 +12,4 @@ license="GPL-3.0-or-later" homepage="https://github.com/flatpak/xdg-dbus-proxy" distfiles="${homepage}/releases/download/${version}/${pkgname}-${version}.tar.xz" checksum=1749d6f9f46dcc9edc87725641cf56cf91dcad1b01707891ea0850c1000c520f +patch_args=-Np0 diff --git a/srcpkgs/xfce4-power-manager/template b/srcpkgs/xfce4-power-manager/template index edc9a58e27b9..84d7d1514098 100644 --- a/srcpkgs/xfce4-power-manager/template +++ b/srcpkgs/xfce4-power-manager/template @@ -13,3 +13,4 @@ license="GPL-2.0-or-later" homepage="https://xfce.org/" distfiles="https://archive.xfce.org/src/xfce/$pkgname/${version%.*}/$pkgname-$version.tar.bz2" checksum=eb9c587c01b502fa45a32e7fc2aba98fa6d8391475133883654f77e562c43bf3 +patch_args=-Np0 diff --git a/srcpkgs/xkblayout-state/template b/srcpkgs/xkblayout-state/template index e3b1f4131db9..78407cc1ba56 100644 --- a/srcpkgs/xkblayout-state/template +++ b/srcpkgs/xkblayout-state/template @@ -10,3 +10,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/nonpop/xkblayout-state" distfiles="https://github.com/nonpop/xkblayout-state/archive/v${version}.tar.gz" checksum=ddf2de9949edbea2cb25933c22a6b76d4f868ee3012120216555ac96e9b536d4 +patch_args=-Np0 diff --git a/srcpkgs/xnots/template b/srcpkgs/xnots/template index c08b06c26d6f..05a565630c8a 100644 --- a/srcpkgs/xnots/template +++ b/srcpkgs/xnots/template @@ -14,3 +14,4 @@ license="GPL-2.0-only" homepage="http://xnots.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.gz" checksum=80bbab0334880f79aa12cf17ebffc5730a85dc537e8e6208169720656ecd72ca +patch_args=-Np0 diff --git a/srcpkgs/xsel/template b/srcpkgs/xsel/template index edc001dba405..4121c1140936 100644 --- a/srcpkgs/xsel/template +++ b/srcpkgs/xsel/template @@ -10,3 +10,4 @@ license="custom" homepage="http://www.vergenet.net/~conrad/software/xsel/" distfiles="http://www.vergenet.net/~conrad/software/xsel/download/xsel-${version}.tar.gz" checksum=b927ce08dc82f4c30140223959b90cf65e1076f000ce95e520419ec32f5b141c +patch_args=-Np0 diff --git a/srcpkgs/xseticon/template b/srcpkgs/xseticon/template index 130726aa45c3..d3655f7d0c0f 100644 --- a/srcpkgs/xseticon/template +++ b/srcpkgs/xseticon/template @@ -13,3 +13,4 @@ license="GPL-2.0-or-later" homepage="https://github.com/xeyownt/xseticon" distfiles="https://github.com/xeyownt/xseticon/archive/${version}.tar.gz" checksum=d34c349ff09ea42393fb3bac3fd2be0e7b9a244388e2f4b32cc92636967a4a2c +patch_args=-Np0 diff --git a/srcpkgs/yabause-gtk/template b/srcpkgs/yabause-gtk/template index 2b85120a5a7f..fab9fa26cb84 100644 --- a/srcpkgs/yabause-gtk/template +++ b/srcpkgs/yabause-gtk/template @@ -17,3 +17,4 @@ checksum=4334c43fe0f3ff297bac8e91f4e059fe5fd276291faff2489e37b5b3a4ccc2b2 nopie=yes # Would need m68kmake built for the host nocross=yes +patch_args=-Np0 diff --git a/srcpkgs/zaz/template b/srcpkgs/zaz/template index c99dbca901dd..e9bf8c19bc9d 100644 --- a/srcpkgs/zaz/template +++ b/srcpkgs/zaz/template @@ -13,3 +13,4 @@ homepage="http://zaz.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=e332cc1a6559e18a2b632940c53d20e2f2d2b583ba9dc1fd02a586437f9f0397 CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2" +patch_args=-Np0 diff --git a/srcpkgs/zbackup/template b/srcpkgs/zbackup/template index c69c8e711cfd..997fc5b349f9 100644 --- a/srcpkgs/zbackup/template +++ b/srcpkgs/zbackup/template @@ -11,3 +11,4 @@ license="GPL-2.0-or-later" homepage="http://zbackup.org/" distfiles="https://github.com/zbackup/zbackup/archive/${version}.tar.gz" checksum=efccccd2a045da91576c591968374379da1dc4ca2e3dec4d3f8f12628fa29a85 +patch_args=-Np0 From 0f5d2447ee2b7e8ff926a4d36bf964f17328cedb 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:38:20 +0700 Subject: [PATCH 5/6] do-patch: switch default patch_args to -Np1 All templates that require -Np0 have patch_args appended. Let's flip the switch. --- Manual.md | 4 ++-- common/hooks/do-patch/00-patches.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Manual.md b/Manual.md index 238db04f04b3..dc20f1e0db00 100644 --- a/Manual.md +++ b/Manual.md @@ -601,7 +601,7 @@ current directory with respect to the install. - `patch_args` The arguments to be passed in to the `patch(1)` command when applying patches to the package sources during `do_patch()`. Patches are stored in -`srcpkgs//patches` and must be in `-p0` format. By default set to `-Np0`. +`srcpkgs//patches` and must be in `-p0` format. By default set to `-Np1`. - `disable_parallel_build` If set the package won't be built in parallel and `XBPS_MAKEJOBS` has no effect. @@ -874,7 +874,7 @@ been found or to fix compilation with new software. To handle this, xbps-src has patching functionality. It will look for all files that match the glob `srcpkgs/$pkgname/patches/*.{diff,patch}` and will -automatically apply all files it finds using `patch(1)` with `-Np0`. This happens +automatically apply all files it finds using `patch(1)` with `-Np1`. This happens during the `do_patch()` phase. The variable `PATCHESDIR` is available in the template, pointing to the `patches` directory. diff --git a/common/hooks/do-patch/00-patches.sh b/common/hooks/do-patch/00-patches.sh index 64e934c39818..f8ce2d37fee5 100644 --- a/common/hooks/do-patch/00-patches.sh +++ b/common/hooks/do-patch/00-patches.sh @@ -3,7 +3,7 @@ _process_patch() { local _args= _patch= i=$1 - _args="-Np0" + _args="-Np1" _patch=${i##*/} if [ -f $PATCHESDIR/${_patch}.args ]; then From 6cadb4ecf254e8bf750e02500f53121c0566f1e3 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 08:20:04 +0700 Subject: [PATCH 6/6] srcpkgs: remove patch_args=-Np1 en-mass git grep -l '^patch_args=.*p1' 'srcpkgs/*/template' | xargs -r sed -i '/^patch_args=/d' --- srcpkgs/EternalTerminal/template | 1 - srcpkgs/Ice/template | 1 - srcpkgs/Marker/template | 1 - srcpkgs/NetworkManager/template | 1 - srcpkgs/OTPClient/template | 1 - srcpkgs/RyzenAdj/template | 1 - srcpkgs/VirtualGL/template | 1 - srcpkgs/abiword/template | 1 - srcpkgs/acfgfs/template | 1 - srcpkgs/acr/template | 1 - srcpkgs/alot/template | 1 - srcpkgs/alsa-lib/template | 1 - srcpkgs/alure/template | 1 - srcpkgs/apparmor/template | 1 - srcpkgs/arcan/template | 1 - srcpkgs/atril/template | 1 - srcpkgs/audit/template | 1 - srcpkgs/babeld/template | 1 - srcpkgs/bibletime/template | 1 - srcpkgs/binutils/template | 1 - srcpkgs/blender/template | 1 - srcpkgs/blobby2/template | 1 - srcpkgs/bluez/template | 1 - srcpkgs/bolt/template | 1 - srcpkgs/brotli/template | 1 - srcpkgs/bsd-games/template | 1 - srcpkgs/cairo-dock-plugins/template | 1 - srcpkgs/cairo/template | 1 - srcpkgs/caribou/template | 1 - srcpkgs/catimg/template | 1 - srcpkgs/cheese/template | 1 - srcpkgs/chuck/template | 1 - srcpkgs/clockspeed/template | 1 - srcpkgs/cmake/template | 1 - srcpkgs/crex/template | 1 - srcpkgs/cryfs/template | 1 - srcpkgs/curl/template | 1 - srcpkgs/cyrus-sasl/template | 1 - srcpkgs/dbus-elogind/template | 1 - srcpkgs/ddgtk/template | 1 - srcpkgs/deluge/template | 1 - srcpkgs/diffr/template | 1 - srcpkgs/docbook2x/template | 1 - srcpkgs/efitools/template | 1 - srcpkgs/efivar/template | 1 - srcpkgs/electrum-ltc/template | 1 - srcpkgs/embree/template | 1 - srcpkgs/empathy/template | 1 - srcpkgs/enchant/template | 1 - srcpkgs/ettercap/template | 1 - srcpkgs/exempi/template | 1 - srcpkgs/ext4magic/template | 1 - srcpkgs/fbset/template | 1 - srcpkgs/fcitx5-anthy/template | 1 - srcpkgs/fcitx5-qt/template | 1 - srcpkgs/fcitx5/template | 1 - srcpkgs/firebird3/template | 1 - srcpkgs/flac/template | 1 - srcpkgs/flann/template | 1 - srcpkgs/fonttosfnt/template | 1 - srcpkgs/fortune-mod/template | 1 - srcpkgs/fwupd/template | 1 - srcpkgs/gcc6/template | 1 - srcpkgs/gdb/template | 1 - srcpkgs/geeqie/template | 1 - srcpkgs/gettext/template | 1 - srcpkgs/ghc/template | 1 - srcpkgs/ghdl/template | 1 - srcpkgs/ghostscript/template | 1 - srcpkgs/gjs/template | 1 - srcpkgs/glibc/template | 1 - srcpkgs/glm/template | 1 - srcpkgs/glu/template | 1 - srcpkgs/gnac/template | 1 - srcpkgs/gnome-builder/template | 1 - srcpkgs/gnome-doc-utils/template | 1 - srcpkgs/gnome-panel/template | 1 - srcpkgs/gnome-todo/template | 1 - srcpkgs/gobject-introspection/template | 1 - srcpkgs/gpicview/template | 1 - srcpkgs/graphene/template | 1 - srcpkgs/growlight/template | 1 - srcpkgs/grub-btrfs/template | 1 - srcpkgs/grub/template | 1 - srcpkgs/gsimplecal-gtk2/template | 1 - srcpkgs/gtk-doc/template | 1 - srcpkgs/hostapd/template | 1 - srcpkgs/ifstatus/template | 1 - srcpkgs/iio-sensor-proxy/template | 1 - srcpkgs/incron/template | 1 - srcpkgs/inkscape/template | 1 - srcpkgs/interbench/template | 1 - srcpkgs/ispc/template | 1 - srcpkgs/jasper/template | 1 - srcpkgs/json-c/template | 1 - srcpkgs/judy/template | 1 - srcpkgs/julia/template | 1 - srcpkgs/kakasi/template | 1 - srcpkgs/kitty/template | 1 - srcpkgs/kmymoney/template | 1 - srcpkgs/kodi-rpi/template | 1 - srcpkgs/kodi/template | 1 - srcpkgs/kreport/template | 1 - srcpkgs/kwin/template | 1 - srcpkgs/libbaseencode/template | 1 - srcpkgs/libcotp/template | 1 - srcpkgs/libextractor/template | 1 - srcpkgs/libfcitx-qt5/template | 1 - srcpkgs/libgcrypt/template | 1 - srcpkgs/libgpg-error/template | 1 - srcpkgs/libhugetlbfs/template | 1 - srcpkgs/libical/template | 1 - srcpkgs/libid3tag/template | 1 - srcpkgs/libknet1/template | 1 - srcpkgs/libode/template | 1 - srcpkgs/libogdf/template | 1 - srcpkgs/libopenshot/template | 1 - srcpkgs/libpgf/template | 1 - srcpkgs/libsasl/template | 1 - srcpkgs/libtar/template | 1 - srcpkgs/libtls/template | 1 - srcpkgs/libtomcrypt/template | 1 - srcpkgs/libunique1/template | 1 - srcpkgs/libvorbis/template | 1 - srcpkgs/lightdm-gtk-greeter/template | 1 - srcpkgs/linux-driver-management/template | 1 - srcpkgs/linux4.14/template | 1 - srcpkgs/linux4.19/template | 1 - srcpkgs/linux4.9/template | 1 - srcpkgs/linux5.10/template | 1 - srcpkgs/linux5.11/template | 1 - srcpkgs/linux5.12/template | 1 - srcpkgs/linux5.4/template | 1 - srcpkgs/loudgain/template | 1 - srcpkgs/lxde-common/template | 1 - srcpkgs/lxlauncher/template | 1 - srcpkgs/lxsession/template | 1 - srcpkgs/m4/template | 1 - srcpkgs/mac-fdisk/template | 1 - srcpkgs/mailx/template | 1 - srcpkgs/make/template | 1 - srcpkgs/mbuffer/template | 1 - srcpkgs/mellowplayer/template | 1 - srcpkgs/mkinitcpio-nfs-utils/template | 1 - srcpkgs/mkinitcpio/template | 1 - srcpkgs/motif/template | 1 - srcpkgs/mouseemu/template | 1 - srcpkgs/mozjs78/template | 1 - srcpkgs/mupdf/template | 1 - srcpkgs/musl/template | 1 - srcpkgs/ndppd/template | 1 - srcpkgs/network-manager-applet/template | 1 - srcpkgs/nfs-utils/template | 1 - srcpkgs/nomad/template | 1 - srcpkgs/notmuch/template | 1 - srcpkgs/numix-themes/template | 1 - srcpkgs/nvi/template | 1 - srcpkgs/ocaml/template | 1 - srcpkgs/onboard/template | 1 - srcpkgs/openjdk10-bootstrap/template | 1 - srcpkgs/openjdk7-bootstrap/template | 1 - srcpkgs/openjdk8/template | 1 - srcpkgs/openjdk9-bootstrap/template | 1 - srcpkgs/orientdb/template | 1 - srcpkgs/p11-kit/template | 1 - srcpkgs/parallel-rust/template | 1 - srcpkgs/patch/template | 1 - srcpkgs/pavucontrol/template | 1 - srcpkgs/pbbuttonsd/template | 1 - srcpkgs/pcsxr/template | 1 - srcpkgs/pinebookpro-kernel/template | 1 - srcpkgs/pinephone-kernel/template | 1 - srcpkgs/ponysay/template | 1 - srcpkgs/poppler-qt5/template | 1 - srcpkgs/poppler/template | 1 - srcpkgs/procmail/template | 1 - srcpkgs/psutils/template | 1 - srcpkgs/python-notify/template | 1 - srcpkgs/qemu/template | 1 - srcpkgs/qt5-webengine/template | 1 - srcpkgs/rdup/template | 1 - srcpkgs/recode/template | 1 - srcpkgs/rng-tools/template | 1 - srcpkgs/rust/template | 1 - srcpkgs/sakura/template | 1 - srcpkgs/sbc/template | 1 - srcpkgs/sbsigntool/template | 1 - srcpkgs/sharutils/template | 1 - srcpkgs/spdlog/template | 1 - srcpkgs/stegsnow/template | 1 - srcpkgs/sun7i-kernel/template | 1 - srcpkgs/syslinux/template | 1 - srcpkgs/tilix/template | 1 - srcpkgs/tmux/template | 1 - srcpkgs/ucspi-tcp/template | 1 - srcpkgs/unixbench/template | 1 - srcpkgs/unzip/template | 1 - srcpkgs/util-linux/template | 1 - srcpkgs/utox/template | 1 - srcpkgs/valgrind/template | 1 - srcpkgs/viking/template | 1 - srcpkgs/vscode/template | 1 - srcpkgs/vtk/template | 1 - srcpkgs/wayfire-plugins-extra/template | 1 - srcpkgs/webrtc-audio-processing/template | 1 - srcpkgs/whipper/template | 1 - srcpkgs/wireplumber/template | 1 - srcpkgs/wlsunset/template | 1 - srcpkgs/wpa_supplicant/template | 1 - srcpkgs/wrk/template | 1 - srcpkgs/x2goserver/template | 1 - srcpkgs/xbps/template | 1 - srcpkgs/xdgmenumaker/template | 1 - srcpkgs/xen/template | 1 - srcpkgs/xpdf/template | 1 - srcpkgs/xzoom/template | 1 - srcpkgs/yaboot/template | 1 - srcpkgs/zeroc-mcpp/template | 1 - srcpkgs/zziplib/template | 1 - 219 files changed, 219 deletions(-) diff --git a/srcpkgs/EternalTerminal/template b/srcpkgs/EternalTerminal/template index e2555e2f8642..f4f2b4720362 100644 --- a/srcpkgs/EternalTerminal/template +++ b/srcpkgs/EternalTerminal/template @@ -13,7 +13,6 @@ homepage="https://eternalterminal.dev/" distfiles="https://github.com/MisterTea/EternalTerminal/archive/et-v${version}.tar.gz" checksum=728c3a444d666897c710e33fe473d8d289263a59574451b13aa53ec3c6ac88b3 system_accounts="_eternal" -patch_args=-Np1 LDFLAGS="-lgflags" diff --git a/srcpkgs/Ice/template b/srcpkgs/Ice/template index 6c3e6971874d..f85b38df28d6 100644 --- a/srcpkgs/Ice/template +++ b/srcpkgs/Ice/template @@ -15,7 +15,6 @@ license="GPL-2.0-only, custom:ICE" homepage="https://www.zeroc.com" distfiles="https://github.com/zeroc-ice/ice/archive/v${version}.tar.gz" checksum=36bf45591a95e6ee7216153d45d8eca05ff00c1da35608f0c400e6ddc8049da9 -patch_args="-Np1" if [ "$CROSS_BUILD" ]; then # Cross build requires the host's slice2cpp diff --git a/srcpkgs/Marker/template b/srcpkgs/Marker/template index 2c57664b3c68..be02723dc4ed 100644 --- a/srcpkgs/Marker/template +++ b/srcpkgs/Marker/template @@ -14,7 +14,6 @@ license="GPL-3.0-or-later, ISC" homepage="https://fabiocolacio.github.io/Marker/" distfiles="https://github.com/fabiocolacio/Marker/releases/download/${version}/marker.zip" checksum=ca493e7e94f171c15f7ffc9f697ce265d3b4fdb20fae157601d091d89dd6fb40 -patch_args="-Np1" post_extract() { # don't include bundled mathjax diff --git a/srcpkgs/NetworkManager/template b/srcpkgs/NetworkManager/template index 2f159a9f55c4..7af0685be910 100644 --- a/srcpkgs/NetworkManager/template +++ b/srcpkgs/NetworkManager/template @@ -46,7 +46,6 @@ make_dirs=" /etc/NetworkManager/VPN 0755 root root /var/lib/NetworkManager 0755 root root " -patch_args=-Np1 # Package build options build_options="gir elogind" diff --git a/srcpkgs/OTPClient/template b/srcpkgs/OTPClient/template index bea17c56a1e4..28de82117c9a 100644 --- a/srcpkgs/OTPClient/template +++ b/srcpkgs/OTPClient/template @@ -12,4 +12,3 @@ license="GPL-3.0-or-later" homepage="https://github.com/paolostivanin/OTPClient" distfiles="https://github.com/paolostivanin/OTPClient/archive/v${version}.tar.gz" checksum=5b976782906f15e2a4e001d73909a05f6146010cea83d78e3ad5c850f4049da4 -patch_args=-Np1 diff --git a/srcpkgs/RyzenAdj/template b/srcpkgs/RyzenAdj/template index 1ceb4fec1e4a..ccea4932b6f2 100644 --- a/srcpkgs/RyzenAdj/template +++ b/srcpkgs/RyzenAdj/template @@ -11,7 +11,6 @@ license="LGPL-3.0-only" homepage="https://github.com/FlyGoat/RyzenAdj" distfiles="https://github.com/FlyGoat/RyzenAdj/archive/v${version}.tar.gz" checksum=fff8a08e657ba35f919bd564fbe2e15e7c615ac6e2a357ffcc3472069e8081f6 -patch_args=-Np1 do_install() { vbin build/ryzenadj diff --git a/srcpkgs/VirtualGL/template b/srcpkgs/VirtualGL/template index bf25920d2cb7..58ff1859ea80 100644 --- a/srcpkgs/VirtualGL/template +++ b/srcpkgs/VirtualGL/template @@ -14,7 +14,6 @@ license="LGPL-2.1-or-later" homepage="http://www.virtualgl.org/" distfiles="${SOURCEFORGE_SITE}/virtualgl/${version}/${pkgname}-${version}.tar.gz" checksum=79dff857862890215794509ac65826005625925d03bf0874a486d695aae6f859 -patch_args="-Np1" archs="i686* x86_64*" diff --git a/srcpkgs/abiword/template b/srcpkgs/abiword/template index 0f48222f8180..782d023e01dc 100644 --- a/srcpkgs/abiword/template +++ b/srcpkgs/abiword/template @@ -18,7 +18,6 @@ license="GPL-2.0-or-later" homepage="http://www.abisource.com/" distfiles="${homepage}/downloads/${pkgname}/${version}/source/${pkgname}-${version}.tar.gz" checksum=e93096cb192e5bc19d62e180fc5eda643206465315a710113ae5036bc2a1a5d7 -patch_args=-Np1 build_options="goffice" build_options_default="goffice" diff --git a/srcpkgs/acfgfs/template b/srcpkgs/acfgfs/template index b66760cb1ea4..0e1ced9d4f06 100644 --- a/srcpkgs/acfgfs/template +++ b/srcpkgs/acfgfs/template @@ -14,7 +14,6 @@ license="BSD-3-Clause" homepage="https://arcan-fe.com" distfiles="https://github.com/letoram/arcan/archive/${version}.tar.gz" checksum=7ae00a9dee79f9b58ac2bacbf532ff0631280297cfde30e8996382a3f42a52ed -patch_args="-Np1" case "${XBPS_TARGET_MACHINE}" in i686|armv6l|armv7l|ppc) diff --git a/srcpkgs/acr/template b/srcpkgs/acr/template index 88d79a1a6706..0574ea512016 100644 --- a/srcpkgs/acr/template +++ b/srcpkgs/acr/template @@ -11,4 +11,3 @@ license="GPL-2.0-or-later" homepage="https://github.com/radare/acr" distfiles="${homepage}/archive/${version}.tar.gz" checksum=88bb2e4cb35b18370675710806c4ef03ef81a6ed521b939e272267754e8484c1 -patch_args=-Np1 diff --git a/srcpkgs/alot/template b/srcpkgs/alot/template index 314bbe011aad..831b24deb8b4 100644 --- a/srcpkgs/alot/template +++ b/srcpkgs/alot/template @@ -13,7 +13,6 @@ license="GPL-3.0-or-later" homepage="https://github.com/pazz/alot" distfiles="https://github.com/pazz/${pkgname}/archive/${version}.tar.gz" checksum=ee2c1ab1b43d022a8fe2078820ed57d8d72aec260a7d750776dac4ee841d1de4 -patch_args="-Np1" do_check() { pytest3 -k 'not test_no_spawn_no_stdin_attached' diff --git a/srcpkgs/alsa-lib/template b/srcpkgs/alsa-lib/template index 7a6a58a8c5ea..454ede71606e 100644 --- a/srcpkgs/alsa-lib/template +++ b/srcpkgs/alsa-lib/template @@ -10,7 +10,6 @@ license="LGPL-2.1-or-later" homepage="http://www.alsa-project.org" distfiles="https://www.alsa-project.org/files/pub/lib/${pkgname}-${version}.tar.bz2" checksum=f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7 -patch_args="-Np1" alsa-lib-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/alure/template b/srcpkgs/alure/template index 0acf8c80fd3d..04e40e3c8b20 100644 --- a/srcpkgs/alure/template +++ b/srcpkgs/alure/template @@ -13,7 +13,6 @@ license="MIT" homepage="https://github.com/kcat/alure" distfiles="${DEBIAN_SITE}/main/a/alure/alure_${version}.orig.tar.bz2" checksum=465e6adae68927be3a023903764662d64404e40c4c152d160e3a8838b1d70f71 -patch_args=-Np1 post_install() { vlicense COPYING diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template index 0d8c1ec7087e..2431832981c7 100644 --- a/srcpkgs/apparmor/template +++ b/srcpkgs/apparmor/template @@ -18,7 +18,6 @@ homepage="https://gitlab.com/apparmor/apparmor" changelog="https://gitlab.com/apparmor/apparmor/-/wikis/Release_Notes_${version}" distfiles="https://gitlab.com/apparmor/apparmor/-/archive/v${version}/apparmor-v${version}.tar.gz" checksum=5f9afc157c5e2610737186a31fc9bd6a1d339a2ee85ac4f2667dce59cf60f1c7 -patch_args="-Np1" if [ -z "$CROSS_BUILD" ]; then configure_args="--with-perl --with-python" diff --git a/srcpkgs/arcan/template b/srcpkgs/arcan/template index 7788f50d3329..f436db94479c 100644 --- a/srcpkgs/arcan/template +++ b/srcpkgs/arcan/template @@ -26,7 +26,6 @@ distfiles="https://github.com/letoram/${pkgname}/archive/${version}.tar.gz https://github.com/letoram/openal/archive/${_versionOpenal}.tar.gz>openal_arcan.${_versionOpenal}.tar.gz" checksum="7ae00a9dee79f9b58ac2bacbf532ff0631280297cfde30e8996382a3f42a52ed 3a50a87c05b67c466a868cc77f8dc7f9cfc9466aeeafcd823daca0d108c504da" -patch_args="-Np1" export CMAKE_GENERATOR="Unix Makefiles" diff --git a/srcpkgs/atril/template b/srcpkgs/atril/template index b26399624b01..97602c4b1b0b 100644 --- a/srcpkgs/atril/template +++ b/srcpkgs/atril/template @@ -20,7 +20,6 @@ license="GPL-2.0-or-later" homepage="https://mate-desktop.org" distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz" checksum=b48372a89813f31d2635de02d9e92ba38e794daddf625f06d80c3793248bde1a -patch_args=-Np1 build_options="gir" build_options_default="gir" diff --git a/srcpkgs/audit/template b/srcpkgs/audit/template index fcd5de93732d..a093bfac8333 100644 --- a/srcpkgs/audit/template +++ b/srcpkgs/audit/template @@ -16,7 +16,6 @@ homepage="https://people.redhat.com/sgrubb/audit" changelog="https://raw.githubusercontent.com/linux-audit/audit-userspace/master/ChangeLog" distfiles="${homepage}/${pkgname}-${version}.tar.gz" checksum=994c4250d8fd43f3087a3c2ce73461832e30f1e9b278bf5bb03c3e07091155a5 -patch_args=-Np1 case "$XBPS_TARGET_MACHINE" in *-musl) configure_args+=" --disable-zos-remote" ;; diff --git a/srcpkgs/babeld/template b/srcpkgs/babeld/template index c8a90adea73b..5a46f57aafaf 100644 --- a/srcpkgs/babeld/template +++ b/srcpkgs/babeld/template @@ -10,7 +10,6 @@ license="MIT" homepage="https://www.irif.fr/~jch/software/babel/" distfiles="https://github.com/jech/babeld/archive/babeld-${version}.tar.gz" checksum=d44a0ca3cf67595e1ed67ca219c975c3c011c6046028be75df254715c4611d31 -patch_args="-Np1" pre_build() { echo ${version}-${revision} > version diff --git a/srcpkgs/bibletime/template b/srcpkgs/bibletime/template index bc005197cdb3..559755a9dd6f 100644 --- a/srcpkgs/bibletime/template +++ b/srcpkgs/bibletime/template @@ -18,7 +18,6 @@ license="GPL-2.0-or-later" homepage="http://bibletime.info" distfiles="https://github.com/bibletime/bibletime/releases/download/v${version}/bibletime-${version}.tar.xz" checksum=d6beef62ad44b255e3dc4c5e89214bf01a0e85c9136073b0be12fca3d2b22622 -patch_args=-Np1 pre_build() { . /etc/profile.d/10_openjdk11.sh diff --git a/srcpkgs/binutils/template b/srcpkgs/binutils/template index 7a7966f440aa..6270f8618c87 100644 --- a/srcpkgs/binutils/template +++ b/srcpkgs/binutils/template @@ -10,7 +10,6 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/binutils/" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz" checksum=3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607 -patch_args="-Np1" subpackages="binutils-doc" if [ "$CHROOT_READY" ]; then diff --git a/srcpkgs/blender/template b/srcpkgs/blender/template index 810c98ee7705..af946c2b7999 100644 --- a/srcpkgs/blender/template +++ b/srcpkgs/blender/template @@ -31,7 +31,6 @@ python_version=3 CXXFLAGS="-DNDEBUG" CFLAGS="$CXXFLAGS" LDFLAGS="-Wl,-z,stack-size=2097152" -patch_args="-Np1" # Blender tests are executed against a system installation of blender. This # is currently not supported by xbps-src. make_check=no diff --git a/srcpkgs/blobby2/template b/srcpkgs/blobby2/template index b47972ab884a..c8b9c65046c9 100644 --- a/srcpkgs/blobby2/template +++ b/srcpkgs/blobby2/template @@ -13,7 +13,6 @@ license="GPL-2.0-or-later" homepage="http://blobbyvolley.de" distfiles="${SOURCEFORGE_SITE}/blobby/${pkgname}-linux-${version}.tar.gz" checksum=ba7a049e298aaa2014c1e1ac1faf3b0256b4c66266cd4db06e7939e8695bf5e2 -patch_args="-Np1" post_install() { vinstall ${FILESDIR}/blobby.desktop 644 usr/share/applications diff --git a/srcpkgs/bluez/template b/srcpkgs/bluez/template index e6ef1b9b6b0e..09bac4ff5eca 100644 --- a/srcpkgs/bluez/template +++ b/srcpkgs/bluez/template @@ -18,7 +18,6 @@ distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz" checksum=046b95b386d0bfb2a16311fe799d517ee7735045512d89902c4ed701db477316 conf_files="/etc/bluetooth/main.conf" system_groups="bluetooth" -patch_args="-Np1" build_options="mesh nfc experimental" diff --git a/srcpkgs/bolt/template b/srcpkgs/bolt/template index 20bccb2c3e09..02535303419d 100644 --- a/srcpkgs/bolt/template +++ b/srcpkgs/bolt/template @@ -14,7 +14,6 @@ license="LGPL-2.1-or-later" homepage="https://gitlab.freedesktop.org/bolt/bolt" distfiles="https://gitlab.freedesktop.org/bolt/bolt/-/archive/${version}/bolt-${version}.tar.gz" checksum=f938db68df79d0ada135a055fd01204f6f3436e17e962dfb8dc6699de77e1895 -patch_args="-Np1" CFLAGS="-fcommon" diff --git a/srcpkgs/brotli/template b/srcpkgs/brotli/template index 12b80d767fda..4e2b48ea88b5 100644 --- a/srcpkgs/brotli/template +++ b/srcpkgs/brotli/template @@ -9,7 +9,6 @@ license="MIT" homepage="https://github.com/google/brotli" distfiles="https://github.com/google/${pkgname}/archive/v${version}.tar.gz" checksum=f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46 -patch_args="-p1" post_install() { vlicense LICENSE diff --git a/srcpkgs/bsd-games/template b/srcpkgs/bsd-games/template index 6a641a540bb9..600599b2b74c 100644 --- a/srcpkgs/bsd-games/template +++ b/srcpkgs/bsd-games/template @@ -35,7 +35,6 @@ mutable_files="/var/games/bsdgames/atc_score /var/games/bsdgames/phantasia/monsters /var/games/bsdgames/hack/record /var/games/bsdgames/hack/perm" -patch_args="-Np1" if [ "$CROSS_BUILD" ]; then local _file _var diff --git a/srcpkgs/cairo-dock-plugins/template b/srcpkgs/cairo-dock-plugins/template index 38295ded98c2..32457494a085 100644 --- a/srcpkgs/cairo-dock-plugins/template +++ b/srcpkgs/cairo-dock-plugins/template @@ -14,7 +14,6 @@ license="GPL-2.0-or-later, GPL-3.0-or-later" homepage="https://launchpad.net/cairo-dock" distfiles="http://launchpad.net/cairo-dock-plug-ins/${version%.?}/${version}/+download/cairo-dock-plug-ins-${version}.tar.gz" checksum=e09b8e600398749d1f74b26e645b477a1844a3eea02fcadd6877935da3f8639e -patch_args="-Np1" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" python3-devel vala-devel" diff --git a/srcpkgs/cairo/template b/srcpkgs/cairo/template index 1e996086f45a..3af5d9914cb2 100644 --- a/srcpkgs/cairo/template +++ b/srcpkgs/cairo/template @@ -16,7 +16,6 @@ license="LGPL-2.1-or-later, MPL-1.1" homepage="https://cairographics.org" distfiles="https://cairographics.org/releases/cairo-${version}.tar.xz" checksum=5e7b29b3f113ef870d1e3ecf8adf21f923396401604bda16d44be45e66052331 -patch_args="-Np1" # Package build options build_options="gles2 opengl" diff --git a/srcpkgs/caribou/template b/srcpkgs/caribou/template index bf135b75f8b0..15bc2ccae74e 100644 --- a/srcpkgs/caribou/template +++ b/srcpkgs/caribou/template @@ -18,7 +18,6 @@ homepage="https://wiki.gnome.org/Projects/Caribou" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=9c43d9f4bd30f4fea7f780d4e8b14f7589107c52e9cb6bd202bd0d1c2064de55 lib32disabled=yes -patch_args=-Np1 libcaribou_package() { lib32disabled=yes diff --git a/srcpkgs/catimg/template b/srcpkgs/catimg/template index 6fbc5f1d9140..0392d3cfb598 100644 --- a/srcpkgs/catimg/template +++ b/srcpkgs/catimg/template @@ -9,7 +9,6 @@ license="MIT" homepage="https://github.com/posva/catimg" distfiles="https://github.com/posva/catimg/archive/${version}.tar.gz" checksum=3a6450316ff62fb07c3facb47ea208bf98f62abd02783e88c56f2a6508035139 -patch_args=-Np1 CFLAGS="-fcommon" post_install() { diff --git a/srcpkgs/cheese/template b/srcpkgs/cheese/template index e23855c1ed2b..5717d1a4c80c 100644 --- a/srcpkgs/cheese/template +++ b/srcpkgs/cheese/template @@ -17,7 +17,6 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Apps/Cheese" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=88d2732b421b903110a2628db25c0d61e219c42bdfb5971151033fba95a8d16f -patch_args="-Np1" build_options="gir gtk_doc" build_options_default="gir" diff --git a/srcpkgs/chuck/template b/srcpkgs/chuck/template index 904b5e393b7d..acf5648af53b 100644 --- a/srcpkgs/chuck/template +++ b/srcpkgs/chuck/template @@ -16,7 +16,6 @@ changelog="https://chuck.cs.princeton.edu/release/VERSIONS" distfiles="http://chuck.cs.princeton.edu/release/files/$pkgname-$version.tgz" checksum=11a20c34b385e132bf43d5ae6a562c652f631828cc6b1562a4c029bc9a850ed4 -patch_args="-Np1" post_extract() { # use CC, CXX and LD from environment diff --git a/srcpkgs/clockspeed/template b/srcpkgs/clockspeed/template index 04477817415e..685fb3a491e2 100644 --- a/srcpkgs/clockspeed/template +++ b/srcpkgs/clockspeed/template @@ -19,7 +19,6 @@ clocksd_groups="nogroup" clocksd_homedir="/var/lib/${pkgname}" clocksd_descr="User for clockspeed adjustments" conf_files="/etc/${pkgname}/${pkgname}.conf" -patch_args="-p1" make_dirs="/var/lib/clockspeed/adjust 644 clocksd root" diff --git a/srcpkgs/cmake/template b/srcpkgs/cmake/template index e9ee3debf3c0..5d3308f93b5d 100644 --- a/srcpkgs/cmake/template +++ b/srcpkgs/cmake/template @@ -17,7 +17,6 @@ homepage="https://www.cmake.org" distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz" checksum=4d008ac3461e271fcfac26a05936f77fc7ab64402156fb371d41284851a651b8 replaces="cmake-bootstrap>=0" -patch_args=-Np1 if [ "$CROSS_BUILD" ]; then build_style=cmake diff --git a/srcpkgs/crex/template b/srcpkgs/crex/template index 2f455a0b0c72..d2bc1e536bf8 100644 --- a/srcpkgs/crex/template +++ b/srcpkgs/crex/template @@ -9,7 +9,6 @@ license="MIT" homepage="https://github.com/octobanana/crex" distfiles="https://github.com/octobanana/crex/archive/${version}.tar.gz" checksum=c6a166b7a1e696a7babeaf7c5728eece1624704a18357f827129fc95ef2ecc56 -patch_args=-Np1 post_install() { vlicense LICENSE diff --git a/srcpkgs/cryfs/template b/srcpkgs/cryfs/template index 80938f905686..87912c2b7fe7 100644 --- a/srcpkgs/cryfs/template +++ b/srcpkgs/cryfs/template @@ -17,7 +17,6 @@ homepage="https://www.cryfs.org" changelog="https://github.com/cryfs/cryfs/raw/master/ChangeLog.txt" distfiles="https://github.com/cryfs/cryfs/releases/download/${version}/${pkgname}-${version}.tar.gz" checksum=004c7fdf537062e197aaa0bcdafd2682904a279802441bb6063cb72c1fba52d2 -patch_args=-Np1 if [ "${XBPS_CHECK_PKGS}" ]; then configure_args+=" -DBUILD_TESTING=on" diff --git a/srcpkgs/curl/template b/srcpkgs/curl/template index 8f9026309bfe..d1531465db05 100644 --- a/srcpkgs/curl/template +++ b/srcpkgs/curl/template @@ -25,7 +25,6 @@ homepage="https://curl.haxx.se" changelog="https://curl.haxx.se/changes.html#${version//./_}" distfiles="${homepage}/download/${pkgname}-${version}.tar.bz2" checksum=6c0c28868cb82593859fc43b9c8fdb769314c855c05cf1b56b023acf855df8ea -patch_args="-Np1" build_options="gnutls gssapi ldap rtmp ssh ssl zstd" build_options_default="ssh ssl zstd" vopt_conflict ssl gnutls diff --git a/srcpkgs/cyrus-sasl/template b/srcpkgs/cyrus-sasl/template index 5bfe46557991..32bcc8ebc6ba 100644 --- a/srcpkgs/cyrus-sasl/template +++ b/srcpkgs/cyrus-sasl/template @@ -22,7 +22,6 @@ license="BSD-3-Clause-Attribution" homepage="https://www.cyrusimap.org/sasl/" distfiles="https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-${version}/cyrus-sasl-${version}.tar.gz" checksum=26866b1549b00ffd020f188a43c258017fa1c382b3ddadd8201536f72efb05d5 -patch_args="-Np1" pre_configure() { autoreconf -fi diff --git a/srcpkgs/dbus-elogind/template b/srcpkgs/dbus-elogind/template index e527e8260851..7e92ccf7cd2b 100644 --- a/srcpkgs/dbus-elogind/template +++ b/srcpkgs/dbus-elogind/template @@ -24,7 +24,6 @@ checksum=f77620140ecb4cdc67f37fb444f8a6bea70b5b6461f12f1cbe2cec60fa7de5fe conf_files="/etc/dbus-1/*.conf" replaces="dbus>=0" provides="dbus-${version}_${revision}" -patch_args="-Np1" # Create dbus:22 system account. system_accounts="dbus:22" diff --git a/srcpkgs/ddgtk/template b/srcpkgs/ddgtk/template index d5f27bb40934..5d45aeb4a8b9 100644 --- a/srcpkgs/ddgtk/template +++ b/srcpkgs/ddgtk/template @@ -11,4 +11,3 @@ license="GPL-3.0-or-later" homepage="https://github.com/gort818/ddgtk" distfiles="https://github.com/gort818/ddgtk/archive/${version}.tar.gz" checksum=0386336681b24d648cdce3daa0c2b83c77a69773296e97a8427b67cbd27531ed -patch_args="-Np1" diff --git a/srcpkgs/deluge/template b/srcpkgs/deluge/template index e54a8d571817..283fcd62d7fd 100644 --- a/srcpkgs/deluge/template +++ b/srcpkgs/deluge/template @@ -15,7 +15,6 @@ license="GPL-3.0-or-later" homepage="https://deluge-torrent.org/" distfiles="https://ftp.osuosl.org/pub/deluge/source/2.0/deluge-${version}.tar.xz" checksum=7e7ae8e6ca2a2bf0d487227cecf81e27332f0b92b567cc2bda38e47d859da891 -patch_args="-Np1" system_accounts="deluge" deluge_homedir="/var/lib/deluge" diff --git a/srcpkgs/diffr/template b/srcpkgs/diffr/template index 0bff9a8bfd08..f1e8f096375b 100644 --- a/srcpkgs/diffr/template +++ b/srcpkgs/diffr/template @@ -10,7 +10,6 @@ homepage="https://github.com/mookid/diffr" changelog="https://github.com/mookid/diffr/raw/master/CHANGELOG.md" distfiles="https://github.com/mookid/diffr/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" checksum=2613b57778df4466a20349ef10b9e022d0017b4aee9a47fb07e78779f444f8cb -patch_args="-Np1" do_install() { vbin "target/${RUST_TARGET}/release/diffr" diff --git a/srcpkgs/docbook2x/template b/srcpkgs/docbook2x/template index 92233feb030a..b9cfbe848d7f 100644 --- a/srcpkgs/docbook2x/template +++ b/srcpkgs/docbook2x/template @@ -2,7 +2,6 @@ pkgname=docbook2x version=0.8.8 revision=5 -patch_args="-Np1" wrksrc="docbook2X-${version}" build_style=gnu-configure configure_args="--without-resolver-jars --without-saxon-jars --without-xalan-jars" diff --git a/srcpkgs/efitools/template b/srcpkgs/efitools/template index 83dc738ccbee..5d26a4208de0 100644 --- a/srcpkgs/efitools/template +++ b/srcpkgs/efitools/template @@ -12,7 +12,6 @@ license="GPL-2.0-only" homepage="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git" distfiles="https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git/snapshot/${pkgname}-${version}.tar.gz" checksum=0f315b36e7d1ba74bfc97ab9f304f0a3072c47578bbe5e42594acae381f9acfe -patch_args="-Nup1" post_patch() { case "${XBPS_TARGET_MACHINE}" in diff --git a/srcpkgs/efivar/template b/srcpkgs/efivar/template index ef311f9b3998..39be825fab29 100644 --- a/srcpkgs/efivar/template +++ b/srcpkgs/efivar/template @@ -2,7 +2,6 @@ pkgname=efivar version=37 revision=1 -patch_args="-Np1" build_style=gnu-makefile hostmakedepends="pkg-config" short_desc="Tools to manipulate EFI variables" diff --git a/srcpkgs/electrum-ltc/template b/srcpkgs/electrum-ltc/template index a9a629a057e8..d62c43b5fa14 100644 --- a/srcpkgs/electrum-ltc/template +++ b/srcpkgs/electrum-ltc/template @@ -13,7 +13,6 @@ license="MIT" homepage="https://electrum-ltc.org/" distfiles="https://github.com/pooler/electrum-ltc/archive/${version}.tar.gz" checksum="6f4049abacfdb125b968e841ec9bc01e386e475f3fac8534103ffea1257b0f0f" -patch_args="-Np1" post_install() { vlicense LICENCE diff --git a/srcpkgs/embree/template b/srcpkgs/embree/template index 849ec3c26c1d..575b9bcb401c 100644 --- a/srcpkgs/embree/template +++ b/srcpkgs/embree/template @@ -14,7 +14,6 @@ license="Apache-2.0" homepage="https://embree.github.io/" distfiles="https://github.com/$pkgname/$pkgname/archive/v$version.tar.gz" checksum=c0694f287fa1fbb382aba3a895702e248d92f7e89c0e5f64aefee965482ec04c -patch_args=-Np1 embree-devel_package() { depends="${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/empathy/template b/srcpkgs/empathy/template index 1c70413842b3..dcbd10cc0c1d 100644 --- a/srcpkgs/empathy/template +++ b/srcpkgs/empathy/template @@ -25,7 +25,6 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="http://live.gnome.org/Empathy" distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz" checksum=7d86942ce97edd10ade0e6ae6a210d35e4d627fe4d223377d71fd1840bc6e3a3 -patch_args=-Np1 disable_parallel_build=yes # Disable checks, the only work with an irc server in place. make_check=no diff --git a/srcpkgs/enchant/template b/srcpkgs/enchant/template index bc7ca9e5239d..69458ae39180 100644 --- a/srcpkgs/enchant/template +++ b/srcpkgs/enchant/template @@ -13,7 +13,6 @@ license="LGPL-2.1-or-later" homepage="http://www.abisource.com/projects/enchant/" distfiles="http://www.abisource.com/downloads/enchant/${version}/enchant-${version}.tar.gz" checksum=2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f -patch_args="-Np1" pre_configure() { autoreconf -fi diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template index 611b4e9aded7..ce206d8bdaf0 100644 --- a/srcpkgs/ettercap/template +++ b/srcpkgs/ettercap/template @@ -15,7 +15,6 @@ homepage="http://ettercap.github.com/ettercap/" distfiles="https://github.com/Ettercap/ettercap/archive/v${version}.tar.gz" checksum=d0c3ef88dfc284b61d3d5b64d946c1160fd04276b448519c1ae4438a9cdffaf3 lib32disabled=yes -patch_args=-Np1 CFLAGS="-fcommon" diff --git a/srcpkgs/exempi/template b/srcpkgs/exempi/template index 3925ca272300..14753617953a 100644 --- a/srcpkgs/exempi/template +++ b/srcpkgs/exempi/template @@ -2,7 +2,6 @@ pkgname=exempi version=2.5.0 revision=1 -patch_args="-Np1" build_style=gnu-configure configure_args="--with-boost=${XBPS_CROSS_BASE}/usr --disable-static --disable-unittest" makedepends="zlib-devel expat-devel boost-devel" diff --git a/srcpkgs/ext4magic/template b/srcpkgs/ext4magic/template index 0d7ed70cf107..fe570a962647 100644 --- a/srcpkgs/ext4magic/template +++ b/srcpkgs/ext4magic/template @@ -11,7 +11,6 @@ license="GPL-2.0-or-later" homepage="http://sourceforge.net/projects/ext4magic/" distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=8d9c6a594f212aecf4eb5410d277caeaea3adc03d35378257dfd017ef20ea115 -patch_args="-Np1" CFLAGS='-DHAVE_SYS_TYPES_H' post_extract() { diff --git a/srcpkgs/fbset/template b/srcpkgs/fbset/template index 22c51fae0eb7..67a18dee57be 100644 --- a/srcpkgs/fbset/template +++ b/srcpkgs/fbset/template @@ -11,7 +11,6 @@ license="GPL-2.0-only" homepage="http://users.telenet.be/geertu/Linux/fbdev/" distfiles="${DEBIAN_SITE}/main/f/fbset/fbset_${version}.orig.tar.gz" checksum=517fa062d7b2d367f931a1c6ebb2bef84907077f0ce3f0c899e34490bbea9338 -patch_args="-Np1" do_build() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/fcitx5-anthy/template b/srcpkgs/fcitx5-anthy/template index d0f9ab1d735c..5ec150b4ce75 100644 --- a/srcpkgs/fcitx5-anthy/template +++ b/srcpkgs/fcitx5-anthy/template @@ -12,7 +12,6 @@ license="GPL-2.0-or-later" homepage="https://fcitx-im.org/wiki/Fcitx" distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-anthy/fcitx5-anthy-${version}.tar.xz" checksum=22364003e737cbe4ea6eaa83d9d274a8df8e38dea61d8f4576560ee7d5eaf44d -patch_args=-Np1 fcitx5-anthy-icons_package() { short_desc+=" - icons" diff --git a/srcpkgs/fcitx5-qt/template b/srcpkgs/fcitx5-qt/template index 0d3dd57ed9b4..73796e6e8762 100644 --- a/srcpkgs/fcitx5-qt/template +++ b/srcpkgs/fcitx5-qt/template @@ -16,7 +16,6 @@ homepage="https://fcitx-im.org/wiki/Fcitx" distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-qt/fcitx5-qt-${version}.tar.xz" checksum=c954d20bc4e332c0977639dc579bd641a6860926bfd0efe62bc13ee02b43e872 lib32disabled=yes -patch_args=-Np1 if [ "$XBPS_TARGET_NOATOMIC8" ]; then configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic" diff --git a/srcpkgs/fcitx5/template b/srcpkgs/fcitx5/template index db13f6ba807c..daedc89f5b3e 100644 --- a/srcpkgs/fcitx5/template +++ b/srcpkgs/fcitx5/template @@ -23,7 +23,6 @@ distfiles="https://download.fcitx-im.org/fcitx5/fcitx5/fcitx5-${version}.tar.xz https://download.fcitx-im.org/data/en_dict-${_en_dict_ver}.tar.gz" checksum="0ecf6cc763952ff3cbe6bd47d6e40f3f7987a4973547251af3cd1482f33c516f c44a5d7847925eea9e4d2d04748d442cd28dd9299a0b572ef7d91eac4f5a6ceb" -patch_args=-Np1 skip_extraction=en_dict-${_en_dict_ver}.tar.gz lib32disabled=yes diff --git a/srcpkgs/firebird3/template b/srcpkgs/firebird3/template index a84cc7ef9234..5675ac663073 100644 --- a/srcpkgs/firebird3/template +++ b/srcpkgs/firebird3/template @@ -36,7 +36,6 @@ homepage="https://www.firebirdsql.org/en/start/" distfiles="https://github.com/FirebirdSQL/firebird/releases/download/R${_uver%_*}/Firebird-${version}-${_build}.tar.bz2" checksum=34c1d2a29bbaf288e682cd1b5f8083f2baf73f351062245ace0bee35a3f7d35f replaces="firebird>=0" -patch_args="-Np1" nocross="Fails to build gpre_boot for host but builds for target" CFLAGS="-fno-strict-aliasing" diff --git a/srcpkgs/flac/template b/srcpkgs/flac/template index 8166b9f00655..78d111c2e244 100644 --- a/srcpkgs/flac/template +++ b/srcpkgs/flac/template @@ -13,7 +13,6 @@ license="BSD-3-Clause, GPL-2.0-or-later" homepage="http://flac.sourceforge.net/" distfiles="https://downloads.xiph.org/releases/flac/flac-${version}.tar.xz" checksum=213e82bd716c9de6db2f98bcadbc4c24c7e2efe8c75939a1a84e28539c4e1748 -patch_args="-Np1" # the tests fail when run as root and as such break in the CI containers make_check=ci-skip diff --git a/srcpkgs/flann/template b/srcpkgs/flann/template index 055c935a0cbb..af43cccd7808 100644 --- a/srcpkgs/flann/template +++ b/srcpkgs/flann/template @@ -2,7 +2,6 @@ pkgname=flann version=1.9.1 revision=4 -patch_args="-Np1" build_style=cmake makedepends="gtest-devel hdf5-devel" short_desc="Fast library for approximate nearest neighbors" diff --git a/srcpkgs/fonttosfnt/template b/srcpkgs/fonttosfnt/template index 1a85e32029eb..643173ceb6c1 100644 --- a/srcpkgs/fonttosfnt/template +++ b/srcpkgs/fonttosfnt/template @@ -11,7 +11,6 @@ license="MIT" homepage="http://xorg.freedesktop.org" distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.bz2" checksum=1a1bb4ef25856dea7de3d491ae7231493225b400bee0f6a1f949017ffd203a64 -patch_args="-Np1" post_install() { vlicense COPYING diff --git a/srcpkgs/fortune-mod/template b/srcpkgs/fortune-mod/template index 27824c3617e3..59f0aa805009 100644 --- a/srcpkgs/fortune-mod/template +++ b/srcpkgs/fortune-mod/template @@ -10,7 +10,6 @@ license="BSD-4-Clause-UC" homepage="http://www.redellipse.net/code/fortune" distfiles="${DEBIAN_SITE}/main/f/fortune-mod/${pkgname}_${version}.orig.tar.gz" checksum=fc51aee1f73c936c885f4e0f8b6b48f4f68103e3896eaddc6a45d2b71e14eace -patch_args=-Np1 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" fortune-mod" diff --git a/srcpkgs/fwupd/template b/srcpkgs/fwupd/template index b0828273d2f0..6e6612d9bfd9 100644 --- a/srcpkgs/fwupd/template +++ b/srcpkgs/fwupd/template @@ -29,7 +29,6 @@ homepage="https://github.com/hughsie/fwupd" distfiles="https://github.com/hughsie/fwupd/archive/${version}.tar.gz" checksum=4abecf930f02fc5b165831682f3915cc7f0e82e73be2e187e761220ae275a1a3 replaces="fwupdate>=0" -patch_args=-Np1 case "$XBPS_TARGET_MACHINE" in x86_64*|i686*) diff --git a/srcpkgs/gcc6/template b/srcpkgs/gcc6/template index 352ae9bbff52..88d4f729675b 100644 --- a/srcpkgs/gcc6/template +++ b/srcpkgs/gcc6/template @@ -25,7 +25,6 @@ checksum=" skip_extraction="ecj-4.9.jar" nopie=yes lib32disabled=yes -patch_args="-Np1" nocross=yes python_version=2 #unverified diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index 9648e927efad..56c0e01630b5 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -21,7 +21,6 @@ homepage="https://www.gnu.org/software/gdb/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=aaa1223d534c9b700a8bec952d9748ee1977513f178727e1bee520ee000b4f29 python_version=3 -patch_args="-Np1" if [ "${CROSS_BUILD}" ]; then # Make python3.x detection work in cross builds diff --git a/srcpkgs/geeqie/template b/srcpkgs/geeqie/template index d7fa37a384d3..f3ac2cd2859a 100644 --- a/srcpkgs/geeqie/template +++ b/srcpkgs/geeqie/template @@ -15,7 +15,6 @@ homepage="http://www.geeqie.org" changelog="http://www.geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blob_plain;f=NEWS;hb=HEAD" distfiles="http://www.geeqie.org/geeqie-${version}.tar.xz" checksum="48f8a4474454d182353100e43878754b76227f3b8f30cfc258afc9d90a4e1920" -patch_args="-Np1" CFLAGS="-Wno-error -fcommon" diff --git a/srcpkgs/gettext/template b/srcpkgs/gettext/template index 3c8250b976be..3cece9b46621 100644 --- a/srcpkgs/gettext/template +++ b/srcpkgs/gettext/template @@ -22,7 +22,6 @@ homepage="https://www.gnu.org/software/gettext/" changelog="https://git.savannah.gnu.org/cgit/gettext.git/plain/NEWS" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=c77d0da3102aec9c07f43671e60611ebff89a996ef159497ce8e59d075786b12 -patch_args=-Np1 subpackages="gettext-devel-examples gettext-devel gettext-devel-tools" unset _intl_lib diff --git a/srcpkgs/ghc/template b/srcpkgs/ghc/template index 0b1440b2f6d9..082c56f70358 100644 --- a/srcpkgs/ghc/template +++ b/srcpkgs/ghc/template @@ -15,7 +15,6 @@ license="BSD-3-Clause" homepage="http://www.haskell.org/ghc/" distfiles="http://www.haskell.org/ghc/dist/${version%[!0-9]}/${pkgname}-${version%[!0-9]}-src.tar.xz" checksum=f0505e38b2235ff9f1090b51f44d6c8efd371068e5a6bb42a2a6d8b67b5ffc2d -patch_args="-Np1" nocross=yes # this is conditionally unset for cross bindist nodebug=yes # work around assembler error "Fatal error: duplicate .debug_line sections" _bindir="/usr/lib/${pkgname}-${version}/bin" diff --git a/srcpkgs/ghdl/template b/srcpkgs/ghdl/template index 1b6f0d50e327..e756d8c3cd87 100644 --- a/srcpkgs/ghdl/template +++ b/srcpkgs/ghdl/template @@ -18,7 +18,6 @@ homepage="https://github.com/ghdl/ghdl" distfiles="https://github.com/ghdl/ghdl/archive/v${version}.tar.gz" checksum=cb424766fbe831ff41bec84016a6af0406d735c272b0b639d507c3503df30495 nocross=yes -patch_args="-Np1" make_check=extended build_options="llvm mcode" diff --git a/srcpkgs/ghostscript/template b/srcpkgs/ghostscript/template index 1d7aed4dc834..5f1b5b7b64e3 100644 --- a/srcpkgs/ghostscript/template +++ b/srcpkgs/ghostscript/template @@ -12,7 +12,6 @@ license="AGPL-3.0-or-later, CPL-1.0" homepage="https://www.ghostscript.com/" distfiles="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version//./}/ghostscript-${version}.tar.xz" checksum=c2b7b43cde600f4e70efb2cd95865f6d884a67315c3de235914697d8ccde6e3b -patch_args="-Np1" build_options="cups" build_options_default="cups" diff --git a/srcpkgs/gjs/template b/srcpkgs/gjs/template index 27e376b4d092..4d73ae96b599 100644 --- a/srcpkgs/gjs/template +++ b/srcpkgs/gjs/template @@ -15,7 +15,6 @@ homepage="https://wiki.gnome.org/action/show/Projects/Gjs" changelog="https://gitlab.gnome.org/GNOME/gjs/blob/gnome-3-30/NEWS" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=2ffa3ec2041104fcf9ab5dcc8f7cd9caa062278590318ffef9541956af5b4c70 -patch_args="-Np1" post_install() { vlicense COPYING diff --git a/srcpkgs/glibc/template b/srcpkgs/glibc/template index b361bb98a1ea..c62a4d2aedf1 100644 --- a/srcpkgs/glibc/template +++ b/srcpkgs/glibc/template @@ -9,7 +9,6 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later, BSD-3-Clause" homepage="http://www.gnu.org/software/libc" distfiles="${GNU_SITE}/glibc/glibc-${version}.tar.xz" checksum=1627ea54f5a1a8467032563393e0901077626dc66f37f10ee6363bb722222836 -patch_args="-Np1" # Do not strip these files, objcopy errors out. nostrip_files=" XBS5_ILP32_OFFBIG diff --git a/srcpkgs/glm/template b/srcpkgs/glm/template index 47369d94e0da..f40f6fcf8fae 100644 --- a/srcpkgs/glm/template +++ b/srcpkgs/glm/template @@ -11,7 +11,6 @@ license="MIT" homepage="http://glm.g-truc.net" distfiles="https://github.com/g-truc/glm/releases/download/${version}/glm-${version}.zip" checksum=37e2a3d62ea3322e43593c34bae29f57e3e251ea89f4067506c94043769ade4c -patch_args="-Np1" # No longer has install target # Install manually diff --git a/srcpkgs/glu/template b/srcpkgs/glu/template index b655d49fe569..49d8c41d9488 100644 --- a/srcpkgs/glu/template +++ b/srcpkgs/glu/template @@ -13,7 +13,6 @@ homepage="http://cgit.freedesktop.org/mesa/glu/" distfiles="https://mesa.freedesktop.org/archive/glu/glu-${version}.tar.gz" checksum=f6f484cfcd51e489afe88031afdea1e173aa652697e4c19ddbcb8260579a10f7 replaces="libGLU<9.0" -patch_args="-Np1" glu-devel_package() { depends="MesaLib-devel>=9.0 glu>=${version}_${revision}" diff --git a/srcpkgs/gnac/template b/srcpkgs/gnac/template index 489783bdd850..ad01a1e97f91 100644 --- a/srcpkgs/gnac/template +++ b/srcpkgs/gnac/template @@ -18,7 +18,6 @@ license="GPL-3.0-or-later" homepage="http://gnac.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2" checksum=8f9c4731bbc40fde57c311a2a7fabe4e3200198abfe7415c659b98a2d54869da -patch_args="-Np1" CFLAGS="-fPIC -fcommon" pre_configure() { diff --git a/srcpkgs/gnome-builder/template b/srcpkgs/gnome-builder/template index a9011a5c7f80..ad0cc8cc6f20 100644 --- a/srcpkgs/gnome-builder/template +++ b/srcpkgs/gnome-builder/template @@ -21,7 +21,6 @@ homepage="https://wiki.gnome.org/Apps/Builder" changelog="https://gitlab.gnome.org/GNOME/gnome-builder/raw/gnome-builder-3-40/NEWS" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=b2844cfde821311939fb6ed3b18a49cd331413aea720393091583ab6a99e719a -patch_args="-Np1" case "$XBPS_TARGET_MACHINE" in *-musl) diff --git a/srcpkgs/gnome-doc-utils/template b/srcpkgs/gnome-doc-utils/template index f846f0e61253..8c55060aa4ae 100644 --- a/srcpkgs/gnome-doc-utils/template +++ b/srcpkgs/gnome-doc-utils/template @@ -15,7 +15,6 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Projects/GnomeDocUtils" distfiles="${GNOME_SITE}/${pkgname}/0.20/${pkgname}-${version}.tar.xz" checksum=cb0639ffa9550b6ddf3b62f3b1add92fb92ab4690d351f2353cffe668be8c4a6 -patch_args="-Np1" post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure diff --git a/srcpkgs/gnome-panel/template b/srcpkgs/gnome-panel/template index 315d4fc1f468..109489d8bba7 100644 --- a/srcpkgs/gnome-panel/template +++ b/srcpkgs/gnome-panel/template @@ -15,7 +15,6 @@ license="GPL-2.0-or-later, GFDL-1.1-or-later, LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Projects/GnomePanel" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=9f135075edc666cf2b9ca91de35c6703e2b1771c10a7707414fb656c28a59b3b -patch_args="-Np1" gnome-panel-devel_package() { depends="glib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}" diff --git a/srcpkgs/gnome-todo/template b/srcpkgs/gnome-todo/template index 56bd6a405af2..5fe6d1d7bc84 100644 --- a/srcpkgs/gnome-todo/template +++ b/srcpkgs/gnome-todo/template @@ -14,7 +14,6 @@ license="GPL-2.0-or-later" homepage="https://wiki.gnome.org/Apps/Todo" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=c7571fc040d8901dd0e528282ef0655687f23f29d304057c72548ab3e2c2cf23 -patch_args="-Np1" build_options="gir" build_options_default="gir" diff --git a/srcpkgs/gobject-introspection/template b/srcpkgs/gobject-introspection/template index c6e616dd862f..6f8bffd88d22 100644 --- a/srcpkgs/gobject-introspection/template +++ b/srcpkgs/gobject-introspection/template @@ -15,7 +15,6 @@ homepage="https://wiki.gnome.org/Projects/GObjectIntrospection" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=d229242481a201b84a0c66716de1752bca41db4133672cfcfb37c93eb6e54a27 python_version=3 -patch_args="-Np1" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" gobject-introspection qemu-user-static prelink-cross" diff --git a/srcpkgs/gpicview/template b/srcpkgs/gpicview/template index 24ae856fa344..19de5b5cb1e8 100644 --- a/srcpkgs/gpicview/template +++ b/srcpkgs/gpicview/template @@ -13,7 +13,6 @@ license="GPL-2.0-or-later" homepage="http://lxde.org/" distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz" checksum=38466058e53702450e5899193c4b264339959b563dd5cd81f6f690de32d82942 -patch_args="-Np1" post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure diff --git a/srcpkgs/graphene/template b/srcpkgs/graphene/template index 83bb559df998..40920cb1f5b7 100644 --- a/srcpkgs/graphene/template +++ b/srcpkgs/graphene/template @@ -14,7 +14,6 @@ license="MIT" homepage="https://github.com/ebassi/graphene" distfiles="${GNOME_SITE}/graphene/${version%.*}/graphene-${version}.tar.xz" checksum=80ae57723e4608e6875626a88aaa6f56dd25df75024bd16e9d77e718c3560b25 -patch_args="-Np1" case "$XBPS_TARGET_MACHINE" in x86_64*) configure_args+=" -Dsse2=true" ;; diff --git a/srcpkgs/growlight/template b/srcpkgs/growlight/template index 863c318d4081..cc8ac363ec6f 100644 --- a/srcpkgs/growlight/template +++ b/srcpkgs/growlight/template @@ -15,7 +15,6 @@ license="GPL-3.0-or-later" homepage="https://nick-black.com/dankwiki/index.php/Growlight" distfiles="https://github.com/dankamongmen/growlight/archive/v${version}.tar.gz" checksum=ef26904412ff6134018c350fe9e1f943d37fb82a623d06327195f9bd2b939408 -patch_args=-Np1 build_options="man zfs" diff --git a/srcpkgs/grub-btrfs/template b/srcpkgs/grub-btrfs/template index 2527806d6999..0e646c9c3f82 100644 --- a/srcpkgs/grub-btrfs/template +++ b/srcpkgs/grub-btrfs/template @@ -10,7 +10,6 @@ license="GPL-3.0-or-later" homepage="https://github.com/Antynea/grub-btrfs" distfiles="https://github.com/Antynea/grub-btrfs/archive/v${version}.tar.gz" checksum=62461133c697643e98a608239773f500edee3e4055c5729fef6639d1cd610243 -patch_args=-Np1 post_install() { rm -rf -- "${DESTDIR}"/usr/lib/systemd diff --git a/srcpkgs/grub/template b/srcpkgs/grub/template index 11cbdc495f67..69cea9ae19a3 100644 --- a/srcpkgs/grub/template +++ b/srcpkgs/grub/template @@ -16,7 +16,6 @@ checksum=e5292496995ad42dabe843a0192cf2a2c502e7ffcc7479398232b10a472df77d archs="i686* x86_64* aarch64* ppc ppc-musl ppc64*" nopie=yes -patch_args=-Np1 subpackages="grub-utils" # _SUPPLEMENTARY_BUILDS is a list of - version of grub to build diff --git a/srcpkgs/gsimplecal-gtk2/template b/srcpkgs/gsimplecal-gtk2/template index c7339f62d60e..73cf3bd39b88 100644 --- a/srcpkgs/gsimplecal-gtk2/template +++ b/srcpkgs/gsimplecal-gtk2/template @@ -13,7 +13,6 @@ license="BSD-3-Clause" homepage="http://dmedvinsky.github.io/gsimplecal/" distfiles="https://github.com/dmedvinsky/${pkgname%-*}/archive/v${version}.tar.gz" checksum="660cac7333d3507203a008e142e2b8f5dfcf0735b6ccabdd8d3d902b5d2c40e9" -patch_args=-Np1 replaces="gsimplecal-gtk3>=0" diff --git a/srcpkgs/gtk-doc/template b/srcpkgs/gtk-doc/template index 9f3384a60472..ab149d7f33d5 100644 --- a/srcpkgs/gtk-doc/template +++ b/srcpkgs/gtk-doc/template @@ -17,4 +17,3 @@ homepage="http://www.gtk.org/gtk-doc/" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=d5e3b3f837174d246fa8482455740627efec1e5210aa15d0c7989ca68f72bb51 python_version=3 -patch_args="-Np1" diff --git a/srcpkgs/hostapd/template b/srcpkgs/hostapd/template index 20e16a32fc0f..87cf12033e40 100644 --- a/srcpkgs/hostapd/template +++ b/srcpkgs/hostapd/template @@ -12,7 +12,6 @@ license="BSD-3-Clause" homepage="http://w1.fi/hostapd/" distfiles="http://w1.fi/releases/${pkgname}-${version}.tar.gz" checksum=881d7d6a90b2428479288d64233151448f8990ab4958e0ecaca7eeb3c9db2bd7 -patch_args=-Np1 do_configure() { cp -f ${FILESDIR}/config .config diff --git a/srcpkgs/ifstatus/template b/srcpkgs/ifstatus/template index f1e9d9f4d802..2515a71d669a 100644 --- a/srcpkgs/ifstatus/template +++ b/srcpkgs/ifstatus/template @@ -4,7 +4,6 @@ version=2.0.0 revision=1 wrksrc=ifstatus-v${version} build_style=gnu-makefile -patch_args="-Np1" hostmakedepends="pkg-config" makedepends="ncurses-devel" short_desc="Display network traffic on console" diff --git a/srcpkgs/iio-sensor-proxy/template b/srcpkgs/iio-sensor-proxy/template index e8cff0494b99..a47ca09e8b2d 100644 --- a/srcpkgs/iio-sensor-proxy/template +++ b/srcpkgs/iio-sensor-proxy/template @@ -11,7 +11,6 @@ license="GPL-3.0-or-later" homepage="https://gitlab.freedesktop.org/hadess/iio-sensor-proxy" distfiles="${homepage}/-/archive/${version}/${pkgname}-${version}.tar.gz" checksum=77f6009050afcabdf324b187992c33c6f1d937fc9e2c18ec76d9120fa107f3ba -patch_args="-Np1" pre_configure() { NOCONFIGURE=1 ./autogen.sh diff --git a/srcpkgs/incron/template b/srcpkgs/incron/template index cd7e3f34eaed..22082e501061 100644 --- a/srcpkgs/incron/template +++ b/srcpkgs/incron/template @@ -8,7 +8,6 @@ license="X11" homepage="https://github.com/ar-/incron" distfiles="https://github.com/ar-/incron/archive/${version}.tar.gz" checksum=cce80bd723bafce59f35464f2f851d02707e32efa102e2b941ed0e42bdd38f91 -patch_args="-Np1" make_dirs="/var/spool/incron 0755 root root /etc/incron.d 0755 root root" diff --git a/srcpkgs/inkscape/template b/srcpkgs/inkscape/template index 6e97a43a4ed5..84d99227e745 100644 --- a/srcpkgs/inkscape/template +++ b/srcpkgs/inkscape/template @@ -23,7 +23,6 @@ homepage="http://inkscape.org/" distfiles="https://media.inkscape.org/dl/resources/file/inkscape-${version}.tar.xz" checksum=71e6e8ce3fdf702f59dbc4a276665eb982eb7822b029bbdbeced2df4301795e6 python_version=3 -patch_args=-Np1 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" diff --git a/srcpkgs/interbench/template b/srcpkgs/interbench/template index 26a7f9e41d27..ae38e3ca9561 100644 --- a/srcpkgs/interbench/template +++ b/srcpkgs/interbench/template @@ -10,7 +10,6 @@ homepage="http://users.on.net/~ckolivas/interbench" distfiles="http://ck.kolivas.org/apps/interbench/$pkgname-$version.tar.bz2" checksum=89d438b28aef22d26e79812762a57a9f9344a8dd8826edebfe60dad48ee1c784 -patch_args="-p1" pre_build() { cp $FILESDIR/Makefile . diff --git a/srcpkgs/ispc/template b/srcpkgs/ispc/template index 585115923c0d..9c3acb42a9cf 100644 --- a/srcpkgs/ispc/template +++ b/srcpkgs/ispc/template @@ -13,7 +13,6 @@ license="BSD-3-Clause" homepage="https://ispc.github.io" distfiles="https://github.com/ispc/ispc/archive/v${version}.tar.gz" checksum=2658ff00dc045ac9fcefbf6bd26dffaf723b059a942a27df91bbb61bc503a285 -patch_args="-p1" nocross=yes nopie=yes diff --git a/srcpkgs/jasper/template b/srcpkgs/jasper/template index ae02985e45d0..588dc517f017 100644 --- a/srcpkgs/jasper/template +++ b/srcpkgs/jasper/template @@ -12,7 +12,6 @@ license="JasPer-2.0" homepage="http://www.ece.uvic.ca/~mdadams/jasper" distfiles="https://github.com/mdadams/jasper/archive/version-${version}.tar.gz" checksum=f5bc48e2884bcabd2aca1737baff4ca962ec665b6eb673966ced1f7adea07edb -patch_args="-Np1" post_install() { vlicense LICENSE diff --git a/srcpkgs/json-c/template b/srcpkgs/json-c/template index 02e4d9d75ca0..daafc44f97ac 100644 --- a/srcpkgs/json-c/template +++ b/srcpkgs/json-c/template @@ -12,7 +12,6 @@ license="MIT" homepage="https://json-c.github.io/json-c" distfiles="https://s3.amazonaws.com/json-c_releases/releases/${pkgname}-${version}.tar.gz" checksum=b8d80a1ddb718b3ba7492916237bbf86609e9709fb007e7f7d4322f02341a4c6 -patch_args="-Np1" CFLAGS="-Wno-error" diff --git a/srcpkgs/judy/template b/srcpkgs/judy/template index 15bdb3548fa4..899c7a7622c6 100644 --- a/srcpkgs/judy/template +++ b/srcpkgs/judy/template @@ -11,7 +11,6 @@ homepage="http://judy.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/judy/Judy-${version}.tar.gz" checksum=d2704089f85fdb6f2cd7e77be21170ced4b4375c03ef1ad4cf1075bd414a63eb disable_parallel_build=yes -patch_args="-Np1" if [ "$CROSS_BUILD" ]; then post_extract() { diff --git a/srcpkgs/julia/template b/srcpkgs/julia/template index 414e261e1c67..0e766ca53906 100644 --- a/srcpkgs/julia/template +++ b/srcpkgs/julia/template @@ -30,7 +30,6 @@ license="MIT" homepage="https://julialang.org" distfiles="https://github.com/JuliaLang/julia/releases/download/v${version}/julia-${version}-full.tar.gz" checksum=71d8e40611361370654e8934c407b2dec04944cf3917c5ecb6482d6b85ed767f -patch_args=-Np1 nocross="build system is a mess" # Targets for the vendored symlinks mentioned above shlib_requires="libgit2.so.1.0 libcurl.so.4 libmpfr.so.6 libgmp.so.10 diff --git a/srcpkgs/kakasi/template b/srcpkgs/kakasi/template index 1a4bc42eb4f4..ad0fcbcc8fac 100644 --- a/srcpkgs/kakasi/template +++ b/srcpkgs/kakasi/template @@ -10,7 +10,6 @@ license="GPL-2.0-or-later" homepage="http://kakasi.namazu.org/" distfiles="http://kakasi.namazu.org/stable/kakasi-${version}.tar.gz" checksum=004276fd5619c003f514822d82d14ae83cd45fb9338e0cb56a44974b44961893 -patch_args=-Np1 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" kakasi" diff --git a/srcpkgs/kitty/template b/srcpkgs/kitty/template index 5a8dcc8b4fb8..6ad4cffa0777 100644 --- a/srcpkgs/kitty/template +++ b/srcpkgs/kitty/template @@ -14,7 +14,6 @@ homepage="https://sw.kovidgoyal.net/kitty/" changelog="https://sw.kovidgoyal.net/kitty/changelog.html" distfiles="https://github.com/kovidgoyal/kitty/releases/download/v${version}/kitty-${version}.tar.xz" checksum=43596a1c5645fe476e96e748bb3b44afd680d84b4af409cd36b33de19b31933d -patch_args="-Np1" python_version=3 LDFLAGS+=" -Wl,-z,stack-size=2097152" diff --git a/srcpkgs/kmymoney/template b/srcpkgs/kmymoney/template index 3b7e889f93a8..7a95dd99ae13 100644 --- a/srcpkgs/kmymoney/template +++ b/srcpkgs/kmymoney/template @@ -19,7 +19,6 @@ license="GPL-2.0-or-later" homepage="https://kmymoney.org" distfiles="${KDE_SITE}/kmymoney/${version}/src/${pkgname}-${version}.tar.xz" checksum=df7b9f78e8596f99d28295ca738708f0655ee057789dfd921c7b1bab96578298 -patch_args="-Np1" if [ "$CROSS_BUILD" ]; then configure_args+=" -DENABLE_LIBICAL=0" diff --git a/srcpkgs/kodi-rpi/template b/srcpkgs/kodi-rpi/template index fc0fbd05ffba..d92a4f6217d8 100644 --- a/srcpkgs/kodi-rpi/template +++ b/srcpkgs/kodi-rpi/template @@ -13,7 +13,6 @@ distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz" checksum=6deb28f725880b1ab6c5920b55ef1190a79b0684ffb30b6e13b199d23a0af296 LDFLAGS+=" -Wl,-z,stack-size=1048576" python_version=2 -patch_args="-Np1" nopie=yes archs="armv6l* armv7l*" diff --git a/srcpkgs/kodi/template b/srcpkgs/kodi/template index c64d926eb010..8f10f4f04887 100644 --- a/srcpkgs/kodi/template +++ b/srcpkgs/kodi/template @@ -33,7 +33,6 @@ checksum+=" 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a" skip_extraction="crossguid-8f399e8bd4.tar.gz libdvdcss-1.4.2-Leia-Beta-5.tar.gz libdvdread-6.0.0-Leia-Alpha-3.tar.gz libdvdnav-6.0.0-Leia-Alpha-3.tar.gz" python_version=3 -patch_args="-Np1" LDFLAGS="-Wl,-z,stack-size=1048576" if [ "$XBPS_WORDSIZE" = 32 ]; then diff --git a/srcpkgs/kreport/template b/srcpkgs/kreport/template index 2dade86a8f47..af0a9d8509b0 100644 --- a/srcpkgs/kreport/template +++ b/srcpkgs/kreport/template @@ -12,7 +12,6 @@ license="LGPL-2.0-or-later" homepage="https://community.kde.org/KReport" distfiles="${KDE_SITE}/kreport/src/kreport-${version}.tar.xz" checksum=22716d719654e8f887fe4d33654e252ddf3d3d818c44e15a8af0e6f2e7d6ccd7 -patch_args=-Np1 kreport-devel_package() { depends="${sourcepkg}>=${version}_${revision} kproperty-devel qt5-declarative-devel" diff --git a/srcpkgs/kwin/template b/srcpkgs/kwin/template index 7cb252b2d00b..23cf78df1ff1 100644 --- a/srcpkgs/kwin/template +++ b/srcpkgs/kwin/template @@ -19,7 +19,6 @@ license="GPL-2.0-or-later" homepage="https://invent.kde.org/plasma/kwin" distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz" checksum=5506ee878e151734893bbcc0a70d6499c894b8986488c9c57285de1deb422850 -patch_args=-Np1 build_options="pipewire" build_options_default="pipewire" diff --git a/srcpkgs/libbaseencode/template b/srcpkgs/libbaseencode/template index d5929ad7bb51..1c9299b1beae 100644 --- a/srcpkgs/libbaseencode/template +++ b/srcpkgs/libbaseencode/template @@ -9,7 +9,6 @@ license="Apache-2.0" homepage="https://github.com/paolostivanin/libbaseencode" distfiles="https://github.com/paolostivanin/libbaseencode/archive/v${version}.tar.gz" checksum=a183d7cf30d931b2a078d6f0ef64616b71ab26f9258e5f4e191778c7ace7175d -patch_args=-Np1 libbaseencode-devel_package() { depends="libbaseencode-${version}_${revision}" diff --git a/srcpkgs/libcotp/template b/srcpkgs/libcotp/template index 88337290d1e8..9e147ff7deb6 100644 --- a/srcpkgs/libcotp/template +++ b/srcpkgs/libcotp/template @@ -11,7 +11,6 @@ license="Apache-2.0" homepage="https://github.com/paolostivanin/libcotp" distfiles="https://github.com/paolostivanin/libcotp/archive/v${version}.tar.gz" checksum=25b45ffa4aece5cc689503ebea7356a2f760c194f0c41805934495d2fe7165b1 -patch_args=-Np1 libcotp-devel_package() { depends="libcotp-${version}_${revision}" diff --git a/srcpkgs/libextractor/template b/srcpkgs/libextractor/template index 884dbd8c09e8..29d5b8df01f8 100644 --- a/srcpkgs/libextractor/template +++ b/srcpkgs/libextractor/template @@ -14,7 +14,6 @@ license="GPL-3.0-or-later" homepage="https://www.gnu.org/software/libextractor/" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" checksum=16f633ab8746a38547c4a1da3f4591192b0825ad83c4336f0575b85843d8bd8f -patch_args="-Np1" post_install() { sed -i "s|\(-specs=.*hardened-ld\)||g" ${DESTDIR}/usr/lib/pkgconfig/libextractor.pc diff --git a/srcpkgs/libfcitx-qt5/template b/srcpkgs/libfcitx-qt5/template index 057259b40232..c519a3b617bc 100644 --- a/srcpkgs/libfcitx-qt5/template +++ b/srcpkgs/libfcitx-qt5/template @@ -13,7 +13,6 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later, BSD-3-Clause" homepage="https://fcitx-im.org/" distfiles="http://download.fcitx-im.org/fcitx-qt5/fcitx-qt5-${version}.tar.xz" checksum=e5c3ccdf406c19bde48ab5f59ac208967c3ca4f520626cdb66baf63f6160d946 -patch_args=-Np1 post_install() { vlicense COPYING.BSD diff --git a/srcpkgs/libgcrypt/template b/srcpkgs/libgcrypt/template index 3a6032d6cc6c..e466a315e7f3 100644 --- a/srcpkgs/libgcrypt/template +++ b/srcpkgs/libgcrypt/template @@ -11,7 +11,6 @@ license="LGPL-2.1-or-later" homepage="https://www.gnupg.org" distfiles="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2" checksum=97ebe4f94e2f7e35b752194ce15a0f3c66324e0ff6af26659bbfb5ff2ec328fd -patch_args="-Np1" if [ "$CROSS_BUILD" ]; then configure_args+=" ac_cv_sys_symbol_underscore=no" diff --git a/srcpkgs/libgpg-error/template b/srcpkgs/libgpg-error/template index 309860f3f5a7..98a7c475d1d3 100644 --- a/srcpkgs/libgpg-error/template +++ b/srcpkgs/libgpg-error/template @@ -9,7 +9,6 @@ license="LGPL-2.1-or-later, GPL-2.0-or-later" homepage="https://www.gnupg.org" distfiles="https://www.gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=fc07e70f6c615f8c4f590a8e37a9b8dd2e2ca1e9408f8e60459c67452b925e23 -patch_args=-Np1 if [ "$CROSS_BUILD" ]; then hostmakedepends="qemu-user-static" diff --git a/srcpkgs/libhugetlbfs/template b/srcpkgs/libhugetlbfs/template index 33a645b07753..3a9de8e8d2cd 100644 --- a/srcpkgs/libhugetlbfs/template +++ b/srcpkgs/libhugetlbfs/template @@ -13,7 +13,6 @@ license="LGPL-2.1-or-later" homepage="https://github.com/libhugetlbfs/libhugetlbfs" distfiles="https://github.com/${pkgname}/${pkgname}/releases/download/${version}/${pkgname}-${version}.tar.gz" checksum=b70672f1e807c61b7eb3adf41c1903b42917951f2e7f8aef6821841700c04479 -patch_args="-Np1" CFLAGS="-fPIC" do_check() { diff --git a/srcpkgs/libical/template b/srcpkgs/libical/template index 2d97ec032b62..a167a7b4f2e3 100644 --- a/srcpkgs/libical/template +++ b/srcpkgs/libical/template @@ -15,7 +15,6 @@ license="LGPL-2.1-only, MPL-2.0" homepage="http://libical.github.io/libical/" distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" checksum=09fecacaf75ba5a242159e3a9758a5446b5ce4d0ab684f98a7040864e1d1286f -patch_args="-Np1" disable_parallel_build=yes build_options="gir" diff --git a/srcpkgs/libid3tag/template b/srcpkgs/libid3tag/template index 6ffa35b9387d..bd946e222c28 100644 --- a/srcpkgs/libid3tag/template +++ b/srcpkgs/libid3tag/template @@ -2,7 +2,6 @@ pkgname=libid3tag version=0.15.1b revision=8 -patch_args="-Np1" build_style=gnu-configure hostmakedepends="pkg-config gperf" makedepends="zlib-devel" diff --git a/srcpkgs/libknet1/template b/srcpkgs/libknet1/template index bdd6d2b14db1..d261c8c36c9d 100644 --- a/srcpkgs/libknet1/template +++ b/srcpkgs/libknet1/template @@ -17,7 +17,6 @@ homepage="https://www.kronosnet.org" distfiles="https://kronosnet.org/releases/kronosnet-${version}.tar.bz2" checksum=c2ee20a9b5b0791ed5379b38b0b51d549603933925a839f045455553f03e6114 -patch_args='-Np1' CFLAGS="-Wno-format-truncation" diff --git a/srcpkgs/libode/template b/srcpkgs/libode/template index a899f1024e4a..f6c855cbce75 100644 --- a/srcpkgs/libode/template +++ b/srcpkgs/libode/template @@ -12,7 +12,6 @@ license="LGPL-2/BSD" homepage="http://www.ode.org" distfiles="https://bitbucket.org/odedevs/ode/downloads/ode-${version}.tar.gz" checksum=4ba3b76f9c1314160de483b3db92b0569242a07452cbb25b368e75deb3cabf27 -patch_args="-Np1" pre_configure() { autoreconf -fi diff --git a/srcpkgs/libogdf/template b/srcpkgs/libogdf/template index 5ca0549acc51..49090dc3a93c 100644 --- a/srcpkgs/libogdf/template +++ b/srcpkgs/libogdf/template @@ -15,7 +15,6 @@ homepage="https://ogdf.uos.de/" distfiles="https://ogdf.uos.de/wp-content/uploads/2019/04/ogdf-snapshot-${version//./-}.zip" checksum=347c3fa8dcdbb094f9c43008cbc2934bc5a64a532af4d3fe360a5fa54488440f nocross="can't find cpuid.h headers" -patch_args=-Np1 if [ "$XBPS_TARGET_LIBC" = musl ]; then broken="Non optional usage of broken mallinfo" diff --git a/srcpkgs/libopenshot/template b/srcpkgs/libopenshot/template index 7a3a5a2cfd9d..595ff6f7edcc 100644 --- a/srcpkgs/libopenshot/template +++ b/srcpkgs/libopenshot/template @@ -16,7 +16,6 @@ license="LGPL-3.0-or-later" homepage="https://github.com/OpenShot/libopenshot" distfiles="https://github.com/OpenShot/libopenshot/archive/v${version}.tar.gz" checksum=8ae7d226fbd2efbc84da4f7d9d8c7f3cc9616e4de46e1233e3b0a84ac0a429bc -patch_args="-Np1" # FIXME: tests segfault make_check=extended diff --git a/srcpkgs/libpgf/template b/srcpkgs/libpgf/template index bf71a8d2fff9..54383332b2cb 100644 --- a/srcpkgs/libpgf/template +++ b/srcpkgs/libpgf/template @@ -2,7 +2,6 @@ pkgname=libpgf version=6.14.12 revision=3 -patch_args="-Np1" wrksrc="$pkgname" build_style=gnu-configure hostmakedepends="automake libtool" diff --git a/srcpkgs/libsasl/template b/srcpkgs/libsasl/template index c0d20324790b..b9dbe7bc2f86 100644 --- a/srcpkgs/libsasl/template +++ b/srcpkgs/libsasl/template @@ -17,7 +17,6 @@ license="BSD-3-Clause-Attribution" homepage="https://www.cyrusimap.org/sasl/" distfiles="https://github.com/cyrusimap/cyrus-sasl/releases/download/cyrus-sasl-${version}/cyrus-sasl-${version}.tar.gz" checksum=26866b1549b00ffd020f188a43c258017fa1c382b3ddadd8201536f72efb05d5 -patch_args="-Np1" pre_configure() { autoreconf -fi diff --git a/srcpkgs/libtar/template b/srcpkgs/libtar/template index 1ba6d6a29050..84280b727ef9 100644 --- a/srcpkgs/libtar/template +++ b/srcpkgs/libtar/template @@ -3,7 +3,6 @@ pkgname=libtar version=1.2.20 revision=3 wrksrc="$pkgname" -patch_args="-Np1" build_style=gnu-configure hostmakedepends="automake libtool pkg-config" makedepends="zlib-devel" diff --git a/srcpkgs/libtls/template b/srcpkgs/libtls/template index a163b69eee98..5ab8c6c84e26 100644 --- a/srcpkgs/libtls/template +++ b/srcpkgs/libtls/template @@ -21,7 +21,6 @@ build_options="asm" desc_option_asm="Use platform assembly for faster crypto" build_options_default="asm" -patch_args=-Np1 if [ "$build_option_asm" ]; then distfiles+=" https://github.com/q66/libressl-portable-asm/archive/v${_lssl_asm_ver}.tar.gz" diff --git a/srcpkgs/libtomcrypt/template b/srcpkgs/libtomcrypt/template index 63635e14c995..4475f1d5b33e 100644 --- a/srcpkgs/libtomcrypt/template +++ b/srcpkgs/libtomcrypt/template @@ -11,7 +11,6 @@ homepage="http://www.libtom.net/?page=features&newsitems=5&whatfile=crypt" distfiles="https://github.com/libtom/libtomcrypt/releases/download/v${version}/crypt-${version}.tar.xz" checksum=96ad4c3b8336050993c5bc2cf6c057484f2b0f9f763448151567fbab5e767b84 -patch_args="-Np1" CFLAGS="-DGMP_DESC -DLTM_DESC -DUSE_LTM" do_build() { diff --git a/srcpkgs/libunique1/template b/srcpkgs/libunique1/template index 7b3e81316b59..f73931b0c72b 100644 --- a/srcpkgs/libunique1/template +++ b/srcpkgs/libunique1/template @@ -14,7 +14,6 @@ license="LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Attic/LibUnique" distfiles="${GNOME_SITE}/libunique/1.1/libunique-${version}.tar.bz2" checksum=e5c8041cef8e33c55732f06a292381cb345db946cf792a4ae18aa5c66cdd4fbb -patch_args="-Np1" CFLAGS="-Wno-deprecated-declarations" diff --git a/srcpkgs/libvorbis/template b/srcpkgs/libvorbis/template index e962ccbf512a..252ab68c7f94 100644 --- a/srcpkgs/libvorbis/template +++ b/srcpkgs/libvorbis/template @@ -2,7 +2,6 @@ pkgname=libvorbis version=1.3.7 revision=1 -patch_args="-Np1" build_style=gnu-configure hostmakedepends="pkg-config" makedepends="libogg-devel" diff --git a/srcpkgs/lightdm-gtk-greeter/template b/srcpkgs/lightdm-gtk-greeter/template index 66651a7af8ad..c2c37197fe8c 100644 --- a/srcpkgs/lightdm-gtk-greeter/template +++ b/srcpkgs/lightdm-gtk-greeter/template @@ -16,7 +16,6 @@ homepage="https://launchpad.net/lightdm-gtk-greeter" distfiles="${homepage}/${version%.*}/${version}/+download/${pkgname}-${version}.tar.gz" checksum=22386e787dc64ac372c63cf2cdce47bfa1c791d1cf8b5d3df68df24ecfbf7d68 conflicts="lightdm-gtk3-greeter>=0" -patch_args="-Np1" post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure diff --git a/srcpkgs/linux-driver-management/template b/srcpkgs/linux-driver-management/template index 2d8f51fa078c..0a8859cb73b4 100644 --- a/srcpkgs/linux-driver-management/template +++ b/srcpkgs/linux-driver-management/template @@ -17,7 +17,6 @@ license="LGPL-2.1-only" homepage="https://github.com/solus-project/linux-driver-management" distfiles="https://github.com/solus-project/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz" checksum=968ef61fbb7e26b89ef9456f03cf31c616bdc8fc69531fcfd9f90ae0f4ff147b -patch_args="-Np1" if [ "$CROSS_BUILD" ]; then # host needs glib-mkenums diff --git a/srcpkgs/linux4.14/template b/srcpkgs/linux4.14/template index be7732d07bc3..9d9d56af8c3f 100644 --- a/srcpkgs/linux4.14/template +++ b/srcpkgs/linux4.14/template @@ -13,7 +13,6 @@ checksum="f81d59477e90a130857ce18dc02f4fbe5725854911db1e7ba770c7cd350f96a7 b9afed9ae1f63b67fa01d17b3146f23a2ab5ef8ce458f3aec4d0b174553d0c52" skip_extraction="patch-${version}.xz" python_version=2 #unverified -patch_args="-Np1" nodebug=yes # -dbg package is generated below manually nostrip=yes diff --git a/srcpkgs/linux4.19/template b/srcpkgs/linux4.19/template index 3bbe09617546..5792f6904911 100644 --- a/srcpkgs/linux4.19/template +++ b/srcpkgs/linux4.19/template @@ -10,7 +10,6 @@ homepage="https://www.kernel.org" distfiles="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${version}.tar.xz" checksum=aaaebdccf599f77148fe170642fa7dc2452cf994b5cbbb4d39cab9e7f4058896 python_version=3 -patch_args="-Np1" nodebug=yes # -dbg package is generated below manually nostrip=yes diff --git a/srcpkgs/linux4.9/template b/srcpkgs/linux4.9/template index 553f87b04f6a..bad95d88f072 100644 --- a/srcpkgs/linux4.9/template +++ b/srcpkgs/linux4.9/template @@ -13,7 +13,6 @@ checksum="029098dcffab74875e086ae970e3828456838da6e0ba22ce3f64ef764f3d7f1a f808e190ab3d4b254b22c8b93936747c135a47c1a66d657af0e494bfbc125ca5" python_version=2 #unverified skip_extraction="patch-${version}.xz" -patch_args="-Np1" nodebug=yes # -dbg package is generated below manually nostrip=yes diff --git a/srcpkgs/linux5.10/template b/srcpkgs/linux5.10/template index 5a6b35e18c74..b63592c5880b 100644 --- a/srcpkgs/linux5.10/template +++ b/srcpkgs/linux5.10/template @@ -10,7 +10,6 @@ homepage="https://www.kernel.org" distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version}.tar.xz" checksum=77beefa59c854ce1e8353db947a71a8a91f2a907aed45c1335ac1f209983c767 python_version=3 -patch_args="-Np1" # XXX Restrict archs until a proper -dotconfig is available in FILESDIR. archs="x86_64* i686* ppc* aarch64*" diff --git a/srcpkgs/linux5.11/template b/srcpkgs/linux5.11/template index ab3f6f627750..3d6e5facc176 100644 --- a/srcpkgs/linux5.11/template +++ b/srcpkgs/linux5.11/template @@ -13,7 +13,6 @@ checksum="04f07b54f0d40adfab02ee6cbd2a942c96728d87c1ef9e120d0cb9ba3fe067b4 07aac31956d3f483a91506524befd45962f3bbfda2f8d43cf90713caf872d9ba" skip_extraction="patch-${version}.xz" python_version=3 -patch_args="-Np1" # XXX Restrict archs until a proper -dotconfig is available in FILESDIR. archs="x86_64* i686* aarch64* ppc*" diff --git a/srcpkgs/linux5.12/template b/srcpkgs/linux5.12/template index 5276698b36a0..06ead94605c9 100644 --- a/srcpkgs/linux5.12/template +++ b/srcpkgs/linux5.12/template @@ -13,7 +13,6 @@ checksum="7d0df6f2bf2384d68d0bd8e1fe3e071d64364dcdc6002e7b5c87c92d48fac366 034eb39ad49f3a26fc1b4ef799ef481ce35fe03e2b24131e9cd3d2805a99ad19" skip_extraction="patch-${version}.xz" python_version=3 -patch_args="-Np1" # XXX Restrict archs until a proper -dotconfig is available in FILESDIR. archs="x86_64* i686* aarch64* ppc*" diff --git a/srcpkgs/linux5.4/template b/srcpkgs/linux5.4/template index 40fe79b4abca..1adba525e68d 100644 --- a/srcpkgs/linux5.4/template +++ b/srcpkgs/linux5.4/template @@ -10,7 +10,6 @@ homepage="https://www.kernel.org" distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version}.tar.xz" checksum=17ee750a4aeb1c883d721e730d1f7e2855124585e2f47766864a1359a7ebe33c python_version=3 -patch_args="-Np1" nodebug=yes # -dbg package is generated below manually nostrip=yes diff --git a/srcpkgs/loudgain/template b/srcpkgs/loudgain/template index 00b2d20d27d6..da4f2d56e94c 100644 --- a/srcpkgs/loudgain/template +++ b/srcpkgs/loudgain/template @@ -11,7 +11,6 @@ license="BSD-2-Clause" homepage="https://github.com/Moonbase59/loudgain" distfiles="https://github.com/Moonbase59/loudgain/archive/v${version}.tar.gz" checksum=1137c193ad941b366e87c5d84ccc95a7aa8571affc060db0bd1cf72c489aeaee -patch_args=-Np1 post_install() { vlicense COPYING diff --git a/srcpkgs/lxde-common/template b/srcpkgs/lxde-common/template index df521545d44e..f7521d1b9030 100644 --- a/srcpkgs/lxde-common/template +++ b/srcpkgs/lxde-common/template @@ -12,4 +12,3 @@ license="GPL-2.0-or-later" homepage="http://lxde.org" distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz" checksum=1cd9bc900960c995d48ffbbdc86ecffda7c806168c67aaa50c53113794234856 -patch_args="-Np1" diff --git a/srcpkgs/lxlauncher/template b/srcpkgs/lxlauncher/template index 5b91dc9c7202..917049e5da74 100644 --- a/srcpkgs/lxlauncher/template +++ b/srcpkgs/lxlauncher/template @@ -16,7 +16,6 @@ license="GPL-2.0-or-later" homepage="http://lxde.org/" distfiles="${SOURCEFORGE_SITE}/lxde/${pkgname}-${version}.tar.xz" checksum=cd14b59cf337e7ba0d67efc95cd79859ab5f0f85af5a84c7aff771f868c3dca7 -patch_args="-Np1" post_patch() { vsed -i -e 's/DATADIRNAME=lib/DATADIRNAME=share/' configure diff --git a/srcpkgs/lxsession/template b/srcpkgs/lxsession/template index bf5ad1543557..8fe456a1d43e 100644 --- a/srcpkgs/lxsession/template +++ b/srcpkgs/lxsession/template @@ -14,7 +14,6 @@ homepage="http://lxde.org/" distfiles="${SOURCEFORGE_SITE}/lxde/$pkgname-$version.tar.xz" checksum=e43e0d9c033095559ab57c8821c2b84fea58009d267db1324d32dca8bd4dbb46 replaces="lxpolkit>=0" -patch_args="-Np1" pre_build() { rm *.stamp diff --git a/srcpkgs/m4/template b/srcpkgs/m4/template index ad0d585a2649..78f3dae6184a 100644 --- a/srcpkgs/m4/template +++ b/srcpkgs/m4/template @@ -2,7 +2,6 @@ pkgname=m4 version=1.4.18 revision=2 -patch_args="-Np1" bootstrap=yes replaces="chroot-m4>=0" build_style=gnu-configure diff --git a/srcpkgs/mac-fdisk/template b/srcpkgs/mac-fdisk/template index e49accf70f02..954609a0a23a 100644 --- a/srcpkgs/mac-fdisk/template +++ b/srcpkgs/mac-fdisk/template @@ -10,7 +10,6 @@ license="GPL-2.0-or-later" homepage="https://packages.debian.org/sid/mac-fdisk" distfiles="http://deb.debian.org/debian/pool/main/m/mac-fdisk/mac-fdisk_${version}.orig.tar.gz" checksum=7059fc4ba41ca2ef857e1092e9c56e910f27693d407b5c3d78f7102ad0c56a66 -patch_args="-Np1" CFLAGS="-D_GNU_SOURCE" diff --git a/srcpkgs/mailx/template b/srcpkgs/mailx/template index 63ec23e72e07..af0f33598b10 100644 --- a/srcpkgs/mailx/template +++ b/srcpkgs/mailx/template @@ -2,7 +2,6 @@ pkgname=mailx version=12.5 revision=25 -patch_args="-Np1" wrksrc="mailx-${version}" makedepends="openssl-devel mit-krb5-devel" conf_files="/etc/mailx.rc" diff --git a/srcpkgs/make/template b/srcpkgs/make/template index 0aebcbc70be6..9a980aa10dde 100644 --- a/srcpkgs/make/template +++ b/srcpkgs/make/template @@ -15,4 +15,3 @@ homepage="http://www.gnu.org/software/make" distfiles="${GNU_SITE}/make/${pkgname}-${version}.tar.lz" checksum=de1a441c4edf952521db30bfca80baae86a0ff1acd0a00402999344f04c45e82 build_options=guile -patch_args="-Np1" diff --git a/srcpkgs/mbuffer/template b/srcpkgs/mbuffer/template index 97e0daac30e8..b1b30619272f 100644 --- a/srcpkgs/mbuffer/template +++ b/srcpkgs/mbuffer/template @@ -11,5 +11,4 @@ license="GPL-3.0-or-later" homepage="https://www.maier-komor.de/mbuffer.html" distfiles="https://www.maier-komor.de/software/mbuffer/mbuffer-${version}.tgz" checksum=51b5b8d8488991a55fe1dfce90130f9e47bc1ce286ba03b4f628c04b784fdc5d -patch_args=-Np1 conf_files="/etc/mbuffer.rc" diff --git a/srcpkgs/mellowplayer/template b/srcpkgs/mellowplayer/template index 3bd4a704985a..3afe098a08f4 100644 --- a/srcpkgs/mellowplayer/template +++ b/srcpkgs/mellowplayer/template @@ -17,7 +17,6 @@ license="GPL-2.0-or-later" homepage="https://colinduquesnoy.gitlab.io/MellowPlayer/" distfiles="https://gitlab.com/ColinDuquesnoy/MellowPlayer/-/archive/${version}/MellowPlayer-${version}.tar.bz2" checksum=7571588a704d0e76e65764f7a7725cf2b22125e06d930f236d19f75c1ecf559d -patch_args=-Np1 if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then broken="webengine can be built only if word size matches" diff --git a/srcpkgs/mkinitcpio-nfs-utils/template b/srcpkgs/mkinitcpio-nfs-utils/template index d8f23343ad6a..f40c42735fd6 100644 --- a/srcpkgs/mkinitcpio-nfs-utils/template +++ b/srcpkgs/mkinitcpio-nfs-utils/template @@ -18,7 +18,6 @@ case "$XBPS_TARGET_MACHINE" in ;; esac -patch_args="-Np1" post_extract() { sed -i '/CC.*-o/s/$/ $(LDFLAGS)/' */Makefile diff --git a/srcpkgs/mkinitcpio/template b/srcpkgs/mkinitcpio/template index 04277348348d..d3f89d781382 100644 --- a/srcpkgs/mkinitcpio/template +++ b/srcpkgs/mkinitcpio/template @@ -13,7 +13,6 @@ homepage="https://git.archlinux.org/mkinitcpio.git" distfiles="https://sources.archlinux.org/other/${pkgname}/${pkgname}-${version}.tar.gz" checksum=c7725035a06d2ab6ef6e97601b69859d6061aec95c4551e2a1ad2e27d307258f conf_files="/etc/mkinitcpio.conf" -patch_args="-Np1" replaces="mkinitcpio-udev>=0" pre_check() { diff --git a/srcpkgs/motif/template b/srcpkgs/motif/template index 56f330f259ab..6e38db0a9516 100644 --- a/srcpkgs/motif/template +++ b/srcpkgs/motif/template @@ -14,7 +14,6 @@ homepage="https://sourceforge.net/projects/motif/" distfiles="${SOURCEFORGE_SITE}/motif/Motif%20${version}%20Source%20Code/motif-${version}.tar.gz" checksum=859b723666eeac7df018209d66045c9853b50b4218cecadb794e2359619ebce7 replaces="lesstif>=0" -patch_args="-Np1" if [ "$CROSS_BUILD" ]; then hostmakedepends+=" $makedepends" diff --git a/srcpkgs/mouseemu/template b/srcpkgs/mouseemu/template index 1519c7b7ef6a..7a64d63acd85 100644 --- a/srcpkgs/mouseemu/template +++ b/srcpkgs/mouseemu/template @@ -11,7 +11,6 @@ homepage="http://geekounet.org/powerbook/" distfiles="http://deb.debian.org/debian/pool/main/m/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=bbef220a814931f8ee482c82dfd63ad0a8ec895fc7df7bac1a1ada880d59af59 conf_files="/etc/sv/mouseemu/conf" -patch_args="-Np1" case "$XBPS_TARGET_MACHINE" in x86_64*|i686*) depends+=" dmidecode";; diff --git a/srcpkgs/mozjs78/template b/srcpkgs/mozjs78/template index ee443e7a64c8..87e90b422b4e 100644 --- a/srcpkgs/mozjs78/template +++ b/srcpkgs/mozjs78/template @@ -17,7 +17,6 @@ license="MPL-2.0" homepage="https://www.mozilla.org/firefox/" distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz" checksum=8e03ac1dfc5ac804c8b13a529414a9387e0425e545bb2f4462d74c3175e64864 -patch_args="-Np1" CXXFLAGS="-Wno-class-memaccess" LDFLAGS="-Wl,-z,stack-size=1048576" diff --git a/srcpkgs/mupdf/template b/srcpkgs/mupdf/template index 1279d8c680d4..de89007c8f06 100644 --- a/srcpkgs/mupdf/template +++ b/srcpkgs/mupdf/template @@ -16,7 +16,6 @@ license="AGPL-3.0-only" homepage="https://mupdf.com" distfiles="https://mupdf.com/downloads/archive/${pkgname}-${version}-source.tar.gz" checksum=8860ea6d01fc3c360ba5e0fa9fede241c6fbb2a73f5215b17a105de409a19266 -patch_args="-Np1" pre_build() { # libmupdf-{threads,pkcs7}.a are required by fbpdf diff --git a/srcpkgs/musl/template b/srcpkgs/musl/template index eaa3dc12e8e5..337a3082faa9 100644 --- a/srcpkgs/musl/template +++ b/srcpkgs/musl/template @@ -13,7 +13,6 @@ license="MIT" homepage="http://www.musl-libc.org/" distfiles="http://www.musl-libc.org/releases/musl-${version}.tar.gz" checksum=1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 -patch_args=-Np1 nostrip_files="libc.so" shlib_provides="libc.so" diff --git a/srcpkgs/ndppd/template b/srcpkgs/ndppd/template index 48f78c040ab2..e9cbba36942a 100644 --- a/srcpkgs/ndppd/template +++ b/srcpkgs/ndppd/template @@ -9,7 +9,6 @@ license="GPL-3.0-or-later" homepage="https://github.com/DanielAdolfsson/ndppd" distfiles="https://github.com/DanielAdolfsson/ndppd/archive/${version}.tar.gz" checksum=ee934167f8357f0bd0015e201a77fbe4d028c59e89dc98113805c6855e1c3992 -patch_args="-Np1" do_install() { vbin ndppd diff --git a/srcpkgs/network-manager-applet/template b/srcpkgs/network-manager-applet/template index 0f041aa80b27..e9bb40aa3e6f 100644 --- a/srcpkgs/network-manager-applet/template +++ b/srcpkgs/network-manager-applet/template @@ -17,5 +17,4 @@ homepage="https://wiki.gnome.org/Projects/NetworkManager" changelog="https://raw.githubusercontent.com/NetworkManager/network-manager-applet/master/NEWS" distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" checksum=c70d80b48d40a9cb99ec967cc4389f67e7f0301528a69d481572041331a646be -patch_args=-Np1 lib32disabled=yes diff --git a/srcpkgs/nfs-utils/template b/srcpkgs/nfs-utils/template index 4b5dc97ea19c..10e72d3054c8 100644 --- a/srcpkgs/nfs-utils/template +++ b/srcpkgs/nfs-utils/template @@ -14,7 +14,6 @@ license="GPL-2.0-or-later" homepage="https://www.linux-nfs.org/" distfiles="${KERNEL_SITE}/utils/${pkgname}/${version}/${pkgname}-${version}.tar.xz" checksum=51997d94e4c8bcef5456dd36a9ccc38e231207c4e9b6a9a2c108841e6aebe3dd -patch_args="-Np1" replaces="rpcgen>=0" hostmakedepends="pkg-config libtirpc-devel rpcsvc-proto" diff --git a/srcpkgs/nomad/template b/srcpkgs/nomad/template index 8ebd079f55e2..989de0f270be 100644 --- a/srcpkgs/nomad/template +++ b/srcpkgs/nomad/template @@ -14,7 +14,6 @@ license="MPL-2.0" homepage="https://www.nomadproject.io/" distfiles="https://github.com/hashicorp/nomad/archive/v${version}.tar.gz" checksum=441d2f50a29568451cb16301a2208c9b744a480ded8c624e789983ee42ed3ea9 -patch_args="-Np1" case "$XBPS_TARGET_MACHINE" in *-musl) go_build_tags+=" nonvidia" ;; diff --git a/srcpkgs/notmuch/template b/srcpkgs/notmuch/template index d96cd07da6a3..0b176d22ebd9 100644 --- a/srcpkgs/notmuch/template +++ b/srcpkgs/notmuch/template @@ -21,7 +21,6 @@ skip_extraction="database-v1.tar.xz" # gpgme is optional dependency conflicts="gpgme<1.14.0_1" subpackages="libnotmuch libnotmuch-devel notmuch-mutt notmuch-python3" -patch_args=-Np1 if [ ! "$CROSS_BUILD" ]; then hostmakedepends+=" desktop-file-utils" diff --git a/srcpkgs/numix-themes/template b/srcpkgs/numix-themes/template index 0e5b7b436c75..76814bab7d9e 100644 --- a/srcpkgs/numix-themes/template +++ b/srcpkgs/numix-themes/template @@ -12,4 +12,3 @@ license="GPL-3.0-or-later" homepage="https://github.com/numixproject/numix-gtk-theme" distfiles="${homepage}/archive/${version}.tar.gz" checksum=2b997ad3eee0b802d0dd49dd772127fd3c337cca32d8863efd4897928e38879a -patch_args=-Np1 diff --git a/srcpkgs/nvi/template b/srcpkgs/nvi/template index a24dde6ca225..edc737186f93 100644 --- a/srcpkgs/nvi/template +++ b/srcpkgs/nvi/template @@ -2,7 +2,6 @@ pkgname=nvi version=1.81.6 revision=16 -patch_args="-Np1" build_style=gnu-configure build_wrksrc=dist makedepends="ncurses-devel db-devel" diff --git a/srcpkgs/ocaml/template b/srcpkgs/ocaml/template index c941d4b33684..0b760f5ffa5a 100644 --- a/srcpkgs/ocaml/template +++ b/srcpkgs/ocaml/template @@ -13,7 +13,6 @@ homepage="http://ocaml.org/" distfiles="https://github.com/${pkgname}/${pkgname}/archive/${version}.tar.gz" checksum=cd3cd55d465028b161c8c33bafc14ee6ae1d91b5efe51098350f8e8a5f454baf nocross=yes -patch_args="-Np1" export ASPP="cc -c" diff --git a/srcpkgs/onboard/template b/srcpkgs/onboard/template index 681de6199e0d..38b447de275e 100644 --- a/srcpkgs/onboard/template +++ b/srcpkgs/onboard/template @@ -14,4 +14,3 @@ license="GPL-3.0-or-later" homepage="https://launchpad.net/onboard" distfiles="https://launchpad.net/${pkgname}/${version%.*}/${version}/+download/${pkgname}-${version}.tar.gz" checksum=01cae1ac5b1ef1ab985bd2d2d79ded6fc99ee04b1535cc1bb191e43a231a3865 -patch_args="-Np1" diff --git a/srcpkgs/openjdk10-bootstrap/template b/srcpkgs/openjdk10-bootstrap/template index 9695f1f1f431..92d066bb200b 100644 --- a/srcpkgs/openjdk10-bootstrap/template +++ b/srcpkgs/openjdk10-bootstrap/template @@ -51,7 +51,6 @@ if [ -n "$_use_zero" ]; then fi shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so" -patch_args="-Np1" nocross=yes if [ -n "$XBPS_DEBUG_PKGS" ]; then diff --git a/srcpkgs/openjdk7-bootstrap/template b/srcpkgs/openjdk7-bootstrap/template index f273380c0ebb..b084713ea889 100644 --- a/srcpkgs/openjdk7-bootstrap/template +++ b/srcpkgs/openjdk7-bootstrap/template @@ -83,7 +83,6 @@ skip_extraction=" hotspot-${_drops_ver}.tar.bz2" shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so" -patch_args="-Np1" nocross=yes CFLAGS="-fcommon" diff --git a/srcpkgs/openjdk8/template b/srcpkgs/openjdk8/template index 478986b3ca6b..a6d99811d672 100644 --- a/srcpkgs/openjdk8/template +++ b/srcpkgs/openjdk8/template @@ -80,7 +80,6 @@ else fi provides="java-environment-${version}_1" -patch_args="-Np1" if [ -n "$XBPS_DEBUG_PKGS" ]; then configure_args+=" --with-native-debug-symbols=internal" diff --git a/srcpkgs/openjdk9-bootstrap/template b/srcpkgs/openjdk9-bootstrap/template index 7fc5dc69376f..bf2654033377 100644 --- a/srcpkgs/openjdk9-bootstrap/template +++ b/srcpkgs/openjdk9-bootstrap/template @@ -67,7 +67,6 @@ fi lib32disabled=yes shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so" -patch_args="-Np1" nocross=yes if [ -n "$XBPS_DEBUG_PKGS" ]; then diff --git a/srcpkgs/orientdb/template b/srcpkgs/orientdb/template index c7c49f59af5b..5db277ac3232 100644 --- a/srcpkgs/orientdb/template +++ b/srcpkgs/orientdb/template @@ -11,7 +11,6 @@ license="Apache-2.0" homepage="https://orientdb.org" distfiles="https://s3.us-east-2.amazonaws.com/orientdb3/releases/${version}/orientdb-${version}.tar.gz" checksum=73830279a5587de17ea4f5864598a0829bb03212d6cd36d185fe126a46086236 -patch_args="-Np1" system_accounts="orientdb" do_install() { diff --git a/srcpkgs/p11-kit/template b/srcpkgs/p11-kit/template index 9947a2ec6567..cc0b11eb720f 100644 --- a/srcpkgs/p11-kit/template +++ b/srcpkgs/p11-kit/template @@ -14,7 +14,6 @@ license="BSD-3-Clause" homepage="https://github.com/p11-glue/p11-kit" distfiles="${homepage}/releases/download/${version}/p11-kit-${version}.tar.xz" checksum=8a8f40153dd5a3f8e7c03e641f8db400133fb2a6a9ab2aee1b6d0cb0495ec6b6 -patch_args=-Np1 conf_files="/etc/pkcs11/pkcs11.conf" if [ "$XBPS_CHECK_PKGS" ]; then diff --git a/srcpkgs/parallel-rust/template b/srcpkgs/parallel-rust/template index f6a1df6cfd4f..d2a746db9108 100644 --- a/srcpkgs/parallel-rust/template +++ b/srcpkgs/parallel-rust/template @@ -3,7 +3,6 @@ pkgname=parallel-rust version=0.11.3 revision=2 wrksrc="parallel-${version}" -patch_args="-Np1" build_style=cargo short_desc="Inspired by GNU Parallel, a command-line CPU load balancer written in Rust" maintainer="lemmi " diff --git a/srcpkgs/patch/template b/srcpkgs/patch/template index 54bfe06dada4..c850a4f74a71 100644 --- a/srcpkgs/patch/template +++ b/srcpkgs/patch/template @@ -11,7 +11,6 @@ license="GPL-3.0-or-later" homepage="http://www.gnu.org/software/patch/patch.html" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=ac610bda97abe0d9f6b7c963255a11dcb196c25e337c61f94e4778d632f1d8fd -patch_args="-Np1" if [ "$XBPS_TARGET_LIBC" = musl ]; then export ac_cv_lib_error_at_line=no diff --git a/srcpkgs/pavucontrol/template b/srcpkgs/pavucontrol/template index b80f1b85a7d2..1fd6de3d37cc 100644 --- a/srcpkgs/pavucontrol/template +++ b/srcpkgs/pavucontrol/template @@ -11,4 +11,3 @@ license="GPL-2.0-or-later" homepage="https://freedesktop.org/software/pulseaudio/pavucontrol/" distfiles="${homepage}/${pkgname}-${version}.tar.xz" checksum=8fc45bac9722aefa6f022999cbb76242d143c31b314e2dbb38f034f4069d14e2 -patch_args=-Np1 diff --git a/srcpkgs/pbbuttonsd/template b/srcpkgs/pbbuttonsd/template index 2826198c71fa..242e9a49d4dc 100644 --- a/srcpkgs/pbbuttonsd/template +++ b/srcpkgs/pbbuttonsd/template @@ -17,7 +17,6 @@ license="GPL-2.0-or-later" homepage="https://www.berlios.de/software/pbbuttons" distfiles="${SOURCEFORGE_SITE}/pbbuttons/pbbuttonsd-${version}.tar.gz" checksum=254cc391bcb0a4a58a62224b4cca2b29fdf9ca174c1dc18ab0784f1a86465ed1 -patch_args="-Np1" post_extract() { # fix cross builds (small build-only tool built with this) diff --git a/srcpkgs/pcsxr/template b/srcpkgs/pcsxr/template index 37bd5f2fe7f4..e95d3eb66634 100644 --- a/srcpkgs/pcsxr/template +++ b/srcpkgs/pcsxr/template @@ -14,7 +14,6 @@ license="GPL-2.0-or-later" homepage="http://pcsxr.codeplex.com/" distfiles="http://deb.debian.org/debian/pool/main/p/pcsxr/pcsxr_${version}.orig.tar.xz" checksum=8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660 -patch_args="-Np1" lib32disabled=yes CFLAGS="-fcommon" diff --git a/srcpkgs/pinebookpro-kernel/template b/srcpkgs/pinebookpro-kernel/template index 5908c8021ce4..09e202b279f2 100644 --- a/srcpkgs/pinebookpro-kernel/template +++ b/srcpkgs/pinebookpro-kernel/template @@ -10,7 +10,6 @@ license="GPL-2.0-only" homepage="https://www.kernel.org" distfiles="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${version}.tar.xz" checksum=ac37a19d45b77a87e58e3aae8b127a6e7eb85ed7467fc8e58474b387bfd498fd -patch_args="-Np1" python_version=3 nodebug=yes # -dbg package is generated below manually diff --git a/srcpkgs/pinephone-kernel/template b/srcpkgs/pinephone-kernel/template index 73631552a9ba..0361e3edca81 100644 --- a/srcpkgs/pinephone-kernel/template +++ b/srcpkgs/pinephone-kernel/template @@ -11,7 +11,6 @@ homepage="https://www.kernel.org" distfiles="https://github.com/megous/linux/archive/${_tag}.tar.gz" checksum=7ef48ee91f6b6cfdc74f3dc73753903748bcda3282f1ac6e2ff33d392f6c30ca python_version=3 -patch_args="-Np1" archs="aarch64*" diff --git a/srcpkgs/ponysay/template b/srcpkgs/ponysay/template index 5fd3af284d2d..d2e146943e58 100644 --- a/srcpkgs/ponysay/template +++ b/srcpkgs/ponysay/template @@ -10,7 +10,6 @@ license="GPL-3.0-or-later" homepage="https://erkin.github.com/ponysay/" distfiles="https://github.com/erkin/${pkgname}/archive/${version}.tar.gz" checksum=c382d7f299fa63667d1a4469e1ffbf10b6813dcd29e861de6be55e56dc52b28a -patch_args="-Np1" do_install() { python3 setup.py --prefix=/usr --dest-dir=$DESTDIR \ diff --git a/srcpkgs/poppler-qt5/template b/srcpkgs/poppler-qt5/template index 4fb165ecc22b..c130ecc74f79 100644 --- a/srcpkgs/poppler-qt5/template +++ b/srcpkgs/poppler-qt5/template @@ -21,7 +21,6 @@ distfiles="${homepage}/poppler-${version}.tar.xz" checksum=dafd537b680fad1215bc40fc53d1f38e8449d7c185bc60d5a89e1d26c90dbd8c # fails to find a bunch of files make_check=no -patch_args=-Np1 if [ "$CROSS_BUILD" ]; then configure_args+=" -DTHREADS_PTHREAD_ARG=2" diff --git a/srcpkgs/poppler/template b/srcpkgs/poppler/template index 72a961b24615..e78dc76cfaa8 100644 --- a/srcpkgs/poppler/template +++ b/srcpkgs/poppler/template @@ -19,7 +19,6 @@ license="GPL-2.0-or-later, GPL-3.0-or-later" homepage="https://poppler.freedesktop.org" distfiles="${homepage}/${pkgname}-${version}.tar.xz" checksum=dafd537b680fad1215bc40fc53d1f38e8449d7c185bc60d5a89e1d26c90dbd8c -patch_args=-Np1 # Package build options build_options="gir" diff --git a/srcpkgs/procmail/template b/srcpkgs/procmail/template index 4518f5caac58..12271d5f0a2d 100644 --- a/srcpkgs/procmail/template +++ b/srcpkgs/procmail/template @@ -10,7 +10,6 @@ license="GPL-2.0-or-later, Artistic-1.0-cl8" homepage="http://www.procmail.org" distfiles="https://fossies.org/linux/misc/old/procmail-${version}.tar.gz" checksum=087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117 -patch_args="-Np1" nocross="./autoconf: line 1396: ./_autotst: No such file or directory" post_extract() { diff --git a/srcpkgs/psutils/template b/srcpkgs/psutils/template index d377334ebb6a..0e47c23d0c25 100644 --- a/srcpkgs/psutils/template +++ b/srcpkgs/psutils/template @@ -12,7 +12,6 @@ homepage="http://knackered.org/angus/psutils/" wrksrc="psutils" distfiles="ftp://ftp.knackered.org/pub/psutils/${pkgname}-${version}.tar.gz" checksum="3853eb79584ba8fbe27a815425b65a9f7f15b258e0d43a05a856bdb75d588ae4" -patch_args="-Np1" pre_configure() { # install in /usr instead of /usr/local diff --git a/srcpkgs/python-notify/template b/srcpkgs/python-notify/template index 7bfe11b2da90..9bc07c76324e 100644 --- a/srcpkgs/python-notify/template +++ b/srcpkgs/python-notify/template @@ -15,7 +15,6 @@ homepage="http://www.galago-project.org/" distfiles="http://www.galago-project.org/files/releases/source/notify-python/notify-python-${version}.tar.gz" checksum=8c5ee28017fdc5b110c31cb76503e535e15e0c60b9a1f1e95ff6c018dd806022 replaces="notify-python>=0" -patch_args="-Np1" lib32disabled=yes CFLAGS="-fcommon" diff --git a/srcpkgs/qemu/template b/srcpkgs/qemu/template index 0a08ed821536..0fadb41f609c 100644 --- a/srcpkgs/qemu/template +++ b/srcpkgs/qemu/template @@ -30,7 +30,6 @@ nostrip_files="hppa-firmware.img openbios-ppc openbios-sparc32 openbios-sparc64 opensbi-riscv64-generic-fw_dynamic.elf" # FIXME make_check=extended -patch_args=-Np1 build_options="gtk3 opengl sdl2 spice virgl smartcard numa iscsi" build_options_default="opengl gtk3 virgl sdl2 numa iscsi" diff --git a/srcpkgs/qt5-webengine/template b/srcpkgs/qt5-webengine/template index d9819ea7d71e..0819b3790345 100644 --- a/srcpkgs/qt5-webengine/template +++ b/srcpkgs/qt5-webengine/template @@ -33,7 +33,6 @@ distfiles="https://github.com/qt/qtwebengine/archive/${_commit}.tar.gz https://github.com/qt/qtwebengine-chromium/archive/${_chromium_commit}.tar.gz" checksum="cea995e14c599c0c46b53b9938fd16f2360b639bf77e88a28ea26f518bb7b578 fa0cab27cc32284f5af227a3dabde05ed6755f06641db6a6ca1c66848b10f715" -patch_args="-Np1" no_generic_pkgconfig_link=yes build_options="sndio pipewire" diff --git a/srcpkgs/rdup/template b/srcpkgs/rdup/template index a73f90839ef9..74936336c70a 100644 --- a/srcpkgs/rdup/template +++ b/srcpkgs/rdup/template @@ -13,7 +13,6 @@ license="GPL-3.0-or-later" homepage="https://github.com/miekg/rdup" distfiles="https://github.com/miekg/rdup/archive/${version}.tar.gz" checksum=787b8c37e88be810a710210a9d9f6966b544b1389a738aadba3903c71e0c29cb -patch_args="-Np1" post_patch() { vsed -e 's/-Werror//' -i GNUmakefile.in diff --git a/srcpkgs/recode/template b/srcpkgs/recode/template index bba0c7862d47..531df1dedd33 100644 --- a/srcpkgs/recode/template +++ b/srcpkgs/recode/template @@ -12,7 +12,6 @@ license="GPL-2.0-or-later" homepage="http://recode.progiciels-bpi.ca/" distfiles="${DEBIAN_SITE}/main/r/${pkgname}/${pkgname}_${version}.orig.tar.gz" checksum=e3e6a4f3f8e5c6052ab70155990c074d87aa0b614fc1be31d194750d1d962fcf -patch_args="-Np1" pre_configure() { vsed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in diff --git a/srcpkgs/rng-tools/template b/srcpkgs/rng-tools/template index a6e67902ba89..9519739f2b48 100644 --- a/srcpkgs/rng-tools/template +++ b/srcpkgs/rng-tools/template @@ -14,7 +14,6 @@ license="GPL-2.0-or-later" homepage="https://github.com/nhorman/rng-tools" distfiles="https://github.com/nhorman/rng-tools/archive/v${version}.tar.gz" checksum=6fd5b52a700edec85eb1043970e22e8e2ad06a4b43851f35d33d90e09570e9d3 -patch_args="-Np1" case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone" ;; diff --git a/srcpkgs/rust/template b/srcpkgs/rust/template index 6bb928e14783..92ed8935ab09 100644 --- a/srcpkgs/rust/template +++ b/srcpkgs/rust/template @@ -22,7 +22,6 @@ homepage="https://www.rust-lang.org/" distfiles="https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz" checksum="0e763e6db47d5d6f91583284d2f989eacc49b84794d1443355b85c58d67ae43b" lib32disabled=yes -patch_args="-Np1" build_options="bindist" desc_option_bindist="Generate tarballs for bootstrap" diff --git a/srcpkgs/sakura/template b/srcpkgs/sakura/template index 299dae396cce..04e5883e0909 100644 --- a/srcpkgs/sakura/template +++ b/srcpkgs/sakura/template @@ -12,4 +12,3 @@ license="GPL-2.0-only" homepage="https://launchpad.net/sakura" distfiles="https://launchpad.net/sakura/trunk/${version}/+download/sakura-${version}.tar.bz2" checksum=9ddfe8919ae0e11673ca22879ae324565d0987b14e948e1d2badff538fe1b5b9 -patch_args="-Np1" diff --git a/srcpkgs/sbc/template b/srcpkgs/sbc/template index 7645ce469d68..6fdca20e3e9c 100644 --- a/srcpkgs/sbc/template +++ b/srcpkgs/sbc/template @@ -12,7 +12,6 @@ license="GPL-2.0-or-later, LGPL-2.1-or-later" homepage="http://www.bluez.org/" distfiles="${KERNEL_SITE}/bluetooth/${pkgname}-${version}.tar.xz" checksum=0cbad69823a99e8421fe0700e8cf9eeb8fa0c1ad28e8dbc2182b3353507931d2 -patch_args="-Np1" sbc-devel_package() { depends="sbc>=${version}_${revision}" diff --git a/srcpkgs/sbsigntool/template b/srcpkgs/sbsigntool/template index 6e6c32ddf3e7..80d0f63781fa 100644 --- a/srcpkgs/sbsigntool/template +++ b/srcpkgs/sbsigntool/template @@ -19,7 +19,6 @@ distfiles="$homepage/snapshot/sbsigntools-$version.tar.gz $DEBIAN_SITE/main/s/sbsigntool/sbsigntool_0.9.2.orig.tar.gz" checksum="eddb7d21263ee2b07be8f0ed93b6ba021c3f943964730b2d86f44736fa1924d5 1dc1e1de5f2dda50dbd2e6a83355fe7ae38ca0f79daeb404026421af70606653" -patch_args="-Np1" skip_extraction="sbsigntool_0.9.2.orig.tar.gz" conf_files="/etc/default/sbsigntool-kernel-hook" diff --git a/srcpkgs/sharutils/template b/srcpkgs/sharutils/template index 26ff6c074408..e5195a44999f 100644 --- a/srcpkgs/sharutils/template +++ b/srcpkgs/sharutils/template @@ -2,7 +2,6 @@ pkgname=sharutils version=4.15.2 revision=2 -patch_args="-Np1" build_style=gnu-configure hostmakedepends="perl" short_desc="Makes so-called shell archives out of many files" diff --git a/srcpkgs/spdlog/template b/srcpkgs/spdlog/template index ecf3e97a14ce..184a4d891698 100644 --- a/srcpkgs/spdlog/template +++ b/srcpkgs/spdlog/template @@ -14,7 +14,6 @@ license="MIT" homepage="https://github.com/gabime/spdlog" distfiles="https://github.com/gabime/spdlog/archive/v${version}.tar.gz" checksum=e20e6bd8f57e866eaf25a5417f0a38a116e537f1a77ac7b5409ca2b180cec0d5 -patch_args=-Np1 if [ "$XBPS_CHECK_PKGS" ]; then configure_args+=" -DSPDLOG_BUILD_TESTS_HO=ON" diff --git a/srcpkgs/stegsnow/template b/srcpkgs/stegsnow/template index 97251c1c7a58..f5cc9a5a3697 100644 --- a/srcpkgs/stegsnow/template +++ b/srcpkgs/stegsnow/template @@ -3,7 +3,6 @@ pkgname=stegsnow version=20130616 revision=1 wrksrc="snow-${version}" -patch_args="-Np1" build_style=gnu-makefile short_desc="Whitespace steganography" maintainer="Orphaned " diff --git a/srcpkgs/sun7i-kernel/template b/srcpkgs/sun7i-kernel/template index 3d7ae0956875..560ec8ad3732 100644 --- a/srcpkgs/sun7i-kernel/template +++ b/srcpkgs/sun7i-kernel/template @@ -32,7 +32,6 @@ archs="armv7l*" hostmakedepends="perl python kmod uboot-mkimage openssl bc" makedepends="ncurses-devel" triggers="kernel-hooks" -patch_args=-Np1 python_version=2 # These files could be modified when an external module is built. mutable_files=" diff --git a/srcpkgs/syslinux/template b/srcpkgs/syslinux/template index 2c8cfb05553e..b45c35819552 100644 --- a/srcpkgs/syslinux/template +++ b/srcpkgs/syslinux/template @@ -2,7 +2,6 @@ pkgname=syslinux version=6.03 revision=7 -patch_args="-Np1" hostmakedepends="perl python nasm" makedepends="gnu-efi-libs libuuid-devel" short_desc="Boot loader for the Linux operating system" diff --git a/srcpkgs/tilix/template b/srcpkgs/tilix/template index 952643b213fc..f53d8f86fd87 100644 --- a/srcpkgs/tilix/template +++ b/srcpkgs/tilix/template @@ -15,7 +15,6 @@ license="MPL-2.0" homepage="https://gnunn1.github.io/tilix-web/" distfiles="https://github.com/gnunn1/${pkgname}/archive/${version}.tar.gz" checksum=2a9482770391d11d5edc8351d426c700c2cc6c194a30391ef2ae25bb7095b59b -patch_args=-Np1 pre_configure() { case "$XBPS_TARGET_MACHINE" in diff --git a/srcpkgs/tmux/template b/srcpkgs/tmux/template index b0f2178d49ec..25a22045bb72 100644 --- a/srcpkgs/tmux/template +++ b/srcpkgs/tmux/template @@ -13,7 +13,6 @@ homepage="https://tmux.github.io" changelog="https://raw.githubusercontent.com/tmux/tmux/master/CHANGES" distfiles="https://github.com/tmux/tmux/releases/download/${version}/tmux-${version}.tar.gz" checksum=664d345338c11cbe429d7ff939b92a5191e231a7c1ef42f381cebacb1e08a399 -patch_args=-Np1 pre_configure() { autoreconf -fi diff --git a/srcpkgs/ucspi-tcp/template b/srcpkgs/ucspi-tcp/template index f4ef8b1df9db..9012d8a20a20 100644 --- a/srcpkgs/ucspi-tcp/template +++ b/srcpkgs/ucspi-tcp/template @@ -9,7 +9,6 @@ license="Public Domain" homepage="http://cr.yp.to/ucspi-tcp.html" distfiles="http://cr.yp.to/ucspi-tcp/ucspi-tcp-${version}.tar.gz" checksum=4a0615cab74886f5b4f7e8fd32933a07b955536a3476d74ea087a3ea66a23e9c -patch_args="-Np1" make_check=no # checks are only designed to check if an installation worked do_install() { diff --git a/srcpkgs/unixbench/template b/srcpkgs/unixbench/template index 039da3c88615..fa652eb2d999 100644 --- a/srcpkgs/unixbench/template +++ b/srcpkgs/unixbench/template @@ -13,7 +13,6 @@ license="GPL-2.0-only" homepage="https://github.com/kdlucas/byte-unixbench" distfiles="$homepage/archive/$_commit.tar.gz" checksum=48e6ed4e705c86e5481ddf0c0d5ef2850f84a0da7050d438dbfe1052c81fd93f -patch_args="-p1" do_build() { export CFLAGS=$CFLAGS diff --git a/srcpkgs/unzip/template b/srcpkgs/unzip/template index 84796994944f..e0831b589d7f 100644 --- a/srcpkgs/unzip/template +++ b/srcpkgs/unzip/template @@ -10,7 +10,6 @@ license="Info-ZIP" homepage="http://infozip.sf.net/" distfiles="${SOURCEFORGE_SITE}/infozip/${pkgname}60.tar.gz" checksum=036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37 -patch_args="-Np1" do_build() { CFLAGS+=" -D_FILE_OFFSET_BITS=64 -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \ diff --git a/srcpkgs/util-linux/template b/srcpkgs/util-linux/template index fbd3f00e6f80..4fb8292531ba 100644 --- a/srcpkgs/util-linux/template +++ b/srcpkgs/util-linux/template @@ -14,7 +14,6 @@ license="GPL-2.0-or-later" homepage="https://www.kernel.org/pub/linux/utils/util-linux/" distfiles="${KERNEL_SITE}/utils/${pkgname}/v${version%.${version#*.*.}}/${pkgname}-${version}.tar.xz" checksum=f7516ba9d8689343594356f0e5e1a5f0da34adfbc89023437735872bb5024c5f -patch_args=-Np1 # Create uuidd system account for uuidd. system_accounts="_uuidd" diff --git a/srcpkgs/utox/template b/srcpkgs/utox/template index 39e0a28eb624..8bb66365933a 100644 --- a/srcpkgs/utox/template +++ b/srcpkgs/utox/template @@ -15,7 +15,6 @@ license="MIT" homepage="https://github.com/uTox/uTox/" distfiles="https://github.com/uTox/uTox/releases/download/v${version}/uTox-${version}-full.tar.gz" checksum=fc883483d86b1830674f3b08515daa27ae54ab47646c7edc48a067e8d1e8c114 -patch_args="-Np1" nocross=yes post_install() { diff --git a/srcpkgs/valgrind/template b/srcpkgs/valgrind/template index 6010f29ca56f..71f90795aa96 100644 --- a/srcpkgs/valgrind/template +++ b/srcpkgs/valgrind/template @@ -13,7 +13,6 @@ license="GPL-2.0-or-later" homepage="http://valgrind.org/" distfiles="https://sourceware.org/pub/${pkgname}/${pkgname}-${version}.tar.bz2" checksum=c91f3a2f7b02db0f3bc99479861656154d241d2fdb265614ba918cc6720a33ca -patch_args="-Np1" CFLAGS="-fno-stack-protector" CXXFLAGS="-fno-stack-protector" diff --git a/srcpkgs/viking/template b/srcpkgs/viking/template index 6f7a469c2042..b02ad7498482 100644 --- a/srcpkgs/viking/template +++ b/srcpkgs/viking/template @@ -17,7 +17,6 @@ license="GPL-2.0-or-later" homepage="https://sourceforge.net/projects/viking" distfiles="${SOURCEFORGE_SITE}/viking/viking-${version}.tar.bz2" checksum=855cbccd5f17ef0dc6d7e2d080a4b20383a079dfb882edd04dba602297030fa8 -patch_args="-Np1" CFLAGS="-fcommon" diff --git a/srcpkgs/vscode/template b/srcpkgs/vscode/template index 11b5f3eea411..9d225f9ea1cf 100644 --- a/srcpkgs/vscode/template +++ b/srcpkgs/vscode/template @@ -12,7 +12,6 @@ license="MIT" homepage="https://code.visualstudio.com/" distfiles="https://github.com/Microsoft/vscode/archive/${version}.tar.gz" checksum=36d3062740125ea4477ba671c53c27293660a1ae61d712d936af12c7f89ab17e -patch_args="-Np1" if [ "$XBPS_TARGET_WORDSIZE" = "32" ]; then broken="FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory" diff --git a/srcpkgs/vtk/template b/srcpkgs/vtk/template index edaf9dfc827a..4c1710087f83 100644 --- a/srcpkgs/vtk/template +++ b/srcpkgs/vtk/template @@ -24,7 +24,6 @@ license="BSD-3-Clause" homepage="https://www.vtk.org" distfiles="https://www.vtk.org/files/release/${version:0:3}/VTK-${version}.tar.gz" checksum=1b39a5e191c282861e7af4101eaa8585969a2de05f5646c9199a161213a622c7 -patch_args=-Np1 nocross="hdf5 is nocross" if [ "$XBPS_TARGET_LIBC" = "musl" ]; then diff --git a/srcpkgs/wayfire-plugins-extra/template b/srcpkgs/wayfire-plugins-extra/template index e53f0536c99c..71e8bddcf947 100644 --- a/srcpkgs/wayfire-plugins-extra/template +++ b/srcpkgs/wayfire-plugins-extra/template @@ -12,7 +12,6 @@ license="MIT" homepage="https://wayfire.org/" distfiles="https://github.com/WayfireWM/wayfire-plugins-extra/archive/v${version}.tar.gz" checksum=e6377e7f2cd6b0a19fe0a256c819f801ee1d963524ed4e4930b702474bc04287 -patch_args="-Np1" post_install() { vlicense LICENSE diff --git a/srcpkgs/webrtc-audio-processing/template b/srcpkgs/webrtc-audio-processing/template index e85bb18e1f68..30a420b28f57 100644 --- a/srcpkgs/webrtc-audio-processing/template +++ b/srcpkgs/webrtc-audio-processing/template @@ -10,7 +10,6 @@ license="BSD-3-Clause" homepage="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing" distfiles="${homepage}/${pkgname}-${version}.tar.xz" checksum=a0fdd938fd85272d67e81572c5a4d9e200a0c104753cb3c209ded175ce3c5dbf -patch_args="-p1" case "$XBPS_TARGET_MACHINE" in # Disable neon for the arm* architectures diff --git a/srcpkgs/whipper/template b/srcpkgs/whipper/template index 8826ee845ab9..f25ab359c284 100644 --- a/srcpkgs/whipper/template +++ b/srcpkgs/whipper/template @@ -15,7 +15,6 @@ homepage="https://github.com/whipper-team/whipper" distfiles="https://github.com/whipper-team/whipper/archive/v${version}.tar.gz" checksum=3caceeec7ca73c8b73147884b0f8eeacbe66af52900021b564118b88d23afbd2 -patch_args="-Np1" pre_build() { # Temporary workaround for https://github.com/whipper-team/whipper/issues/428 diff --git a/srcpkgs/wireplumber/template b/srcpkgs/wireplumber/template index cf138e7d9e8b..9c8d44ab18e7 100644 --- a/srcpkgs/wireplumber/template +++ b/srcpkgs/wireplumber/template @@ -14,7 +14,6 @@ license="MIT" homepage="https://pipewire.pages.freedesktop.org/wireplumber" distfiles="https://gitlab.freedesktop.org/pipewire/wireplumber/-/archive/$version/wireplumber-$version.tar.gz" checksum=980a10986fea1ca7ff7daad41f467028db494741235697d4a09767236947d047 -patch_args=-Np1 post_install() { vlicense LICENSE diff --git a/srcpkgs/wlsunset/template b/srcpkgs/wlsunset/template index 5ec0aa3d8c45..984ee8cbfc67 100644 --- a/srcpkgs/wlsunset/template +++ b/srcpkgs/wlsunset/template @@ -11,7 +11,6 @@ license="MIT" homepage="https://sr.ht/~kennylevinsen/wlsunset/" distfiles="https://git.sr.ht/~kennylevinsen/wlsunset/archive/${version}.tar.gz" checksum=88bce695722a09d79545f14d404cc0659f7176bb08d5db5f4f23228b6ba8bb03 -patch_args=-Np1 post_install() { vlicense LICENSE diff --git a/srcpkgs/wpa_supplicant/template b/srcpkgs/wpa_supplicant/template index 064fd6f71f5d..d5f2a277cca8 100644 --- a/srcpkgs/wpa_supplicant/template +++ b/srcpkgs/wpa_supplicant/template @@ -9,7 +9,6 @@ license="BSD-3-Clause" homepage="http://w1.fi/wpa_supplicant/" distfiles="http://w1.fi/releases/${pkgname}-${version}.tar.gz" checksum=fcbdee7b4a64bea8177973299c8c824419c413ec2e3a95db63dd6a5dc3541f17 -patch_args="-Np1" hostmakedepends="pkg-config" makedepends="libnl3-devel openssl-devel $(vopt_if dbus dbus-devel) $(vopt_if readline readline-devel)" diff --git a/srcpkgs/wrk/template b/srcpkgs/wrk/template index b2deb5e0ffb8..2e85b6a8a510 100644 --- a/srcpkgs/wrk/template +++ b/srcpkgs/wrk/template @@ -12,7 +12,6 @@ license="Apache-2.0" homepage="https://github.com/wg/wrk" distfiles="https://github.com/wg/wrk/archive/${version}.tar.gz" checksum=6fa1020494de8c337913fd139d7aa1acb9a020de6f7eb9190753aa4b1e74271e -patch_args="-Np1" case "$XBPS_TARGET_MACHINE" in ppc64*) ;; diff --git a/srcpkgs/x2goserver/template b/srcpkgs/x2goserver/template index 2774f84e960e..89fe76a4e8a1 100644 --- a/srcpkgs/x2goserver/template +++ b/srcpkgs/x2goserver/template @@ -19,7 +19,6 @@ checksum=6776aaa354f5a44e349f0b3c176d4988c88a618c2edf46c98a37ae89c069dcd0 system_groups="x2gouser" system_accounts="x2gouser" x2gouser_homedir="/var/lib/x2go" -patch_args="-Np1" conf_files=" /etc/x2go/desktopsharing/* /etc/x2go/x2gosql/* diff --git a/srcpkgs/xbps/template b/srcpkgs/xbps/template index c6af59bd635a..8f986d22f9f3 100644 --- a/srcpkgs/xbps/template +++ b/srcpkgs/xbps/template @@ -11,7 +11,6 @@ homepage="https://github.com/void-linux/xbps" changelog="https://github.com/void-linux/xbps/blob/master/NEWS" distfiles="https://github.com/void-linux/xbps/archive/${version}.tar.gz" checksum=0cbd8d5f23a62047c75974bca21da9f004a94efffd7f37c68562a8dbc869fb2a -patch_args=-Np1 hostmakedepends="pkgconf" checkdepends="kyua" diff --git a/srcpkgs/xdgmenumaker/template b/srcpkgs/xdgmenumaker/template index d79c6c0929a4..a71ccd9b3759 100644 --- a/srcpkgs/xdgmenumaker/template +++ b/srcpkgs/xdgmenumaker/template @@ -11,7 +11,6 @@ homepage="https://github.com/gapan/xdgmenumaker" distfiles="https://github.com/gapan/${pkgname}/archive/${version}.tar.gz" checksum=46192e7e4e25b024c0516d83e8fc2c503dd1ac8e5f8c1998d3e9e4b3cbf8919b python_version=3 -patch_args="-Np1" pre_install() { # Install pre-generated man page diff --git a/srcpkgs/xen/template b/srcpkgs/xen/template index 092460ea73e5..d916f29ac384 100644 --- a/srcpkgs/xen/template +++ b/srcpkgs/xen/template @@ -27,7 +27,6 @@ checksum="cf0d7316ad674491f49b7ef0518cb1d906a2e3bfad639deef0ef2343b119ac0c 4850691d6f196eaf4d6210f2de01383251b3ea1b928141da9ce28c0b06a90938" skip_extraction="${_git_tag_ipxe}.tar.gz" nopie=yes -patch_args='-Np1' ignore_elf_dirs="/usr/share/xen/qemu /usr/share/qemu-xen/qemu" nostrip_files=" hppa-firmware.img diff --git a/srcpkgs/xpdf/template b/srcpkgs/xpdf/template index 4f3c4f0ac66a..3c66f615f115 100644 --- a/srcpkgs/xpdf/template +++ b/srcpkgs/xpdf/template @@ -14,7 +14,6 @@ license="GPL-2.0-or-later, GPL-3.0-or-later" homepage="http://www.xpdfreader.com/" distfiles="https://dl.xpdfreader.com/xpdf-${version}.tar.gz" checksum=0fe4274374c330feaadcebb7bd7700cb91203e153b26aa95952f02bf130be846 -patch_args="-Np1" post_extract() { sed -i 's:/usr/share/fonts/type1/gsfonts:/usr/share/fonts/Type1:' xpdf/GlobalParams.cc diff --git a/srcpkgs/xzoom/template b/srcpkgs/xzoom/template index ea5accf37d78..fd5c19eb6bed 100644 --- a/srcpkgs/xzoom/template +++ b/srcpkgs/xzoom/template @@ -10,7 +10,6 @@ license="Custom" homepage="http://sunsite.unc.edu/pub/linux/libs/X/" distfiles="http://webdiis.unizar.es/pub/unix/X11/${pkgname}-${version}.tgz" checksum=b26bfd692d3e1d30e8d524d4018fc3f0fe847983a2778a4a2496784bfc2df44b -patch_args="-Np1" do_build() { CC=cc xmkmf diff --git a/srcpkgs/yaboot/template b/srcpkgs/yaboot/template index bab154d8c93d..8d2adf264b73 100644 --- a/srcpkgs/yaboot/template +++ b/srcpkgs/yaboot/template @@ -15,7 +15,6 @@ distfiles="https://cdimage.debian.org/cdimage/cd-sources/yaboot_${version}.orig. http://ftp.be.debian.org/pub/linux/kernel/people/tytso/e2fsprogs/e2fsprogs-${_e2fsprogs_ver}.tar.gz" checksum="2fb738d8fd48b94ab2534a4fdf63738ad02c1a30f4b2add91f837baff8fa2aa1 3f8ac1fedd7c4bec480afcbe4acabdd4ac59ec0446a0fd50c8975cd0aad7b176" -patch_args="-Np1" # Don't want stripped yaboot bits to leak into -dbg nostrip_files=yaboot diff --git a/srcpkgs/zeroc-mcpp/template b/srcpkgs/zeroc-mcpp/template index 497813ba0e04..db9b9cc8e12b 100644 --- a/srcpkgs/zeroc-mcpp/template +++ b/srcpkgs/zeroc-mcpp/template @@ -14,7 +14,6 @@ distfiles="https://github.com/zeroc-ice/mcpp/archive/v${version}.tar.gz" checksum=1a426cf2d513ffd66634384d5445dcce1aac83be1789a56044013eab8ca8ffff nostrip=yes conflicts=mcpp-devel -patch_args="-Np1" post_install() { vlicense LICENSE diff --git a/srcpkgs/zziplib/template b/srcpkgs/zziplib/template index 2026f3e4a521..ab5af234af62 100644 --- a/srcpkgs/zziplib/template +++ b/srcpkgs/zziplib/template @@ -12,7 +12,6 @@ homepage="https://github.com/gdraheim/zziplib" changelog="https://raw.githubusercontent.com/gdraheim/zziplib/master/ChangeLog" distfiles="https://github.com/gdraheim/zziplib/archive/v${version}.tar.gz" checksum=93ef44bf1f1ea24fc66080426a469df82fa631d13ca3b2e4abaeab89538518dc -patch_args=-Np1 if [ "$CROSS_BUILD" ]; then configure_args+=" -DZZIPTEST=OFF"