mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 22:20:35 -04:00
32 lines
988 B
Text
32 lines
988 B
Text
Index: Configure
|
|
===================================================================
|
|
RCS file: /usr/home/public/iroffer/Configure,v
|
|
retrieving revision 1.255
|
|
retrieving revision 1.256
|
|
diff -u -r1.255 -r1.256
|
|
--- Configure 3 Mar 2015 21:06:37 -0000 1.255
|
|
+++ Configure 13 Oct 2015 18:28:17 -0000 1.256
|
|
@@ -860,7 +860,7 @@
|
|
fi
|
|
else
|
|
${msg} "${irt_notfound}. ${irt_error} ${irt_nocc}"
|
|
- maketype="gcc"
|
|
+ cctype="gcc"
|
|
waserror
|
|
fi
|
|
fi
|
|
@@ -1654,10 +1654,14 @@
|
|
#include <miniupnpc/miniupnpc.h>
|
|
#include <miniupnpc/upnpcommands.h>
|
|
${main1}
|
|
+#if MINIUPNPC_API_VERSION >= 14
|
|
+ upnpDiscover(2000, NULL, NULL, 0, 0, 2U, NULL);
|
|
+#else
|
|
#ifdef UPNPDISCOVER_SUCCESS
|
|
upnpDiscover(2000, NULL, NULL, 0, 0, NULL);
|
|
#else
|
|
upnpDiscover(2000, NULL, NULL, 0);
|
|
+#endif /* UPNPDISCOVER_SUCCESS */
|
|
#endif
|
|
${main2}" > config.temp.c
|
|
if $cctype -o config.temp -DUSE_UPNP $WARNS $WERROR $CFLAGS "-I${LOCALBASE}/include" config.temp.c "-L${LOCALBASE}/lib" -lminiupnpc $LDFLAGS $libs $LIBS; then
|