3353bf4722
```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 ```
33 lines
860 B
Diff
33 lines
860 B
Diff
From Arch.
|
|
|
|
--- a/linux.cf 2006-03-04 18:40:43.000000000 +0000
|
|
+++ b/linux.cf 2006-03-04 18:41:48.000000000 +0000
|
|
@@ -193,6 +193,13 @@
|
|
#define FSUseSyslog YES
|
|
#endif
|
|
|
|
+#define FSUseSyslog YES
|
|
+#define BuildRman NO
|
|
+#define BuildHtmlManPages NO
|
|
+#define ProjectRoot /usr
|
|
+#define ManPath /usr/share/man
|
|
+#define XAppLoadDir /usr/share/X11/app-defaults
|
|
+
|
|
#ifndef HasDevRandom
|
|
# define HasDevRandom YES
|
|
# ifndef RandomDeviceName
|
|
--- a/X11.tmpl 2006-07-15 10:45:23.000000000 +0000
|
|
+++ b/X11.tmpl 2006-07-15 10:46:19.000000000 +0000
|
|
@@ -1502,10 +1502,10 @@
|
|
#define DocPdfDir $(DOCDIR)/PDF
|
|
#endif
|
|
#ifndef FontDir
|
|
-#define FontDir $(LIBDIR)/fonts
|
|
+#define FontDir /usr/share/fonts
|
|
#endif
|
|
#ifndef FontEncDir
|
|
-#define FontEncDir $(LIBDIR)/fonts/encodings
|
|
+#define FontEncDir /usr/share/fonts/encodings
|
|
#endif
|
|
#ifndef AdmDir
|
|
#define AdmDir /usr/adm
|