pkgsrc-Bugs archive

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

pkg/56520: print/libcups fails to compile on Solaris 10



>Number:         56520
>Category:       pkg
>Synopsis:       print/libcups fails to compile on Solaris 10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 24 11:00:00 +0000 2021
>Originator:     Claes Nästen
>Release:        trunk 2021-11-21
>Organization:
>Environment:
SunOS 5.10 sun4u sparc SUNW,Sun-Blade-1500
>Description:
print/libcups (and other common packages I presume) fails to compile on Solaris 10 due to undefined _CUPS_PRIVATE in cups/getifaddrs-internal.h as "versioning.h" is not included when HAVE_GETIFADDRS is undefined.
>How-To-Repeat:
Build print/libcups on Solaris 10
>Fix:
$NetBSD$

--- cups/getifaddrs-internal.h.orig     2021-11-24 10:08:42.502515904 +0000
+++ cups/getifaddrs-internal.h
@@ -27,6 +27,9 @@
 #    include <sys/socket.h>
 #    include <netinet/in.h>
 #    define CUPS_SOCAST
+#    ifndef HAVE_GETIFADDRS
+#      include "versioning.h"
+#    endif /* HAVE_GETIFADDRS */
 #  endif /* _WIN32 */

 #  if defined(__APPLE__) && !defined(_SOCKLEN_T)



Home | Main Index | Thread Index | Old Index