Date: Tue, 31 Dec 2013 05:48:41 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/185311: x11-clocks/wmtime: Fix build with clang Message-ID: <20131231054841.e86fd16dd45e06e77f3a6ca5@yahoo.com> Resent-Message-ID: <201312302110.rBULA0FB098553@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 185311 >Category: ports >Synopsis: x11-clocks/wmtime: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 30 21:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 8.4-RELEASE-p4 i386 >Organization: >Environment: >Description: - Fix build with clang >How-To-Repeat: >Fix: diff -urN /usr/ports/x11-clocks/wmtime/Makefile x11-clocks/wmtime/Makefile --- /usr/ports/x11-clocks/wmtime/Makefile 2013-11-06 21:53:00.000000000 +0900 +++ x11-clocks/wmtime/Makefile 2013-12-31 00:00:00.000000000 +0900 @@ -12,12 +12,14 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Time/Date applet for WindowMaker -PLIST_FILES= bin/wmtime WRKSRC= ${WRKDIR}/wmtime.app/wmtime + USES= imake USE_XORG= xpm +USE_CSTD= gnu89 + +PLIST_FILES= bin/wmtime -NO_STAGE= yes post-extract: ${CP} ${WRKSRC}/../Imakefile ${WRKSRC}/Imakefile diff -urN /usr/ports/x11-clocks/wmtime/files/patch-aa x11-clocks/wmtime/files/patch-aa --- /usr/ports/x11-clocks/wmtime/files/patch-aa 2013-11-06 21:53:00.000000000 +0900 +++ x11-clocks/wmtime/files/patch-aa 2013-12-31 00:00:00.000000000 +0900 @@ -9,3 +9,12 @@ /* functions */ void usage(void); +@@ -98,7 +98,7 @@ + void wmtime_routine(int, char **); + void get_lang(); + +-void main(int argc, char *argv[]) { ++int main(int argc, char *argv[]) { + + int i; + >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131231054841.e86fd16dd45e06e77f3a6ca5>