pkgsrc-Bugs archive

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

pkg/54608: devel/glib2 fails to build on Solaris 11



>Number:         54608
>Category:       pkg
>Synopsis:       devel/glib2 fails to build on Solaris 11
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 07 19:40:00 +0000 2019
>Originator:     Palle Lyckegaard
>Release:        Solaris 11 (Solaris 11.3)
>Organization:
NetBSD
>Environment:
SunOS gcc-solaris11 5.11 11.3 sun4u sparc SUNW,SPARC-Enterprise
>Description:
Referencing a field in the msghdr struct fails since relevant defines are not specified
>How-To-Repeat:
Build devel/glib2 on a Solaris 11.3 system
>Fix:
The following patch solved the issue (unsure if the devel/glib2/options.mk file is
                the correct place to put the define...)
Index: devel/glib2/options.mk                                                                              ===================================================================
RCS file: /cvsroot/pkgsrc/devel/glib2/options.mk,v                                                         retrieving revision 1.21                                                                                   diff -u -r1.21 options.mk                                                                                  --- devel/glib2/options.mk      3 Jun 2019 09:53:50 -0000       1.21                                       +++ devel/glib2/options.mk      7 Oct 2019 19:24:45 -0000                                                  @@ -12,3 +12,5 @@
 PLIST.fam=     yes                                                                                         .include "../../mk/fam.buildlink3.mk"                                                                      .endif                                                                                                    +                                                                                                          +CPPFLAGS.SunOS+=-D_XOPEN_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1                                                                                                                                                      
		



Home | Main Index | Thread Index | Old Index