* par is kept at -Np0 ```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 ```
26 lines
737 B
Diff
26 lines
737 B
Diff
Description: Use python3 print()
|
|
Author: Phil Wyett <philip.wyett@kathenas.org>
|
|
Last-Update: 2019-12-29
|
|
Bug-Debian: https://bugs.debian.org/947574
|
|
|
|
Index: pingus/SConscript
|
|
===================================================================
|
|
--- a/SConscript
|
|
+++ b/SConscript
|
|
@@ -126,12 +126,12 @@ class Project:
|
|
def configure_end(self):
|
|
self.env = self.conf.Finish()
|
|
|
|
- print "Reports:"
|
|
- print self.reports
|
|
+ print ("Reports:")
|
|
+ print (self.reports)
|
|
|
|
if not self.fatal_error == "":
|
|
- print "Fatal Errors:"
|
|
- print self.fatal_error
|
|
+ print ("Fatal Errors:")
|
|
+ print (self.fatal_error)
|
|
Exit(1)
|
|
|
|
def configure_gxx(self):
|