summaryrefslogtreecommitdiff
path: root/sys-fs/gt5/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-fs/gt5/files
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-fs/gt5/files')
-rw-r--r--sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch9
-rw-r--r--sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch11
2 files changed, 20 insertions, 0 deletions
diff --git a/sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch b/sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch
new file mode 100644
index 000000000000..d28d9f6c1eed
--- /dev/null
+++ b/sys-fs/gt5/files/gt5-1.4.0-bash-shabang.patch
@@ -0,0 +1,9 @@
+diff -ru gt5-1.4.0.orig/gt5 gt5-1.4.0/gt5
+--- gt5-1.4.0.orig/gt5 2007-09-17 00:29:48.685233203 +0200
++++ gt5-1.4.0/gt5 2007-09-17 00:29:55.684165472 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/sh
++#!/bin/bash
+ version=1.4.0
+
+ #HTML-colours: ---------------------------------------------------------------
diff --git a/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch
new file mode 100644
index 000000000000..4aab4d0ab840
--- /dev/null
+++ b/sys-fs/gt5/files/gt5-1.4.0-empty-dirs.patch
@@ -0,0 +1,11 @@
+--- /usr/bin/gt5.old 2011-01-10 23:01:29.778000092 +0100
++++ /usr/bin/gt5 2011-01-10 23:01:16.577000089 +0100
+@@ -261,7 +261,7 @@
+
+ #can du handle depths?
+ DEPTH="$(du --help 2>&1 | "$AWK" '
+- /depth/{sub(/^[^-]*/,""); sub(/[N ].*/,""); print; exit}
++ /depth/{sub(/^[^-]*/,""); sub(/,[N ].*/,""); print; exit}
+ ')$((MAX_DEPTH+1))"
+
+ {