103ab731ab
* runit 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 ```
22 lines
681 B
Diff
22 lines
681 B
Diff
From 4ba15fa7a1607ad79b93a43be9a66957988bcec9 Mon Sep 17 00:00:00 2001
|
|
From: Brett Mandler <brettmandler@gmail.com>
|
|
Date: Fri, 11 May 2018 18:55:16 -0400
|
|
Subject: [PATCH] Fixed invalid pointer error
|
|
|
|
---
|
|
ruler.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/ruler.c b/ruler.c
|
|
index aa1eef1..06b3256 100644
|
|
--- a/ruler.c
|
|
+++ b/ruler.c
|
|
@@ -901,7 +901,6 @@ reload_config(void)
|
|
if (parse_file(xdg_cfg_path) == 1 && no_of_configs == 0)
|
|
errx(1, "couldn't open config file '%s' (%s). No other config files supplied, exiting", xdg_cfg_path, strerror(errno));
|
|
free(xdg_cfg_path);
|
|
- free(xdg_home);
|
|
|
|
for (i = 0; i < no_of_configs; i++) {
|
|
if (parse_file(configs[i]) != 0)
|
|
|