df4439a7f0
is a free and open source cross-platform media-player and entertainment hub. This is a tagged release of the XBMC pvr-ppa-odk branch that adds PVR functionality using tvheadend (not ported to FreeBSD yet but can be used over the network), MythTV (currently broken), or VDR (via external plugins), and is located at: https://github.com/opdenkamp/xbmc WWW: http://xbmc.org/
12 lines
372 B
C
12 lines
372 B
C
--- lib/cximage-6.0/raw/dcr.c.orig
|
|
+++ lib/cximage-6.0/raw/dcr.c
|
|
@@ -144,7 +144,9 @@ int DCR_CLASS main (int argc, char **arg
|
|
|
|
//!!! set return point for error handling
|
|
if (setjmp (dcr.failure)) {
|
|
+#if !defined(__FreeBSD__)
|
|
if (fileno(dcr.obj_) > 2) (*dcr.ops_->close_)(dcr.obj_);
|
|
+#endif
|
|
if (fileno(ofp) > 2) fclose(ofp);
|
|
status = 1;
|
|
goto cleanup;
|