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 ```
21 lines
441 B
Diff
21 lines
441 B
Diff
--- a/rixc.h
|
|
+++ b/rixc.h
|
|
@@ -15,6 +15,7 @@
|
|
|
|
void defineRSLSymbols(Object *);
|
|
|
|
+Object *directive(char *key, char *value);
|
|
Object *findByName(char *name);
|
|
Object *findFunctionByFullName(char *name);
|
|
|
|
--- a/rix.l
|
|
+++ b/rix.l
|
|
@@ -5,7 +5,7 @@
|
|
#include "ObjectTree.h"
|
|
#include "rix.tab.h" /* Generated by bison. */
|
|
#include "rixc.h"
|
|
-#include "error.h"
|
|
+#include "errors.h"
|
|
|
|
#define INSERT_BUFF_LEN 1024
|
|
#define INDENT_STACK_MAX 512
|