florian fa989adc11 multimedia/tvheadend: new package
Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2,
DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.

Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@34486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-04 16:20:54 +00:00

31 lines
771 B
Diff

diff -urN tvheadend-3.2-orig/src/trap.c tvheadend-3.2/src/trap.c
--- tvheadend-3.2-orig/src/trap.c 2012-10-24 21:01:34.254818786 +0400
+++ tvheadend-3.2/src/trap.c 2012-10-24 21:05:09.122437531 +0400
@@ -67,6 +67,7 @@
/**
*
*/
+#if ENABLE_EXECINFO
static int
add2lineresolve(const char *binary, void *addr, char *buf0, size_t buflen)
{
@@ -126,6 +127,7 @@
close(fd[0]);
return 0;
}
+#endif /* ENABLE_EXECINFO */
@@ -133,8 +135,8 @@
traphandler(int sig, siginfo_t *si, void *UC)
{
ucontext_t *uc = UC;
- char buf[200];
#if ENABLE_EXECINFO
+ char buf[200];
static void *frames[MAXFRAMES];
int nframes = backtrace(frames, MAXFRAMES);
Dl_info dli;
Binary files tvheadend-3.2-orig/src/.trap.c.swp and tvheadend-3.2/src/.trap.c.swp differ