Bug 2178 - Modify configure to define BROKEN_BSM_API on Solaris version > 11
Summary: Modify configure to define BROKEN_BSM_API on Solaris version > 11
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 6.4p1
Hardware: SPARC Solaris
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_5
  Show dependency treegraph
 
Reported: 2013-12-06 21:31 AEDT by Tomas Kuthan
Modified: 2016-08-02 10:42 AEST (History)
1 user (show)

See Also:


Attachments
Modify configure to define BROKEN_BSM_API on Solaris version > 11 (903 bytes, patch)
2013-12-06 21:31 AEDT, Tomas Kuthan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Kuthan 2013-12-06 21:31:57 AEDT
Created attachment 2384 [details]
Modify configure to define BROKEN_BSM_API on Solaris version > 11

There is a code in audit-bsm.c to deal with Solaris 11 API changes in audit. This code is guarded by BROKEN_BSM_API defines. configure defines this symbol iff Solaris version equals 11.

Attached patch based on 6.4p1 modifies configure.ac and configure, changing the equality for greater-or-equal:
-		if test "$sol2ver" -eq 11; then
+		if test "$sol2ver" -ge 11; then
Comment 1 Darren Tucker 2013-12-19 11:01:50 AEDT
Patch applied, it will be in the next release.

Thanks.
Comment 2 Tomas Kuthan 2013-12-19 19:18:36 AEDT
Thank you, Darren.
Comment 3 Damien Miller 2016-08-02 10:42:01 AEST
Close all resolved bugs after 7.3p1 release