pkgsrc-Bugs archive

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

pkg/56716: bind916 - socket.c - remove _XOPEN_SOURCE from patch

>Number:         56716
>Category:       pkg
>Synopsis:       bind916 - socket.c - remove _XOPEN_SOURCE from patch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 15 17:30:00 +0000 2022
>Originator:     Russell Hansen
>Release:        pkgsrc-upstream-trunk SmartOS 20201203T165910Z/x86_64 2022-02-13 22:56
SunOS  5.11 joyent_20201203T165910Z i86pc i386 i86pc
I submitted but it looks like this place is the proper location to submit issues.

net/bind916/patches/patch-lib_isc_unix_socket.c appears to have lost the definition of _XOPEN_SOURCE required for SmartOS.

Specifically I believe this might be the culprit:

The consequence can be found at:

net/bind916/patches/patch-lib_isc_unix_net.c does have the included _XOPEN_SOURCE definition.

I'm simply following the SmartOS bulk build results.
I believe the following block needs to be restored:

#if defined(__sun)
#if (__STDC_VERSION__ - 0 < 199901L)
#define _XOPEN_SOURCE 500
#define _XOPEN_SOURCE 600

I'm not very familiar with C for how to generate a diff and submit a change request, I'm just trying to follow the logic.

Home | Main Index | Thread Index | Old Index