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:
parent
4a396b7072
commit
8e8efec261
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417955
@ -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:
|
||||
|
@ -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 @@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user