void-packages/srcpkgs/ardour/patches/6.0-fix-runtime.patch
Đoàn Trần Công Danh ae69000001 srcpkgs/a*: convert patches to -Np1
* arduino and antiword is kept at -Np0

```sh

git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
2021-06-20 13:17:29 +07:00

11 lines
433 B
Diff

--- a/libs/pbd/pbd/pthread_utils.h 2020-09-18 22:30:18.353441907 +0700
+++ b/libs/pbd/pbd/pthread_utils.h 2020-09-18 22:37:07.059363532 +0700
@@ -49,7 +49,7 @@
#include "pbd/signals.h"
#define PBD_RT_STACKSIZE_PROC 0x80000 // 512kB
-#define PBD_RT_STACKSIZE_HELP 0x08000 // 32kB
+#define PBD_RT_STACKSIZE_HELP PBD_RT_STACKSIZE_PROC // 512kB
/* these are relative to sched_get_priority_max()
* see pbd_absolute_rt_priority()