ports/120275: [PATCH] games/pathological: won't start

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue Feb 5 01:30:03 UTC 2008


>Number:         120275
>Category:       ports
>Synopsis:       [PATCH] games/pathological: won't start
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 05 01:30:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RC1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RC1 FreeBSD 7.0-RC1 #0: Sat Jan 5 03:26:52 MSK 2008 root at hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
pathological won't start:

% pathological 
  File "/usr/local/share/pathological/pathological.py", line 1850
SyntaxError: Non-ASCII character '\xa9' in file /usr/local/share/pathological/pathological.py on line 1850, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
%

most probably, it became broken with newer python (2.4 or 2.5).

The patch attached fixes the problem (also sent to upstream).

While here, make use of SF macro and correct redundancy in COMMENT.

>How-To-Repeat:
>Fix:

--- pathological.patch begins here ---
diff -ruN pathological.orig/Makefile pathological/Makefile
--- pathological.orig/Makefile	2008-02-05 04:09:20.000000000 +0300
+++ pathological/Makefile	2008-02-05 04:11:42.000000000 +0300
@@ -7,13 +7,12 @@
 
 PORTNAME=	pathological
 PORTVERSION=	1.1.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	games
-MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+MASTER_SITES=	SF
 
 MAINTAINER=	janos.mohacsi at bsd.hu
-COMMENT=	Pathological is an enriched clone of the game "Logical"
+COMMENT=	Enriched clone of the game "Logical"
 
 RUN_DEPENDS=	${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game
 
diff -ruN pathological.orig/files/patch-pathological.py pathological/files/patch-pathological.py
--- pathological.orig/files/patch-pathological.py	1970-01-01 03:00:00.000000000 +0300
+++ pathological/files/patch-pathological.py	2008-02-05 04:10:05.000000000 +0300
@@ -0,0 +1,11 @@
+--- pathological.py.orig	2003-07-17 18:12:30.000000000 +0400
++++ pathological.py	2008-02-05 04:09:49.000000000 +0300
+@@ -1847,7 +1847,7 @@
+ 	scroller_font_height = 28
+ 	scroller_rect = (10,550,780,scroller_font_height)
+ 	scroller_text = \
+-		"   Copyright © 2003  John-Paul Gignac.   "+ \
++		"   Copyright (C) 2003  John-Paul Gignac.   "+ \
+ 		"   Soundtrack by Matthias Le Bidan.   "+ \
+ 		"   Board designs contributed by Mike Brenneman and Kim Gignac.   "+ \
+ 		"   To contribute your own board designs, see the website:  "+ \
--- pathological.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list