ports/52257: mod_mp3 0.39 requires this patch for a runtime error
Bruce Walker
bmw at mxtreme.com
Thu May 15 02:10:07 UTC 2003
>Number: 52257
>Category: ports
>Synopsis: mod_mp3 0.39 requires this patch for a runtime error
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed May 14 19:10:04 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Bruce Walker
>Release: FreeBSD 4.6-RELEASE i386
>Organization:
BorderWare Technologies Inc.
>Environment:
System: FreeBSD bmwpc.home.wezel.com 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray at builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386
>Description:
If you build and install mod_mp3, enable mod_mp3 in httpd.conf
and then try to start Apache, "apachectl configtest" will fail
with a message about "Cannot create Shared Memory"
>How-To-Repeat:
cd /usr/ports/www/mod_mp3
make install
apachectl configtest
>Fix:
*** /dev/null Wed May 14 21:57:45 2003
--- files/patch-aa Wed May 14 21:27:39 2003
***************
*** 0 ****
--- 1,20 ----
+ *** src/mod_mp3.c.orig Mon Nov 18 11:26:53 2002
+ --- src/mod_mp3.c Mon Nov 18 11:26:42 2002
+ ***************
+ *** 6,12 ****
+ #include "mod_mp3.h"
+
+ /* Setup for our scoreboard */
+ ! static key_t shmkey = IPC_CREAT;
+
+ extern mp3_dispatch internal;
+ #ifdef MYSQL_ENABLED
+ --- 6,12 ----
+ #include "mod_mp3.h"
+
+ /* Setup for our scoreboard */
+ ! static key_t shmkey = IPC_PRIVATE;
+
+ extern mp3_dispatch internal;
+ #ifdef MYSQL_ENABLED
+
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list