ports/185311: x11-clocks/wmtime: Fix build with clang
KATO Tsuguru
tkato432 at yahoo.com
Mon Dec 30 21:10:01 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list