1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/deskutils/ontv/files/patch-bin_ontv
Koop Mast 185fcb8158 Update to 3.2.0.
Add LICENSE keywords.
Restrict python versions that work.
Update WWW.

PR:		ports/160485
Submitted by:	Ruslan Mahmatkhanov <cvs-src@yandex.ru>
2011-11-03 08:54:53 +00:00

20 lines
589 B
Plaintext

--- bin/ontv.orig 2010-08-04 22:26:46.000000000 +0400
+++ bin/ontv 2011-08-19 15:22:32.000000000 +0400
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2010 Olof Kindgren <olki@src.gnome.org>
@@ -34,8 +34,8 @@
from optparse import OptionParser
import locale
-locale.setlocale(locale.LC_ALL, '')
-locale.bindtextdomain(NAME.lower(), LOCALE_DIR)
+#locale.setlocale(locale.LC_ALL, '')
+#locale.bindtextdomain(NAME.lower(), LOCALE_DIR)
import gettext
gettext.bindtextdomain(NAME.lower(), LOCALE_DIR)
gettext.textdomain(NAME.lower())