c6ce65d3d0
```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
389 B
Diff
11 lines
389 B
Diff
--- a/backend/src/backend/gen/gen_mesa_disasm.c
|
|
+++ b/backend/src/backend/gen/gen_mesa_disasm.c
|
|
@@ -1137,7 +1137,7 @@ static uint32_t __conv_half_to_float(uint16_t h)
|
|
// Adjust mantissa so it's normalized (and keep
|
|
// track of exponent adjustment)
|
|
int e = -1;
|
|
- uint m = i.mantissa;
|
|
+ unsigned int m = i.mantissa;
|
|
do {
|
|
e++;
|
|
m <<= 1;
|