ec4c2d75fa
```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 ```
24 lines
561 B
Diff
24 lines
561 B
Diff
From: =?utf-8?q?Ond=C5=99ej_Sur=C3=BD?= <ondrej@sury.org>
|
|
Date: Tue, 17 Nov 2015 16:27:11 +0100
|
|
Subject: Enable debugging symbols in the build
|
|
|
|
---
|
|
src/Makefile | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git src/Makefile src/Makefile
|
|
index 8a38efd..6b73a89 100644
|
|
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -54,9 +54,9 @@ CCOPT_arm64=
|
|
CCOPT_ppc=
|
|
CCOPT_mips=
|
|
#
|
|
-CCDEBUG=
|
|
+#CCDEBUG=
|
|
# Uncomment the next line to generate debug information:
|
|
-#CCDEBUG= -g
|
|
+CCDEBUG= -g
|
|
#
|
|
CCWARN= -Wall
|
|
# Uncomment the next line to enable more warnings:
|