svn commit: r307417 - head/misc/xosd

Alexey Dokuchaev danfe at FreeBSD.org
Wed Nov 14 14:41:42 UTC 2012


Author: danfe
Date: Wed Nov 14 14:41:42 2012
New Revision: 307417
URL: http://svnweb.freebsd.org/changeset/ports/307417

Log:
  - Unbreak when building with CC=clang
  
  Reported by:	madpilot
  Feature safe:	yes

Modified:
  head/misc/xosd/Makefile

Modified: head/misc/xosd/Makefile
==============================================================================
--- head/misc/xosd/Makefile	Wed Nov 14 13:05:21 2012	(r307416)
+++ head/misc/xosd/Makefile	Wed Nov 14 14:41:42 2012	(r307417)
@@ -74,6 +74,9 @@ post-patch:
 		${WRKSRC}/src/xmms_plugin/Makefile.in
 	@${REINPLACE_CMD} -e 's,specified time,& (${DELAY_UNITS}),' \
 		${WRKSRC}/src/osd_cat.c
+# Unbreak against Clang
+	@${REINPLACE_CMD} -e '52s,^,void xosd_xypos(xosd *osd);,' \
+		${WRKSRC}/src/libxosd/xosd.c
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}


More information about the svn-ports-head mailing list