Bug 76410 - unbreak build on OpenBSD
Summary: unbreak build on OpenBSD
Status: RESOLVED FIXED
Alias: None
Product: accountsservice
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All OpenBSD
: medium major
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-20 17:48 UTC by Antoine Jacoutot
Modified: 2014-03-20 18:46 UTC (History)
4 users (show)

See Also:
i915 platform:
i915 features:


Attachments
protect the use of utmpx (825 bytes, text/plain)
2014-03-20 17:48 UTC, Antoine Jacoutot
Details
[PATCH] wtmp-helper: rename stub generator (963 bytes, patch)
2014-03-20 18:40 UTC, Allison Lortie (desrt)
Details | Splinter Review

Description Antoine Jacoutot 2014-03-20 17:48:50 UTC
Created attachment 96116 [details]
protect the use of utmpx

Hi.

OpenBSD has no support for utmpx and the build fails with:

daemon.o(.text+0xf31): In function `reload_users_timeout':
: undefined reference to `wtmp_helper_entry_generator'
collect2: ld returned 1 exit status
Comment 1 Allison Lortie (desrt) 2014-03-20 18:40:03 UTC
Created attachment 96118 [details] [review]
[PATCH] wtmp-helper: rename stub generator

After transporting the generator to a separate file and creating a stub,
I renamed it.  Unfortunately, I forgot to rename the stub.  This breaks
non-utmpx systems.

Fix that.
Comment 2 Antoine Jacoutot 2014-03-20 18:43:30 UTC
> After transporting the generator to a separate file and creating a stub,
> I renamed it.  Unfortunately, I forgot to rename the stub.  This breaks
> non-utmpx systems.
> 
> Fix that.

Yup, that does the trick.
Thank you Ryan.
Comment 3 Allison Lortie (desrt) 2014-03-20 18:46:15 UTC
and pushed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.