65749575ab
```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 ```
18 lines
482 B
Diff
18 lines
482 B
Diff
--- a/vapi/libmarkdown.vapi 2020-11-21 13:32:35.540125253 +0700
|
|
+++ b/vapi/libmarkdown.vapi 2020-11-21 13:40:04.961780640 +0700
|
|
@@ -41,7 +41,7 @@
|
|
public void initialize ();
|
|
public void with_html5_tags ();
|
|
public void shlib_destructor ();
|
|
- public char markdown_version[];
|
|
+ public string markdown_version;
|
|
|
|
[Compact]
|
|
[CCode (cname = "MMIOT", cprefix = "mkd_", free_function = "mkd_cleanup")]
|
|
@@ -125,4 +125,4 @@
|
|
NOSTYLE,
|
|
EMBED
|
|
}
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|