pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/49986: print/xdvik fails to build on NetBSD-6.1.5/amd64
The following reply was made to PR pkg/49986; it has been noted by GNATS.
From: Mark Davies <mark%ecs.vuw.ac.nz@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/49986: print/xdvik fails to build on NetBSD-6.1.5/amd64
Date: Fri, 19 Jun 2015 13:27:53 +1200
On Fri, 19 Jun 2015 00:50:01 you wrote:
> > "#if HAVE_XI21", so presumably that should be evaluating false for
> > native
> > X11 on 6.1.x and isn't?
>
> Yes, looks that way. The inputproto in -6 is 2.0.2.
And the bit of configure that tests it is:
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XInput version 2.1 or
higher" >&5
$as_echo_n "checking for XInput version 2.1 or higher... " >&6; }
if ${xdvi_cv_xinput_2_1+:} false; then :
$as_echo_n "(cached) " >&6
else
xdvi_xi2_save_LIBS=$LIBS
xdvi_xi2_save_CFLAGS=$CFLAGS
xdvi_xi2_save_CPPFLAGS=$CPPFLAGS
xdvi_xi2_save_LDFLAGS=$LDFLAGS
LIBS="$X_PRE_LIBS -lXi $X_EXTRA_LIBS $LIBS"
CFLAGS="$X_CFLAGS $CFLAGS"
CPPFLAGS="$X_CFLAGS $CPPFLAGS"
LDFLAGS="$X_LIBS $LDFLAGS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <X11/extensions/XInput2.h>
int
main ()
{
Display *DISP; int ndevices;
XIDeviceInfo *info = XIQueryDevice(DISP, XIAllDevices, &ndevices);
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
xdvi_cv_xinput_2_1=yes
else
xdvi_cv_xinput_2_1=no
fi
Any suggestions for how to fix the test?
cheers
mark
Home |
Main Index |
Thread Index |
Old Index