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 766441 - OpenBSD does not use librt, but provides the needed functions in libc
OpenBSD does not use librt, but provides the needed functions in libc
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other OpenBSD
: Normal enhancement
: 1.8.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-05-14 14:02 UTC by Alex-P. Natsios
Modified: 2016-05-20 06:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure check for librt functions/usage in OpenBSD (959 bytes, patch)
2016-05-14 14:02 UTC, Alex-P. Natsios
committed Details | Review

Description Alex-P. Natsios 2016-05-14 14:02:57 UTC
Created attachment 327888 [details] [review]
configure check for librt functions/usage in OpenBSD

Hello,

In OpenBSD there is no "actual" librt that programs can link with, instead the system/base libc provides the functions one would customarily find there.

In the case of gst-plugins-bad, that function would be shm_open().

This very trivial patch enables shm_open without the need to -lrt (like how it is currently done for the darwin platform).
Comment 1 Sebastian Dröge (slomo) 2016-05-14 14:11:23 UTC
commit fe096cf905baa3516a0933e84fb3f42b46006824
Author: Alex-P. Natsios <drakevr@2f30.org>
Date:   Sat May 14 16:59:14 2016 +0300

    configure: check for shm_open() in OpenBSD
    
    In OpenBSD there is no "actual" librt that programs can link with,
    instead the system/base libc provides the functions one would
    customarily find there.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=766441