3353bf4722
```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 ```
20 lines
429 B
Diff
20 lines
429 B
Diff
This macro cannot be normally defined in cross.
|
|
|
|
--- a/src/fbdev.c 2019-04-30 17:41:01.660203681 +0200
|
|
+++ b/src/fbdev.c 2019-04-30 17:41:07.756263574 +0200
|
|
@@ -1010,7 +1010,6 @@
|
|
fPtr->CloseScreen = pScreen->CloseScreen;
|
|
pScreen->CloseScreen = FBDevCloseScreen;
|
|
|
|
-#if XV
|
|
{
|
|
XF86VideoAdaptorPtr *ptr;
|
|
|
|
@@ -1019,7 +1018,6 @@
|
|
xf86XVScreenInit(pScreen,ptr,n);
|
|
}
|
|
}
|
|
-#endif
|
|
|
|
TRACE_EXIT("FBDevScreenInit");
|
|
|