SF.net SVN: gar:[26922] csw/mgar/pkg/libexpat1/trunk/Makefile

idogan23 at users.sourceforge.net idogan23 at users.sourceforge.net
Sun Mar 27 15:07:10 CEST 2022


Revision: 26922
          http://sourceforge.net/p/gar/code/26922
Author:   idogan23
Date:     2022-03-27 13:07:10 +0000 (Sun, 27 Mar 2022)
Log Message:
-----------
libexpat1: Removed -DXML_POOR_ENTROP from CPPFLAGS, as discussed on the users mailing list.

Modified Paths:
--------------
    csw/mgar/pkg/libexpat1/trunk/Makefile

Modified: csw/mgar/pkg/libexpat1/trunk/Makefile
===================================================================
--- csw/mgar/pkg/libexpat1/trunk/Makefile	2022-03-27 10:59:24 UTC (rev 26921)
+++ csw/mgar/pkg/libexpat1/trunk/Makefile	2022-03-27 13:07:10 UTC (rev 26922)
@@ -40,7 +40,7 @@
 # "lib/xmlparse.c", line 56: #error: You do not have support for any sources of high quality entropy     enabled.  For end user security, that is probably not what you want.         Your options include:       * Linux + glibc >=2.25 (getrandom): HAVE_GETRANDOM,       * Linux + glibc <2.25 (syscall SYS_getrandom): HAVE_SYSCALL_GETRANDOM,       * BSD / macOS (arc4random_buf): HAVE_ARC4RANDOM_BUF,       * libbsd (arc4random_buf): HAVE_ARC4RANDOM_BUF + HAVE_LIBBSD,       * Windows (RtlGenRandom): _WIN32.         If insist on not using any of these, bypass this error by defining     XML_POOR_ENTROPY; you have been warned.         For CMake, one way to pass the define is:         cmake -DCMAKE_C_FLAGS="-pipe -O2 -DHAVE_SYSCALL_GETRANDOM" .         If you have reasons to patch this detection code away or need changes     to the build system, please open a bug.  Thank you!
 
 # No high-entropy random in old Solaris versions
-EXTRA_CPPFLAGS += -DXML_POOR_ENTROPY
+#EXTRA_CPPFLAGS += -DXML_POOR_ENTROPY
 
 BUILD64 = 1
 ISAEXEC = 1

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list