Control: reassign -1 xserver-xorg-video-vmware 1:13.0.2-1
Control: tag -1 upstream patch

On Mon, Mar 31, 2014 at 20:28:06 +0100, peter green wrote:

> Package: xsever-xorg-video-vmware
> Severity: serious
> Version: 1:13.0.2-1
> 
> xsever-xorg-video-vmware is now failing to build on kfreebsd
> 
Not quite. :)

> checking for XATRACKER... no
> configure: error: Package requirements (xatracker >= 0.4.0) were not met:
> 
> No package 'xatracker' found
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> 
> Alternatively, you may set the environment variables XATRACKER_CFLAGS
> and XATRACKER_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> dh_auto_configure: ../configure --build=x86_64-kfreebsd-gnu --prefix=/usr 
> --includedir=${prefix}/include --mandir=${prefix}/share/man 
> --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var 
> --libexecdir=${prefix}/lib/xserver-xorg-video-vmware 
> --disable-maintainer-mode --disable-dependency-tracking 
> --enable-vmwarectrl-client --disable-silent-rules returned exit code 1
> make[1]: *** [override_dh_auto_configure] Error 2
> 
> 
> Previous versions also showed "checking for XATRACKER... no" but continued to 
> build anyway.
> 
> Curiously the package built successfully on hurd and the hurd build log had 
> no mention of xatracker at all
> 
That's because hurd doesn't have libdrm.

Fix is:

diff --git a/configure.ac b/configure.ac
index dd3ad4e..be40ed7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,7 +126,7 @@ if test x$BUILD_VMWGFX = xyes; then
                          [PKG_CHECK_EXISTS([xatracker = 2.0.0],
                          [AC_DEFINE([HAVE_XA_2], 1,
                                  [Has version 2 of XA])])],
-                         [],[BUILD_VMWGFX=no])
+                         [BUILD_VMWGFX=no])
 #
 # Check for prime.
 #

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature

Reply via email to