104-always-libuuid.patch 606 B

1234567891011121314151617181920
  1. As it turns out, the 'magic' libuuid/bsd uuid check just checks
  2. outside buildtree altogether for the uuid_generate. So we just
  3. hardcode it.
  4. --- a/genconfig.sh
  5. +++ b/genconfig.sh
  6. @@ -367,12 +367,7 @@ case $FW in
  7. esac
  8. # UUID API
  9. -if grep uuid_create /usr/include/uuid.h > /dev/null 2>&1 ; then
  10. - echo "#define BSD_UUID" >> ${CONFIGFILE}
  11. -fi
  12. -if grep uuid_generate /usr/include/uuid/uuid.h > /dev/null 2>&1 ; then
  13. - echo "#define LIB_UUID" >> ${CONFIGFILE}
  14. -fi
  15. +echo "#define LIB_UUID" >> ${CONFIGFILE}
  16. # set V6SOCKETS_ARE_V6ONLY to 0 if it was not set above
  17. if [ -z "$V6SOCKETS_ARE_V6ONLY" ] ; then