pkgsrc-Bugs archive

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

Re: pkg/54628 (x11/libXdmcp fails to build on Solaris 11)



The following reply was made to PR pkg/54628; it has been noted by GNATS.

From: Sad Clouds <cryintothebluesky%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gutteridge%NetBSD.org@localhost, gutteridge%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost
Subject: Re: pkg/54628 (x11/libXdmcp fails to build on Solaris 11)
Date: Fri, 14 Jan 2022 12:06:07 +0000

 I think this patch may cause issues on other operating systems, since
 getentropy() is normally defined in unistd.h
 
 Can I propose to include sys/random.h only on Solaris:
 
 #ifdef HAVE_GETENTROPY
  #if defined(__sun) && defined(__SVR4)
   #include <sys/random.h>
  #endif
 #endif
 


Home | Main Index | Thread Index | Old Index