mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-06 11:41:52 +00:00
![Cy Schubert](/assets/img/avatar_default.png)
Work around the following errors, for now: cc -c xkeywrap.c -I/usr/local/include -O2 -pipe -pipe -fstack-protector-strong -fno-strict-aliasing -pipe -DVERSION=\"XKeyWrap-1.1\" xkeywrap.c:45:15: error: incompatible pointer to integer conversion initializing 'Cursor' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion] static Cursor select_cursor = NULL; /* <BD><D0><CE><CF><C0>襦<A5><A4><A5><F3><A5>ɥ<A6><BB><D8><C4><EA><BB><FE><A4>Υ<AB><A1><BC><A5><BD><A5><EB> */ ^ ~~~~ xkeywrap.c:422:31: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &r, &p, &children_list, &children_number); ^~~~~~~~~~~~~~~~ /usr/local/include/X11/Xlib.h:3034:1: note: passing argument to parameter here ); ^ 1 warning and 1 error generated. *** [xkeywrap.o] Error code 1 make[2]: stopped in /export/wrkdir/amd64/export/freebsd/git/ports/x11/xkeywrap/work/xkeywrap-1.1 --- xkeywrap.1.gz --- gzip -f xkeywrap.1 1 error make[2]: stopped in /export/wrkdir/amd64/export/freebsd/git/ports/x11/xkeywrap/work/xkeywrap-1.1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /export/freebsd/git/ports/x11/xkeywrap *** Error code 1 Stop. make: stopped in /export/freebsd/git/ports/x11/xkeywrap While at it, assume maintainership.
36 lines
926 B
Makefile
36 lines
926 B
Makefile
PORTNAME= xkeywrap
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= x11
|
|
MASTER_SITES= http://ftp.vector.co.jp/18/98/1364/
|
|
|
|
MAINTAINER= cy@FreeBSD.org
|
|
COMMENT= Record, repeat, and play key sequence from keyboard
|
|
WWW= https://kozos.jp/myfreesoft/
|
|
|
|
MAKE_ENV= X11BASE="${LOCALBASE}"
|
|
USES= xorg
|
|
USE_XORG= x11 xt
|
|
CFLAGS+= -Wno-int-conversion -Wno-pointer-sign
|
|
|
|
PORTDOCS= README
|
|
PORTEXAMPLES= demo.dat xkeywrap_demo.c
|
|
|
|
PLIST_FILES= bin/xkeywrap man/man1/${PORTNAME}.1.gz
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xkeywrap ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/xkeywrap.1.gz ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
post-install-DOCS-on:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${STAGEDIR}${DOCSDIR}
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${PORTEXAMPLES:S/^/${WRKSRC}\//} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|