From 1f9113fee2da6c57c561616428439e2cdebf10e4 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Tue, 24 Feb 2015 12:47:13 +0100 Subject: port supl library package Also enhance the client to allow binding to an interface. --- package/supl/patches/patch-src_supl_h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/supl/patches/patch-src_supl_h (limited to 'package/supl/patches/patch-src_supl_h') diff --git a/package/supl/patches/patch-src_supl_h b/package/supl/patches/patch-src_supl_h new file mode 100644 index 000000000..c2e9e8da4 --- /dev/null +++ b/package/supl/patches/patch-src_supl_h @@ -0,0 +1,19 @@ + - implement bind to device functionality +--- trunk.orig/src/supl.h 2011-10-21 20:08:29.000000000 +0200 ++++ trunk/src/supl.h 2013-04-24 18:52:14.916232733 +0200 +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + #define SUPL_PORT "7275" + +@@ -204,6 +205,7 @@ typedef struct supl_ctx_s { + size_t size; + } slp_session_id; + ++ char iface[IFNAMSIZ + 1]; + } supl_ctx_t; + + int supl_ctx_new(supl_ctx_t *ctx); -- cgit v1.2.3