From nobody@FreeBSD.org  Thu Dec 27 19:45:22 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 698F6CB7
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2012 19:45:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 503F48FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2012 19:45:22 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id qBRJjMfg084212
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2012 19:45:22 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id qBRJjMAk084211;
	Thu, 27 Dec 2012 19:45:22 GMT
	(envelope-from nobody)
Message-Id: <201212271945.qBRJjMAk084211@red.freebsd.org>
Date: Thu, 27 Dec 2012 19:45:22 GMT
From: Pawel Pekala <pawel@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/coccinelle fix build with clang
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: avg@icyb.net.ua

>Number:         174744
>Category:       ports
>Synopsis:       devel/coccinelle fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 19:50:00 UTC 2012
>Closed-Date:    Wed Jan 16 19:46:48 UTC 2013
>Last-Modified:  Wed Jan 16 19:46:48 UTC 2013
>Originator:     Pawel Pekala
>Release:        10.0-CURRENT
>Organization:
>Environment:
FreeBSD blaviken.slowicza.org 10.0-CURRENT FreeBSD 10.0-CURRENT #2: Fri Nov 30 20:03:01 CET 2012     corn@blaviken.slowicza.org:/usr/obj/amd64.amd64/usr/src/sys/BLAVIKEN64  amd64

>Description:
This patch fixes port build when compiled with clang
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/devel/coccinelle/Makefile devel/coccinelle/Makefile
--- /usr/ports/devel/coccinelle/Makefile	2012-11-17 06:55:38.000000000 +0100
+++ devel/coccinelle/Makefile	2012-12-27 20:25:08.000000000 +0100
@@ -20,4 +20,8 @@
 
 MAN1=		spatch.1
 
+post-patch:
+	@${REINPLACE_CMD} 's|CAMLreturn0|return 0|' \
+		${WRKSRC}/pycaml/pycaml_ml.c
+
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Dec 27 19:50:08 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: avg@icyb.net.ua
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/174744: devel/coccinelle fix build with clang
Date: Thu, 27 Dec 2012 19:50:07 UT

 Maintainer of devel/coccinelle,
 
 Please note that PR ports/174744 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/174744
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: pawel 
Responsible-Changed-When: Thu Dec 27 20:40:49 UTC 2012 
Responsible-Changed-Why:  
Mine 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/174744: commit references a PR
Date: Wed, 16 Jan 2013 19:39:06 +0000 (UTC)

 Author: pawel
 Date: Wed Jan 16 19:38:54 2013
 New Revision: 310519
 URL: http://svnweb.freebsd.org/changeset/ports/310519
 
 Log:
   Fix build with clang
   
   PR:		ports/174744
   Submitted by:	myself
   Approved by:	maintainer timeout (2 weeks+)
 
 Modified:
   head/devel/coccinelle/Makefile
 
 Modified: head/devel/coccinelle/Makefile
 ==============================================================================
 --- head/devel/coccinelle/Makefile	Wed Jan 16 19:37:20 2013	(r310518)
 +++ head/devel/coccinelle/Makefile	Wed Jan 16 19:38:54 2013	(r310519)
 @@ -1,6 +1,4 @@
 -# Ports collection makefile for:	coccinnelle
 -# Date created:			Sep 10, 2010
 -# Whom:				Andriy Gapon
 +# Created by: Andriy Gapon
  # $FreeBSD$
  
  PORTNAME=	coccinelle
 @@ -20,4 +18,8 @@ USE_OCAML=	3.0+
  
  MAN1=		spatch.1
  
 +post-patch:
 +	@${REINPLACE_CMD} 's|CAMLreturn0|return 0|' \
 +		${WRKSRC}/pycaml/pycaml_ml.c
 +
  .include <bsd.port.mk>
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: feedback->closed 
State-Changed-By: pawel 
State-Changed-When: Wed Jan 16 19:46:47 UTC 2013 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=174744 
>Unformatted:
