4b97cd2fb4
```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 ```
70 lines
1.6 KiB
Diff
70 lines
1.6 KiB
Diff
--- a/masterdir/builddir/stack-2.5.1/stack.cabal 2020-10-17 17:19:10.724179166 +0200
|
|
+++ b/stack.cabal 2020-10-17 17:18:03.803498792 +0200
|
|
@@ -234,6 +234,7 @@
|
|
, base >=4.10 && <5
|
|
, base64-bytestring
|
|
, bytestring
|
|
+ , base16-bytestring == 0.1.1.7
|
|
, casa-client
|
|
, casa-types
|
|
, colour
|
|
@@ -272,7 +273,7 @@
|
|
, neat-interpolation
|
|
, network-uri
|
|
, open-browser
|
|
- , optparse-applicative
|
|
+ , optparse-applicative == 0.15.1.0
|
|
, pantry >=0.5.1.3
|
|
, path
|
|
, path-io
|
|
@@ -359,6 +360,7 @@
|
|
, base >=4.10 && <5
|
|
, base64-bytestring
|
|
, bytestring
|
|
+ , base16-bytestring == 0.1.1.7
|
|
, casa-client
|
|
, casa-types
|
|
, colour
|
|
@@ -396,7 +398,7 @@
|
|
, neat-interpolation
|
|
, network-uri
|
|
, open-browser
|
|
- , optparse-applicative
|
|
+ , optparse-applicative == 0.15.1.0
|
|
, pantry >=0.5.1.3
|
|
, path
|
|
, path-io
|
|
@@ -480,6 +482,7 @@
|
|
, base >=4.10 && <5
|
|
, base64-bytestring
|
|
, bytestring
|
|
+ , base16-bytestring == 0.1.1.7
|
|
, casa-client
|
|
, casa-types
|
|
, colour
|
|
@@ -518,7 +521,7 @@
|
|
, neat-interpolation
|
|
, network-uri
|
|
, open-browser
|
|
- , optparse-applicative
|
|
+ , optparse-applicative == 0.15.1.0
|
|
, optparse-generic
|
|
, pantry >=0.5.1.3
|
|
, path
|
|
@@ -609,6 +612,7 @@
|
|
, base >=4.10 && <5
|
|
, base64-bytestring
|
|
, bytestring
|
|
+ , base16-bytestring == 0.1.1.7
|
|
, casa-client
|
|
, casa-types
|
|
, colour
|
|
@@ -647,7 +651,7 @@
|
|
, neat-interpolation
|
|
, network-uri
|
|
, open-browser
|
|
- , optparse-applicative
|
|
+ , optparse-applicative == 0.15.1.0
|
|
, pantry >=0.5.1.3
|
|
, path
|
|
, path-io
|