Add support for miniupnpd and cjdns
[librecmc/package-feed.git] / net / miniupnpd / patches / 104-always-libuuid.patch
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
5 --- a/genconfig.sh
6 +++ b/genconfig.sh
7 @@ -367,12 +367,7 @@ case $FW in
8  esac
9  
10  # UUID API
11 -if grep uuid_create /usr/include/uuid.h > /dev/null 2>&1 ; then
12 -       echo "#define BSD_UUID" >> ${CONFIGFILE}
13 -fi
14 -if grep uuid_generate /usr/include/uuid/uuid.h > /dev/null 2>&1 ; then
15 -       echo "#define LIB_UUID" >> ${CONFIGFILE}
16 -fi
17 +echo "#define LIB_UUID" >> ${CONFIGFILE}
18  
19  # set V6SOCKETS_ARE_V6ONLY to 0 if it was not set above
20  if [ -z "$V6SOCKETS_ARE_V6ONLY" ] ; then