ae69000001
* arduino and antiword 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 ```
27 lines
744 B
Diff
27 lines
744 B
Diff
From e5654a5591884b92633c7785f325626711e7f7aa Mon Sep 17 00:00:00 2001
|
|
From: Paul Eggert <eggert@cs.ucla.edu>
|
|
Date: Tue, 29 Jan 2013 13:46:48 -0800
|
|
Subject: [PATCH] autoscan: port to perl 5.17
|
|
|
|
* bin/autoscan.in (scan_sh_file): Escape '{'. This avoids a
|
|
feature that is deprecated in Perl 5.17. Reported by Ray Lauff in
|
|
<http://lists.gnu.org/archive/html/bug-autoconf/2013-01/msg00059.html>.
|
|
---
|
|
bin/autoscan.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/bin/autoscan.in
|
|
+++ b/bin/autoscan.in
|
|
@@ -358,7 +358,7 @@ sub scan_sh_file ($)
|
|
{
|
|
# Strip out comments and variable references.
|
|
s/#.*//;
|
|
- s/\${[^\}]*}//g;
|
|
+ s/\$\{[^\}]*}//g;
|
|
s/@[^@]*@//g;
|
|
|
|
# Tokens in the code.
|
|
--
|
|
2.1.0
|
|
|
|
|