freebsd-ports/multimedia/tvheadend/files/patch-src__trap.c
Bernhard Froehlich 5ceeed9a13 - Add ffmpeg/libav support
- Add libdvbcsa support
- Convert LIB_DEPENDS to new shlib format
- Cleanup CONFIGURE_ENV/CFLAGS/LDFLAGS
- The tvheadend port is mature enough so remove the warnings in pkg-message
- Bump PORTREVISION
2013-09-08 15:03:15 +00:00

18 lines
405 B
C

--- src/trap.c.orig 2013-07-26 18:17:22.000000000 +0200
+++ src/trap.c 2013-09-01 16:07:04.247691694 +0200
@@ -33,6 +33,7 @@
#include <limits.h>
#if ENABLE_EXECINFO
#include <execinfo.h>
+#include <dlfcn.h>
#endif
#include <stdio.h>
#include <stdarg.h>
@@ -47,6 +48,7 @@
#define MAXFRAMES 100
+extern char **environ;
static char line1[200];
static char tmpbuf[1024];
static char libs[1024];