mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
new package:
- strace for better debugging
This commit is contained in:
parent
05a29d5833
commit
910460f198
10
packages/debug/strace/build
Normal file
10
packages/debug/strace/build
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
$SCRIPTS/build toolchain
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME
|
||||
make
|
6
packages/debug/strace/install
Normal file
6
packages/debug/strace/install
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
. config/options
|
||||
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp $PKG_BUILD/strace $INSTALL/usr/bin
|
13
packages/debug/strace/patches/10_ctl-proc-removal.diff
Normal file
13
packages/debug/strace/patches/10_ctl-proc-removal.diff
Normal file
@ -0,0 +1,13 @@
|
||||
CTL_PROC was removed in linux 2.6.18
|
||||
|
||||
diff -Nur strace-4.5.12.orig/system.c strace-4.5.12/system.c
|
||||
--- strace-4.5.12.orig/system.c Wed Jun 1 22:22:06 2005
|
||||
+++ strace-4.5.12/system.c Sat Sep 23 11:18:04 2006
|
||||
@@ -1572,7 +1572,6 @@
|
||||
{ CTL_KERN, "CTL_KERN" },
|
||||
{ CTL_VM, "CTL_VM" },
|
||||
{ CTL_NET, "CTL_NET" },
|
||||
- { CTL_PROC, "CTL_PROC" },
|
||||
{ CTL_FS, "CTL_FS" },
|
||||
{ CTL_DEBUG, "CTL_DEBUG" },
|
||||
{ CTL_DEV, "CTL_DEV" },
|
1
packages/debug/strace/url
Normal file
1
packages/debug/strace/url
Normal file
@ -0,0 +1 @@
|
||||
http://prdownloads.sourceforge.net/strace/strace-4.5.18.tar.bz2
|
Loading…
x
Reference in New Issue
Block a user