Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2013 11:39:41 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311827 - head/devel/libowfat
Message-ID:  <201302071139.r17BdfBA028234@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Feb  7 11:39:40 2013
New Revision: 311827
URL: http://svnweb.freebsd.org/changeset/ports/311827

Log:
  - Fix build with clang

Modified:
  head/devel/libowfat/Makefile   (contents, props changed)

Modified: head/devel/libowfat/Makefile
==============================================================================
--- head/devel/libowfat/Makefile	Thu Feb  7 11:32:39 2013	(r311826)
+++ head/devel/libowfat/Makefile	Thu Feb  7 11:39:40 2013	(r311827)
@@ -48,6 +48,10 @@ post-extract:
 	@${MV} ${WRKSRC}/*/${i:S/libowfat_//} ${WRKSRC}/man/${i}
 .endfor
 
+post-patch:
+# Clang cries when void functions return a value
+	${REINPLACE_CMD} -e '56s|return ||' ${WRKSRC}/CAS.h
+
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}



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