diff options
Diffstat (limited to 'net-im/turpial/files/patch-turpial__ui__util.py')
-rw-r--r-- | net-im/turpial/files/patch-turpial__ui__util.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/net-im/turpial/files/patch-turpial__ui__util.py b/net-im/turpial/files/patch-turpial__ui__util.py deleted file mode 100644 index 5b3d22ae7f59..000000000000 --- a/net-im/turpial/files/patch-turpial__ui__util.py +++ /dev/null @@ -1,18 +0,0 @@ ---- ./turpial/ui/util.py.orig 2013-12-19 01:59:58.000000000 +0000 -+++ ./turpial/ui/util.py 2014-02-22 11:49:20.000000000 +0000 -@@ -8,10 +8,14 @@ - - try: - # TODO: Implement this function for other platforms -+ import ctypes - if detect_os() == OS_LINUX: -- import ctypes - libc = ctypes.CDLL('libc.so.6') - libc.prctl(15, 'turpial', 0, 0) -+ elif detect_os() == OS_FREEBSD or detect_os() == OS_DFLY: -+ import ctypes.util -+ libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c')) -+ libc.setproctitle('turpial') - except ImportError, exc: - print exc - |