~thong-u/unoptimized/+git/libdrm:main

Last commit made on 2024-06-27
Get this branch:
git clone -b main https://git.launchpad.net/~thong-u/unoptimized/+git/libdrm

Branch merges

Branch information

Name:
main
Repository:
lp:~thong-u/unoptimized/+git/libdrm

Recent commits

b065dbc... by Enrico Weigelt, metux IT consult

Fix FTBS on undefined clock_gettime() and asprintf()

Some platforms (eg. SunOS) explicitly need extra symbols in order to define
those functions. There're many files needing the __EXTENSIONS__ symbol,
so doing this on a global scale.

Signed-off-by: Enrico Weigelt, metux IT consult <email address hidden>

ad78bb5... by Simon Ser <email address hidden>

build: bump version to 2.4.122

Signed-off-by: Simon Ser <email address hidden>

998d2a2... by Simon Ser <email address hidden>

Sync headers with drm-next

Synchronize drm_fourcc.h and drm_mode.h to drm-next.

Generated using make headers_install.
Generated from drm-next branch commit 541b1b0a8fc235bca355921eb7f3f59a8efa3e9a

Signed-off-by: Simon Ser <email address hidden>

a97bd7b... by Enrico Weigelt, metux IT consult

ci: upgrade FreeBSD VM to 14.1

Signed-off-by: Enrico Weigelt, metux IT consult <email address hidden>

d096aff... by Enrico Weigelt, metux IT consult

ci: upgrade debian container to bookworm

Buster is oldoldstable and EOL in a few days. Bookworm is the current stable.

Signed-off-by: Enrico Weigelt, metux IT consult <email address hidden>

589f8e8... by Enrico Weigelt, metux IT consult

etnaviv: fix FTBS on undefined linux/* headers on non-Linux platforms.

Using C standard headers instead.

Signed-off-by: Enrico Weigelt, metux IT consult <email address hidden>

b7338fc... by Enrico Weigelt, metux IT consult

freedreno: fix FTBS on non-Linux platforms (unused header)

The <linux/fb.h> header only exists on Linux, but isn't used anymore,
so drop it entirely.

Signed-off-by: Enrico Weigelt, metux IT consult <email address hidden>

90c1a35... by Enrico Weigelt, metux IT consult

fix FTBS on FreeBSD (or non-Linux in general)

Several drivers still including <linux/stddef.h>, but not using anything
from it, thus breaking build on non-Linux platforms (eg. FreeBSD).
Since not needed at all, just stop including it.

Signed-off-by: Enrico Weigelt, metux IT consult <email address hidden>

0cd18d0... by Enrico Weigelt, metux IT consult

OpenBSD: fix FTBS on misspelled and missing variables

../xf86drm.c:4622:9: error: use of undeclared identifier 'written'; did you mean 'write'?
    if (written + 1 > max_node_length)
        ^~~~~~~
        write

../xf86drm.c:4624:21: error: use of undeclared identifier 'sbuf'; did you mean 'sbrk'?
    if (stat(node, &sbuf))
                    ^~~~

Signed-off-by: Enrico Weigelt, metux IT consult <email address hidden>

7f20912... by Nicolas Caramelli <email address hidden>

Remove libm in libdrm dependencies

Signed-off-by: Nicolas Caramelli <email address hidden>