Skip to content
Snippets Groups Projects
Commit 541ee08e authored by Adrien Béraud's avatar Adrien Béraud Committed by Sébastien Blin
Browse files

contrib: remove uuid

Change-Id: I9238a317e93089a9ed618e02e7dd6da243d3dc3f
parent 947bc0f2
No related branches found
No related tags found
No related merge requests found
......@@ -30,9 +30,6 @@ PKGS_FOUND += pjproject
endif
DEPS_pjproject += gnutls
ifndef HAVE_MACOSX
DEPS_pjproject += uuid
endif
ifdef HAVE_LINUX
PJPROJECT_OPTIONS += --enable-epoll
......
77488caccc66503f6f2ded7bdfc4d3bc2c20b24a8dc95b2051633c695e99ec27876ffbafe38269b939826e1fdb06eea328f07b796c9e0aaca12331a787175507 libuuid-1.0.3.tar.gz
--- a/c.h 2013-04-30 04:30:28.000000000 -0700
+++ b/c.h 2014-03-28 16:54:15.000000000 -0700
@@ -244,11 +244,13 @@ static inline int dirfd(DIR *d)
*/
static inline size_t get_hostname_max(void)
{
+#ifdef _SC_HOST_NAME_MAX
long len = sysconf(_SC_HOST_NAME_MAX);
if (0 < len)
return len;
+#endif
#ifdef MAXHOSTNAMELEN
return MAXHOSTNAMELEN;
#elif HOST_NAME_MAX
# libuuid part of util-linux
UUID_VERSION := 1.0.3
UUID_URL := $(SF)/libuuid/files/libuuid-$(UUID_VERSION).tar.gz/download
ifndef HAVE_IOS
ifeq ($(call need_pkg,"uuid >= 2.0.0"),)
PKGS_FOUND += uuid
endif
else
PKGS_FOUND += uuid
endif
$(TARBALLS)/libuuid-$(UUID_VERSION).tar.gz:
$(call download,$(UUID_URL))
.sum-uuid: libuuid-$(UUID_VERSION).tar.gz
uuid: libuuid-$(UUID_VERSION).tar.gz .sum-uuid
$(UNPACK)
# $(APPLY) $(SRC)/uuid/android.patch
$(MOVE)
.uuid: uuid
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
cd $< && $(MAKE) install
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment