diff options
author | adamw <adamw@FreeBSD.org> | 2014-09-10 03:31:28 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-09-10 03:31:28 +0800 |
commit | 2f6b1d53173bbd8bb80479ac235a56a91b16fcc4 (patch) | |
tree | 041e395f21c13c192ea0811a356afd1a36b04fea /x11/xgrab | |
parent | 1beb6e9efb9fe5ff841b8accfc0d31249f21ea05 (diff) | |
download | freebsd-ports-gnome-2f6b1d53173bbd8bb80479ac235a56a91b16fcc4.tar.gz freebsd-ports-gnome-2f6b1d53173bbd8bb80479ac235a56a91b16fcc4.tar.zst freebsd-ports-gnome-2f6b1d53173bbd8bb80479ac235a56a91b16fcc4.zip |
Add USE_XORG=xaw. Not clear how this was building successfully before.
While here, include stdlib.h to quiet warnings about exit.
Diffstat (limited to 'x11/xgrab')
-rw-r--r-- | x11/xgrab/Makefile | 2 | ||||
-rw-r--r-- | x11/xgrab/files/patch-xgrabsc.h | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/x11/xgrab/Makefile b/x11/xgrab/Makefile index e6d968098fdc..c75f8c4fcfd5 100644 --- a/x11/xgrab/Makefile +++ b/x11/xgrab/Makefile @@ -15,7 +15,7 @@ COMMENT= X11 image grabber BUILD_DEPENDS= xrdb:${PORTSDIR}/x11/xrdb USES= display:build imake:notall tar:Z -USE_XORG= x11 +USE_XORG= x11 xaw MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 \ XAPPLOADDIR=${PREFIX}/lib/X11/app-defaults -f diff --git a/x11/xgrab/files/patch-xgrabsc.h b/x11/xgrab/files/patch-xgrabsc.h new file mode 100644 index 000000000000..4232da27ecc4 --- /dev/null +++ b/x11/xgrab/files/patch-xgrabsc.h @@ -0,0 +1,10 @@ +--- xgrabsc.h.orig 2014-09-09 19:24:54 UTC ++++ xgrabsc.h +@@ -43,6 +43,7 @@ + #include "cmdopts.h" + + #include <stdio.h> ++#include <stdlib.h> + + #include <X11/Xos.h> + #include <X11/Xlib.h> |