xf86-video-sis: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jul 27 22:15:29 UTC 2024


 src/sis_driver.c |    2 +-
 src/sis_vga.c    |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit fb3b448df72bc176b8a24a28250495ff2a8c8d2a
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date:   Thu Jun 6 10:18:17 2024 +0200

    fix FTBS on XSERVER_LIBPCIACCESS
    
    Not all Xserver versions define that symbol with a numeric value
    (1 or 0), some just might not define it at all when disabled.
    
    Using #if instead of #ifdef (as most sites do) will lead to compile break:
    
        ../../src/sis_driver.c:4008:25: error: expected value in expression
        #if XSERVER_LIBPCIACCESS
                                ^
    
    Signed-off-by: Enrico Weigelt, metux IT consult <info at metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sis/-/merge_requests/27>



More information about the xorg-commit mailing list