OSDN Git Service

nine: the .pc file should not follow mesa version
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 22 Nov 2014 04:23:05 +0000 (04:23 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 26 Nov 2014 20:09:10 +0000 (20:09 +0000)
The version provided by it should be the same as the one
provided/handled by the module. Add the missing tiny version.

Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: David Heidelberg <david@ixit.cz>
configure.ac
src/gallium/targets/d3dadapter9/Makefile.am
src/gallium/targets/d3dadapter9/d3d.pc.in

index 882898f..1d9d015 100644 (file)
@@ -2093,6 +2093,8 @@ AM_CONDITIONAL(HAVE_SPARC_ASM, test "x$asm_arch" = xsparc)
 
 AC_SUBST([NINE_MAJOR], 1)
 AC_SUBST([NINE_MINOR], 0)
+AC_SUBST([NINE_TINY], 0)
+AC_SUBST([NINE_VERSION], "$NINE_MAJOR.$NINE_MINOR.$NINE_TINY")
 
 AC_SUBST([VDPAU_MAJOR], 1)
 AC_SUBST([VDPAU_MINOR], 0)
index 6506924..1f3f3cb 100644 (file)
@@ -62,7 +62,7 @@ d3dadapter9_la_LDFLAGS = \
        -shrext .so \
        -module \
        -no-undefined \
-       -version-number $(NINE_MAJOR):$(NINE_MINOR) \
+       -version-number $(NINE_MAJOR):$(NINE_MINOR):$(NINE_TINY) \
        $(GC_SECTIONS) \
        $(LD_NO_UNDEFINED)
 
index 9a18a5c..d34b2a7 100644 (file)
@@ -6,6 +6,6 @@ moduledir=@D3D_DRIVER_INSTALL_DIR@
 
 Name: d3d
 Description: Native D3D driver modules
-Version: @VERSION@
+Version: @NINE_VERSION@
 Requires.private: @DRI_PC_REQ_PRIV@
 Cflags: -I${includedir}