connman: update to 1.33.

This commit is contained in:
Juan RP 2016-07-18 07:57:34 +02:00
parent 9dec99ba84
commit e65b7d736e
2 changed files with 2 additions and 32 deletions

View File

@ -38,36 +38,6 @@ index e111150..ee4dc43 100644
static const DHCPOption client_options[] = {
{ OPTION_IP, 0x01 }, /* subnet-mask */
{ OPTION_IP | OPTION_LIST, 0x03 }, /* routers */
diff --git a/src/log.c b/src/log.c
index a693bd0..9054462 100644
--- src/log.c
+++ src/log.c
@@ -30,7 +30,9 @@
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
+#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
+#endif
#include <dlfcn.h>
#include "connman.h"
@@ -112,6 +114,7 @@ void connman_debug(const char *format, ...)
static void print_backtrace(unsigned int offset)
{
+#ifdef HAVE_EXECINFO_H
void *frames[99];
size_t n_ptrs;
unsigned int i;
@@ -210,6 +213,7 @@ static void print_backtrace(unsigned int offset)
close(outfd[1]);
close(infd[0]);
+#endif /* HAVE_EXECINFO_H */
}
static void signal_handler(int signo)
diff --git a/tools/dhcp-test.c b/tools/dhcp-test.c
index c34e10a..eae66fc 100644
--- tools/dhcp-test.c

View File

@ -1,6 +1,6 @@
# Template file for 'connman'
pkgname=connman
version=1.31
version=1.33
revision=1
lib32disabled=yes
build_style=gnu-configure
@ -17,7 +17,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://connman.net/"
distfiles="${KERNEL_SITE}/network/$pkgname/$pkgname-$version.tar.xz"
checksum=88fcf0b6df334796b90e2fd2e434d6f5b36cd6f13b886a119b8c90276b72b8e2
checksum=bc8946036fa70124d663136f9f6b6238d897ca482782df907b07a428b09df5a0
pre_configure() {
case "$XBPS_TARGET_MACHINE" in