freebsd-ports/deskutils/x-tile/files/patch-x-tile
Chris Rees b2ec368491 PR: ports/159605
Submitted by:	Pedro Garcia Freitas <sawp@sawp.com.br> (maintainer), Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-08-31 11:43:08 +00:00

15 lines
465 B
Text

$FreeBSD$
Fix ctypes warning, by Ruslan Mahmatkhanov <cvs-src@yandex.ru>
--- x-tile.orig 2011-07-04 01:41:29.000000000 +0400
+++ x-tile 2011-08-22 20:20:30.000000000 +0400
@@ -56,7 +56,7 @@
try:
libc = ctypes.cdll.LoadLibrary(ctypes.util.find_library("libc"))
libc.prctl(15, cons.APP_NAME, 0, 0, 0)
-except: print "libc.prctl not available, the process name will be python and not x-tile"
+except: pass
# icons generation
factory = gtk.IconFactory()