Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2012 19:45:22 GMT
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174744: devel/coccinelle fix build with clang
Message-ID:  <201212271945.qBRJjMAk084211@red.freebsd.org>
Resent-Message-ID: <201212271950.qBRJo0nH045801@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174744
>Category:       ports
>Synopsis:       devel/coccinelle fix build with clang
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 19:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212271945.qBRJjMAk084211>