Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2013 19:38:55 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r310519 - head/devel/coccinelle
Message-ID:  <201301161938.r0GJctGZ032698@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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