aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2012-11-14 22:41:42 +0800
committerdanfe <danfe@FreeBSD.org>2012-11-14 22:41:42 +0800
commit59d3b1c9a914577fa9be2bb55956da2b3dfa3637 (patch)
tree468073f578d7593c4ccc220c4478eac90c68b185 /misc
parentf016ec20817854dee50ae4c872569887456347bf (diff)
downloadfreebsd-ports-gnome-59d3b1c9a914577fa9be2bb55956da2b3dfa3637.tar.gz
freebsd-ports-gnome-59d3b1c9a914577fa9be2bb55956da2b3dfa3637.tar.zst
freebsd-ports-gnome-59d3b1c9a914577fa9be2bb55956da2b3dfa3637.zip
- Unbreak when building with CC=clang
Reported by: madpilot Feature safe: yes
Diffstat (limited to 'misc')
-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}