[Bug 265702] x11-drivers/xf86-video-vesa: Undefined symbol "xf86SlowBcopy"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 08 Aug 2022 15:48:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265702

--- Comment #2 from Lena <Lena@lena.kiev.ua> ---
Created attachment 235779
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235779&action=edit
existing patch with my addition

While upgrading xorg-server from -1.20.14 to -21.1.4, the build
was switched from automake to meson.
In the distfile for xorg-server-21.1.4
in the directory hw/xfree86/os-support
the file Makefile.am contains:

SUBDIRS = bus @XORG_OS_SUBDIR@ misc $(DRI_SUBDIRS)

(to build subdirectory "misc" containing SlowBcopy unconditionally),
and in the same directory the file meson.build contains:

if host_machine.system() == 'linux'
    srcs_xorg_os_support += [
        'linux/lnx_bell.c',
        'linux/lnx_init.c',
        'linux/lnx_kmod.c',
        'linux/lnx_platform.c',
        'linux/lnx_video.c',
        'misc/SlowBcopy.c',
        'shared/VTsw_usl.c',
    ]

(to build misc/SlowBcopy conditionally: linux only).

The port xorg-server-21.1.4 in the subdirectory "files" contains
patch-hw_xfree86_os-support_meson.build
I wrote an addition to that patch. I'm not sure whether I did that correctly,
but works for me (amd64). I'm attaching the patch with my addition.

-- 
You are receiving this mail because:
You are the assignee for the bug.