aboutsummaryrefslogtreecommitdiff
path: root/multimedia/xbmc/files/patch-xbmc__interfaces__python__XBPython.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/xbmc/files/patch-xbmc__interfaces__python__XBPython.cpp')
-rw-r--r--multimedia/xbmc/files/patch-xbmc__interfaces__python__XBPython.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/xbmc/files/patch-xbmc__interfaces__python__XBPython.cpp b/multimedia/xbmc/files/patch-xbmc__interfaces__python__XBPython.cpp
new file mode 100644
index 000000000000..bdab987b5d80
--- /dev/null
+++ b/multimedia/xbmc/files/patch-xbmc__interfaces__python__XBPython.cpp
@@ -0,0 +1,11 @@
+--- ./xbmc/interfaces/python/XBPython.cpp.orig 2011-12-23 04:12:21.000000000 +0100
++++ ./xbmc/interfaces/python/XBPython.cpp 2012-01-02 10:14:38.000000000 +0100
+@@ -428,7 +428,7 @@
+ #if !(defined(__APPLE__) || defined(_WIN32))
+ DllLoaderContainer::UnloadPythonDlls();
+ #endif
+-#if defined(_LINUX) && !defined(__APPLE__)
++#if defined(_LINUX) && !defined(__APPLE__) && !defined(__FreeBSD__)
+ // we can't release it on windows, as this is done in UnloadPythonDlls() for win32 (see above).
+ // The implementation for linux needs looking at - UnloadPythonDlls() currently only searches for "python24.dll"
+ // The implementation for osx can never unload the python dylib.