1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Add USE_XORG=xaw. Not clear how this was building successfully before.

While here, include stdlib.h to quiet warnings about exit.
This commit is contained in:
Adam Weinberger 2014-09-09 19:31:28 +00:00
parent efd0d5fc6e
commit f86ce48e86
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367770
2 changed files with 11 additions and 1 deletions

View File

@ -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

View File

@ -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>