From nobody@FreeBSD.org  Wed Mar 12 06:39:30 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5720C1065671
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Mar 2008 06:39:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3BCE08FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Mar 2008 06:39:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2C6aEfE080387
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 12 Mar 2008 06:36:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m2C6aEtX080376;
	Wed, 12 Mar 2008 06:36:14 GMT
	(envelope-from nobody)
Message-Id: <200803120636.m2C6aEtX080376@www.freebsd.org>
Date: Wed, 12 Mar 2008 06:36:14 GMT
From: Paul Reece <paul@fastlane.net.au>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ezmlm-idx MySQL support broken
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121635
>Category:       ports
>Synopsis:       mail/ezmlm-idx MySQL support broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    glarkin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 12 06:40:00 UTC 2008
>Closed-Date:    Thu Aug 07 13:58:02 EDT 2008
>Last-Modified:  Thu Aug  7 18:00:04 UTC 2008
>Originator:     Paul Reece
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD nero-new.fastlane.net.au 7.0-STABLE FreeBSD 7.0-STABLE #0: Wed Mar 12 00:43:35 WST 2008     root@nero-new.fastlane.net.au:/usr/obj/usr/src/sys/NERO  amd64
>Description:
Build of ezmlm-idx with MySQL extensions fails to compile.

logmsg.c: In function 'logmsg':
logmsg.c:52: warning: return discards qualifiers from pointer target type
./compile subscribe.c `head -1 conf-sqlcc`
In file included from subscribe.c:17:
log.h:4: warning: conflicting types for built-in function 'log'
./compile opensql.c `head -1 conf-sqlcc`
opensql.c: In function 'opensql':
opensql.c:95: error: lvalue required as left operand of assignment
opensql.c:99: warning: return discards qualifiers from pointer target type
*** Error code 1

Stop in /usr/ports/mail/ezmlm-idx/work/ezmlm-0.53.

>How-To-Repeat:
cd /usr/ports/mail/ezmlm-idx
make -DWITH_MYSQL

>Fix:
Fix that was applied to Gentoo last year appears to solve problem.  See https://bugs.gentoo.org/show_bug.cgi?id=152503 for further detail.

Specifically changing line 95 of opensql.c from:

if (!((MYSQL *)psql = mysql_init((MYSQL *) 0)))

to

if (!(psql = (void *)mysql_init((MYSQL *) 0)))



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->sergei 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Mar 12 10:07:20 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121635 
Responsible-Changed-From-To: sergei->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Jul 27 05:58:37 UTC 2008 
Responsible-Changed-Why:  
Maintainer was reset. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121635 
Responsible-Changed-From-To: freebsd-ports-bugs->glarkin 
Responsible-Changed-By: glarkin 
Responsible-Changed-When: Thu Aug 7 11:29:24 EDT 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121635 
State-Changed-From-To: open->closed 
State-Changed-By: glarkin 
State-Changed-When: Thu Aug 7 13:56:56 EDT 2008 
State-Changed-Why:  
The port has been upgraded to 0.444, and that fixed the bug reported 
in the PR. Thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121635 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/121635: commit references a PR
Date: Thu,  7 Aug 2008 17:56:45 +0000 (UTC)

 glarkin     2008-08-07 17:56:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/ezmlm-idx       Makefile distinfo pkg-descr 
   Added files:
     mail/ezmlm-idx/files pkg-message.in 
   Removed files:
     mail/ezmlm-idx       pkg-message 
   Log:
   - Take maintainership
   - Upgrade to 0.444 (PR is now moot due to upstream fix)
   - Stylistic fixes to Makefile
   - Add OPTIONS
   - Remove djb-related RESTRICTED (see http://cr.yp.to/distributors.html)
   
   PR:             ports/121635
   Submitted By:   Paul Reece <paul@fastlane.net.au>
   Approved By:    beech (mentor, implicit)
   
   Revision  Changes    Path
   1.33      +24 -24    ports/mail/ezmlm-idx/Makefile
   1.8       +3 -6      ports/mail/ezmlm-idx/distinfo
   1.1       +14 -0     ports/mail/ezmlm-idx/files/pkg-message.in (new)
   1.6       +3 -6      ports/mail/ezmlm-idx/pkg-descr
   1.3       +0 -12     ports/mail/ezmlm-idx/pkg-message (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
