[Bug 266227] [exp-run] Request for exp-run with qsort_r API change

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 13 Sep 2022 16:49:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266227

--- Comment #17 from Xin LI <delphij@FreeBSD.org> ---
(In reply to Antoine Brodin from comment #16)
By "previous" did you mean the earlier version (2022-09-06 06:15 UTC), or the
latest version (2022-09-12 02:02 UTC)?  For example:

http://gohan05.nyi.freebsd.org/data/mainamd64PR266227-default/2022-09-12_17h35m40s/logs/errors/mlmmj-webview-0.0.6.log

Gave me:

===>  Building for mlmmj-webview-0.0.6
cc -Wall -Wextra -std=gnu99 -D_GNU_SOURCE=1 -MT mlmmj-webview.o -MD -MP -MF
mlmmj-webview.Tpo -o mlmmj-webview.o -c -O2 -pipe  -fstack-protector-strong
-fno-strict-aliasing  -I/usr/local/include  -I/usr/local/include 
-Werror=implicit-function-declaration -Werror=return-type
-I/wrkdirs/usr/ports/mail/mlmmj-webview/work/mlmmj-webview mlmmj-webview.c
mlmmj-webview.c:251:3: error: called object type 'int' is not a function or
function pointer
                qsort_r(names, numitems, sizeof(struct dirent *),
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:345:48: note: expanded from macro 'qsort_r'
        __calling_qsort_r_incorrectly, qsort_r)(base, nel, width, compar, arg)
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

which appears to be building against the older patch, and should be gone with
the latest version of patch.

(mesa-devel was similar to mesa-dri which I'll create a patch).

-- 
You are receiving this mail because:
You are on the CC list for the bug.