diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-10-30 10:39:29 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2012-10-30 10:39:29 +0000 |
commit | b7377280b1fee1aebc365cbe7470b7a0264124bd (patch) | |
tree | 51655895f32d4a185dd33bcd3bbfa827f534e74a /net-im/hotot/files | |
parent | 1f0745998bf7dafdaf62ed3baa6a17994e7e136d (diff) | |
download | ports-b7377280b1fee1aebc365cbe7470b7a0264124bd.tar.gz ports-b7377280b1fee1aebc365cbe7470b7a0264124bd.zip |
Notes
Diffstat (limited to 'net-im/hotot/files')
-rw-r--r-- | net-im/hotot/files/patch-hotot_hotot.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-im/hotot/files/patch-hotot_hotot.py b/net-im/hotot/files/patch-hotot_hotot.py new file mode 100644 index 000000000000..25ef1980a92f --- /dev/null +++ b/net-im/hotot/files/patch-hotot_hotot.py @@ -0,0 +1,18 @@ +--- hotot/hotot.py.orig ++++ hotot/hotot.py +@@ -377,12 +377,10 @@ + config.loads(); + try: + import ctypes +- libc = ctypes.CDLL('libc.so.6') +- libc.prctl(15, 'hotot', 0, 0, 0) ++ libc = ctypes.CDLL(os.path.join('/usr/lib', 'libc.so')) ++ libc.setproctitle('hotot') + except: +- import dl +- libc = dl.open('/lib/libc.so.6') +- libc.call('prctl', 15, 'hotot', 0, 0, 0) ++ pass + + agent.init_notify() + app = Hotot() |