After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796309 - meson: mingw build fix
meson: mingw build fix
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: orc
git master
Other Windows
: Normal normal
: 0.4.29
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-21 15:14 UTC by Christoph Reiter (lazka)
Modified: 2018-05-21 15:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
meson: pass the right header when testing for posix_memalign (1.13 KB, patch)
2018-05-21 15:14 UTC, Christoph Reiter (lazka)
committed Details | Review

Description Christoph Reiter (lazka) 2018-05-21 15:14:40 UTC
Created attachment 372303 [details] [review]
meson: pass the right header when testing for posix_memalign

has_function() needs to know the header to correctly detect the function in
all cases.

This fixes the build under mingw-w64 where posix_memalign was wrongfully being
detected as available.

See this glib bug for a similar fix:
    https://bugzilla.gnome.org/show_bug.cgi?id=795876
Comment 1 Tim-Philipp Müller 2018-05-21 15:43:34 UTC
Thanks!

commit 7699d66cb3df499e474c2eaa9ef8d682db0469b9 (HEAD -> master)
Author: Christoph Reiter <reiter.christoph@gmail.com>
Date:   Mon May 21 17:06:12 2018 +0200

    meson: pass the right header when testing for posix_memalign
    
    has_function() needs to know the header to correctly detect the function in
    all cases.
    
    This fixes the build under mingw-w64 where posix_memalign was wrongfully being
    detected as available.
    
    See this glib bug for a similar fix:
        https://bugzilla.gnome.org/show_bug.cgi?id=795876
    
    https://bugzilla.gnome.org/show_bug.cgi?id=796309