aboutsummaryrefslogtreecommitdiff
path: root/misc/xosd
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2012-11-14 14:41:42 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2012-11-14 14:41:42 +0000
commitee606cb7b5c74dc3d0947e33bb788e43bf50f038 (patch)
tree468073f578d7593c4ccc220c4478eac90c68b185 /misc/xosd
parent97c7e73cbf12c4b117881ace7c2d85757de79cde (diff)
downloadports-ee606cb7b5c74dc3d0947e33bb788e43bf50f038.tar.gz
ports-ee606cb7b5c74dc3d0947e33bb788e43bf50f038.zip
- Unbreak when building with CC=clang
Reported by: madpilot Feature safe: yes
Notes
Notes: svn path=/head/; revision=307417
Diffstat (limited to 'misc/xosd')
-rw-r--r--misc/xosd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/xosd/Makefile b/misc/xosd/Makefile
index fe3fc1fd758b..9a865bc43c7f 100644
--- a/misc/xosd/Makefile
+++ b/misc/xosd/Makefile
@@ -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}