1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Add an explicit include of <unistd.h>, which is required on

some of our releases. Change to avoid building the useless
static libJXGrabKey.a (we weren't installing).

Reported by:	pkg-fallout
This commit is contained in:
Mikhail Teterin 2016-07-03 05:17:23 +00:00
parent 4a396b7072
commit 8e8efec261
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417955
2 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,7 @@ USE_LDCONFIG= yes
do-build:
${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC}/JXGrabKey/C++ \
-f ${FILESDIR}/Makefile.JXGrabKey
-f ${FILESDIR}/Makefile.JXGrabKey libJXGrabKey.so
cd ${WRKSRC}/JXGrabKey/Java && ${ANT} -verbose jar
do-install:

View File

@ -1,10 +1,11 @@
--- JXGrabKey/C++/src/JXGrabKey.cpp 2010-02-28 10:11:49.000000000 -0500
+++ JXGrabKey/C++/src/JXGrabKey.cpp 2016-06-30 03:15:41.718599000 -0400
@@ -24,4 +24,5 @@
@@ -24,4 +24,6 @@
#include <X11/Xlib.h>
#include <X11/keysym.h>
+#include <X11/XKBlib.h>
+#include <unistd.h>
#include <pthread.h>
@@ -319,5 +320,5 @@