svn commit: r311827 - head/devel/libowfat

Pietro Cerutti gahr at FreeBSD.org
Thu Feb 7 11:39:41 UTC 2013


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}


More information about the svn-ports-all mailing list