Bug 2178

Summary: Modify configure to define BROKEN_BSM_API on Solaris version > 11
Product: Portable OpenSSH Reporter: Tomas Kuthan <tomas.kuthan>
Component: Build systemAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: dtucker
Priority: P5    
Version: 6.4p1   
Hardware: SPARC   
OS: Solaris   
Bug Depends on:    
Bug Blocks: 2130    
Attachments:
Description Flags
Modify configure to define BROKEN_BSM_API on Solaris version > 11 none

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