* gcc is kept at -Np0, because of void-cross ```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
415 B
Diff
20 lines
415 B
Diff
--- a/gdk/gdkglshapes.c 2004-02-20 10:38:12.000000000 +0100
|
|
+++ b/gdk/gdkglshapes.c 2018-05-11 00:46:24.461433041 +0200
|
|
@@ -544,7 +544,7 @@
|
|
{-Z, -X, 0}
|
|
};
|
|
|
|
-static int index[20][3] =
|
|
+static int iindex[20][3] =
|
|
{
|
|
{0, 4, 1},
|
|
{0, 9, 4},
|
|
@@ -574,7 +574,7 @@
|
|
int i;
|
|
|
|
for (i = 19; i >= 0; i--) {
|
|
- drawtriangle(i, idata, index, shadeType);
|
|
+ drawtriangle(i, idata, iindex, shadeType);
|
|
}
|
|
}
|
|
|