mirror of
https://github.com/void-linux/void-packages.git
synced 2025-10-03 17:15:14 +02:00
```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 ```
11 lines
322 B
Diff
11 lines
322 B
Diff
--- a/sources/tools/gcc/config/msp430/msp430.c
|
|
+++ b/sources/tools/gcc/config/msp430/msp430.c
|
|
@@ -2209,7 +2209,7 @@
|
|
}
|
|
const_shift_helpers[] =
|
|
{
|
|
-#define CSH(N,C,X,G) { "__mspabi_"N, C, X, gen_##G }
|
|
+#define CSH(N,C,X,G) { "__mspabi_" N, C, X, gen_##G }
|
|
|
|
CSH ("slli", 1, 1, slli_1),
|
|
CSH ("slll", 1, 1, slll_1),
|