aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bobcat/avoid-gnuisms.patch
diff options
context:
space:
mode:
authorShiz <hi@shiz.me>2017-05-06 02:52:37 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-05-06 14:56:13 +0200
commit31f4e002d0f23414ec8d19a8f8656d2de01bbc20 (patch)
tree4dfce9491e6c99c91d667971eaebc9963e9bc39e /testing/bobcat/avoid-gnuisms.patch
parentc01724f27449aabc93e5231f10bcba5a7e9b06f2 (diff)
downloadaports-31f4e002d0f23414ec8d19a8f8656d2de01bbc20.tar.bz2
aports-31f4e002d0f23414ec8d19a8f8656d2de01bbc20.tar.xz
testing/bobcat: new aport
https://fbb-git.github.io/bobcat/ library of C++ classes and templates handling child processes, streams/sockets, shared memory, config files, etc.
Diffstat (limited to 'testing/bobcat/avoid-gnuisms.patch')
-rw-r--r--testing/bobcat/avoid-gnuisms.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/bobcat/avoid-gnuisms.patch b/testing/bobcat/avoid-gnuisms.patch
new file mode 100644
index 0000000000..92eb4ef7d4
--- /dev/null
+++ b/testing/bobcat/avoid-gnuisms.patch
@@ -0,0 +1,30 @@
+--- a/icmake/installer
++++ b/icmake/installer
+@@ -5,13 +5,13 @@
+ exit 0
+ fi
+
+-for src in `find -mindepth 1 -type d` # create missing target dirs
++for src in `find . -mindepth 1 -type d` # create missing target dirs
+ do
+ [ ! -e $1$src ] && mkdir -p $1$src
+ done
+
+-for file in `find -type f -or -type l`
++for file in `find . -type f -or -type l`
+ do
+- cp -d --preserve=timestamps $file $1$file
++ cp -H $file $1$file
+ done
+
+--- a/icmake/findall
++++ b/icmake/findall
+@@ -15,7 +15,7 @@
+ if (pattern != "")
+ pattern = "-name '" + pattern + "'";
+
+- entries = backtick(cmd + " " + pattern + " -printf \"%f\\n\"");
++ entries = backtick(cmd + " " + pattern + " -exec basename {} \\;");
+
+ for (idx = listlen(entries); idx--; )
+ ret += (list)cutEoln(entries[idx]);