pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56511: Add strnlen as msising feature on Solaris != 5.11




To: pkg-manager%netbsd.org@localhost,gnats-admin%netbsd.org@localhost,pkgsrc-bugs%netbsd.org@localhost

Subject: pkg/56511: Add strnlen as msising feature on Solaris != 5.11

From: pekdon%gmail.com@localhost

Date: Fri, 19 Nov 2021 12:45:01 +0000 (UTC)


>Number:         56511
>Category:       pkg
>Synopsis:       Add strnlen as msising feature on Solaris != 5.11
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 19 12:45:01 +0000 2021
>Originator:     Claes Nästén
>Release:        trunk 2021-11-18
>Organization:
>Environment:
SunOS 5.10 i86pc i386 i86pc
>Description:
strnlen is missing on Solaris 10 and earlier, but is not marked as such in SunOS.mk causing packages such as audio/lame fail in linking due to unresolved symbols.
>How-To-Repeat:
Build audio/lame
>Fix:
--- mk/platform/SunOS.mk.orig   Fri Nov 19 13:22:53 2021
+++ mk/platform/SunOS.mk        Fri Nov 19 13:37:23 2021
@@ -72,6 +72,9 @@
 .if !exists(/usr/include/err.h)
 _OPSYS_MISSING_FEATURES+=err
 .endif
+.if ${OS_VARIANT} == "Solaris" && ${OS_VERSION} != "5.11"
+_OPSYS_MISSING_FEATURES+=strnlen
+.endif
 _PATCH_CAN_BACKUP=     yes             # native patch(1) can make backups
 _PATCH_BACKUP_ARG?=    -b -V simple -z # switch to patch(1) for backup suffix
 _USE_RPATH=            yes             # add rpath to LDFLAGS





Prev by Date: Re: pkg/56488 (Solaris 10 compile issues, stdbool.h requires c99)

Next by Date: Re: pkg/56502 (ffmpegthumbnailer fails to build due to missing glib symbols)

Previous by Thread: Re: pkg/56510 (www/vimb fails to build on Solaris 10 due to src/scripts/js2.h not being compatible with /bin/sh)

Next by Thread: Re: pkg/56502 (ffmpegthumbnailer fails to build due to missing glib symbols)

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index