summaryrefslogtreecommitdiff
path: root/package/kodi/patches/patch-tools_Linux_kodi_sh_in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2014-12-10 18:09:59 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2014-12-10 18:09:59 +0100
commitdaa3380b867d91e1f20abf3ba6697e46966060ac (patch)
tree98a4bf1a82e8955d5d2ebaad3b6096272db547fa /package/kodi/patches/patch-tools_Linux_kodi_sh_in
parent79f366c144db32e623a8280d3d9472df2a25a9ca (diff)
parent86bcc78d0d03a84b4de26db90603f7d66e6c3d2e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/kodi/patches/patch-tools_Linux_kodi_sh_in')
-rw-r--r--package/kodi/patches/patch-tools_Linux_kodi_sh_in39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/kodi/patches/patch-tools_Linux_kodi_sh_in b/package/kodi/patches/patch-tools_Linux_kodi_sh_in
new file mode 100644
index 000000000..2d0e188d1
--- /dev/null
+++ b/package/kodi/patches/patch-tools_Linux_kodi_sh_in
@@ -0,0 +1,39 @@
+--- kodi-14.0rc2.orig/tools/Linux/kodi.sh.in 2014-12-05 19:38:43.000000000 -0600
++++ kodi-14.0rc2/tools/Linux/kodi.sh.in 2014-12-07 08:33:01.128418001 -0600
+@@ -86,15 +86,7 @@ print_crash_report()
+ echo -n " Kernel: " >> $FILE
+ uname -rvs >> $FILE
+ echo -n " Release: " >> $FILE
+- if [ -f /etc/os-release ]; then
+- . /etc/os-release
+- echo $NAME $VERSION >> $FILE
+- elif command_exists lsb_release; then
+- echo >> $FILE
+- lsb_release -a 2> /dev/null | sed -e 's/^/ /' >> $FILE
+- else
+- echo "lsb_release not available" >> $FILE
+- fi
++ echo OpenADK >> $FILE
+ echo "############## END SYSTEM INFO ##############" >> $FILE
+ echo >> $FILE
+ echo "############### STACK TRACE #################" >> $FILE
+@@ -138,19 +130,6 @@ print_crash_report()
+ }
+
+ migrate_home
+-python @datadir@/${bin_name}/FEH.py $SAVED_ARGS
+-RET=$?
+-if [ $RET -ne 0 ]; then
+- exit $RET
+-fi
+-
+-if command_exists gdb; then
+- # Output warning in case ulimit is unsupported by shell
+- eval ulimit -c unlimited
+- if [ ! $? = "0" ]; then
+- echo "${bin_name}: ulimit is unsupported by this shell" 1>&2
+- fi
+-fi
+
+ LOOP=1
+ while [ $(( $LOOP )) = "1" ]