ports/79201: Update port: audio/streamtuner (fix Python plugin crash)
Jean-Yves Lefort
jylefort at brutele.be
Thu Mar 24 15:30:03 UTC 2005
>Number: 79201
>Category: ports
>Synopsis: Update port: audio/streamtuner (fix Python plugin crash)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 24 15:30:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Jean-Yves Lefort
>Release: FreeBSD 5.3-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Mon Feb 14 18:06:40 CET 2005 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/audio/streamtuner/Makefile streamtuner/Makefile
--- /usr/ports/audio/streamtuner/Makefile Mon Mar 14 00:13:05 2005
+++ streamtuner/Makefile Thu Mar 24 15:55:39 2005
@@ -7,7 +7,7 @@
PORTNAME= streamtuner
PORTVERSION= 0.99.99
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio www
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff -ruN /usr/ports/audio/streamtuner/files/patch-src::plugins::python::pst-main.c streamtuner/files/patch-src::plugins::python::pst-main.c
--- /usr/ports/audio/streamtuner/files/patch-src::plugins::python::pst-main.c Thu Jan 1 01:00:00 1970
+++ streamtuner/files/patch-src::plugins::python::pst-main.c Thu Mar 24 15:55:59 2005
@@ -0,0 +1,18 @@
+--- src/plugins/python/pst-main.c.orig Thu Mar 24 15:52:58 2005
++++ src/plugins/python/pst-main.c Thu Mar 24 15:53:59 2005
+@@ -94,6 +94,7 @@
+ {
+ gboolean status = FALSE;
+ PyObject *module;
++ char *argv[] = { "" };
+
+ if (! check_api_version(err))
+ return FALSE;
+@@ -109,6 +110,7 @@
+ }
+
+ Py_Initialize();
++ PySys_SetArgv(G_N_ELEMENTS(argv), argv);
+ PyEval_InitThreads();
+
+ module = PyImport_AddModule("__main__");
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list