[Xcb-commit] libxcb: src

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Feb 2 16:00:19 UTC 2021


 src/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2ef8655987b9862cdddb72223c9f259a860d5777
Author: Julien Cristau <jcristau at debian.org>
Date:   Mon Feb 1 19:23:02 2021 +0100

    Increment libtool version info for libxcb-dri3
    
    Somewhat belatedly given the last update was in xcb-proto 1.13 in 2017...
    
    Quoting @smcv from https://bugs.debian.org/921069:
    >>>
    libxcb-dri3 version 1.13 appears to have added new symbols without increasing
    the minor ABI version in its -version-info. This will break anything that
    compares libraries by their version info to decide which one is newer.
    
    The Steam Runtime uses libraries' major/minor/micro ABI version info (in this
    case 0.0.0) to decide whether to use the system copy of a library or the copy
    in the Steam Runtime, depending on which one is newer (#921026). We can
    work around this by adding a versioned dependency on libxcb-dri3-0 and
    deleting the copy from the Steam Runtime, but this isn't a particularly
    scalable solution.
    >>>

diff --git a/src/Makefile.am b/src/Makefile.am
index 17b64a8..c2984b3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -59,7 +59,7 @@ endif
 EXTSOURCES += dri3.c
 if BUILD_DRI3
 lib_LTLIBRARIES += libxcb-dri3.la
-libxcb_dri3_la_LDFLAGS = -version-info 0:0:0 -no-undefined @lt_enable_auto_import@
+libxcb_dri3_la_LDFLAGS = -version-info 1:0:1 -no-undefined @lt_enable_auto_import@
 libxcb_dri3_la_LIBADD = $(XCB_LIBS)
 nodist_libxcb_dri3_la_SOURCES = dri3.c dri3.h
 endif


More information about the xcb-commit mailing list