- Fix buils with clang
Responsible Changed From-To: freebsd-ports-bugs->araujo I'll take it.
Responsible Changed From-To: araujo->miwi I'll take it.
State Changed From-To: open->feedback build still fail with clang. http://miwibox.org/tb/index.php?action=describe_port&id=443
Here is the corrected patch.
State Changed From-To: feedback->closed Committed. Thanks!
Author: miwi Date: Sun Feb 10 07:55:02 2013 New Revision: 312000 URL: http://svnweb.freebsd.org/changeset/ports/312000 Log: - Fix build with clang PR: 175032 Submitted by: Ports Fury Modified: head/x11-clocks/mlclock/Makefile (contents, props changed) Modified: head/x11-clocks/mlclock/Makefile ============================================================================== --- head/x11-clocks/mlclock/Makefile Sun Feb 10 07:54:26 2013 (r311999) +++ head/x11-clocks/mlclock/Makefile Sun Feb 10 07:55:02 2013 (r312000) @@ -1,9 +1,5 @@ -# New ports collection makefile for: mlclock -# Date created: December 05 1997 -# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> -# +# Created by: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp> # $FreeBSD$ -# PORTNAME= mlclock PORTVERSION= 1.1 @@ -15,11 +11,17 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Clock for mlvwm window manager WRKSRC= ${WRKDIR}/${PORTNAME} + USE_XORG= x11 xau xdmcp PLIST_FILES= bin/mlclock %%DATADIR%%/mlclockrc %%DATADIR%%/mlclockrc-kanji PLIST_DIRS= %%DATADIR%% +post-patch: + @${REINPLACE_CMD} -e \ + 's|^void main|int main| ; \ + s|log|logical|' ${WRKSRC}/mlclock.c + do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include \ -DRCFILE=\".mlclockrc\" mlclock.c -o mlclock \ _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"