FreeBSD Bugzilla – Attachment 131009 Details for
Bug 175032
x11-clocks/mlclock: Fix buils with clang
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
x11-clocks_mlclock.diff
x11-clocks_mlclock.diff (text/x-diff), 1.01 KB, created by
tkato432
on 2013-02-08 17:57:04 UTC
(
hide
)
Description:
x11-clocks_mlclock.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-02-08 17:57:04 UTC
Size:
1.01 KB
patch
obsolete
>diff -urN /usr/ports/x11-clocks/mlclock/Makefile x11-clocks/mlclock/Makefile >--- /usr/ports/x11-clocks/mlclock/Makefile 2012-11-08 04:16:17.000000000 +0900 >+++ x11-clocks/mlclock/Makefile 2013-02-08 01:27:36.000000000 +0900 >@@ -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: head/x11-clocks/mlclock/Makefile 300897 2012-07-14 14:29:18Z beat $ >-# > > PORTNAME= mlclock > PORTVERSION= 1.1 >@@ -15,11 +11,17 @@ > 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 \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 175032
:
131008
| 131009